JNLP run fails!!!!!!!!!!

Hi every body ,,,,

I have a serious problem , to run JNLP file .

I have created a Test.jar(executable) file , which connect to db2 remote database. When I double ckick on that jar it runs fines , but when I add my Test.jar file into the jnlp file it could not connect to the database ,

and web start fails !!!!!

Here are the steps -->

step 1 .......

creating a jar file(Test.jar).

step 2 ......

creating a JNLP file(Test.jnlp)

The full description of jnlp->

?xml version="1.0" encoding="UTF-8"?>

<jnlp codebase="$$$" href="Test.jnlp">

<information>

<title>Testing</title>

<vendor>Some</vendor>

<description>Test Conn</description>

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

<offline-allowed/>

</information>

<resources>

<j2se version="1.3+"/>

<jar href="Test.jar" main="true"/>

<jar href="db2jcc.jar" download="eager"/>

<jar href="db2java.zip" download="eager"/>

</resources>

<application-desc main-class="Test2"/>

</jnlp>

For ur kind information am using jdbc type 4 driver for db2 database and Tomcat 5 as web server.

The Test.jar execute well !!!!!!!!!! But my Test.jnlp could not run ,,,

even it gives me no error !!!! ,,,,

Please help me !!!!!!!

Thanks

SB

[1502 byte] By [sb_online007a] at [2007-11-26 19:00:38]
# 1

> I have created a Test.jar(executable) file , which connect to

> db2 remote database.

The code will need to be signed and request

extended permission in order to access a remote

DB. This can be avoided if the web start app. is

launched for the same server that hosts the DB.

> When I double ckick on that jar it runs fines , but when I add

> my Test.jar file into the jnlp file it could not connect to the

> database , and web start fails !!!!!

Please fix that sticky '!' key.

Does the code 'swallow' exceptions?

AndrewThompson64a at 2007-7-9 20:43:12 > top of Java-index,Desktop,Deploying...
# 2
CaN you plz explain me dear , coz am confuse .Thanks SB
sb_online007a at 2007-7-9 20:43:12 > top of Java-index,Desktop,Deploying...
# 3
Dear , plz give some idea ,so that I could run my app.Thanks SB.
sb_online007a at 2007-7-9 20:43:12 > top of Java-index,Desktop,Deploying...
# 4

AndrewThompson64 is right.

Webstart application follows same applet security model. So client can talk to only that server from where client is downloaded using JNLP script. Otherwise you need to sign the jars.

If your client is talking to some service in your application server, make the DB call from there. This way you don't have to sign the jars.

digibabaa at 2007-7-9 20:43:13 > top of Java-index,Desktop,Deploying...