Thanks for having a look, Romain.

Did a quick check on 2.6.1-RC1 and it seems they have made a fix.

Though, In this version I get a warning:

[EL Warning]: 2015-07-03
07:30:31.397--Thread(Thread[http-apr-8080-exec-2,5,main])--java.lang.NullPointerException
        at
org.eclipse.persistence.platform.server.ServerPlatformUtils.createServerPlatform(ServerPlatformUtils.java:99)
        at
org.eclipse.persistence.sessions.factories.SessionManager.init(SessionManager.java:77)
        at
org.eclipse.persistence.sessions.factories.SessionManager.<clinit>(SessionManager.java:71)
        at
org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.addSessionToGlobalSessionManager(EntityManagerSetupImpl.java:907)
        at
org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.initSession(EntityManagerSetupImpl.java:2671)
        at
org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:675)
        at
org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)
        at
org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:305)
        at
org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)
        at
org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:303)
        at
org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.createEntityManager(ReloadableEntityManagerFactory.java:145)


But I guess this also is related to eclipselink. Have'nt seen this in
earlier versions.

br hw



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Tomee-Mongodb-eclipselink-tp4675430p4675439.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to