JBoss 6.1 App server startup problems:Module not found exception

帅比萌擦擦* 提交于 2020-01-24 12:37:08

问题


My JBoss Application server is throwing a Module not found exception when starting it.I unzipped Jboss and started it. Could you please tell if i have to make any configuration setting to make it start.

org.jboss.modules.ModuleNotFoundException: org.jboss.as.standalone:main
        at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:224)
        at org.jboss.modules.Main.main(Main.java:341)

Press any key to continue . . .

Thanks, -Vijay


回答1:


A possible reason is your jboss runtime is corrupt. Reason for

**org.jboss.modules.ModuleNotFoundException: org.jboss.as.standalone:main
    at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:224)
    at org.jboss.modules.Main.main(Main.java:341)**

is that jboss-eap-6.2\modules\system\layers\base\org\jboss\as\server\main package is missing inside your jboss directory. This package contains jboss-as-server-7.3.0.Final-redhat-14.jar and module.xml which are essential to run jboss server.




回答2:


I managed to finally solve it with some help from someone from the Jboss community.

You can see the answer here: https://community.jboss.org/message/737218#737218

Basically I turned on TRACE logging on the modules and saw that I'm actually missing javax.jms.Destination, so I just added dependency to that module.



来源:https://stackoverflow.com/questions/19871486/jboss-6-1-app-server-startup-problemsmodule-not-found-exception

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