Hello,

I am trying to use JBoss 3.0.4 and have a
small problem.
My EAR contains a WAR and a JAR.  I am
deploying this EAR to server/default/deploy.

In my application I try to load a class from
the JAR by doing Class.forName(<class name
here>).

This works fine under JBoss 2.4.4, but
doesn't seem to work under JBoss 3.0.4.

I suspect that it's something to do with the
new Classloader in JBoss3.
I have checked the FAQ and this entry looked
promising:
http://jboss.org/faq.jsp#FAQ-BEANDEV-NORMALJARS
However, that didn't seem to solve the problem.

I tried sticking the JAR in <jboss root>/lib
and server/default/lib/ but nether of those
two worked, and the latter actually gave
additional errors at boot time
(javax.management.InstanceAlreadyExistsException:
jboss.j2ee:jndiName=wgen/CommandShell,service=EJB
already registered.)

The error actually may be a good sign,
signaling that JBoss did pick up the JAR,
but that I need to repackage things....maybe?


Any help would be very appreciated.
Thanks,
Otis



________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to