hello everyone,
i'm trying to get my way wiith the java-webstart plugin. i'm quite a newbie
with it, sorry if i post silly questions.

i followed the tutorials here:
http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven-plugin/howto.html

first, i tried without signing the jars, and i got the .zip files. My
application actually requires read permission on the local filesystem (its
main purpose is to upload pdf files to a remote web server). Then, i added
the signing related stuff to the pom,following an example found on some
mailing-list. I ended up with this:

<!-- SIGNING -->
                   <!-- defining this will automatically sign the jar and
its dependencies, if necessary -->
                   <sign>

<keystore>${basedir}/src/main/keystore/keystore</keystore>
                       <keypass>asdfghjk</keypass>
                       <storepass>qwertzui</storepass>
                       <alias>test</alias>
                       <validity>360</validity>
                       <verify>true</verify>
                       <dnameCn></dnameCn>
                       <dnameOu></dnameOu>
                       <dnameO></dnameO>
                       <dnameL></dnameL>
                       <dnameSt></dnameSt>
                       <dnameC></dnameC>
                   </sign>
                   <!-- KEYSTORE MANGEMENT -->
                   <keystore>
                       <delete>true</delete><!-- delete the keystore -->
                       <gen>true</gen><!-- optional shortcut to generate
the store. -->
                   </keystore>

so, when I do a mvn  install webstart:jnlp the application simply got stuck
while (i guess) signing runtime dependencies. those are actually only these
ones:
<dependency>
           <groupId>commons-fileupload</groupId>
           <artifactId>commons-fileupload</artifactId>
           <version>1.1.1</version>
       </dependency>
       <dependency>
           <groupId>commons-codec</groupId>
           <artifactId>commons-codec</artifactId>
           <version>1.3</version>
       </dependency>
<dependency>
           <groupId>commons-httpclient</groupId>
           <artifactId>commons-httpclient</artifactId>
           <version>3.0.1</version>
       </dependency>
       <dependency>
           <groupId>commons-lang</groupId>
           <artifactId>commons-lang</artifactId>
           <version>2.2</version>
       </dependency>
       <dependency>
           <groupId>jmimemagic</groupId>
           <artifactId>jmimemagic</artifactId>
           <version>0.0.4a</version>
       </dependency>

so, anyone has any idea on why it takes so long to sign them ? actually, i
don't even know if it ever finishes the whole process...
the only output i get is a countless list of :

[warn]  [no]:  Specificare nome e cognome
[warn]  [Unknown]:  Specificare il nome dell'unità aziendale
[warn]  [Unknown]:  Specificare il nome dell'azienda
[warn]  [Unknown]:  Specificare la località
[warn]  [Unknown]:  Specificare la provincia
[warn]  [Unknown]:  Specificare il codice a due lettere del paese in cui si
trova l'unità
[warn]  [Unknown]:  Il dato CN=Unknown, OU=Unknown, O=Unknown, L=Unknown,
ST=Unknown, C=Unknown è corretto?

apart from the language, i guess it is related to the dname elements within
the sign configuration.

help!
valerio
--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni

Reply via email to