Tomee-Mongodb-eclipselink

2015-07-02 Thread hwaastad
Hi guys, I got an issue i which I'm not 100% sure if it's due to eclipselink or if its a tomee issue. https://github.com/hwaastad/MongoEclipse.git running eclipselink 2.5.2 all is well, running 2.6.0 this is what I get: java.lang.ClassCastException:

Re: Tomee-Mongodb-eclipselink

2015-07-02 Thread Romain Manni-Bucau
ok so then we need to know the hierarchy of the libs in classloader, lib/ |- mongo `- eclipselinks webapps `- app `- WEB-INF `- lib |- ? `- ? something like that best cause would be to have a github project we

Re: Tomee-Mongodb-eclipselink

2015-07-02 Thread hwaastad
Well, I tried to write as explicitly as I could in my first post :-) https://github.com/hwaastad/MongoEclipse.git br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Tomee-Mongodb-eclipselink-tp4675430p4675434.html Sent from the TomEE Users mailing list archive

Re: Tomee-Mongodb-eclipselink

2015-07-02 Thread Romain Manni-Bucau
Hi which tomee? plume? how do you deploy mongo part? can you share the whole stack? Romain Manni-Bucau @rmannibucau https://twitter.com/rmannibucau | Blog http://rmannibucau.wordpress.com | Github https://github.com/rmannibucau | LinkedIn https://www.linkedin.com/in/rmannibucau | Tomitriber

Re: Tomee-Mongodb-eclipselink

2015-07-02 Thread hwaastad
Hi, its tomee 1.7.2 plus using mongo-java-driver. I've also added: openejb.force-unit-type=false javax.persistence.provider = org.eclipse.persistence.jpa.PersistenceProvider stack: EL Severe]: 2015-07-02

Re: Tomee-Mongodb-eclipselink

2015-07-02 Thread Romain Manni-Bucau
Not sure you saw it but java.lang.ClassCastException: org.eclipse.persistence.nosql.adapters.mongo.MongoPlatform cannot be cast to org.eclipse.persistence.platform.database.DatabasePlatform is accurate, org.eclipse.persistence.nosql.adapters.mongo.MongoPlatform is a

Re: Running JBoss Dashbuilder on TomEE

2015-07-02 Thread Romain Manni-Bucau
Hi I guess it is something weld tolerates (@Dependent final classes) where OWB doesnt (as required by spec). Wonder which interceptor/decorator are referenced, can be the BDA difference between weld and tomee as well. You can test this last option adding (conf/system.properties is the easiest

Running JBoss Dashbuilder on TomEE

2015-07-02 Thread jmutawa
Hello, I am trying to run JBoss Dashbuilder http://dashbuilder.org on TomEE 1.7.1. This application comes with Weld, so I started getting this error: /SEVERE: Can't create resource BeanManager java.lang.ClassNotFoundException: org.jboss.weld.resources.ManagerObjectFactory/ Suspecting

Re: Tomee-Mongodb-eclipselink

2015-07-02 Thread hwaastad
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

Unable to access the ejb application deployed in tomcat plume 1.7.1

2015-07-02 Thread Chandra
Getting the below error when accessing the web application in the ear. the tomcat plume is running in the Linux. when tested this in Windows the application launches fine. Please suggest how can this be rectified. type Exception report message java.lang.IndexOutOfBoundsException: Index: 0, Size: