简体   繁体   English

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

[英]Tomcat 8 nedds restart after ClassNotFoundException is thrown


My Tomcat frontend server communicates with my WebLogic backend server via Hessian protocol. 我的Tomcat前端服务器通过Hessian协议与WebLogic后端服务器进行通信。 When the Rollback exception is thrown by WebLogic (the exception itself is the WebLogic extension of JTA Rollback exception) than it causes Tomcat to go down (not only frontend application but also others deployed apps on this Tomcat). 当WebLogic抛出Rollback异常(该异常本身是JTA Rollback异常的WebLogic扩展)时,它将导致Tomcat崩溃(不仅前端应用程序而且此Tomcat上其他部署的应用程序)。 I know that "weblogic.transaction.RollbackException" is not on Tomcat's classpath but shouldn't just that one webapp go down? 我知道“ weblogic.transaction.RollbackException”不在Tomcat的类路径上,但不应该只是一个webapp出现故障了吗? Is it a way to prevent it from happening ? 有办法防止它发生吗?

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

Best regards 最好的祝福

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM