简体   繁体   English

得到classcastexception并在服务器重启后解决。 这有什么具体原因吗?

[英]Got classcastexception and resolved after server restart. Is there any specific reason for this?

I am supporting a J2EE based insurance application. 我支持基于J2EE的保险应用程序。 Last week, we had a classcast exception which got resolved after server restart without any modification to the program. 上周,我们有一个转发异常,在服务器重启后解决,而不对程序进行任何修改。 I'm very interested to know what could be the cause for this error and resolution. 我很想知道这个错误和解决方案的原因是什么。 There was no updates in terms of Java, weblogic sever or any other programs linked to the application. Java,weblogic服务器或链接到应用程序的任何其他程序没有更新。 All of sudden it raised and disappeared after server restart. 服务器重启后,它突然升起并消失。

Feel free to ask if you need any info from my side to answer this. 请随时询问您是否需要我方提供的任何信息来回答这个问题。

Thanks, Bhavanam 谢谢,Bhavanam

It could be a classloading conflict and depending on which order the libraries are loaded, it works or does not (results may change each restart) 它可能是一个类加载冲突,并且取决于库加载的顺序,它是否有效(结果可能会改变每次重启)

You can check your application for classloading conflicts with the integrated classloading analysis tool (it is deployed in development mode automatically). 您可以使用集成的类加载分析工具检查应用程序的类加载冲突(它自动部署在开发模式下)。 http://host:port/wls-cat HTTP://主机:端口/ WLS-猫

See also https://docs.oracle.com/cd/E24329_01/web.1211/e24368/classloading.htm#WLPRG495 另见https://docs.oracle.com/cd/E24329_01/web.1211/e24368/classloading.htm#WLPRG495

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

相关问题 仅在重启后才在karaf中执行ClassCastException - ClassCastException in karaf only after restart ClassCastException 无缘无故? - ClassCastException for no reason? 服务器重启后HttpSession仍然存在 - HttpSession remains after server restart GWT:刷新页面会使整个Web应用程序重新启动。 我应该在哪里保存州? - GWT: Refresh page causes whole web app to restart. Where shall I save states? 共享首选项仅适用于首次应用重启。 在重新启动应用程序第二次卡视图标题不保留 - Shared preferences working only for the first app restart. On restarting the app second time card view titles are not retained 停止并重新启动后,Tomcat服务器不再工作 - Tomcat server not working anymore after a stop and restart 服务器重新启动后在主题中保留消息 - Persist message in topic after server restart 服务器关闭后保存并重新启动线程池 - Save and restart the thread pool after server shutdown 重新启动后在Config Server上发出多个请求 - Multiple Requests at Config Server after Restart Angular:服务器重新启动后检测注销 - Angular: Detect Logout after Server Restart
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM