Hi,

I couldn't get the apache rampart policy sample01 get running under apache 
tomcat.
 
- Deploying in tomcat succesful. 
- All steps described in [1] and [2] are done.

After running the client (the error log is attached to this message) looks like 
the tomcat ssl-stack collapses. After that there ist no secured communication 
with the server possible before the server is restartet. 

[1] http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html
[2] http://axis.apache.org/axis2/java/core/docs/servlet-transport.html

System:
  Windows XP Professional SP 3
  Java JDK 1.7.05
  Apache Tomcat 7.0.26
  Apache Axis2 1.6.2
  Apache Rampart 1.6.2
  Apache Ant 1.8.3

thanks a lot
Buildfile: C:\Apache Repository\Apache 
Rampart\rampart-1.6.2\samples\policy\build.xml

check.dependency:

client.01:
    [javac] C:\Apache Repository\Apache 
Rampart\rampart-1.6.2\samples\policy\build.xml:274: warning: 
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to 
false for repeatable builds
     [copy] Copying 1 file to C:\Apache Repository\Apache 
Rampart\rampart-1.6.2\samples\policy\build\temp_client
     [copy] Copying 1 file to C:\Apache Repository\Apache 
Rampart\rampart-1.6.2\samples\policy\build\temp_client
     [java] [INFO] No services directory was found under C:\Apache 
Repository\Apache 
Rampart\rampart-1.6.2\samples\policy\build\client_repositories\sample01.
     [java] [INFO] Deploying module: addressing-1.6.2 - file:/C:/Apache 
Repository/Apache 
Rampart/rampart-1.6.2/samples/policy/build/client_repositories/sample01/modules/addressing-1.6.2.mar
     [java] [INFO] Deploying module: rampart-1.6.2 - file:/C:/Apache 
Repository/Apache 
Rampart/rampart-1.6.2/samples/policy/build/client_repositories/sample01/modules/rampart-1.6.2.mar
     [java] Exception in thread "main" org.apache.axis2.AxisFault: Expected 
transport is "https" but incoming transport found : "http" 
     [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.sample01.Client.main(Unknown Source)

BUILD SUCCESSFUL
Total time: 5 seconds

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to