Two Laptop Bag*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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.
 
Consider Paul's rocket mass heater.
 
subject: xbean.jar classpath loader