aspose file tools*
The moose likes JNLP and Web Start and the fly likes Displaying Starting Application Progress bar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Displaying Starting Application Progress bar" Watch "Displaying Starting Application Progress bar" New topic
Author

Displaying Starting Application Progress bar

sammaiah kyatham
Ranch Hand

Joined: Aug 03, 2003
Posts: 104
Hi All,
I'm new to JNLP. I have setup the application in web server with jnlp file. When I call the jnlp file present in web server from jsp. It launched a web start and it is continuously displaying 'Starting application...' progress bar. It is not displaying any errors and it is not launching the application.

Verified mime type in tomcat and everything is ok.

Please give me a clue what could be the problem..

Thanks,
sam
[ June 11, 2007: Message edited by: sammaiah kyatham ]
sammaiah kyatham
Ranch Hand

Joined: Aug 03, 2003
Posts: 104
After modifying security tag with all permissions, I got below exception
JNLPException[category: Security Error : Exception: null : LaunchDesc:

<jnlp spec="1.0+" codebase="http://10.20.4.61:8080/VS_APP/" href="http://10.20.4.61:8080/VS_APP/vsapp.jnlp">

<information>

<title>Virgin Kiosk Application</title>

<vendor>TCS Limited.</vendor>

<homepage href="http://10.20.4.61:8080/VS_APP/docs/help.html"/>

<description>This is a Virgin Kiosk Application</description>

<description kind="short">Kiosk App</description>

<description kind="one-line">This is a Virgin Kiosk Application</description>

<description kind="tooltip">This is a Virgin Kiosk Application</description>

<icon href="http://10.20.4.61:8080/VS_APP/images/logo.gif" kind="default"/>

<offline-allowed/>

</information>

<security>

<all-permissions/>

</security>

<resources>

<j2se initial-heap-size="-1" max-heap-size="-1" version="1.3+"/>

<jar href="http://10.20.4.61:8080/VS_APP/lib/cussvs.jar" download="eager" main="false"/>

</resources>

<application-desc main-class="com.arinc.asd.cussvs.VSCUSSApp">

<argument>http://10.20.4.61:8080/VS_APP/resources/config.xml</argument>

</application-desc>

</jnlp> ]

at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)

at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)

at com.sun.javaws.Launcher.continueLaunch(Unknown Source)

at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

at com.sun.javaws.Launcher.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)


Here is my JNLP file
<?xml version="1.0" encoding="utf-8"?>

<jnlp
spec="1.0+"
codebase="http://10.20.4.61:8080/VS_APP"
href="vsapp.jnlp">
<information>
<title>Virgin Kiosk Application</title>
<vendor>TCS Limited.</vendor>
<homepage href="docs/help.html"/>
<description>This is a Virgin Kiosk Application</description>
<description kind="short">Kiosk App</description>
<icon href="images/logo.gif"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.3+"/>
<jar href="lib/cussvs.jar"/>
</resources>

<application-desc main-class="com.arinc.asd.cussvs.VSCUSSApp">
<argument>http://10.20.4.61:8080/VS_APP/resources/config.xml</argument>
</application-desc>

</jnlp>

It seems some security problem: checkSignedResourcesHelper

Any help would be appreciated!!!
Thanks,
Sam
 
wood burning stoves
 
subject: Displaying Starting Application Progress bar