This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes xbean.jar classpath loader Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "xbean.jar classpath loader" Watch "xbean.jar classpath loader" New topic
Author

xbean.jar classpath loader

walid taraf
Greenhorn

Joined: Sep 17, 2002
Posts: 7
Anyone had issues with the way xbean.jar is scattered in the BEA/server/lib and within an app file (EAR, in my case)? Classloaders all confused in which one to pick up, and it seems that we have to force the library into the BEA startup script. Otherwise, it gives ClassDef Not found even though the xbean.jar and associated other jars (JSR*.jar, xbean-qname*.jar among others) are in the EAR file. Placed within the WEB-inf/lib folder.

SO basically xbean.jar in BEA/common/lib or /server/lib would work.
Simply placing it in WEB-INF/lib does not.

I do understand that placing the jar in /server or /common lib is somewhat dangerous as it becomes available to ALL deployed apps within that container, and we could have mismatches during runtime.

Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xbean.jar classpath loader
 
Similar Threads
How to specify library need by EJB in same EAR file
java.rmi.UnmarshalException: Help!
WebLogic server-not getting the component interface right
Two WARs in one EAR
where to place jdbc jar files in tomcat