Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » How to use EclipseLink 2.4.1 in GlassFish 3.1.1?(java.lang.NoClassDefFoundError: org/eclipse/persistence/jpa/jpql/parser/ExpressionVisitor)
icon5.gif  How to use EclipseLink 2.4.1 in GlassFish 3.1.1? [message #1043875] Thu, 18 April 2013 08:08 Go to next message
Markus KARG is currently offline Markus KARGFriend
Messages: 28
Registered: June 2011
Junior Member
For bug fixing, we want to use EclipseLink 2.4.1 in GlassFish 3.1.1.
So we downloaded the OSGi bundle and replaced some JARs in GlassFish's module folder, but it seems this was not enough, as we still get java.lang.NoClassDefFoundError: org/eclipse/persistence/jpa/jpql/parser/ExpressionVisitor -- but the jpql JAR definitively is in the modules Folder!

Can someone tell us the exact list of JARs we have to provide to GlassFish 3.1.1?

Thanks a lot! Smile
-Markus
Re: How to use EclipseLink 2.4.1 in GlassFish 3.1.1? [message #1047661 is a reply to message #1043875] Tue, 23 April 2013 13:49 Go to previous messageGo to next message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

See,

http://computingat40s.wordpress.com/installing-glassfish-3-1-2-2/

It seems you may need to delete the Felix cache.


James : Wiki : Book : Blog : Twitter
Re: How to use EclipseLink 2.4.1 in GlassFish 3.1.1? [message #1047671 is a reply to message #1047661] Tue, 23 April 2013 14:02 Go to previous messageGo to next message
Markus KARG is currently offline Markus KARGFriend
Messages: 28
Registered: June 2011
Junior Member
James,

thank you for sharing this link. Smile

In fact we made it work for us in GlassFish 3.1.1, but we only replaced the following:

org.eclipse.persistence.core_2.4.1.v20121003-ad44345.jar
org.eclipse.persistence.jpa.jpql_2.0.1.v20121003-ad44345.jar
org.eclipse.persistence.jpa.modelgen_2.4.1.v20121003-ad44345.jar
org.eclipse.persistence.jpa_2.4.1.v20121003-ad44345.jar
org.eclipse.persistence.oracle_2.4.1.v20121003-ad44345.jar

Do you think it is to be considered as harmful that we did not also replace that lot of additional JARs mentioned in the blog posting you shared? Confused

Thanks!
-Markus
Re: How to use EclipseLink 2.4.1 in GlassFish 3.1.1? [message #1047684 is a reply to message #1047671] Tue, 23 April 2013 14:15 Go to previous messageGo to next message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

It is probably ok, as you are probably not using the other jars, but would be best to replace all of them.

James : Wiki : Book : Blog : Twitter
Re: How to use EclipseLink 2.4.1 in GlassFish 3.1.1? [message #1047700 is a reply to message #1047684] Tue, 23 April 2013 14:39 Go to previous message
Markus KARG is currently offline Markus KARGFriend
Messages: 28
Registered: June 2011
Junior Member
I see. Thanks for your kind judgement! Smile
Previous Topic:Query Cache in 2.4.1 Help
Next Topic:em.merge(treeOfEntities) impossible with optimistic locking
Goto Forum:
  


Current Time: Fri Dec 19 06:37:39 GMT 2014

Powered by FUDForum. Page generated in 0.02747 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software