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 "Suresh Attanayake (JIRA)" <ji...@apache.org> on 2013/09/02 16:47:56 UTC

[jira] [Updated] (RAMPART-382) Rampart Policy Sample 08 is not working

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

Suresh Attanayake updated RAMPART-382:
--------------------------------------

    Attachment:     (was: RAMPART-382.patch)
    
> Rampart Policy Sample 08 is not working 
> ----------------------------------------
>
>                 Key: RAMPART-382
>                 URL: https://issues.apache.org/jira/browse/RAMPART-382
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-trust
>    Affects Versions: 1.6.2
>            Reporter: Suresh Attanayake
>             Fix For: 1.6.3
>
>
> Following exception is show in the client side stack trace. 
>  [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.sample08.Client.main(Unknown Source)
>      [java] Caused by: org.apache.axis2.AxisFault: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
>      [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
>      [java] [ERROR] errorInObtainingToken
>      [java] org.apache.axis2.AxisFault: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
>      [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.sample08.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
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