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

Rampart Policy sample.06 not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.2
    • 1.6.4, 1.7.0
    • rampart-policy
    • None

    Description

      client.06:
      [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
      [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/sample06.
      [java] [INFO] Deploying module: rampart-1.6.2 - file:/home/sagara/dev/dists/stuff/rampart-1.6.2/samples/policy/build/client_repositories/sample06/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/sample06/modules/addressing-1.6.2.mar
      [java] Exception in thread "main" org.apache.axis2.AxisFault: Error in retrieving token :
      [java] at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
      [java] at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
      [java] at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
      [java] at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
      [java] at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
      [java] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
      [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.sample06.Client.main(Unknown Source)
      [java] Caused by: org.apache.rampart.RampartException: Error in retrieving token :
      [java] at org.apache.rampart.builder.BindingBuilder.handleSupportingTokens(BindingBuilder.java:375)
      [java] at org.apache.rampart.builder.SymmetricBindingBuilder.doSignBeforeEncrypt(SymmetricBindingBuilder.java:487)
      [java] at org.apache.rampart.builder.SymmetricBindingBuilder.build(SymmetricBindingBuilder.java:82)
      [java] at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:144)
      [java] at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
      [java] ... 10 more
      [java] Java Result: 1

      Attachments

        Activity

          People

            Unassigned Unassigned
            sagara Sagara Gunathunga
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: