catalina.out连续记录相同的错误

时间:2015-04-01 08:02:55

标签: java tomcat ssl bouncycastle

部署到Tomcat时出现以下错误

org.apache.tomcat.util.net.JIoEndpoint$Acceptor run

INFO: Illegal access: this web application instance has been stopped already.  
Could not load org.bouncycastle.crypto.modes.CBCBlockCipher.
The eventual following stack trace is caused by an error thrown for debugging purposes
as well as to attempt to terminate the thread which caused the illegal access,
and has no functional impact.
java.lang.IllegalStateException

然后

SEVERE: Socket accept failed
java.lang.NoClassDefFoundError: org/bouncycastle/crypto/modes/CBCBlockCipher
  at org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineSetMode(Unknown Source)
  at javax.crypto.Cipher$Transform.setModePadding(Cipher.java:357)
  at javax.crypto.Cipher.chooseProvider(Cipher.java:847)
  at javax.crypto.Cipher.init(Cipher.java:1348)
  at sun.security.ssl.CipherBox.(CipherBox.java:175)
  at sun.security.ssl.CipherBox.newCipherBox(CipherBox.java:208)
  ...
  at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:352)
  at java.lang.Thread.run(Thread.java:722)

NoClassDefFoundError异常正在连续登录catalina.out(循环),catalina.out会在短时间内完成。

Tomcat版本是6.0.24。

1 个答案:

答案 0 :(得分:0)

您显然应该删除导致问题的类,因为如果经常调用此Thread,那就是tomcat的预期行为。