users@glassfish.java.net

Re: Webstart help please

From: <glassfish_at_javadesktop.org>
Date: Tue, 15 May 2007 09:02:11 PDT

Hi.

Your code looked OK to me, so I copied and pasted it into a client I already have. It worked fine for me.

The plug-in log will probably not have much information to help you. Instead, please take a look at this blog entry

http://blogs.sun.com/quinn/entry/launch_that_app_client

that describes how to turn on tracing. Once you do that, every Java Web Start launch will create a trace file that will include any System.out or System.err logging. That may give you a hint as to what's going on.

Another approach is this: You've clearly already deployed the application. Retrieve the generated app client JAR using

asadmin get-client-stubs --appname <name-of-your-app> <dir-to-store-retrieved-JAR>

Then launch the app client using the appclient script instead of Java Web Start:

appclient -client <path-to-retrieved-jar>

Any output or error logging should go to the command window.

Let us know what you find.

- Tim
[Message sent by forum member 'tjquinn' (tjquinn)]

http://forums.java.net/jive/thread.jspa?messageID=217017