Mantis - Resin
Viewing Issue Advanced Details
4722 minor always 08-19-11 12:03 08-23-11 12:45
ferg  
ferg  
normal  
closed 4.0.20  
fixed  
none    
none 4.0.21  
0004722: eclipseline binding issue
(rep by Steffen Busch)

It's very likely that we need some time to run two versions of our
software in parallel. Therefore I've chosen the "remove
$RESIN_HOME/lib/eclipselink.jar option" in order to allow each Web-App
our software to use the eclipselink version included in their individual
WARs.

However, when the $RESIN_HOME/lib/eclipselink.jar is removed, a
NoClassDefFoundError is thrown. This is the output / stack trace.


[11-08-19 19:40:10.379] {main} resin.home =
D:\WMACCESS-4.0\container-testing\resin-pro-4.0.20
[11-08-19 19:40:10.379] {main} resin.root =
D:\WMACCESS-4.0\container-testing\resin-pro-4.0.20
[11-08-19 19:40:10.379] {main} resin.conf =
D:\WMACCESS-4.0\container-testing\resin-pro-4.0.20\conf\resin.xml
[11-08-19 19:40:10.379] {main}
[11-08-19 19:40:10.379] {main} server = 127.0.0.1:6800
(app-tier:default)
[11-08-19 19:40:10.379] {main} stage = production
[11-08-19 19:40:10.706] {main} WebApp[production/webapp/default/ROOT]
active
[11-08-19 19:40:10.831] {main}
WebApp[production/webapp/default/resin-admin] active
[11-08-19 19:40:11.189] {main}
WebApp[production/webapp/default/resin-doc] active
[11-08-19 19:40:11.766] {main} In-place class redefinition (HotSwap) is
available.
[11-08-19 19:40:11.968] {main}
WebApp[production/webapp/default/testapp-EclipseLink-2.2] fail
[11-08-19 19:40:11.984] {main} java.lang.NoClassDefFoundError:
org/eclipse/persistence/platform/server/ServerPlatformBase
                                   at
java.lang.ClassLoader.defineClass1(Native Method)
                                   at
java.lang.ClassLoader.defineClass(ClassLoader.java:620)
                                   at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
                                   at
java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
                                   at
java.net.URLClassLoader.access$000(URLClassLoader.java:56)
                                   at
java.net.URLClassLoader$1.run(URLClassLoader.java:195)
                                   at
java.security.AccessController.doPrivileged(Native Method)
                                   at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
                                   at

Notes
(0005456)
ferg   
08-23-11 12:45   
unbundled resin-eclipselink.jar from resin.jar