On Tue, 2004-05-18 at 17:15, [EMAIL PROTECTED] wrote: > I have an IceEJBs.jar that I have common-logging.jar inside of, but my > bean classes cannot see Log.class as needed. > In JBoss, I was able to just add the jar directly into the EJBS.jar, > but in WLS 8.1, they are not being found. > > Can anyone help me with this?
You put the dependency jars inside the EJB jar? That sounds decidedly unusual, if not outright non-spec (haven't got it to hand at the moment to check). Sounds to me like JBoss-specific behaviour if that extracts those jars and deploys them too (or if its classloader finds them even inside the EJB jar). You could try packaging up your EJB jar and the dependency jar(s) in an EAR file and make the EJB jar's manifest reference the dependency jar(s) in its Class-Path attribute (which is what we usually do). Or you could extract the contents of the dependency jars and include the classes in your EJB jar alongside your EJB classes. I'd be surprised if anything else worked in general, though. Web applications and .war files have WEB-INF/lib to handle this sort of thing, but there's no equivalent EJB-INF/lib in the spec... Andrew. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user