Thaks Marty...My problem got resolved for signing the jars..

I had key at two places just for testing purpose. Actually in keystore you need 
to put complete path like (<keystore>${basedir}/src/keytool/GTSkey</keystore>)  
and if you do not, it looks for key in ${project.build.directory} 
src/keytool/GTSkey.

Did you anybody ever signed the weblogic jar using maven utility. I am getting 
below error while signing weblogic jar even after setting memory to 1GB(through 
ant it is working fine):

[WARNING] Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

Thanks
Sandeep

-----Original Message-----
From: Martin Gainty [mailto:mgai...@hotmail.com] 
Sent: Friday, July 31, 2009 11:49 AM
To: users@maven.apache.org
Subject: RE: Issue with Maven Webstart Plugin while signing weblogic9.2.2 jar


depends on where the keystore implementation takes place here is an excerpt 
from axis2.xml  <transportReceiver name="https" 
class="package.HttpCoreNIOSSLListener">
        <parameter name="keystore" locked="false">
            <KeyStore>
                <Location>NameOfJKSFile.jks</Location>
                <Type>JKS</Type>
                <Password>password</Password>
                <KeyPassword>PleasePutPasswordUsedInKeystoreHere</KeyPassword>
            </KeyStore>
        </parameter>

if i set attribute locked="true" then the current KeyStore node configuration 
cannot be overriden (by parent) 

i dont understand why you have 2 keystore configurations?
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> Subject: Issue with Maven Webstart Plugin while signing weblogic9.2.2 
> jar
> Date: Fri, 31 Jul 2009 11:28:12 -0400
> From: sagra...@consultantemail.com
> To: users@maven.apache.org
> 
> Hi,
> 
> We are using webstart maven plugin to genereate the webstart war file 
> and for signing the jar also.(below is the pom part for signing)
> 
> <sign>
> <!--keystore>src/main/keytool/GTSkey</keystore-->
> <keypass>GTSkey</keypass>
> <storepass>GTSkey</storepass>
> <alias>GTS</alias>
> <verify>true</verify>
> </sign>
> 
> It does sign all the jars except weblogic9.2.2 jar(I know jar size is 
> large but same jar is getting signed through ant without any issue, I 
> did (set MAVEN_OPTS="-Xmx1024m") also but all in vain. Does anybody 
> faced this issue earlier and know the resolution.
> 
> Apart from the above issue, If I use the Keystore as commented out in 
> the pom it starts giving me error(GTSkey is key generated) but if I do 
> comment it out and use the default key genereated in home directory, 
> it does run without any issue. Any thoughts on this ?
> 
> 
> Thanks
> Sandeep
> 

_________________________________________________________________
Windows Live(tm) SkyDrive(tm): Store, access, and share your photos. See how.
http://windowslive.com/Online/SkyDrive?ocid=TXT_TAGLM_WL_CS_SD_photos_072009

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to