抛出ClassNotFoundException后,Tomcat 8 nedds重新启动

时间:2016-05-04 13:45:34

标签: java tomcat weblogic tomcat8


我的Tomcat前端服务器通过Hessian协议与我的WebLogic后端服务器通信。当WebLogic抛出Rollback异常(异常本身是JTA Rollback异常的WebLogic扩展)时,它会导致Tomcat关闭(不仅是前端应用程序,还有其他已部署的Tomcat应用程序)。我知道" weblogic.transaction.RollbackException"不是在Tomcat的类路径上,但不应该只是一个webapp下降?它是一种防止它发生的方法吗?

14:45:11.507 [http-nio-8080-exec-10] WARN  c.c.hessian.io.SerializerFactory - Hessian/Burlap: 'weblogic.transaction.RollbackException' is an unknown class in WebappClassLoader
  context: ROOT
  delegate: false
----------> Parent Classloader:
java.net.URLClassLoader@bebdb06
:
java.lang.ClassNotFoundException: weblogic.transaction.RollbackException
14:45:11.507 [http-nio-8080-exec-10] WARN  c.c.hessian.io.SerializerFactory - Hessian/Burlap: 'weblogic.transaction.RollbackException' is an unknown class in WebappClassLoader
  context: ROOT
  delegate: false
----------> Parent Classloader:
java.net.URLClassLoader@bebdb06
:
java.lang.ClassNotFoundException: weblogic.transaction.RollbackException
14:45:11.508 [http-nio-8080-exec-10] WARN  c.c.hessian.io.SerializerFactory - Hessian/Burlap: 'weblogic.transaction.internal.AppSetRollbackOnlyException' is an unknown class in WebappClassLoader
  context: ROOT
  delegate: false
----------> Parent Classloader:
java.net.URLClassLoader@bebdb06
:
java.lang.ClassNotFoundException: weblogic.transaction.internal.AppSetRollbackOnlyException
14:45:11.517 [http-nio-8080-exec-10] ERROR c.t.w.c.GlobalExceptionHandler - Error code 20160504144511516

祝你好运

1 个答案:

答案 0 :(得分:0)

确保在tomcat类路径上有weblogic.transaction.RollbackException