Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Displaying Starting Application Progress bar  RSS feed

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!