I'm getting ... java.io.FileNotFoundException: http://localhost:9090/release-deployer-webstart/webstart/release-deployer.jar?version-id=1.0.0
when I try to kick off my app with ... javaws http://localhost:9090/release-deployer-webstart/webstart/launch.jnlp Basically, it seems as though the Sun JNLP Servlet is trying to load my "release-deployer-1.0.0.jar" by referencing it as "release-deployer.jar?version-id=1.0.0" and it isn't working. Archive: release-deployer-webstart.war Length Date Time Name -------- ---- ---- ---- 0 10/23/09 12:01 META-INF/ 127 10/23/09 12:01 META-INF/MANIFEST.MF 0 10/23/09 11:20 WEB-INF/ 0 10/23/09 11:20 WEB-INF/classes/ 0 10/23/09 12:01 WEB-INF/lib/ 0 10/23/09 12:01 webstart/ 61726 10/21/09 09:32 WEB-INF/lib/jnlp-servlet-1.6.0_16.jar 472 10/21/09 08:57 WEB-INF/web.xml 12288 10/23/09 12:01 webstart/.launch.jnlp.swp 575 10/23/09 12:01 webstart/launch.jnlp 3359484 10/23/09 12:01 webstart/release-deployer-1.0.0.jar 242 10/23/09 12:01 webstart/version.xml my pom.xml: <plugin> <groupId>org.codehaus.mojo.webstart</groupId> <artifactId>webstart-maven-plugin</artifactId> <version>1.0-alpha-2</version> <executions> <execution> <phase>process-resources</phase> <goals> <goal>jnlp-download-servlet</goal> </goals> </execution> </executions> <configuration> <templateDirectory>src/main/jnlp</templateDirectory> <workDirectory>target/jnlp</workDirectory> <outputDirectoryName>webstart</outputDirectoryName> <excludeTransitive>true</excludeTransitive> <jnlpFiles> <jnlpFile> <templateFilename>jnlpTemplate.vm</templateFilename> <outputFilename>launch.jnlp</outputFilename> <!-- when there's only one jnlpFile, can be optioanl and defaults to launch.jnlp --> <jarResources> <jarResource> <groupId>com.example</groupId> <artifactId>release-deployer</artifactId> <version>1.0.0</version> <mainClass>com.example.MyMain</mainClass> </jarResource> </jarResources> </jnlpFile> </jnlpFiles> <sign> <keystore>${project.build.directory}/keyStore</keystore> <!-- path or URI (if empty, the default keystore ".keystore"-file in the user-homedir is used) --> <keypass>password</keypass> <!-- we need to override passwords easily from the command line. ${keypass} --> <storepass>password</storepass> <!-- ${storepass} --> <alias>webstart</alias> <!-- alias of the key to use --> <!-- the following key-settings are only used if the keystore and key has to be generated at build-time --> <storetype>jks</storetype> <validity>365</validity> <dnameCn>Name</dnameCn> <dnameOu>Name</dnameOu> <dnameO>Name</dnameO> <dnameL>Tampa</dnameL> <dnameSt>Florida</dnameSt> <dnameC>US</dnameC> <!-- KEYSTORE MANAGEMENT --> <keystoreConfig> <delete>true</delete> <!-- delete the keystore at build time --> <gen>true</gen> <!-- generate keystore and key at build time --> </keystoreConfig> <verify>false</verify> <!-- verify the signature after signing --> </sign> <unsign>true</unsign> <!-- unsign already signed packages and sign them with own key --> <verifyjar>false</verifyjar> </configuration> </plugin> ... <dependency> <groupId>com.sun.java.jnlp</groupId> <artifactId>jnlp-servlet</artifactId> <version>1.6.0_16</version> <scope>runtime</scope> </dependency> launch.jnlp: <jnlp spec="1.0+" codebase="$$codebase" context="$$context" href="$$name"> <information> <title>Release Deployer WebStart</title> <vendor>Name</vendor> <homepage href="http://maven.apache.org"/> <description>$project.Description</description> <offline-allowed/> </information> <security> <all-permissions/> </security> <resources> <j2se version="1.5+"/> <jar href="release-deployer.jar" version="1.0.0" main="true"/> </resources> <application-desc main-class="com.example.MyMain"/> </jnlp> Thanks, Steve Maring -- View this message in context: http://www.nabble.com/unable-to-load-resource-with-webstart-maven-plugin-tp26029276p26029276.html Sent from the mojo - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
