Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [eclipselink-users] nightly 1.1 build fails on glassfish v2.1b52 after 20080923

Hi Gustav,

This is because EclipseLink 1.1 started to implement JPA 2.0 now. To workaround it, you can copy the JPA 2.0 interface jar, which is available from trunk\jpa\plugins\javax.persistence_1.99.0.jar in the SVN repository, to <glassfish_home>/lib.

Thanks,
Edwin

-----Original Message-----
From: Gustav Trede [mailto:gustav.trede_wsdevel@xxxxxxxxx]
Sent: September 30, 2008 8:01 AM
To: EclipseLink User Discussions
Subject: [eclipselink-users] nightly 1.1 build fails on glassfish
v2.1b52 after 20080923


Hello,

If i use any nightly 1.1 build from the web after 20080923 on glassfish 
v2.1 build 52 ,  jdk 1.6u10b32 i get:

WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
SMGT0007: Self Management Rules service is enabled
Application server startup complete.
Exception occured in J2EEC Phasejava.lang.ClassNotFoundException: 
javax.persistence.AccessType
java.lang.NoClassDefFoundError: javax/persistence/AccessType
        at 
org.eclipse.persistence.internal.jpa.metadata.MetadataProcessor.initPersistenceUnitClasses(MetadataProcessor.java:252)
        at 
org.eclipse.persistence.internal.jpa.metadata.MetadataProcessor.processEntityMappings(MetadataProcessor.java:422)
        at 
org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.processORMetadata(PersistenceUnitProcessor.java:299)
        at 
org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:830)
        at 
org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:189)
        at 
com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.loadPersistenceUnitBundle(PersistenceProcessor.java:572)
        at 
com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.createTablesInDB(PersistenceProcessor.java:421)
        at 
com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.processAppBundle(PersistenceProcessor.java:287)
        at 
com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.processApplication(PersistenceProcessor.java:189)
        at 
com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.processApplication(DeploymentEventListenerImpl.java:211)
        at 
com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.processEvent(DeploymentEventListenerImpl.java:172)
        at 
com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.notifyDeploymentEvent(DeploymentEventListenerImpl.java:122)
        at 
com.sun.enterprise.deployment.backend.DeploymentEventManager.notifyDeploymentEvent(DeploymentEventManager.java:79)
        at 
com.sun.enterprise.deployment.backend.AppDeployer.postDeploy(AppDeployer.java:392)
        at 
com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:251)
        at 
com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148)
        at 
com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:208)
        at 
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
        at 
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:934)
        at 
com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
        at 
com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:803)
        at 
com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
        at 
com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:225)
Caused by: java.lang.ClassNotFoundException: javax.persistence.AccessType
        at 
com.sun.enterprise.loader.EJBClassLoader.findClassData(EJBClassLoader.java:738)
        at 
com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:628)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 23 more

Is there any workaround ?

regards
  gustav
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users


Back to the top