Uploaded image for project: 'Rampart'
  1. Rampart
  2. RAMPART-382

Rampart Policy Sample 08 is not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.2
    • 1.7.0
    • rampart-trust
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            sureshatt Suresh Attanayake
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: