Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 93498 invoked from network); 9 May 2007 15:11:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 May 2007 15:11:57 -0000 Received: (qmail 3320 invoked by uid 500); 9 May 2007 15:11:54 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 3301 invoked by uid 500); 9 May 2007 15:11:54 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 3284 invoked by uid 99); 9 May 2007 15:11:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2007 08:11:54 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of sridhar.jforum@gmail.com designates 64.233.162.236 as permitted sender) Received: from [64.233.162.236] (HELO nz-out-0506.google.com) (64.233.162.236) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2007 08:11:45 -0700 Received: by nz-out-0506.google.com with SMTP id m7so236870nzf for ; Wed, 09 May 2007 08:11:24 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=N7VG+7brp7p81E/kjPevBZM/37juD3yacuMbs34eKHIySvRVXAJeAQlahxUKPbGlNiW3fe2895tTAU/hmZ1qim5JF9gJbyN3RsorIkPbtPvfMEPVquYrYn08WLyYLVImTEJ+VSrAbrn/AHbSIsgR8SKocY71FD4pOY7U1o/SsbI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=XjUfJxWYMNWhYaznvd1TTWOg0g1FPrug6qvW16EOEx8OWpXQ50SnmCq5/zi6hAz/1JT9nea21yvMe1LNc/qtIf48z51ciAehKxII1DCeaVROvJnOucrLjwIlv5IAG6pg6d1CLbwo69LFXYRLqZbWNT0K2TyAtpSBSSBFyyAI5e4= Received: by 10.114.92.2 with SMTP id p2mr214450wab.1178723484467; Wed, 09 May 2007 08:11:24 -0700 (PDT) Received: by 10.114.60.5 with HTTP; Wed, 9 May 2007 08:11:24 -0700 (PDT) Message-ID: <624a79970705090811k252dd827p989966942c3366@mail.gmail.com> Date: Wed, 9 May 2007 11:11:24 -0400 From: "sridhar vudutha" To: axis-user@ws.apache.org, "Martin Gainty" Subject: Re: Keystore in Axis2 war In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_117012_29166635.1178723484411" References: <624a79970705081008k6f6d1b69xe75923297c56a40@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_117012_29166635.1178723484411 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Martin, Putting the test.properties file in $JBOSS_HOME/server/default/conf/props, worked fine. How can I take the KeyStore out of the war file? I tried putting it in the same directory ( $JBOSS_HOME/server/default/conf/props) but didn't work. Any suggestions? Thanks, Sridhar. On 5/8/07, Martin Gainty wrote: > > Sridhar-- > did you try > $JBOSS_HOME/server/default/conf/props > ? > M-- > This email message and any files transmitted with it contain confidential > information intended only for the person(s) to whom this email message is > addressed. If you have received this email message in error, please > notify > the sender immediately by telephone or email and destroy the original > message without making a copy. Thank you. > > > ----- Original Message ----- > *From:* sridhar vudutha > *To:* axis-user@ws.apache.org > *Sent:* Tuesday, May 08, 2007 1:08 PM > *Subject:* Keystore in Axis2 war > > > Hello, > I'm having trouble taking out the KeyStore or the properties file from > the Axis2 war file. As long as they are in the Axis2.war/WEB-INF/classes > directory, everything works fine. I'm using JBoss 4.0.5 and would like to > put KeyStore or the properties file outside the Axis2.war file. I tried > putting it in Jboss/server/default/lib ; Jboss/server/conf and also manually > updated the JBoss CLASSPATH in the run.bat file but doesn't work. > > The properties file (test.properties) in Axis2.war/WEB-INF/classes > folder has the following contents. > > > org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin > org.apache.ws.security.components.crypto.Merlin > org.apache.ws.security.crypto.merlin.keystore.type=jks > org.apache.ws.security.crypto.merlin.keystore.password=password > org.apache.ws.security.crypto.merlin.keystore.alias=uattest > org.apache.ws.security.crypto.merlin.alias.password=password > org.apache.ws.security.crypto.merlin.file=TestKeyStore > > If I keep both the TestKeyStore and test.properties files in the Axis2.war/WEB-INF/classes > folder, it works fine. > > Can someone please suggest me how to put make the properties file or the > KeyStore file available to Axis2.war after it is deployed? > > I'm putting Axis2.war in an ear which contains some jars and 2 other war > files. > > Any help would be greatly appreciated. > > Thanks, > Sridhar. > > ------=_Part_117012_29166635.1178723484411 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Martin,
     Putting the test.properties file in  $JBOSS_HOME/server/default/conf/props, worked fine. How can I take the KeyStore out of the war file? I tried putting it in the same directory (  $JBOSS_HOME/server/default/conf/props) but didn't work. Any suggestions?
 
Thanks,
Sridhar.


 
On 5/8/07, Martin Gainty <mgainty@hotmail.com> wrote:
Sridhar--
did you try
$JBOSS_HOME/server/default/conf/props
?
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.
 
----- Original Message -----
Sent: Tuesday, May 08, 2007 1:08 PM
Subject: Keystore in Axis2 war

 
Hello,
    I'm having trouble taking out the KeyStore or the properties file from the Axis2 war file. As long as they are in the Axis2.war/WEB-INF/classes directory, everything works fine. I'm using JBoss 4.0.5 and would like to put KeyStore or the properties file outside the Axis2.war file. I tried putting it in Jboss/server/default/lib ; Jboss/server/conf and also manually updated the JBoss CLASSPATH in the run.bat file but doesn't work.
 
The properties  file (test.properties) in Axis2.war/WEB-INF/classes folder has the following contents.

org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
org.apache.ws.security.components.crypto.Merlin
org.apache.ws.security.crypto.merlin.keystore.type=jks
org.apache.ws.security.crypto.merlin.keystore.password=password
org.apache.ws.security.crypto.merlin.keystore.alias=uattest
org.apache.ws.security.crypto.merlin.alias.password=password
org.apache.ws.security.crypto.merlin.file=TestKeyStore
 
If I keep both the TestKeyStore and test.properties files in the Axis2.war/WEB-INF/classes folder, it works fine.
 
Can someone please suggest me how to put make the properties file or the KeyStore file available to Axis2.war after it is deployed?
 
I'm putting Axis2.war in an ear which contains some jars and 2 other war files.
 
Any help would be greatly appreciated.
 
Thanks,
Sridhar.

------=_Part_117012_29166635.1178723484411--