• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Starting Suns Sample App webpad

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to Java Web Start. I am trying to run Sun's Web Start example
webpad. I am using Tomcat 4.1.31

I built the webpad war file according to instructions:
"To build .war file, run below command inside the war directory
jar -cvf ../webpad.war ."

I placed the war file in the $TOMCAT_HOME/webapps directory and restarted
Tomcat.

I went to the associated web page at:
http://localhost:8080/webpad/war/index.html

So far, so good.

I tried to launch the webpad app and got an error:
"An error occurred while launching/running the application.
Category: Launch File Error
The field <jnlp>codebase has an invalid value: $$codebase"

On the exception tab it lists:


What did I leave out?

Don
 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I assume that your localhost:8080/webpad/war/index.html page has a link to the .jnlp file that the user clicks on.

Can you post the contents of this file. It may be a bit more obvious what it going on then.

Cheers, Jared.
[ December 15, 2004: Message edited by: Jared Cope ]
 
don cline
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The .jnlp file as provided by Sun:



Thanks in advance
Don
 
don cline
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OOPS...

One of the lines in the .jnlp file is incorrect and should read:

The line I showed was an attempt to fix the problem...

Don
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic