axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantinos Pateras" <kpate...@googlemail.com>
Subject Re: Issues with Rampart1.1 and Axis2 1.1.1 (Urgent)
Date Mon, 19 Mar 2007 22:14:45 GMT
Hi,

I think that JDK 1.4.x has some policy restrictions so you must
download the Java Cryptography Extension (JCE) Unlimited Strength
Jurisdiction Policy Files 1.4.2 (jce_policy-1_4_2.zip) from SUN and
install them in your JRE (it is just a copy paste).

On 3/19/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.java: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(OutInAxisOperation.java:237)
>
>      [java]     at
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202)
>
>      [java]     at
> com.gryphonnetworks.ws.certify.stub.CertifyChannelStub.certifyContact(Unknown
> 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.java:39)
>
>      [java]     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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(SingleCheckExecutor.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(DefaultExecutor.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:192)
>
>      [java]     at
> org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.java:254)
>
>      [java]     at
> org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender.java:86)
>
>      [java]     ... 38 more
>
>
>
> Thanks
>
> Vibhor
>
>
>
>

---------------------------------------------------------------------
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