Hi, Kinichiro
I've got some more details. I've tried to add the cleanup() call
after the send operation, but unfortunately I get the following error.
[java] ERROR Sender:logException org.apache.axis2.AxisFault:
invalid service group name : annonService16226000
[java] at
org.apache.axis2.engine.AxisConfiguration.removeServiceGroup
(AxisConfiguration.java:285)
[java] at org.apache.axis2.client.ServiceClient.cleanup
(ServiceClient.java:751)
[java] at ncl.qosp.test.functional.client.Sender.run
(Sender.java:148)
[java] at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:650)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:675)
[java] at java.lang.Thread.run(Thread.java:613)
Please note that this is not generated by the callback object.
Furthermore, I use the same ServiceClient for all send operations as
well as the same callback object to receive responses:
create_callback;
setup_sender_object
for (...) {
message = createMessage();
sender.send(message, callback);
// do something
}
Any idea?
Thanks,
Michele
On 23 Aug 2006, at 09:11, Kinichiro Inoguchi wrote:
Michele,
Maybe, after you receive response.
My case, I didn't use async API as before I mentioned.
I called cleanup() after invoking (after I received response).
I'm sorry I don't know how it works with async case.
Regards,
kinichiro
--- Michele Mazzucco <[EMAIL PROTECTED]> wrote:
Hi Kinichiro,
thanks for your reply. I've got just one doubt: when should I call
the
cleanup() method?, one the message has been sent (via
sendReceiveNonBlocking) or when the response is received?
Thanks in advance,
Michele
Kinichiro Inoguchi wrote:
Hi Michele,
I'm not sure though,
once I created JIRA for freeing ServiceClient object,
and this issue seems similar to your issue.
http://issues.apache.org/jira/browse/AXIS2-528
I didn't use async API this case.
But how about using cleanup() method of ServiceClient after
receiving.
Regards,
kinichiro
--- Michele Mazzucco <[EMAIL PROTECTED]> wrote:
Hi Larry,
what happened to me was inside a program using some ServiceClient
objects to send asynchronous messages. I've added the -Xmx256m as
jvm
option, but I've not tested it yet.
Regards,
Michele
On 22 Aug 2006, at 14:21, Larry Lemons wrote:
Did you start the Axis2 Task using the -Ames<size> and -Mix<size>
options?
Thank you,
Larry M. Lemons
(304) 726-4809 Ext. 4505
-----Original Message-----
From: Michele Mazzucco [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 22, 2006 8:28 AM
To: [email protected]
Subject: [Axis2] Exception in thread "Axis2 Task"
java.lang.OutOfMemoryError: Java heap space
Hi all,
during a stress-test for my system I've got this error on the
client
side:
[java]
org.apache.axis2.transport.http.server.DefaultConnectionListener.run
(DefaultConnectionListener.java:97) ERROR [HttpListener-6060-1] -
Connection listener terminated due to a runtime error
[java] Exception in thread "Axis2 Task"
java.lang.OutOfMemoryError: Java heap space
The client side was composed by 3 threads sending an asynchronous
request (using a callback object to get the response), followed
by
a
random sleep, a send, a sleep, etc. The problem arisen after
about
45
minutes.
Should I create a JIRA?
Thanks,
Michele
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]