How should I try to fix java.lang.IllegalStateException in JBoss “is already registered”?

强颜欢笑 提交于 2019-12-06 04:32:16
Dipen Chhadwa

There are chances that you may have multiple class files deployed in your .jar directory/archive one of which is places all by mistake. If you have deployed in exploded from on unix you may search the class file by below command for above raised issue as:

find . -name Another -print

there after remove the unrequired file and restart the server and the above problem should have been solved/fixed/resolved.

Delete Application.ear from this path: /path/to/my/Application.ear and then DELETE EAR from "jboss-5.1.0.GA\server\default\deploy" because you might have EAR in JBOSS. DELETE log,data,temp,work folder in jboss-5.1.0.GA\server\default.

If you are using eclipse then remove the EAR from JBOSS server and clean the server. Start the server wihtout EAR and after server gets started directly add EAR without stoping the server and let it publish itself.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!