I have a simple swing webstart demo that worked great using the .jnlp file. Then, I converted it to work with the Spring Framework and HttpInvoker. I worked great when I ran it as an application from Webshpere RAD. However, after I created a new .jnlp file to inlcude / download the TreeDemo.jar and all the Spring jars as resources it throws a NoClassDefFoundError :
As I understand it from the Oracle / Webstart documentation the resource jars listed in the jnlp file should automatically be downloaded and included in the class path. It finds the Treedemo.jar main class but not the ApplicationContext class from the Spring jar. The confusing part is that ApplicationContext class is in fact in the spring.jar. I can drill down through org/springframework/context/ApplicationContext and get to it in the webapp lib folder as well as import it into classes at compile time.
So, it appears that it is in the class path when run as a application from RAD, but when served via WebStart it does not get included in the class path or it is not reachable by Web Start.
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://localhost:9080/SOSWeb/" href="TreeDemo.jnlp">
<vendor>IBM - JWS example of HelloWorld</vendor>
<description>Tree Demo - Example of JWS</description>
<description kind="short">Tree Demo with Spring DB Access example</description>