how to tackle files other then jars inorder to run Client applications?

Hi,

I am moving my client application to run through JWS. In order to run client application, i need to download files other then jars like xml, some bin files etc. My JNLP file is something like following.

<security>

<all-permissions/>

</security>

<resources>

<j2se version="1.6"/>

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

.......

<jar href="log4j.xml" download="eager"/>

</resources>

During downloading of XML, JWS raises exception for XML file "#### Could not verify signing in resource: tttp://testmachine:8080/classes/log4j.xml"..

#1 How can i avoid these Exception ?

#2. Can only Jar files be downloaded by JWS or i need to package files other jar into jar file format ?

Appreciate if someone can help me on that matter?

[873 byte] By [kumahaa] at [2007-11-27 5:56:32]
# 1

The jnlp specification only allows jar files as resources . Downloading anything else would not help anyway as there would be no way to access it. Only the classloader has access to the downloaded resources, so it is required to bundle all other resources in jar files and access them with Thread.currentThread().getResourceAsStream("myfile.xml");

/Andy

dietz333a at 2007-7-12 16:27:22 > top of Java-index,Desktop,Deploying...