users@glassfish.java.net

Re: EJB remote deployed on GF 3.1 behind a NAT unaccessible

From: <forums_at_java.net>
Date: Sat, 27 Apr 2013 07:56:22 -0500 (CDT)

hi, i have to make a app client like you have says. But i get a exception:
hi. i have deployed a web application. i get the following exception:
java.lang.ClassNotFoundException: org.glassfish.api.admin.ProcessEnvironment
java.lang.RuntimeException: Error launching or running the application at
org.glassfish.appclient.client.JWSAppClientContainerMain.main(JWSAppClientContainerMain.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
com.sun.javaws.Launcher.executeApplication(Launcher.java:1809) at
com.sun.javaws.Launcher.executeMainClass(Launcher.java:1750) at
com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1512) at
com.sun.javaws.Launcher.run(Launcher.java:130) at
java.lang.Thread.run(Thread.java:662) Caused by: java.lang.RuntimeException:
java.lang.NoClassDefFoundError: org/glassfish/api/admin/ProcessEnvironment at
org.glassfish.appclient.client.JWSAppClientContainerMain$ClientRunner.run(JWSAppClientContainerMain.java:179)
at
org.glassfish.appclient.client.JWSAppClientContainerMain.main(JWSAppClientContainerMain.java:138)
... 9 more Caused by: java.lang.NoClassDefFoundError: org/glassfish/api/admin
at
org.glassfish.appclient.client.acc.ACCModulesManager.initialize(ACCModulesManager.java:105)
at
org.glassfish.appclient.client.acc.AppClientContainerBuilder.prepareHabitat(AppClientContainerBuilder.java:205)
at
org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:164)
at
org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:153)
at
org.glassfish.appclient.client.AppClientFacade.createContainerForJWSLaunch(AppClientFacade.java:503)
at
org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:462)
at
org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:269)
at
org.glassfish.appclient.client.JWSAppClientContainerMain$ClientRunner.run(JWSAppClientContainerMain.java:168)
... 10 more Caused by: java.lang.ClassNotFoundException:
org.glassfish.api.admin.ProcessEnvironment at
java.net.URLClassLoader$1.run(URLClassLoader.java:202) at
java.security.AccessController.doPrivileged(Native Method) at
java.net.URLClassLoader.findClass(URLClassLoader.java:190) at
com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:332) at
java.lang.ClassLoader.loadClass(ClassLoader.java:306) at
java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 18 more what jar i
have to add at APp Client before deploy it at glassfsih and then download
with javaweb start?^

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