Sailesh, your syntax looks correct (at least for Websphere) Not sure if
the log4j.jar in the META-INF directory is necessary.
Since you don't show the error, I presume that your seeing a log4j class
listed? IIRC, I've seen
an error w/in hibernate that blew a NoClassDefFoundError and it wasn't
Hibernate at all, but
another dependent jar that it needed.
Curious did COJUGs comment fix it?
- Brian
"COJUG" <cojug@xxxxxxxxx> wrote on 05/18/2004 04:41:54 PM:
>
> WebLogic 8.1 has a special APP-INF\lib directory similar to a war's
> WEB-INF\lib directory.
>
> If you are trying to use the Class-Path attributed shouldn't it be
> /META-INF/log4j.jar?
>
> -----Original Message-----
> From: Sailesh Rao [mailto:sailprao@xxxxxxxxx]
> Sent: Tuesday, May 18, 2004 1:44 PM
> To: users@xxxxxxxxxx
> Subject: [cinjug-users] Deploying 3rd party libraries with EJB
>
>
> How do I deploy an EJB that uses 3rd party libraries
> such as log4j.jar. I tried deploying a message driven
> bean in weblogic70 using an exploded directory as well
> as a jar file. However I keep getting
> NoClassDefFoundError for one of the classes in the 3rd
> party jar.
>
> Here is the directory structure:
> /com/../MessageBeanTest.class
> log4j.jar
> /META-INF/manifest.mf (Has Class-Path: log4j.jar)
> /META-INF/ejb-jar.xml
> /META-INF/weblogic-ejb-jar.xml
> /META-INF/log4j.jar
>
> Thanks
> Sailesh
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! - Internet access at a great low price.
> http://promo.yahoo.com/sbc/
>
> ---------
> You may unsubscribe from this mailing list
> by sending a blank email addressed to:
> users-unsubscribe@xxxxxxxxxx
>
> --
> Find additional help by sending a blank email
> addressed to:
> users-help@xxxxxxxxxx
>
>
>
>
>
> ---------
> You may unsubscribe from this mailing list
> by sending a blank email addressed to:
> users-unsubscribe@xxxxxxxxxx
>
> --
> Find additional help by sending a blank email
> addressed to:
> users-help@xxxxxxxxxx
>
|