axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vibhor_Sharma" <vsha...@gryphonnetworks.com>
Subject RE: Issues with Rampart1.1 and Axis2 1.1.1 (Urgent)
Date Tue, 20 Mar 2007 18:32:02 GMT
Hi Ruchith 
   I tried one more thing 
I changed the name of the provider in the client.properties and
service.properties file. I changed the name of the provider to
BouncyCastle 

org.apache.ws.security.crypto.provider=org.bouncycastle.jce.provider.Bou
ncyCastleProvider

I get the following errors

[java] java.lang.NoSuchMethodException:
org.bouncycastle.jce.provider.BouncyCastleProvider.<init>(java.util.Prop
erties, j
[java]     at java.lang.Class.getConstructor0(Class.java:1937)
[java]     at java.lang.Class.getConstructor(Class.java:1027)
[java]     at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoF
actory.java:179)
[java]     at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(Crypt
oFactory.java:153)
[java]     at
org.apache.ws.security.handler.WSHandler.loadSignatureCrypto(WSHandler.j
ava:347)
[java]     at
org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:1
24)
[java]     at
org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.java
:254)
[java]     at
org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender.ja
va:86)
[java]     at
org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:74)
[java]     at org.apache.axis2.engine.Phase.invoke(Phase.java:382)
[java]     at
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:522)
[java]     at
org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:655)
[java]     at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:237)
[java]     at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
peration.java:202)
[java]     at
com.gryphonnetworks.ws.certify.stub.CertifyChannelStub.certifyContact(Un
known Source)
[java]     at
com.gryphonnetworks.ws.certify.client.CertifyClient.main(Unknown Source)
[java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
[java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
[java]     at java.lang.reflect.Method.invoke(Method.java:324)
[java]     at
org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:202)
[java]     at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:134)
[java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
[java]     at
org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
[java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
[java]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java]     at org.apache.tools.ant.Task.perform(Task.java:364)
[java]     at org.apache.tools.ant.Target.execute(Target.java:341)
[java]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java]     at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChe
ckExecutor.java:37)
[java]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[java]     at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[java]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java]     at org.apache.tools.ant.Task.perform(Task.java:364)
[java]     at org.apache.tools.ant.Target.execute(Target.java:341)
[java]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java]     at
org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[java]     at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut
or.java:40)
[java]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java]     at org.apache.tools.ant.Main.runBuild(Main.java:668)
[java]     at org.apache.tools.ant.Main.startAnt(Main.java:187)
[java]     at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[java]     at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[java] Mar 20, 2007 2:25:01 PM
org.apache.ws.security.components.crypto.CryptoFactory loadClass
[java] SEVERE: Unable to instantiate (1):
org.bouncycastle.jce.provider.BouncyCastleProvider
[java] java.lang.NoSuchMethodException:
org.bouncycastle.jce.provider.BouncyCastleProvider.<init>(java.util.Prop
erties, j
[java]     at java.lang.Class.getConstructor0(Class.java:1937)
[java]     at java.lang.Class.getConstructor(Class.java:1027)
[java]     at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoF
actory.java:179)
[java]     at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(Crypt
oFactory.java:153)
[java]     at
org.apache.ws.security.handler.WSHandler.loadSignatureCrypto(WSHandler.j
ava:347)
[java]     at
org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:1
24)
[java]     at
org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.java
:254)
[java]     at
org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender.ja
va:86)
[java]     at
org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:74)
[java]     at org.apache.axis2.engine.Phase.invoke(Phase.java:382)
[java]     at
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:522)
[java]     at
org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:655)
[java]     at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:237)
[java]     at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
peration.java:202)
[java]     at
com.gryphonnetworks.ws.certify.stub.CertifyChannelStub.certifyContact(Un
known Source)
[java]     at
com.gryphonnetworks.ws.certify.client.CertifyClient.main(Unknown Source)
[java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
[java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
[java]     at java.lang.reflect.Method.invoke(Method.java:324)
[java]     at
org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:202)
[java]     at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:134)
[java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
[java]     at
org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
[java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
[java]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java]     at org.apache.tools.ant.Task.perform(Task.java:364)
[java]     at org.apache.tools.ant.Target.execute(Target.java:341)
[java]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java]     at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChe
ckExecutor.java:37)
[java]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[java]     at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[java]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java]     at org.apache.tools.ant.Task.perform(Task.java:364)
[java]     at org.apache.tools.ant.Target.execute(Target.java:341)
[java]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java]     at
org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[java]     at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut
or.java:40)
[java]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java]     at org.apache.tools.ant.Main.runBuild(Main.java:668)
[java]     at org.apache.tools.ant.Main.startAnt(Main.java:187)
[java]     at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[java]     at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[java] java.lang.ClassCastException
[java]     at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoF
actory.java:188)
[java]     at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(Crypt
oFactory.java:153)
[java]     at
org.apache.ws.security.handler.WSHandler.loadSignatureCrypto(WSHandler.j
ava:347)
[java]     at
org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:1
24)
[java]     at
org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.java
:254)
[java]     at
org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender.ja
va:86)
[java]     at
org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:74)
[java]     at org.apache.axis2.engine.Phase.invoke(Phase.java:382)
[java]     at
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:522)
[java]     at
org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:655)
[java]     at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:237)
[java]     at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
peration.java:202)
[java]     at
com.gryphonnetworks.ws.certify.stub.CertifyChannelStub.certifyContact(Un
known Source)
[java]     at
com.gryphonnetworks.ws.certify.client.CertifyClient.main(Unknown Source)
[java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
[java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
[java]     at java.lang.reflect.Method.invoke(Method.java:324)
[java]     at
org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:202)
[java]     at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:134)
[java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
[java]     at
org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
[java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
[java]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java]     at org.apache.tools.ant.Task.perform(Task.java:364)
[java]     at org.apache.tools.ant.Target.execute(Target.java:341)
[java]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java]     at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChe
ckExecutor.java:37)
[java]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[java]     at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[java]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java]     at org.apache.tools.ant.Task.perform(Task.java:364)
[java]     at org.apache.tools.ant.Target.execute(Target.java:341)
[java]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java]     at
org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[java]     at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut
or.java:40)
[java]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java]     at org.apache.tools.ant.Main.runBuild(Main.java:668)
[java]     at org.apache.tools.ant.Main.startAnt(Main.java:187)
[java]     at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[java]     at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[java] Mar 20, 2007 2:25:01 PM
org.apache.ws.security.components.crypto.CryptoFactory loadClass
[java] SEVERE: Unable to instantiate (2):
org.bouncycastle.jce.provider.BouncyCastleProvider
[java] java.lang.ClassCastException
[java]     at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoF
actory.java:188)
[java]     at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(Crypt
oFactory.java:153)
[java]     at
org.apache.ws.security.handler.WSHandler.loadSignatureCrypto(WSHandler.j
ava:347)
[java]     at
org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:1
24)
[java]     at
org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.java
:254)
[java]     at
org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender.ja
va:86)
[java]     at
org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:74)
[java]     at org.apache.axis2.engine.Phase.invoke(Phase.java:382)
[java]     at
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:522)
[java]     at
org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:655)
[java]     at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:237)
[java]     at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
peration.java:202)
[java]     at
com.gryphonnetworks.ws.certify.stub.CertifyChannelStub.certifyContact(Un
known Source)
[java]     at
com.gryphonnetworks.ws.certify.client.CertifyClient.main(Unknown Source)
[java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
[java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
[java]     at java.lang.reflect.Method.invoke(Method.java:324)
[java]     at
org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:202)
[java]     at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:134)
[java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
[java]     at
org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
[java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
[java]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java]     at org.apache.tools.ant.Task.perform(Task.java:364)
[java]     at org.apache.tools.ant.Target.execute(Target.java:341)
[java]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java]     at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChe
ckExecutor.java:37)
[java]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[java]     at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[java]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java]     at org.apache.tools.ant.Task.perform(Task.java:364)
[java]     at org.apache.tools.ant.Target.execute(Target.java:341)
[java]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java]     at
org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[java]     at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut
or.java:40)
[java]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java]     at org.apache.tools.ant.Main.runBuild(Main.java:668)
[java]     at org.apache.tools.ant.Main.startAnt(Main.java:187)
[java]     at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[java]     at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[java] org.apache.axis2.AxisFault:
org.bouncycastle.jce.provider.BouncyCastleProvider cannot create
instance; nested exce
[java]     java.lang.RuntimeException:
org.bouncycastle.jce.provider.BouncyCastleProvider cannot create
instance
[java]     at
org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender.ja
va:92)
[java]     at
org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:74)
[java]     at org.apache.axis2.engine.Phase.invoke(Phase.java:382)
[java]     at
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:522)
[java]     at
org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:655)
[java]     at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:237)
[java]     at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
peration.java:202)
[java]     at
com.gryphonnetworks.ws.certify.stub.CertifyChannelStub.certifyContact(Un
known Source)
[java]     at
com.gryphonnetworks.ws.certify.client.CertifyClient.main(Unknown Source)
[java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
[java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
[java]     at java.lang.reflect.Method.invoke(Method.java:324)
[java]     at
org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:202)
[java]     at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:134)
[java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
[java]     at
org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
[java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
[java]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java]     at org.apache.tools.ant.Task.perform(Task.java:364)
[java]     at org.apache.tools.ant.Target.execute(Target.java:341)
[java]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java]     at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChe
ckExecutor.java:37)
[java]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[java]     at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[java]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java]     at org.apache.tools.ant.Task.perform(Task.java:364)
[java]     at org.apache.tools.ant.Target.execute(Target.java:341)
[java]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java]     at
org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[java]     at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut
or.java:40)
[java]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java]     at org.apache.tools.ant.Main.runBuild(Main.java:668)
[java]     at org.apache.tools.ant.Main.startAnt(Main.java:187)
[java]     at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[java]     at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[java] Caused by: java.lang.RuntimeException:
org.bouncycastle.jce.provider.BouncyCastleProvider cannot create
instance
[java]     at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoF
actory.java:193)
[java]     at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(Crypt
oFactory.java:153)
[java]     at
org.apache.ws.security.handler.WSHandler.loadSignatureCrypto(WSHandler.j
ava:347)
[java]     at
org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:1
24)
[java]     at
org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.java
:254)
[java]     at
org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender.ja
va:86)


Thanks
Vibhor


-----Original Message-----
From: Ruchith Fernando [mailto:ruchith.fernando@gmail.com] 
Sent: Tuesday, March 20, 2007 12:28 PM
To: axis-user@ws.apache.org
Subject: Re: Issues with Rampart1.1 and Axis2 1.1.1 (Urgent)

Hi,

Are you on JDK 1.5? If so please follow the steps here :
http://ws.apache.org/axis2/faq.html#a3

axis2 faq -> General #2

Thanks,
Ruchith

On 3/20/07, Vibhor_Sharma <vsharma@gryphonnetworks.com> wrote:
>
>
>
>
> I downloaded the bcprov-jdk14-136 which is compatible with the jdk1.4
> version and it still gives me the same error.
>
>
>
> The one packaged in rampart1.1 is for jdk1.3   I guess.
>
>
>
> Do I need to generate the certificates with some other algorithm (in
case
> http://www.w3.org/2001/04/xmlenc#rsa-1_5 is not acceptable
> to the provider) so that I can make it work?
>
>
>
> Just wondering if this algorithm is not supported then how come the
sample
> certificates have been shipped with rampart1.1? or is my understanding
> wrong.
>
>
>
> How do I know whether the particular algorithm is supported?
>
>
>
> Thanks
>
> Vibhor
>
>
>
>
>
>
>
>  ________________________________
>
>
> From: Vibhor_Sharma [mailto:vsharma@gryphonnetworks.com]
>  Sent: Tuesday, March 20, 2007 6:52 AM
>  To: axis-user@ws.apache.org; axis-user@ws.apache.org
>  Subject: RE: Issues with Rampart1.1 and Axis2 1.1.1 (Urgent)
>
>
>
>
>
>
>
>
>
> Hi Ruchith
>
>
>    Thanks for the response
>
>
> yes i have copied all the jar files that come along with Rampart/lib
folder
> to the Axi21.1.1 lib folder and that is a part of my classpath.
>
>
>
>
>
> bcprov-jdk13-133.jar to be more precise.
>
>
>
>
>
> Is there any other file that has to be added?
>
>
>
>
>
> Regards
>
>
> Vibhor
>
>
>
>
>
>  ________________________________
>
>
>
> From: Ruchith Fernando [mailto:ruchith.fernando@gmail.com]
>  Sent: Tue 3/20/2007 12:41 AM
>  To: axis-user@ws.apache.org
>  Subject: Re: Issues with Rampart1.1 and Axis2 1.1.1 (Urgent)
>
>
> Hi Vibhor,
>
>  Do you have the bouncycastle jar (bcprov-*.jar) in the classpath?
>
>  Thanks,
>  Ruchith
>
>  On 3/20/07, Vibhor_Sharma <vsharma@gryphonnetworks.com> wrote:
>  >
>  >
>  >
>  >
>  > Hi
>  >
>  >     I have the following configuration
>  >
>  >
>  >
>  > JDK1.4.2.13
>  >
>  > JBOSS 4.0.5 (axis21.1.1 war deployed on it)
>  >
>  > Axis2 1.1.1
>  >
>  > Rampart 1.1
>  >
>  > Used the same certificate store and properties file that are
shipped with
>  > Rampart binary distribution
>  >
>  >
>  >
>  > I'm trying to send and receive a message that is digitally sign and
>  > encrypted.
>  >
>  > I'm have used the same guidelines as mentioned in the sample6 of
> Rampart1.1
>  > binary distribution. When I try to access the service I get the
following
>  > error.
>  >
>  > Any help would really be appreciated. If I'm missing something
please let
> me
>  > know.
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >      [java] org.apache.axis2.AxisFault: WSHandler: Encryption:
error
> during
>  > message
>  > processingorg.apache.ws.security.WSSecurityException: An
>  > unsupported signatu
>  >
>  > re or encryption algorithm was used (unsupported key transport
encryption
>  > algorithm: No such algorithm:
>  > http://www.w3.org/2001/04/xmlenc#rsa-1_5); nested except
>  >
>  > ion is:
>  >
>  >      [java]
> org.apache.ws.security.WSSecurityException:
>  > WSHandler: Encryption: error during message
>  > processingorg.apache.ws.security.WSSecurityException: An
>  >
>  >  unsupported signature or encryption algorithm was used
(unsupported key
>  > transport encryption algorithm: No such algorithm:
>  > http://www.w3.org/2001/04/xmlenc#rsa
>  >
>  > -1_5)
>  >
>  >      [java]     at
>  >
>
org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender.ja
va:92)
>  >
>  >      [java]     at
>  >
>
org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:74)
>  >
>  >      [java]     at
>  > org.apache.axis2.engine.Phase.invoke(Phase.java:382)
>  >
>  >      [java]     at
>  >
> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:522
>  >
>  > )
>  >
>  >      [java]     at
>  >
> org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:655)
>  >
>  >      [java]     at
>  >
>
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:237)
>  >
>  >      [java]     at
>  >
>
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
peration.java:202)
>  >
>  >      [java]     at
>  >
>
com.gryphonnetworks.ws.certify.stub.CertifyChannelStub.certifyContact(Un
known
>  > Source)
>  >
>  >      [java]     at
>  >
> com.gryphonnetworks.ws.certify.client.CertifyClient.main(Unknown
>  > Source)
>  >
>  >      [java]     at
>  > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>  >
>  >      [java]     at
>  >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
>  >
>  >      [java]     at
>  >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
>  >
>  >      [java]     at java.lang.reflect.Method.invoke(Method.java:324)
>  >
>  >      [java]     at
>  >
> org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:202)
>  >
>  >      [java]     at
>  >
>
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:134)
>  >
>  >      [java]     at
>  > org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
>  >
>  >      [java]     at
>  >
> org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
>  >
>  >
>  >
>  >      [java]     at
>  > org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
>  >
>  >      [java]     at
>  >
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>  >
>  >      [java]     at
>  > org.apache.tools.ant.Task.perform(Task.java:364)
>  >
>  >      [java]     at
>  > org.apache.tools.ant.Target.execute(Target.java:341)
>  >
>  >      [java]     at
>  >
> org.apache.tools.ant.Target.performTasks(Target.java:369)
>  >
>  >      [java]     at
>  >
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>  >
>  >      [java]     at
>  >
>
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChe
ckExecutor.java:37)
>  >
>  >      [java]     at
>  >
> org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>  >
>  >      [java]     at
>  > org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
>  >
>  >      [java]     at
>  >
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
>  >
>  >      [java]     at
>  >
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>  >
>  >      [java]     at
>  > org.apache.tools.ant.Task.perform(Task.java:364)
>  >
>  >      [java]     at
>  > org.apache.tools.ant.Target.execute(Target.java:341)
>  >
>  >      [java]     at
>  >
> org.apache.tools.ant.Target.performTasks(Target.java:369)
>  >
>  >      [java]     at
>  >
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>  >
>  >      [java]     at
>  >
> org.apache.tools.ant.Project.executeTarget(Project.java:1185)
>  >
>  >
>  >
>  >      [java]     at
>  >
>
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut
or.java:40)
>  >
>  >      [java]     at
>  >
> org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>  >
>  >      [java]     at
>  > org.apache.tools.ant.Main.runBuild(Main.java:668)
>  >
>  >      [java]     at
>  > org.apache.tools.ant.Main.startAnt(Main.java:187)
>  >
>  >      [java]     at
>  >
> org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
>  >
>  >      [java]     at
>  >
> org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
>  >
>  >      [java] Caused by:
>  > org.apache.ws.security.WSSecurityException: WSHandler:
>  > Encryption: error during message
>  > processingorg.apache.ws.security.WSSecurityExcept
>  >
>  > ion: An unsupported signature or encryption algorithm was used
> (unsupported
>  > keytransport encryption algorithm: No such algorithm:
>  > http://www.w3.org/2001/04/xml
>  >
>  > enc#rsa-1_5)
>  >
>  >      [java]     at
>  >
>
org.apache.ws.security.action.EncryptionAction.execute(EncryptionAction.
java:64)
>  >
>  >      [java]     at
>  >
>
org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:1
92)
>  >
>  >      [java]     at
>  >
>
org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.java
:254)
>  >
>  >      [java]     at
>  >
>
org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender.ja
va:86)
>  >
>  >      [java]     ... 38 more
>  >
>  >
>  >
>  > Thanks
>  >
>  > Vibhor
>  >
>  >
>  >
>  >
>
>
>  --
>  www.ruchith.org
>  www.wso2.org
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org
>  For additional commands, e-mail: axis-user-help@ws.apache.org


-- 
www.ruchith.org
www.wso2.org

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


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


Mime
View raw message