Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 06EF7180BA for ; Sun, 27 Dec 2015 09:18:52 +0000 (UTC) Received: (qmail 6798 invoked by uid 500); 27 Dec 2015 09:18:52 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 6661 invoked by uid 500); 27 Dec 2015 09:18:52 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 6650 invoked by uid 99); 27 Dec 2015 09:18:52 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Dec 2015 09:18:52 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1B6A72C14F9 for ; Sun, 27 Dec 2015 09:18:51 +0000 (UTC) Date: Sun, 27 Dec 2015 09:18:51 +0000 (UTC) From: "Andreas Veithen (JIRA)" To: java-dev@axis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (RAMPART-398) Not able to run Rampart Sample 05 Example -- Getting error "org.apache.axis2.AxisFault: The signature or decryption was invalid" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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