Mantis - Resin
Viewing Issue Advanced Details
6447 minor always 11-16-21 11:21 11-16-21 11:21
nam  
 
normal  
new 4.0.65  
open  
none    
none  
0006447: move resin-eclipselink.jar from lib/ into webapp-jars/
(rep by M. Schuart)

Since Resin 4.0.62, eclipselink is no longer bundled. However, resin-eclipselink (which allows Resin to integrate with eclipselink) is still bundled. This causes harmless NoClassDefFoundError exceptions to be thrown when using eclipselink. The exception should go away by moving the jar from lib/ to webapp-jars/.

[21-11-02 14:04:49.640] {resin-25} javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.6.9.v20200130-0143b822bc): org.eclipse.persistence.exceptions.EntityManagerSetupException

                       Exception Description: Predeployment of PersistenceUnit [WL.TREND] failed.

                       Internal Exception: java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: org/eclipse/persistence/platform/server/ServerPlatformBase

                         while loading org.eclipse.persistence.platform.server.resin.ResinPlatform in SystemClassLoader[system,NEW]

                         which exists in jar:(/usr/local/share/resin-4.0.65/lib/resin-eclipselink.jar)/org/eclipse/persistence/platform/server/resin/ResinPlatform.class

                         check for missing dependencies


Apps should

There are no notes attached to this issue.