users
[Top] [All Lists]

RE: [cinjug-users] Deploying 3rd party libraries with EJB

To: "'Sailesh Rao'" <sailprao@xxxxxxxxx>
Subject: RE: [cinjug-users] Deploying 3rd party libraries with EJB
From: Brian K Bonner <brian.bonner@xxxxxxxxxxxx>
Date: Wed, 19 May 2004 11:09:17 -0400
Cc: users@xxxxxxxxxx
Delivered-to: mailing list users@cinjug.org
In-reply-to: <001f01c43d18$92607180$1500a8c0@oregon>
Mailing-list: contact users-help@cinjug.org; run by ezmlm
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
> 


<Prev in Thread] Current Thread [Next in Thread>