axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Attanayake (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RAMPART-379) Rampart Policy sample.07 not working
Date Fri, 29 Jun 2012 18:31:45 GMT

    [ https://issues.apache.org/jira/browse/RAMPART-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404098#comment-13404098
] 

Suresh Attanayake commented on RAMPART-379:
-------------------------------------------

Hi Sagara,

This is because the client2 certificate is not available in the servers key store service.jks.
Client2 certificate is available in the client.jks keystore. You can simply export it and
import to the service.jks. This would solve the problem.

Thanks,
-Suresh 
                
> Rampart Policy sample.07 not working
> ------------------------------------
>
>                 Key: RAMPART-379
>                 URL: https://issues.apache.org/jira/browse/RAMPART-379
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-policy
>    Affects Versions: 1.6.2
>            Reporter: Sagara Gunathunga 
>            Priority: Blocker
>             Fix For: 1.6.3
>
>
> client.07:
>     [mkdir] Created dir: /home/sagara/dev/dists/stuff/rampart-1.6.2/samples/policy/build/client_repositories/sample07
>     [mkdir] Created dir: /home/sagara/dev/dists/stuff/rampart-1.6.2/samples/policy/build/client_repositories/sample07/conf
>     [mkdir] Created dir: /home/sagara/dev/dists/stuff/rampart-1.6.2/samples/policy/build/client_repositories/sample07/modules
>      [copy] Copying 2 files to /home/sagara/dev/dists/stuff/rampart-1.6.2/samples/policy/build/client_repositories/sample07/modules
>     [javac] /home/sagara/dev/dists/stuff/rampart-1.6.2/samples/policy/build.xml:272:
warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false
for repeatable builds
>     [javac] Compiling 2 source files to /home/sagara/dev/dists/stuff/rampart-1.6.2/samples/policy/build/temp_client
>      [copy] Copying 1 file to /home/sagara/dev/dists/stuff/rampart-1.6.2/samples/policy/build/temp_client
>      [copy] Copying 1 file to /home/sagara/dev/dists/stuff/rampart-1.6.2/samples/policy/build/temp_client
>      [java] [INFO] No services directory was found under /home/sagara/dev/dists/stuff/rampart-1.6.2/samples/policy/build/client_repositories/sample07.
>      [java] [INFO] Deploying module: rampart-1.6.2 - file:/home/sagara/dev/dists/stuff/rampart-1.6.2/samples/policy/build/client_repositories/sample07/modules/rampart-1.6.2.mar
>      [java] [INFO] Deploying module: addressing-1.6.2 - file:/home/sagara/dev/dists/stuff/rampart-1.6.2/samples/policy/build/client_repositories/sample07/modules/addressing-1.6.2.mar
>      [java] Exception in thread "main" org.apache.axis2.AxisFault: The security token
could not be authenticated or authorized
>      [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.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
>      [java] 	at org.apache.rampart.samples.policy.sample07.Client.main(Unknown Source)
>      [java] Java Result: 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message