[英]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.