I have created a default config (myconfig) and am starting up JBOSS using:
run -c myconfig
I have all the required libraries for my web application in
jboss-4.0.2\server\myconfig\lib
When I try to get a connection to the DB from my web application, I do get the
connection but also get the following exception:
10:01:17,285 INFO [STDOUT] |07/25/2005 10:01:17:285
IST|http-0.0.0.0-28080-1|java.sql.Connection|W|Failed to load class:
com.jbosstest.dao.
TestConnect
java.lang.ClassNotFoundException: No ClassLoaders found for: com.jbosstest.dao.T
estConnect
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl
assLoader.java:475)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL
oader.java:377)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
As a solution that I found on the Net, it was suggested that I have the
jboss-remoting.jar in the jboss-4.0.2\server\myconfig\lib. I have it in my
directory but it still does not solve the problem. However, this solution works
if I deploy my web application in the default directory.
How do I make this work without getting exception by deploying in myconfig?
Any replies/solutions will be appreciated.
cheers
Vinay
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886295#3886295
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886295
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user