You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Steffen Engelmann <u2...@hs-harz.de> on 2012/07/12 10:54:12 UTC

Re: RE: apache rampart examples don't run

Hi Martin, 

sorry for the delay in response.

The keystore includes 2 PrivateKeyEntry (client, client2) and 2 trustedCertEntry (service, sts)

Any Idea?


----- Ursprüngliche Nachricht -----
Von: Martin Gainty <mg...@hotmail.com>
Datum: Samstag, Juni 30, 2012 12:44 pm
Betreff: RE: apache rampart examples don't run
An: java-user@axis.apache.org
Cc: nscheithauer@hs-harz.de, hstrack@hs-harz.de


> first can you verify the client.jks works with password of 'apache'
> 
> keytool -list -keystore client.jks
> 
> do you see output?
> Martin Gainty 
> ______________________________________________ 
> Verzicht und Vertraulichkeitanmerkung
> 
> 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.
> 
> 
> 
> 
> Date: Sat, 30 Jun 2012 12:22:29 +0200
> From: u24099@hs-harz.de
> Subject: Re: apache rampart examples don't run
> To: java-user@axis.apache.org
> CC: nscheithauer@hs-harz.de; hstrack@hs-harz.de
> 
> You do a great job! Thanks!
>  
> I tryed the samples with 1.6.3-SNAPSHOT. The basic sample08 and 
> sample09 are now running. The problems with policy sample01, sample07 
> and sample08 still exist. The error log's are attached to this message.
>  
> I tryed to get policy sample01, sample07 and sample08 run under apache 
> tomcat.
>  
> - All steps described in [1] and [2] are done.
>  
> [1] 
> [2] 
>  
>  
> policy sample01:
>  
> - Deploying in tomcat succesful.
>  
> Do I need a client-side keystore for the example? May be a 
> configuration problem?
>  
> I tryed out adding the following to policy.xml by using the shipped 
> client keystore (client.jks):
>  
> <ramp:signatureCrypto>
>   <ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin">
>     <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property>
>     <ramp:property name="org.apache.ws.security.crypto.merlin.file">client.jks</ramp:property>
>     <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.password">apache</ramp:property>
>   </ramp:crypto>
> </ramp:signatureCrypto>
>  
> And I changed the Port (8443) and the endpoint ( in the build.xml.
>  
> But it does not work. File Err_policy_sample01_client_2.txt shows the 
> error log.
>  
>  
> policy sample07:
>  
> - Deploying in tomcat succesful.
>  
>  
> policy sample08:
>  
> - Deploying in tomcat succesful.
>  
>  
> System:
>   Windows XP Professional SP 3
>   Java JDK 1.7.05
>   Apache Ant 1.8.4
>   Apache Tomcat 7.0.26
>   Apache Axis2 1.6.3-SNAPSHOT built: 28.06.2012 09:25:35
>   Apache Rampart 1.6.3-SNAPSHOT built: 26.06.2012 08:04:41
>   
>  
> Any Ideas? 
>  
> ----- Ursprüngliche Nachricht -----
> Von: Sagara Gunathunga <sa...@gmail.com>
> Datum: Donnerstag, Juni 28, 2012 1:07 pm
> Betreff: Re: apache rampart examples don't run
> An: java-user@axis.apache.org
> Cc: HS Harz Nico Scheithauer <ns...@hs-harz.de>, "HS Harz Prof. 
> Dr. Strack" <hs...@hs-harz.de>
>  
>  
> > We aware with those issues and some of them already have been fixed 
> in
> > trunk and 1.6 branch, we will address rest of them very soon. Also you
> > can expect Rampart 1.6.3 release within very short period of time.
> > Please find my inline answers.
> > 
> > On Thu, Jun 28, 2012 at 4:00 PM, Steffen Engelmann 
> <u2...@hs-harz.de> 
> > wrote:
> > > Hi apache rampart developer team,
> > >
> > > i've got problems by running the following examples - included in 
> 
> > the apache
> > > rampart version 1.6.2:
> > >
> > > basic
> > >  - sample08
> > >  - sample09
> > 
> > Above two have been fixed in 1.6 branch please test with 1.6.2
> > -SNAPSHOTS version [1] [2].
> > 
> > >
> > > policy
> > >  - sample01
> > This is not 1.6.2 specific issue you can find same issue on releases
> > after Axis2 1.5.0. The main reason is Axis2 Simple HTTP server used 
> in
> > these samples no longer support for HTTPS. You can run this sample in
> > a Servelet container like Apache Tomcat without any issue. BTW I'm
> > thinking to add a new sample based Jetty instead this targeting 1.7.X
> > releases.
> > 
> > >  - sample05
> > >  - sample06
> > 
> > Still not working.
> > 
> > 
> > 
> > >  - sample07
> > >  - sample08
> > 
> > These two should work on 1.6.2 -SNAPSHOTS version [3].
> > 
> > [1] - 
> > [2] - 
> > [3] - 
> > 
> > Thanks !
> > 
> > >
> > > the error log's are attached to this message.
> > >
> > > is there any known issue, why it doesn't work?
> > >
> > > the discribed steps in the JIRA-log (please take a look to the following
> > > address) are all done:
> > > 
> > >
> > >
> > > System:
> > >  Windows XP Professional SP 3
> > >  Java JDK 1.7.05
> > >  Apache Axis2 1.6.2
> > >  Apache Rampart 1.6.2
> > >  Apache Ant
> > >
> > > thanks a lot
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> > > For additional commands, e-mail: java-user-help@axis.apache.org
> > 
> > 
> > 
> > -- 
> > Sagara Gunathunga
> > 
> > Blog      - 
> > Web      - 
> > LinkedIn - 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-user-help@axis.apache.org
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.orgFor additional commands, e-mail: java-user-help@axis.apache.org        
>                                        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org