out of memory in Axis 1.4

2007-07-26 Thread Firas Khasawneh (fkhasawn)
Hi,
 
I am getting the following error intermittently:
 
- Exception:
java.lang.OutOfMemoryError
 
 
I am sending 1 MB payloads but I have enough memory heap size (512 MB),
anybody knows what might be the issue? is there a parameter or setting I
need to set or initialize? The failure seems to happen on the invoke
method in the Axis servlet.
 
Thanks,
Firas


RE: measuring Axix 1.4 overhead

2007-07-23 Thread Firas Khasawneh (fkhasawn)
Any help regarding the below please? any suggestions on how to measure
the overhead Axis adds?



From: Firas Khasawneh (fkhasawn) 
Sent: Sunday, July 22, 2007 11:50 PM
To: 'axis-user@ws.apache.org'
Subject: measuring Axix 1.4 overhead


Hi all,
 
Anybody knows how to measure the overhead Axis 1.4 adds to response
time? I created a handler in the requestFlow to  store
System.currentTimeMillis in messageContext and another handler in the
responseFlow that retrieved this value and subtracts it from
System.currentTimeMillis(), when I use these classes in the global conf
or transport (server side) I am getting values that correspond to the
response time the client is getting so it looks like it is not
calculating the Axix overhead on the server side, when I put these
handlers in the requestFlow and responseFlow in the service section in
server-conf.wsdd it gives differnt time which seem right but I am nti
sure if this is the Axix engine overhead? Any suggestions? other ways to
do this? please reply back to me or CC me if you are sending to the list
since I am not yet a member in this list.
 
Regards,
Firas Khasawneh


RE: measuring Axix 1.4 overhead

2007-07-23 Thread Firas Khasawneh (fkhasawn)
Hi Jaliya,
 
I am using only server side Axis, for client I am using SoapUI. if I put
the handler in transport for both response and request, I am getting the
response time I am measuring from my client so looks like it is
measuring from the client side (the time it gets the request till it
releases the http connection)
 
Thanks,
Firas



From: Jaliya Ekanayake [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 23, 2007 9:42 AM
To: [EMAIL PROTECTED]; axis-user@ws.apache.org; Firas Khasawneh
(fkhasawn)
Subject: Re: measuring Axix 1.4 overhead


Hi Firas,
 
Are you trying both axis server and the client in a same machine? If you
put the handler in transport section, then what you will measure is the
time it takes inside the engine from transport handlers -service -
transport handlers. One other possibility is to keep track of the time
in AxisServlet. Measure the time in AxisServlet before it calls
AxisEngine's invoke(..) method and after it is returned and you will get
the time for the total invocation.
 
Thanks,
-jaliya

- Original Message - 
From: Firas Khasawneh (fkhasawn) mailto:[EMAIL PROTECTED]  
To: axis-user@ws.apache.org ; [EMAIL PROTECTED] 
Sent: Monday, July 23, 2007 6:06 AM
Subject: RE: measuring Axix 1.4 overhead

Any help regarding the below please? any suggestions on how to
measure the overhead Axis adds?



From: Firas Khasawneh (fkhasawn) 
Sent: Sunday, July 22, 2007 11:50 PM
To: 'axis-user@ws.apache.org'
Subject: measuring Axix 1.4 overhead




Hi all,
 
Anybody knows how to measure the overhead Axis 1.4 adds to
response time? I created a handler in the requestFlow to  store
System.currentTimeMillis in messageContext and another handler in the
responseFlow that retrieved this value and subtracts it from
System.currentTimeMillis(), when I use these classes in the global conf
or transport (server side) I am getting values that correspond to the
response time the client is getting so it looks like it is not
calculating the Axix overhead on the server side, when I put these
handlers in the requestFlow and responseFlow in the service section in
server-conf.wsdd it gives differnt time which seem right but I am nti
sure if this is the Axix engine overhead? Any suggestions? other ways to
do this? please reply back to me or CC me if you are sending to the list
since I am not yet a member in this list.
 
Regards,
Firas Khasawneh



RE: measuring Axix 1.4 overhead

2007-07-23 Thread Firas Khasawneh (fkhasawn)
Hi Jaliya,
 
Do you know if response coming back from transport handler after the
request is processed in the Axis engine also hits AxisServlet and uses
doGet?
 
Thanks,
Firas



From: Jaliya Ekanayake [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 23, 2007 9:42 AM
To: [EMAIL PROTECTED]; axis-user@ws.apache.org; Firas Khasawneh
(fkhasawn)
Subject: Re: measuring Axix 1.4 overhead


Hi Firas,
 
Are you trying both axis server and the client in a same machine? If you
put the handler in transport section, then what you will measure is the
time it takes inside the engine from transport handlers -service -
transport handlers. One other possibility is to keep track of the time
in AxisServlet. Measure the time in AxisServlet before it calls
AxisEngine's invoke(..) method and after it is returned and you will get
the time for the total invocation.
 
Thanks,
-jaliya

- Original Message - 
From: Firas Khasawneh (fkhasawn) mailto:[EMAIL PROTECTED]  
To: axis-user@ws.apache.org ; [EMAIL PROTECTED] 
Sent: Monday, July 23, 2007 6:06 AM
Subject: RE: measuring Axix 1.4 overhead

Any help regarding the below please? any suggestions on how to
measure the overhead Axis adds?



From: Firas Khasawneh (fkhasawn) 
Sent: Sunday, July 22, 2007 11:50 PM
To: 'axis-user@ws.apache.org'
Subject: measuring Axix 1.4 overhead




Hi all,
 
Anybody knows how to measure the overhead Axis 1.4 adds to
response time? I created a handler in the requestFlow to  store
System.currentTimeMillis in messageContext and another handler in the
responseFlow that retrieved this value and subtracts it from
System.currentTimeMillis(), when I use these classes in the global conf
or transport (server side) I am getting values that correspond to the
response time the client is getting so it looks like it is not
calculating the Axix overhead on the server side, when I put these
handlers in the requestFlow and responseFlow in the service section in
server-conf.wsdd it gives differnt time which seem right but I am nti
sure if this is the Axix engine overhead? Any suggestions? other ways to
do this? please reply back to me or CC me if you are sending to the list
since I am not yet a member in this list.
 
Regards,
Firas Khasawneh