| 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.
|
 |
 |
|
|
subject: xbean.jar classpath loader
|
|
|