[jboss-user] [JNDI/Naming/Network] - Re: java.lang.ClassNotFoundException: No ClassLoaders found
jaikiran
do-not-reply at jboss.com
Fri Sep 1 23:48:08 EDT 2006
How is your EJB packaged? Is it in a .ear file? If yes then move the jar, which you have placed in deploy directory, into you ear and add an entry to application.xml as follows:
| <module>
| <java>myjarName.jar</java>
| </module>
The other alternative would be to place your jar into the %JBOSS_HOME%/server/default/lib directory instead of the deploy directory. However this considered as a bad practice and not recommended, though its going to work.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969025#3969025
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969025
More information about the jboss-user
mailing list