users@glassfish.java.net

AppClient EJB: Tutorial at

From: <forums_at_java.net>
Date: Tue, 27 Sep 2011 03:42:36 -0500 (CDT)

i have tried the tutorial
http://netbeans.org/kb/docs/javaee/entappclient.html

 

If i run it form netbenas it work.

But if i tride to make: http://localhost:8080(EntAppClient

it download the file jnlp , but then it appair a windows with the message :
don't it possible start the application.

I have also tired to depoy the EntAppClient with the gui administration of
glassfsih . I have cheched enable for webstart .

But it dont wok.

I have set the jar fj_client.jar on the classpath......

 

Help me i dont understand how to make for a success of run it.

----------------

 

froim the windows message :

exception:

com.sun.deploy.net.FailedDownloadException: Impossibile caricare la risorsa:
http://localhost:8080/___JWSappclient/___system/___dyn/___system_s1as.jnlp
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown
Source)
    at com.sun.deploy.net.DownloadEngine.getCachedFile(Unknown Source)
    at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(Unknown
Source)
    at com.sun.javaws.LaunchDownload.downloadExtensions(Unknown Source)
    at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
    at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.launch(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
..........................

exception wrapped

java.io.FileNotFoundException:
http://localhost:8080/___JWSappclient/___system/___dyn/___system_s1as.jnlp
    at sun.reflect.GeneratedConstructorAccessor1.newInstance(Unknown
Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at
sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown
Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown
Source)
    at com.sun.deploy.net.DownloadEngine.getCachedFile(Unknown Source)
    at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(Unknown
Source)
    at com.sun.javaws.LaunchDownload.downloadExtensions(Unknown Source)
    at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
    at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.launch(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException:
http://localhost:8080/___JWSappclient/___system/___dyn/___system_s1as.jnlp
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    ... 19 more
 

mauro

 

 


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