This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "xbean.jar classpath loader" Watch "xbean.jar classpath loader" New topic

xbean.jar classpath loader

walid taraf

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.

It is sorta covered in the JavaRanch Style Guide.
subject: xbean.jar classpath loader
Similar Threads
WebLogic server-not getting the component interface right
java.rmi.UnmarshalException: Help!
How to specify library need by EJB in same EAR file
where to place jdbc jar files in tomcat
Two WARs in one EAR