File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Jboss thrwos exception while startup: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Jboss thrwos exception while startup:" Watch "Jboss thrwos exception while startup:" New topic
Author

Jboss thrwos exception while startup:

Rahul Ba
Ranch Hand

Joined: Oct 01, 2008
Posts: 205
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

Joined: May 15, 2008
Posts: 108
Can you give us some more information?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jboss thrwos exception while startup: