Meaningless Drivel is fun!
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
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.

I agree. Here's the link:
subject: xbean.jar classpath loader
It's not a secret anymore!