Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss thrwos exception while startup:

 
Rahul Ba
Ranch Hand
Posts: 206
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting the following exception.I have created ear file from the build.xml file and deployed to the server/default/deploy folder.
When I start the Jboss server I get the following exception.

Can you tell me where I am wrong?

ARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=my.jar
java.lang.ClassNotFoundException: No ClassLoaders found for: com.bean.LongProcessMessageBean
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.jboss.ejb3.Ejb3AnnotationHandler.populateBaseInfo(Ejb3AnnotationHandler.java:293)
at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:138)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:486)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:442)

Format of the application.xml file is:

<application>
<display-name>MyTest application</display-name>
<description>application deployed as EAR file</description>

<module>
<ejb>my.jar</ejb>
</module>

<module>
<web>
<web-uri>myapp.war</web-uri>
<context-root>/test</context-root>
</web>
</module>

</application>
[ October 11, 2008: Message edited by: Rahul Ba ]
 
Faraz Ali
Ranch Hand
Posts: 108
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you give us some more information?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic