Re: [Axis2][0.95][JDK1.4 and JDK 1.5] Still got security sample problems :)

2006-03-26 Thread Ruchith Fernando
Hi Ali, Great !!! ... thank you for trying the sample and finding the issue ... will update the FAQ with your findings. Thanks, Ruchith On 3/26/06, Ali Sadik Kumlali <[EMAIL PROTECTED]> wrote: > Hi Ruchith, > > With your helps, I've found the mistery at last! > > While I was thinking about the

Re: [Axis2][0.95][JDK1.4 and JDK 1.5] Still got security sample problems :)

2006-03-26 Thread Ali Sadik Kumlali
Hi Ruchith,With your helps, I've found the mistery at last!While I was thinking about the diffrences we might have, I gave "locale settings" a try and surprisingly it worked!Here is the mystery: "Security sample requires user language to be English". Therefore, -Duser.language=EN must b

Re: [Axis2][0.95][JDK1.4 and JDK 1.5] Still got security sample problems :)

2006-03-26 Thread Ruchith Fernando
Hi Ali, hmm this is very strange since the TestCipher produced "BC" as the output (i.e. bouncycastle is available as the default JCE provider) you should be able to get the sample working if it is the same JRE that is used by the security sample client. Did you try this with JDK 1.4? Thanks

Re: [Axis2][0.95][JDK1.4 and JDK 1.5] Still got security sample problems :)

2006-03-26 Thread Ali Sadik Kumlali
Hi Ruchith,I ran TestChiper and got SunJCE as output. Then changed my java.security file as following:security.provider.1=sun.security.provider.Sun security.provider.2=org.bouncycastle.jce.provider.BouncyCastleProvider security.provider.3=sun.security.rsa.SunRsaSign security.provider.4=c

Re: [Axis2][0.95][JDK1.4 and JDK 1.5] Still got security sample problems :)

2006-03-25 Thread Ruchith Fernando
Hi, To ensure bouncycastle provider is picked up we insert it as the second in the list of providers. This done is each time the security handlers are invoked. Can you please run the attached TestCipher.java snippet and verify the above behaviour works in your _specific_ JDK version? VERY IMPORTA

Re: [Axis2][0.95][JDK1.4 and JDK 1.5] Still got security sample problems :)

2006-03-25 Thread Ali Sadik Kumlali
Hi Ruchith,Thank you for your help. I want you to make sure that I didn't write my own code and only try to run the samples/security that comes with Axis2. Actually, I replaced it with the separately distributed sample listed in the site. I could not find a big difference other than a typo

Re: [Axis2][0.95][JDK1.4 and JDK 1.5] Still got security sample problems :)

2006-03-25 Thread Ruchith Fernando
Hi, Seems like the bouncycastle.jar is not in the classpath of the client. This is the JCE provider we use instead of the default impl and it contains implementations of the required algorithms. Please check whether you have a directory named 'lib' within in the samples/security directory and it

[Axis2][0.95][JDK1.4 and JDK 1.5] Still got security sample problems :)

2006-03-25 Thread Ali Sadik Kumlali
Dear all,Thanks to Axis2 team, 0.95 relase has finally announced on the site.Happily, there is an extra download for security sample which makes me feel I finally get rid of security sample nightmare :)Unfortunately and surprisingly, I can't get security sample to work and still get