Hello
I am using the Webstart plugin to distribute a Swing application. Works fine
untill I need to issue a new version of my application.

The application gets download onto the client machine correctly, but then
web start fails with the following message  "Error: JAR resources in JNLP
file are not signed by the same certificate"

Although I am using the signer embedded in the web start plugin, I am not
deleting the keystore during the build process.

The only way I can solve this problem is to get onto the client machine and
delete the sun download cache.....

What am I missing?


Here is a slimmed down version of my POM

<plugin>
<groupId>org.codehaus.mojo.webstart</groupId>
<artifactId>webstart-maven-plugin</artifactId>

<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>jnlp-download-servlet</goal>
</goals>
</execution>
</executions>

<configuration>
<outputDirectoryName>webstart</outputDirectoryName>
<jnlpFiles>
<jnlpFile> ---
</jnlpFile>
</jnlpFiles>

<sign>
<keystore>
${project.build.sourceDirectory}/keyStore
</keystore>
<keypass>password</keypass>
<storepass>password</storepass><!-- ${storepass} -->
<alias>webstart</alias><!-- alias of the key to  use -->
<storetype>jks</storetype>
<validity>3650</validity>
<dnameCn>Metservice</dnameCn>
<dnameOu>ISD</dnameOu>
<dnameO>IDS</dnameO>
<dnameL></dnameL>
<dnameSt></dnameSt>
<dnameC></dnameC>

<!-- KEYSTORE MANGEMENT -->
<keystoreConfig>
<delete>false</delete>
<gen>false</gen>
</keystoreConfig>
<verify>true</verify>
</sign>
<unsign>true</unsign>
<verifyjar>true</verifyjar>
</configuration>
</plugin>

Reply via email to