Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.6.2
-
None
Description
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