On 09.10.2009 20:12, Alexis Midon wrote:
> I suspect the paths to your key stores to be wrong.
> 
> TestRampartPolicy/secured-services/client.jks  is not available form the
> classpath of the webapp.
> 
> Try with **processes/**TestRampartPolicy/secured-services/client.jks

I put "client.jks" in the .axis2, and put the file client.jks into the
classes directory.

Before, I had tried several places under the processes directory which
obviously was wrong.

Having changed that, it works! Thus, many thanks!

Btw, when I send process start messages too fast, I at some point get
faults.

> DEBUG - GeronimoLog.debug(66) | SET MEX property activityId = 47
> DEBUG - GeronimoLog.debug(66) | Routed: svcQname 
> {http://sample03.policy.samples.rampart.apache.org}sample03 --> null
> DEBUG - GeronimoLog.debug(66) | Creating invocation check event in 180000ms 
> for mexid hqejbhcnphr4nuvlos1nbb
> DEBUG - GeronimoLog.debug(66) | SET MEX property invokeCheckJobId = 
> hqejbhcnphr4nuvlos1nbc
> DEBUG - GeronimoLog.debug(66) | Invoking a partner operation: echo
> DEBUG - GeronimoLog.debug(66) | The service to invoke is the external service 
> {http://sample03.policy.samples.rampart.apache.org}sample03:sample03HttpSoa
> p11Endpoint
> DEBUG - GeronimoLog.debug(66) | Create a new ServiceClient for 
> axis_service_for_{http://sample03.policy.samples.rampart.apache.org}sample03#sample03HttpS
> oap11Endpoint_hqejbhcnphr4nuvlos1n8u
> ERROR - GeronimoLog.error(108) | Error sending message to Axis2 for ODE mex 
> {PartnerRoleMex#hqejbhcnphr4nuvlos1nbb [PID {http://example.com/Test1/Pool}Po
> ol-1] calling null.echo(...)}
> org.apache.axis2.AxisFault: Two services cannot have same name.  A service 
> with the axis_service_for_{http://sample03.policy.samples.rampart.apache.org}s
> ample03#sample03HttpSoap11Endpoint_hqejbhcnphr4nuvlos1n8u name already exists 
> in the system.
>         at 
> org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:172)
>         at 
> org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:139)
>         at 
> org.apache.ode.axis2.SoapExternalService.getServiceClient(SoapExternalService.java:281)
>         at 
> org.apache.ode.axis2.SoapExternalService.invoke(SoapExternalService.java:140)
>         at 
> org.apache.ode.axis2.MessageExchangeContextImpl.invokePartner(MessageExchangeContextImpl.java:52)
>         at 
> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.invoke(BpelRuntimeContextImpl.java:781)
>         at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
>         at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at 
> org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
>         at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
>         at 
> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:875)
>         at 
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
>         at 
> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:237)
>         at 
> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:408)
>         at 
> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:439)
>         at 
> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:441)
>         at 
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:411)
>         at 
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:405)
>         at 
> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:218)
>         at 
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:404)
>         at 
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:401)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>         at java.lang.Thread.run(Thread.java:619)
> DEBUG - GeronimoLog.debug(66) | replyWithFailure mex=hqejbhcnphr4nuvlos1nbb 
> failureType=COMMUNICATION_ERROR description=Error sending message to Axis2 fo
> r ODE mex {PartnerRoleMex#hqejbhcnphr4nuvlos1nbb [PID 
> {http://example.com/Test1/Pool}Pool-1] calling null.echo(...)} details=null


What could be the problem here?

Thanks,

Jens

Reply via email to