You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2015/12/27 10:18:51 UTC

[jira] [Resolved] (RAMPART-398) Not able to run Rampart Sample 05 Example -- Getting error "org.apache.axis2.AxisFault: The signature or decryption was invalid"

     [ https://issues.apache.org/jira/browse/RAMPART-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved RAMPART-398.
-------------------------------------
       Resolution: Duplicate
    Fix Version/s: 1.7.0
                   1.6.4

> Not able to run Rampart Sample 05 Example -- Getting error "org.apache.axis2.AxisFault: The signature or decryption was invalid"
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RAMPART-398
>                 URL: https://issues.apache.org/jira/browse/RAMPART-398
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-policy
>    Affects Versions: 1.6.2
>         Environment: Apache Tomcat/5.5.36, Windows XP, rampart-1.6.2, axis2-1.6.2
>            Reporter: kranthi
>             Fix For: 1.6.4, 1.7.0
>
>
> I have configured rampart-1.6.2 policy samples. I have configured everything perfectly. 
> Iam able to run tomcat (deployed axis2.war) 
> Iam able to start $ant service.05 
> When Iam trying to run $ant client.05 ...Iam getting the error "org.apache.axis2.AxisFault: The signature or decryption was invalid"
> And Below is detailed error description:
> D:\POC\POC-WS Trust\rampart-1.6.2\samples\policy>ant client.05
> Buildfile: D:\POC\POC-WS Trust\rampart-1.6.2\samples\policy\build.xml
> check.dependency:
> client.05:
>     [javac] D:\POC\POC-WS Trust\rampart-1.6.2\samples\policy\build.xml:263: warning: 'includeantruntime' was not set, defaulting to build.sys
> classpath=last; set to false for repeatable builds
>      [copy] Copying 1 file to D:\POC\POC-WS Trust\rampart-1.6.2\samples\policy\build\temp_client
>      [copy] Copying 1 file to D:\POC\POC-WS Trust\rampart-1.6.2\samples\policy\build\temp_client
>      [java] [INFO] No services directory was found under D:\POC\POC-WS Trust\rampart-1.6.2\samples\policy\build\client_repositories\sample05.
>      [java] [INFO] Deploying module: addressing-1.6.2 - file:/D:/POC/POC-WS Trust/rampart-1.6.2/samples/policy/build/client_repositories/samp
> le05/modules/addressing-1.6.2.mar
>      [java] [INFO] Deploying module: rahas-1.6.2 - file:/D:/POC/POC-WS Trust/rampart-1.6.2/samples/policy/build/client_repositories/sample05/
> modules/rahas-1.6.2.mar
>      [java] [INFO] Deploying module: rampart-1.6.2 - file:/D:/POC/POC-WS Trust/rampart-1.6.2/samples/policy/build/client_repositories/sample0
> 5/modules/rampart-1.6.2.mar
>      [java] [ERROR] errorInObtainingToken
>      [java] org.apache.axis2.AxisFault: The signature or decryption was invalid
>      [java]     at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
>      [java]     at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
>      [java]     at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
>      [java]     at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>      [java]     at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>      [java]     at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
>      [java]     at org.apache.rahas.client.STSClient.requestSecurityToken(STSClient.java:154)
>      [java]     at org.apache.rampart.samples.policy.sample05.Client.main(Unknown Source)
>      [java] Exception in thread "main" org.apache.rahas.TrustException: Error in obtaining token from : "http://localhost:8080/axis2/services
> /STS"
>      [java]     at org.apache.rahas.client.STSClient.requestSecurityToken(STSClient.java:163)
>      [java]     at org.apache.rampart.samples.policy.sample05.Client.main(Unknown Source)
>      [java] Caused by: org.apache.axis2.AxisFault: The signature or decryption was invalid
>      [java]     at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
>      [java]     at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
>      [java]     at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
>      [java]     at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>      [java]     at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>      [java]     at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
>      [java]     at org.apache.rahas.client.STSClient.requestSecurityToken(STSClient.java:154)
>      [java]     ... 1 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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