JNLP Webstart - Application closes right after starting

A

al schmid

Hello everyone

I made the following JNLP-file which seems to work fine:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+"
codebase="file:////Users/al/Sites/JAVA/uploader/"
href="test.jnlp">
<information>
<title>Uploader</title>
<homepage href="" />
<vendor></vendor>
<offline/>
</information>
<resources>
<j2se version="1.2+" />
<jar href="dist/uploader.jar" main="true" />
</resources>
<application-desc main-class="uploader.DevelopmentFrame" />
</jnlp>

Opening it it opens the JAVA webstart app which in turn loads my
application. The problem is that the main application seems to close
right after it started (I don't get to see the UI, but I see the app
starting in the dock - I'm using OS X).

Well, my question is: Is there any way I can see error messages or
anything generated by webstart or my app? I have no idea what the
problem may be. And yes, uploader.DevelopmentFrame holds the main()
function.

Thanks for any ideas...
al
 
A

Andrew McDonagh

al said:
Hello everyone

I made the following JNLP-file which seems to work fine:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+"
codebase="file:////Users/al/Sites/JAVA/uploader/"
href="test.jnlp">
<information>
<title>Uploader</title>
<homepage href="" />
<vendor></vendor>
<offline/>
</information>
<resources>
<j2se version="1.2+" />
<jar href="dist/uploader.jar" main="true" />
</resources>
<application-desc main-class="uploader.DevelopmentFrame" />
</jnlp>

Opening it it opens the JAVA webstart app which in turn loads my
application. The problem is that the main application seems to close
right after it started (I don't get to see the UI, but I see the app
starting in the dock - I'm using OS X).

Well, my question is: Is there any way I can see error messages or
anything generated by webstart or my app? I have no idea what the
problem may be. And yes, uploader.DevelopmentFrame holds the main()
function.

Thanks for any ideas...
al

you can turn logging on in the Webstart console - this might help show
you whats happening. Though normally webstart tells the user if it
failed to start an application for some reason. It will even show the
user the exception - regardless of whether logging is enabled.

my guess is that the app is finishing normally - as in no exceptions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top