Hi Joana...
Thanks for your attention...

When I try make the same request many times ( e.g. a Eclipse-IDE client call a loop-test,,, a loop with more than 200 interactions ) I received this exception... Inside my web service, I have a client, like a module that make requests to another service, sending some information... It is like a simple client, but inside the web service,,, it is executed in the thread which run the new instance of the service...
The client is a class/method call...

And, I am using the default scope ("request") to do my requests, and to deploy my services in axis2,,, like "<service name="MyService" scope="request">" in services.xml file... I don't know if it is possible to do,,, or if this is the correct manner to do it... but,,, I need a call to another service...

Thanks Again...


Hopes I had explained better... my english is poor... sorry...


Joana M. F. Trindade escreveu:
Hi Arlindo,

I don't know if I understood you correctly, but you're saying this error
only happens when you try making the service request more than once?
How exactly are you engaging Rampart on the service acting as a client to
the other service?

Cheers,
Joana

On Tue, Apr 29, 2008 at 10:10 PM, Arlindo Luis Marcon Junior <
[EMAIL PROTECTED]> 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










--
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