Hi Anthony...
Thanks for your reply...

Might you explain a little bit more how you did?...
maybe this can be my solution...

Thanks again...


Anthony Bull escreveu:
I've noticed this memory leak also. If you are creating an Axis 2 context everytime you make the rampart-client call to the other service then this happens after a while. I had to implement configuration context pooling for all my webapps that contain Axis 2 service clients to resolve this. Everytime I ran my performance tests, after a few hours the JVM would run out of heap.

Arlindo Luis Marcon Junior wrote:
Hi All...

I have little doubt here...
I have a rampart-client inside one service,,, or in other words: I have
a client that access a service,,, and this service is the client of
another service...

If I execute the same operation many times,,, like a loop-test... the
resources of the computer run out... And I receive an exception like this:

===========================================================================
ERROR:  org.apache.axis2.AxisFault: Java heap space
  at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
  at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
  at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
  at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
  at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
  at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
  at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508) ===========================================================================

I tried increase the heap space and follow others cues in the mail
lists,,, but without success...

After I call the client ( inside the service ) I tried too call the
"client.cleanup(); and System.gc();",,, but nothing,,, every time that I
increase the load I receive the same exception...

Without rampart module enganged, I can increase the load without problems...

Someone can help-me,,, or give-me some direction... please...
Many Thanks in Advance...

I don't know if here is the right place to send my doubt,,, then,, sorry
  my mistake,,, and sorry my poor english...





--
Arlindo Luis Marcon Junior
E-mail: [EMAIL PROTECTED]
Internet Web Page: http://lattes.cnpq.br/6483462042489662
ICQ: 138864173
Curitiba - ParanĂ¡ - Brasil


Reply via email to