|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
EclipseLink 1.0.1 on Glassfish V2R2 - issue with target-serverI'm tyring to deploy my application onto Glassfish V2R2. I get the
following error message: Exception Description: ClassNotFound: [org.eclipse.persistence.platform.server.sunas.SunAS9ServerPlatform] specified in [eclipselink.target-server] property. What am I doing wrong? The same war deploys without a problem on Glassfish V3 Prelude. Thx, -J. _______________________________________________ eclipselink-users mailing list eclipselink-users@... https://dev.eclipse.org/mailman/listinfo/eclipselink-users |
|
|
Re: EclipseLink 1.0.1 on Glassfish V2R2 - issue with target-serverThe class name is correct, so it would seem to be some sort of class loading issue. Where did you put the eclipselink.jar on your server's classpath?
You could try putting the jar in a different location, or as a workaround try setting the server platform through a SessionCustomizer.
James Sutherland EclipseLink, TopLink Wiki: EclipseLink, TopLink Forums: TopLink, EclipseLink Book: Java Persistence |
|
|
RE: EclipseLink 1.0.1 on Glassfish V2R2 - issue with target-serverJan,
Hi, This is a curious CNFE, I verified the following 2 GlassFish V2.1 b50 (20080915) and EclipseLink 1.0 (20080905)/1.1 (20081015) configurations are ok loading the SunAS9 target-server platform on windows via <GLASSFISH_HOME>/lib/eclipselink.jar in http://wiki.eclipse.org/EclipseLink/Examples/JPA/GlassFishV2_Web_Tutorial#EclipseLink_JAR_location. persistence.xml config (tried both long and short target-server) <!-- property name="eclipselink.target-server" value="SunAS9"/--> <property name="eclipselink.target-server" value="org.eclipse.persistence.platform.server.sunas.SunAS9ServerPlatform"/> Full GlassFish EAR quick start tutorial on http://wiki.eclipse.org/EclipseLink/Examples/JPA/GlassFishV2_Web_Tutorial OK Using short or long form of target-server on build 1.0 20080905 version of eclipselink.jar running on GlassFish V2.1 B50 (20080915) [#|2008-10-16T09:25:36.717-0400|FINEST|sun-appserver9.1|org.eclipse.persistence.session.eclipselinkwls.properties|_ThreadID=14;_ThreadName=httpSSLWorkerThread-8080-0;ClassName=null;MethodName=null;_RequestID=c6146100-547c-4ca9-aab3-e7a7c6558344;|property=eclipselink.target-server; value=SunAS9; translated value=org.eclipse.persistence.platform.server.sunas.SunAS9ServerPlatform|#] [#|2008-10-16T09:25:36.732-0400|INFO|sun-appserver9.1|org.eclipse.persistence.session.eclipselinkwls|_ThreadID=14;_ThreadName=httpSSLWorkerThread-8080-0;|EclipseLink, version: Eclipse Persistence Services - 1.0.1 (Build 20080905)|#] OK on latest 1.1 trunk eclipselink.jar running on GlassFish V2.1 B50 (20080915) [#|2008-10-16T09:30:17.936-0400|FINEST|sun-appserver9.1|org.eclipse.persistence.session.eclipselinkwls.properties|_ThreadID=14;_ThreadName=httpSSLWorkerThread-8080-1;ClassName=null;MethodName=null;_RequestID=9c9c9825-27ab-4e33-b9d8-0eb3e2706376;|property=eclipselink.target-server; value=SunAS9; translated value=org.eclipse.persistence.platform.server.sunas.SunAS9ServerPlatform|#] [#|2008-10-16T09:30:17.967-0400|INFO|sun-appserver9.1|org.eclipse.persistence.session.eclipselinkwls|_ThreadID=14;_ThreadName=httpSSLWorkerThread-8080-1;|EclipseLink, version: Eclipse Persistence Services - 1.0 (Build SNAPSHOT-20081015)|#] thank you /michael -----Original Message----- From: Jan Vissers [mailto:Jan.Vissers@...] Sent: Thursday, October 16, 2008 08:23 To: eclipselink-users@... Subject: [eclipselink-users] EclipseLink 1.0.1 on Glassfish V2R2 - issue with target-server I'm tyring to deploy my application onto Glassfish V2R2. I get the following error message: Exception Description: ClassNotFound: [org.eclipse.persistence.platform.server.sunas.SunAS9ServerPlatform] specified in [eclipselink.target-server] property. What am I doing wrong? The same war deploys without a problem on Glassfish V3 Prelude. Thx, -J. _______________________________________________ eclipselink-users mailing list eclipselink-users@... https://dev.eclipse.org/mailman/listinfo/eclipselink-users _______________________________________________ eclipselink-users mailing list eclipselink-users@... https://dev.eclipse.org/mailman/listinfo/eclipselink-users |
| Free embeddable forum powered by Nabble | Forum Help |