users@glassfish.java.net

JWS app client port from Glassfish 3.01 to 3.1; exception thrown loading PU

From: <forums_at_java.net>
Date: Sat, 2 Apr 2011 12:26:12 -0500 (CDT)

I have an ear file that loads and launches a jws application in glassfish
3.01. I can load the ear file in
glassfish 3.1 but I get the following error (after a very long time) in the
java console when trying the launch the application client via JWS. Any help
would be appreciated.  see below:
Dave
network: Connecting
http://io:9901/___JWSappclient/___app/TPSv3/TPSv3Client/lib/TPSv3-PU.jar [1]
with proxy=DIRECT
network: Connecting socket://Io:9901 with proxy=DIRECT
network: Connecting
http://io:9901/___JWSappclient/___app/TPSv3/TPSv3Client/TPSv3-ejb.jar [2]
with proxy=DIRECT
network: Connecting socket://Io:9901 with proxy=DIRECT
network: Connecting
http://io:9901/___JWSappclient/___app/TPSv3/TPSv3Client/lib/META-INF/persistence.xml
[3] with proxy=DIRECT
network: Connecting socket://Io:9901 with proxy=DIRECT
Exception in thread "AWT-EventQueue-0" Local Exception Stack:
Exception [EclipseLink-30005] (Eclipse Persistence Services -
2.2.0.v20110202-r8913):
org.eclipse.persistence.exceptions.PersistenceUnitLoadingException
Exception Description: An exception was thrown while searching for
persistence archives with ClassLoader: com.sun.jnlp.JNLPClassLoader_at_52c6b4
Internal Exception: Exception [EclipseLink-30009] (Eclipse Persistence
Services - 2.2.0.v20110202-r8913):
org.eclipse.persistence.exceptions.PersistenceUnitLoadingException
Exception Description: An exception was thrown while trying to load
persistence unit at url:
http://io:9901/___JWSappclient/___app/TPSv3/TPSv3Client/lib/TPSv3-PU.jar [4]
Internal Exception: Exception [EclipseLink-30004] (Eclipse Persistence
Services - 2.2.0.v20110202-r8913):
org.eclipse.persistence.exceptions.PersistenceUnitLoadingException
Exception Description: An exception was thrown while processing
persistence.xml from URL:
http://io:9901/___JWSappclient/___app/TPSv3/TPSv3Client/lib/TPSv3-PU.jar [5]
Internal Exception: java.net.MalformedURLException
at
org.eclipse.persistence.exceptions.PersistenceUnitLoadingException.exceptionSearchingForPersistenceResources(PersistenceUnitLoadingException.java:126)
at
org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:105)
at javax.persistence.Persistence.createEntityManagerFactory(Unknown Source)
at javax.persistence.Persistence.createEntityManagerFactory(Unknown Source)
at net.webspunprime.tps.main.initComponents(main.java:71)
at net.webspunprime.tps.main.<init>(main.java:46)
at net.webspunprime.tps.main$3.run(main.java:192)
Edited by: user13432855 on Apr 1, 2011 11:28 AM


[1] http://io:9901/___JWSappclient/___app/TPSv3/TPSv3Client/lib/TPSv3-PU.jar
[2] http://io:9901/___JWSappclient/___app/TPSv3/TPSv3Client/TPSv3-ejb.jar
[3]
http://io:9901/___JWSappclient/___app/TPSv3/TPSv3Client/lib/META-INF/persistence.xml
[4] http://io:9901/___JWSappclient/___app/TPSv3/TPSv3Client/lib/TPSv3-PU.jar
[5] http://io:9901/___JWSappclient/___app/TPSv3/TPSv3Client/lib/TPSv3-PU.jar

--
[Message sent by forum member 'dbritton60']
View Post: http://forums.java.net/node/788126