Re: Memory footprint

2008-09-11 Thread Milinda Pathirage
I think I have made a mistake in previous mail by looking at GNOME System
Monitor to get the memory used by simple axis server. I found this mail with
the subject 'HowTo: Profile Memory in a Linux System'[1] while searching the
net. Using the ps command mentioned in that, I have found following values
in Ubuntu Linux 8.04.

Simple Axis Server:
RSS : 1780KB
VSIZE: 3420KB

Echo Client(I used a sleep call after doing the actual request using
axis2_svc_client and measure the memory taken by the echo process):
RSS: 1808 KB
VSIZE: 3104KB

Definitions:
---
RSS (Resident Set Size) - The portion of a process that exists in physical
memory (RAM). The rest of the program exists in swap. If the computer has
not used swap, this number will be equal to VSIZE.
VSIZE (Virtual memory SIZE) - The amount of memory the process is currently
using. This includes the amount in RAM and the amount in swap.

Links:

[1] http://mail.nl.linux.org/linux-mm/2003-03/msg00077.html

Thanks,
Milinda


On Thu, Sep 11, 2008 at 10:51 have founAM, Supun Kamburugamuva 
[EMAIL PROTECTED] wrote:

 A echo client invocation uses 3440k of memory in my Windows XP machine.
 I've tested this with the math sample as well. It also consumes equal amount
 of memory. Also the memory foot print for the simple axis2 server is in the
 same range.

 Regards,
 Supun


 On Thu, Sep 11, 2008 at 9:18 AM, Milinda Pathirage 
 [EMAIL PROTECTED] wrote:

 Hi,
 I did some simple tests to find out memory footprint. Here are the
 results:

 Simple Axis2/C Server(Sleeping): 400KB
 When I run echo sample simple axis server takes 472KB memory even after
 echo requests are handled.

 There may be memory leaks in simple axis server because most of the time
 we use it only for testing purposes. If you want to use simple axis2 server,
 I think we'll be able to fix those leaks.

 Thanks
 Milinda


 On Thu, Sep 11, 2008 at 7:32 AM, Rajika Kumarasiri [EMAIL PROTECTED]wrote:



 On Thu, Sep 11, 2008 at 3:23 AM, Saad Nader [EMAIL PROTECTED] wrote:
 Interesting question!, I am not aware of the fact how much memory is used
 by Axis2/C. But you should be able to measure it using few simple tools,
 under Linux or Windows. In linux you can start the server and try 'top' to
 observer the memory usage of the server by sending few requests to it.

 -Rajika

  Hello All,



 We're working on some middleware that will run on embedded devices.  We
 need to consider memory footprint before using the Axis2 system.  What is
 the typical memory footprint that a simple echo app uses for each module?
 We will be using the http sender and receiver.



 Thanks,

 

 Saad Nader

 Middleware Engineer

 Powered By Gamespy

 www.poweredbygamespy.com






 --
 http://wso2.org/
 http://llvm.org/
 http://www.osdev.org/




 --
 http://mpathirage.com
 http://wso2.org Oxygen for Web Service Developers
 http://wsaxc.blogspot.com Web Services With Axis2/C




 --
 Software Engineer, WSO2 Inc




-- 
http://mpathirage.com
http://wso2.org Oxygen for Web Service Developers
http://wsaxc.blogspot.com Web Services With Axis2/C


Re: Memory footprint

2008-09-11 Thread Rajika Kumarasiri
On Thu, Sep 11, 2008 at 1:40 PM, Milinda Pathirage 
[EMAIL PROTECTED] wrote:
You can use top as well attach to a particular process- here
simple_http_server process, try with top -P with process ID.

-Rajika

 I think I have made a mistake in previous mail by looking at GNOME System
 Monitor to get the memory used by simple axis server. I found this mail with
 the subject 'HowTo: Profile Memory in a Linux System'[1] while searching the
 net. Using the ps command mentioned in that, I have found following values
 in Ubuntu Linux 8.04.

 Simple Axis Server:
 RSS : 1780KB
 VSIZE: 3420KB

 Echo Client(I used a sleep call after doing the actual request using
 axis2_svc_client and measure the memory taken by the echo process):
 RSS: 1808 KB
 VSIZE: 3104KB

 Definitions:
 ---
 RSS (Resident Set Size) - The portion of a process that exists in physical
 memory (RAM). The rest of the program exists in swap. If the computer has
 not used swap, this number will be equal to VSIZE.
 VSIZE (Virtual memory SIZE) - The amount of memory the process is currently
 using. This includes the amount in RAM and the amount in swap.

 Links:
 
 [1] http://mail.nl.linux.org/linux-mm/2003-03/msg00077.html

 Thanks,
 Milinda



 On Thu, Sep 11, 2008 at 10:51 have founAM, Supun Kamburugamuva 
 [EMAIL PROTECTED] wrote:

 A echo client invocation uses 3440k of memory in my Windows XP machine.
 I've tested this with the math sample as well. It also consumes equal amount
 of memory. Also the memory foot print for the simple axis2 server is in the
 same range.

 Regards,
 Supun


 On Thu, Sep 11, 2008 at 9:18 AM, Milinda Pathirage 
 [EMAIL PROTECTED] wrote:

 Hi,
 I did some simple tests to find out memory footprint. Here are the
 results:

 Simple Axis2/C Server(Sleeping): 400KB
 When I run echo sample simple axis server takes 472KB memory even after
 echo requests are handled.

 There may be memory leaks in simple axis server because most of the time
 we use it only for testing purposes. If you want to use simple axis2 server,
 I think we'll be able to fix those leaks.

 Thanks
 Milinda


 On Thu, Sep 11, 2008 at 7:32 AM, Rajika Kumarasiri [EMAIL PROTECTED]wrote:



 On Thu, Sep 11, 2008 at 3:23 AM, Saad Nader [EMAIL PROTECTED] wrote:
 Interesting question!, I am not aware of the fact how much memory is
 used by Axis2/C. But you should be able to measure it using few simple
 tools, under Linux or Windows. In linux you can start the server and try
 'top' to observer the memory usage of the server by sending few requests to
 it.

 -Rajika

  Hello All,



 We're working on some middleware that will run on embedded devices.  We
 need to consider memory footprint before using the Axis2 system.  What is
 the typical memory footprint that a simple echo app uses for each module?
 We will be using the http sender and receiver.



 Thanks,

 

 Saad Nader

 Middleware Engineer

 Powered By Gamespy

 www.poweredbygamespy.com






 --
 http://wso2.org/
 http://llvm.org/
 http://www.osdev.org/




 --
 http://mpathirage.com
 http://wso2.org Oxygen for Web Service Developers
 http://wsaxc.blogspot.com Web Services With Axis2/C




 --
 Software Engineer, WSO2 Inc




 --
 http://mpathirage.com
 http://wso2.org Oxygen for Web Service Developers
 http://wsaxc.blogspot.com Web Services With Axis2/C




-- 
http://wso2.org/
http://llvm.org/
http://www.osdev.org/


RE: echo samples with Axis2/C Module for Apache2

2008-09-11 Thread Gold, Jack L (US SSA)
Supun,

 

I thought the same thing.  I am wondering if I forgot to include
something in either building Apache2 or building the Axis2 module that
may be causing this.

 

I'm having trouble sending all of the logs at once, so I'll send one at
a time.

 

--Jack

 

 


-  

 

echo.log (./echo http://localhost/axis2/services/echo):

 

[Thu Sep 11 08:05:58 2008] [debug] phase.c(121) axis2_handler_t
*request_uri_based_dispatcher added to the index 0 of the phase
Transport

[Thu Sep 11 08:05:58 2008] [debug] phase.c(121) axis2_handler_t
*addressing_based_dispatcher added to the index 1 of the phase Transport

[Thu Sep 11 08:05:58 2008] [debug] phase.c(121) axis2_handler_t
*rest_dispatcher added to the index 0 of the phase Dispatch

[Thu Sep 11 08:05:58 2008] [debug] phase.c(121) axis2_handler_t
*soap_message_body_based_dispatcher added to the index 1 of the phase
Dispatch

[Thu Sep 11 08:05:58 2008] [debug] phase.c(121) axis2_handler_t
*soap_action_based_dispatcher added to the index 2 of the phase Dispatch

[Thu Sep 11 08:05:58 2008] [debug] phase.c(121) axis2_handler_t
*dispatch_post_conditions_evaluator added to the index 0 of the phase
PostDispatch

[Thu Sep 11 08:05:58 2008] [debug] phase.c(121) axis2_handler_t
*context_handler added to the index 1 of the phase PostDispatch

[Thu Sep 11 08:05:58 2008] [debug] conf_builder.c(233) No custom
dispatching order found. Continue with the default dispatching order

[Thu Sep 11 08:05:58 2008] [debug] conf_builder.c(378) Module addressing
found in axis2.xml

[Thu Sep 11 08:05:58 2008] [debug] class_loader.c(140)
../../lib/libaxis2_http_sender.so shared lib loaded successfully

[Thu Sep 11 08:05:58 2008] [debug] class_loader.c(140)
../../lib/libaxis2_http_receiver.so shared lib loaded successfully

[Thu Sep 11 08:05:58 2008] [info]  No files in the path ../../modules.

[Thu Sep 11 08:05:58 2008] [info]  No files in the path ../../services.

[Thu Sep 11 08:05:58 2008] [debug] dep_engine.c(1283)
axis2_dep_engine_load_module_dll: DLL path is :
../../modules/addressing/libaxis2_mod_addr.so

[Thu Sep 11 08:05:58 2008] [debug] class_loader.c(140)
../../modules/addressing/libaxis2_mod_addr.so shared lib loaded
successfully

[Thu Sep 11 08:05:58 2008] [debug] phase_holder.c(139) Add handler
AddressingInHandler to phase Transport

[Thu Sep 11 08:05:58 2008] [debug] phase_resolver.c(139) Service name is
: __ANONYMOUS_SERVICE__

[Thu Sep 11 08:05:58 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:05:58 2008] [debug] phase_resolver.c(2058) Trying to add
this handler AddressingInHandler to system pre defined phases , but
those handlers are already added to global chain which run irrespective
of the service

[Thu Sep 11 08:05:58 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:05:58 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:05:58 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:05:58 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:05:58 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:05:58 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:05:58 2008] [debug] phase_resolver.c(2058) Trying to add
this handler AddressingInHandler to system pre defined phases , but
those handlers are already added to global chain which run irrespective
of the service

[Thu Sep 11 08:05:58 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:05:58 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:05:58 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:05:58 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:05:58 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:05:58 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:05:58 2008] [debug] phase_resolver.c(2058) Trying to add
this handler AddressingInHandler to system pre defined phases , but
those handlers are already added to global chain which run irrespective
of the service

[Thu Sep 11 08:05:58 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:05:58 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:05:58 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:05:58 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:05:58 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:05:58 2008] [debug] phase_resolver.c(377) Module
addressing will be engaged to __ANONYMOUS_SERVICE__

[Thu Sep 11 08:05:58 2008] [debug] 

RE: echo samples with Axis2/C Module for Apache2

2008-09-11 Thread Gold, Jack L (US SSA)
 

 

This one seems to be a command problem.  I also sent it as ./echo_rest
http://localhost/axis2/services/echo; and it worked successfully.


-

 

echo_rest.log (./echo_rest http://localhost/axis2/services/echo_rest)

 

[Thu Sep 11 08:11:45 2008] [debug] phase.c(121) axis2_handler_t
*request_uri_based_dispatcher added to the index 0 of the phase
Transport

[Thu Sep 11 08:11:45 2008] [debug] phase.c(121) axis2_handler_t
*addressing_based_dispatcher added to the index 1 of the phase Transport

[Thu Sep 11 08:11:45 2008] [debug] phase.c(121) axis2_handler_t
*rest_dispatcher added to the index 0 of the phase Dispatch

[Thu Sep 11 08:11:45 2008] [debug] phase.c(121) axis2_handler_t
*soap_message_body_based_dispatcher added to the index 1 of the phase
Dispatch

[Thu Sep 11 08:11:45 2008] [debug] phase.c(121) axis2_handler_t
*soap_action_based_dispatcher added to the index 2 of the phase Dispatch

[Thu Sep 11 08:11:45 2008] [debug] phase.c(121) axis2_handler_t
*dispatch_post_conditions_evaluator added to the index 0 of the phase
PostDispatch

[Thu Sep 11 08:11:45 2008] [debug] phase.c(121) axis2_handler_t
*context_handler added to the index 1 of the phase PostDispatch

[Thu Sep 11 08:11:45 2008] [debug] conf_builder.c(233) No custom
dispatching order found. Continue with the default dispatching order

[Thu Sep 11 08:11:45 2008] [debug] conf_builder.c(378) Module addressing
found in axis2.xml

[Thu Sep 11 08:11:45 2008] [debug] class_loader.c(140)
../../lib/libaxis2_http_sender.so shared lib loaded successfully

[Thu Sep 11 08:11:45 2008] [debug] class_loader.c(140)
../../lib/libaxis2_http_receiver.so shared lib loaded successfully

[Thu Sep 11 08:11:45 2008] [info]  No files in the path ../../modules.

[Thu Sep 11 08:11:45 2008] [info]  No files in the path ../../services.

[Thu Sep 11 08:11:45 2008] [debug] dep_engine.c(1283)
axis2_dep_engine_load_module_dll: DLL path is :
../../modules/addressing/libaxis2_mod_addr.so

[Thu Sep 11 08:11:45 2008] [debug] class_loader.c(140)
../../modules/addressing/libaxis2_mod_addr.so shared lib loaded
successfully

[Thu Sep 11 08:11:45 2008] [debug] phase_holder.c(139) Add handler
AddressingInHandler to phase Transport

[Thu Sep 11 08:11:45 2008] [debug] phase_resolver.c(139) Service name is
: __ANONYMOUS_SERVICE__

[Thu Sep 11 08:11:45 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:11:45 2008] [debug] phase_resolver.c(2058) Trying to add
this handler AddressingInHandler to system pre defined phases , but
those handlers are already added to global chain which run irrespective
of the service

[Thu Sep 11 08:11:45 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:11:45 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:11:45 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:11:45 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:11:45 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:11:45 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:11:45 2008] [debug] phase_resolver.c(2058) Trying to add
this handler AddressingInHandler to system pre defined phases , but
those handlers are already added to global chain which run irrespective
of the service

[Thu Sep 11 08:11:45 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:11:45 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:11:45 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:11:45 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:11:45 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:11:45 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:11:45 2008] [debug] phase_resolver.c(2058) Trying to add
this handler AddressingInHandler to system pre defined phases , but
those handlers are already added to global chain which run irrespective
of the service

[Thu Sep 11 08:11:45 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:11:45 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:11:45 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:11:45 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:11:45 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:11:45 2008] [debug] op_client.c(881)
Start:axis2_op_client_infer_transport

[Thu Sep 11 08:11:45 2008] [debug] op_client.c(940)
End:axis2_op_client_infer_transport

[Thu Sep 11 08:11:45 2008] [debug] phase.c(210) Invoke the handler
AddressingOutHandler within 

RE: echo samples with Axis2/C Module for Apache2

2008-09-11 Thread Gold, Jack L (US SSA)
 

 

notify.log (./notify http://localhost/axis2/services/notify)

 

[Thu Sep 11 08:16:41 2008] [debug] phase.c(121) axis2_handler_t
*request_uri_based_dispatcher added to the index 0 of the phase
Transport

[Thu Sep 11 08:16:41 2008] [debug] phase.c(121) axis2_handler_t
*addressing_based_dispatcher added to the index 1 of the phase Transport

[Thu Sep 11 08:16:41 2008] [debug] phase.c(121) axis2_handler_t
*rest_dispatcher added to the index 0 of the phase Dispatch

[Thu Sep 11 08:16:41 2008] [debug] phase.c(121) axis2_handler_t
*soap_message_body_based_dispatcher added to the index 1 of the phase
Dispatch

[Thu Sep 11 08:16:41 2008] [debug] phase.c(121) axis2_handler_t
*soap_action_based_dispatcher added to the index 2 of the phase Dispatch

[Thu Sep 11 08:16:41 2008] [debug] phase.c(121) axis2_handler_t
*dispatch_post_conditions_evaluator added to the index 0 of the phase
PostDispatch

[Thu Sep 11 08:16:41 2008] [debug] phase.c(121) axis2_handler_t
*context_handler added to the index 1 of the phase PostDispatch

[Thu Sep 11 08:16:41 2008] [debug] conf_builder.c(233) No custom
dispatching order found. Continue with the default dispatching order

[Thu Sep 11 08:16:41 2008] [debug] conf_builder.c(378) Module addressing
found in axis2.xml

[Thu Sep 11 08:16:41 2008] [debug] class_loader.c(140)
../../lib/libaxis2_http_sender.so shared lib loaded successfully

[Thu Sep 11 08:16:41 2008] [debug] class_loader.c(140)
../../lib/libaxis2_http_receiver.so shared lib loaded successfully

[Thu Sep 11 08:16:41 2008] [info]  No files in the path ../../modules.

[Thu Sep 11 08:16:41 2008] [info]  No files in the path ../../services.

[Thu Sep 11 08:16:41 2008] [debug] dep_engine.c(1283)
axis2_dep_engine_load_module_dll: DLL path is :
../../modules/addressing/libaxis2_mod_addr.so

[Thu Sep 11 08:16:41 2008] [debug] class_loader.c(140)
../../modules/addressing/libaxis2_mod_addr.so shared lib loaded
successfully

[Thu Sep 11 08:16:41 2008] [debug] phase_holder.c(139) Add handler
AddressingInHandler to phase Transport

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(139) Service name is
: __ANONYMOUS_SERVICE__

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(2058) Trying to add
this handler AddressingInHandler to system pre defined phases , but
those handlers are already added to global chain which run irrespective
of the service

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:16:41 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:16:41 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(2058) Trying to add
this handler AddressingInHandler to system pre defined phases , but
those handlers are already added to global chain which run irrespective
of the service

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:16:41 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:16:41 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(2058) Trying to add
this handler AddressingInHandler to system pre defined phases , but
those handlers are already added to global chain which run irrespective
of the service

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:16:41 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(723) Module name
is:addressing

[Thu Sep 11 08:16:41 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(377) Module
addressing will be engaged to __ANONYMOUS_SERVICE__

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(139) Service name is
: __ANONYMOUS_SERVICE__

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(430) Module
addressing already engaged to operation __OPERATION_ROBUST_OUT_ONLY__ of
service __ANONYMOUS_SERVICE__

[Thu Sep 11 08:16:41 2008] [debug] phase_resolver.c(430) Module
addressing already engaged to operation __OPERATION_OUT_ONLY__ of

RE: echo samples with Axis2/C Module for Apache2

2008-09-11 Thread Gold, Jack L (US SSA)
Server is having problems with receiving the math.log file.

 

--Jack

 

  _  

From: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 11, 2008 1:45 AM
To: Apache AXIS C User List
Subject: Re: echo samples with Axis2/C Module for Apache2

 

Can you please send the server log file for the failed test cases with
Apache Server? Usually if a sample works with axis2_http_server it works
with Apache server as well. Please note that google and yahoo sample
failures have nothing to do with the local server. These requests go to
google and yahoo servers respectively. 

Supun..

On Thu, Sep 11, 2008 at 12:37 AM, Gold, Jack L (US SSA)
[EMAIL PROTECTED] wrote:

It seems that some of the services are working and echo was just an
example of one that wasn't.  I have now run all the samples.

Under Libmod_axis2 with Apache2:

echo - Fails
echo_blocking - Succeeds
echo_blocking_addr - Succeeds
echo_blocking_auth - succeeds
echo_blocking_dual - succeeds
echo_blocking_soap11 - succeeds
echo_non_blocking - succeeds
echo_non_blocking_dual - succeeds
echo_rest - fails
google - soap fault
math - fails
mtom - fails
notify - fails
yahoosearch - fails

Under axis_simple_server:

echo - Succeeds
echo_blocking - Succeeds
echo_blocking_addr - Succeeds
echo_blocking_auth - succeeds
echo_blocking_dual - succeeds
echo_blocking_soap11 - succeeds
echo_non_blocking - succeeds
echo_non_blocking_dual - succeeds
echo_rest - succeeds
google - soap fault
math - succeeds
mtom - succeeds
notify - succeeds
yahoosearch - fails

I would have expected the same results through both servers with maybe
the exception of echo_rest and mtom.  What bothers me is that some of
the tests are successful only on the simple axis server, yet some work
in both configurations.  Any ideas?

--Jack



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Software Engineer, WSO2 Inc



RE: echo samples with Axis2/C Module for Apache2

2008-09-11 Thread Gold, Jack L (US SSA)
The spam filter is preventing reception of the math_blocking.log file.
Sorry.  I don't know how else to post it to you.

 

--Jack

 

  _  

From: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 11, 2008 1:45 AM
To: Apache AXIS C User List
Subject: Re: echo samples with Axis2/C Module for Apache2

 

Can you please send the server log file for the failed test cases with
Apache Server? Usually if a sample works with axis2_http_server it works
with Apache server as well. Please note that google and yahoo sample
failures have nothing to do with the local server. These requests go to
google and yahoo servers respectively. 

Supun..

On Thu, Sep 11, 2008 at 12:37 AM, Gold, Jack L (US SSA)
[EMAIL PROTECTED] wrote:

It seems that some of the services are working and echo was just an
example of one that wasn't.  I have now run all the samples.

Under Libmod_axis2 with Apache2:

echo - Fails
echo_blocking - Succeeds
echo_blocking_addr - Succeeds
echo_blocking_auth - succeeds
echo_blocking_dual - succeeds
echo_blocking_soap11 - succeeds
echo_non_blocking - succeeds
echo_non_blocking_dual - succeeds
echo_rest - fails
google - soap fault
math - fails
mtom - fails
notify - fails
yahoosearch - fails

Under axis_simple_server:

echo - Succeeds
echo_blocking - Succeeds
echo_blocking_addr - Succeeds
echo_blocking_auth - succeeds
echo_blocking_dual - succeeds
echo_blocking_soap11 - succeeds
echo_non_blocking - succeeds
echo_non_blocking_dual - succeeds
echo_rest - succeeds
google - soap fault
math - succeeds
mtom - succeeds
notify - succeeds
yahoosearch - fails

I would have expected the same results through both servers with maybe
the exception of echo_rest and mtom.  What bothers me is that some of
the tests are successful only on the simple axis server, yet some work
in both configurations.  Any ideas?

--Jack



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Software Engineer, WSO2 Inc



RE: echo samples with Axis2/C Module for Apache2

2008-09-11 Thread Qasim Ijaz
How can I get off this list? I have tried in the past but the email
address for unsubscribing doesn't work. Can anyone help?

 

Thanks.

 

Qasim.

 



From: Gold, Jack L (US SSA) [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 11, 2008 7:57 AM
To: Apache AXIS C User List
Subject: RE: echo samples with Axis2/C Module for Apache2

 

The spam filter is preventing reception of the math_blocking.log file.
Sorry.  I don't know how else to post it to you.

 

--Jack

 



From: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 11, 2008 1:45 AM
To: Apache AXIS C User List
Subject: Re: echo samples with Axis2/C Module for Apache2

 

Can you please send the server log file for the failed test cases with
Apache Server? Usually if a sample works with axis2_http_server it works
with Apache server as well. Please note that google and yahoo sample
failures have nothing to do with the local server. These requests go to
google and yahoo servers respectively. 

Supun..

On Thu, Sep 11, 2008 at 12:37 AM, Gold, Jack L (US SSA)
[EMAIL PROTECTED] wrote:

It seems that some of the services are working and echo was just an
example of one that wasn't.  I have now run all the samples.

Under Libmod_axis2 with Apache2:

echo - Fails
echo_blocking - Succeeds
echo_blocking_addr - Succeeds
echo_blocking_auth - succeeds
echo_blocking_dual - succeeds
echo_blocking_soap11 - succeeds
echo_non_blocking - succeeds
echo_non_blocking_dual - succeeds
echo_rest - fails
google - soap fault
math - fails
mtom - fails
notify - fails
yahoosearch - fails

Under axis_simple_server:

echo - Succeeds
echo_blocking - Succeeds
echo_blocking_addr - Succeeds
echo_blocking_auth - succeeds
echo_blocking_dual - succeeds
echo_blocking_soap11 - succeeds
echo_non_blocking - succeeds
echo_non_blocking_dual - succeeds
echo_rest - succeeds
google - soap fault
math - succeeds
mtom - succeeds
notify - succeeds
yahoosearch - fails

I would have expected the same results through both servers with maybe
the exception of echo_rest and mtom.  What bothers me is that some of
the tests are successful only on the simple axis server, yet some work
in both configurations.  Any ideas?

--Jack



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Software Engineer, WSO2 Inc



Re: Memory footprint

2008-09-11 Thread Samisa Abeysinghe

What are the memory footprint expectations you have?

--
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.


http://www.wso2.com/ - The Open Source SOA Company



Saad Nader wrote:


Hello All,

We’re working on some middleware that will run on embedded devices. We 
need to consider memory footprint before using the Axis2 system. What 
is the typical memory footprint that a simple echo app uses for each 
module? We will be using the http sender and receiver.


Thanks,



Saad Nader

Middleware Engineer

Powered By Gamespy

www.poweredbygamespy.com




No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.169 / Virus Database: 270.6.19/1664 - Release Date: 9/10/2008 6:00 AM


  




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Memory footprint

2008-09-11 Thread Saad Nader
No more than 200-300 KB footprint for the client runtime just to do SOAP
operations.  I like the generated soap serialization/deserialization
from WSDLs but I cannot afford to use 2-4MB for this because the system
only has 4 MBs.


Thanks,

Saad Nader
Middleware Engineer
Powered By Gamespy
www.poweredbygamespy.com


-Original Message-
From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 11, 2008 6:33 AM
To: Apache AXIS C User List
Subject: Re: Memory footprint

What are the memory footprint expectations you have?

-- 
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - The Open Source SOA Company



Saad Nader wrote:

 Hello All,

 We're working on some middleware that will run on embedded devices. We

 need to consider memory footprint before using the Axis2 system. What 
 is the typical memory footprint that a simple echo app uses for each 
 module? We will be using the http sender and receiver.

 Thanks,

 

 Saad Nader

 Middleware Engineer

 Powered By Gamespy

 www.poweredbygamespy.com





 No virus found in this incoming message.
 Checked by AVG - http://www.avg.com 
 Version: 8.0.169 / Virus Database: 270.6.19/1664 - Release Date:
9/10/2008 6:00 AM

   



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



RE : Memory footprint

2008-09-11 Thread Lefrancois, Carl
Saad,  I think you will find that Axis2/C gives you the best control
over your memory footprint since you can adapt the code to your needs.

I may be wrong here but I think the design philosophy of Axis2/C is
concentrated on runtime speed and so has nothing like memory
optimisation taken into consideration.  I give as an example of this
thinking the frequent occurrence of variables like this:

axis2_char_t text_value_1[64];

defined in code generated from WSDLs (sometimes these variables aren't
even referenced in the generated code!).



-Message d'origine-
De : Saad Nader [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi, septembre 11, 2008 12:46
À : Apache AXIS C User List
Objet : RE: Memory footprint


No more than 200-300 KB footprint for the client runtime just to do SOAP
operations.  I like the generated soap serialization/deserialization
from WSDLs but I cannot afford to use 2-4MB for this because the system
only has 4 MBs.


Thanks,

Saad Nader
Middleware Engineer
Powered By Gamespy
www.poweredbygamespy.com


-Original Message-
From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 11, 2008 6:33 AM
To: Apache AXIS C User List
Subject: Re: Memory footprint

What are the memory footprint expectations you have?

-- 
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - The Open Source SOA Company



Saad Nader wrote:

 Hello All,

 We're working on some middleware that will run on embedded devices. We

 need to consider memory footprint before using the Axis2 system. What
 is the typical memory footprint that a simple echo app uses for each 
 module? We will be using the http sender and receiver.

 Thanks,

 

 Saad Nader

 Middleware Engineer

 Powered By Gamespy

 www.poweredbygamespy.com





 No virus found in this incoming message.
 Checked by AVG - http://www.avg.com
 Version: 8.0.169 / Virus Database: 270.6.19/1664 - Release Date:
9/10/2008 6:00 AM

   



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

Ce message est confidentiel, à l'usage exclusif du destinataire
ci-dessus et son contenu ne représente en aucun cas un engagement de la
part de AXA, sauf en cas de stipulation expresse et par écrit de la part
de AXA. Toute publication, utilisation ou diffusion, même partielle,
doit être autorisée préalablement. Si vous n'êtes pas destinataire de ce
message, merci d'en avertir immédiatement l'expéditeur.

This e-mail message is confidential, for the exclusive use of the
addressee and its contents shall not constitute a commitment by AXA,
except as otherwise specifically provided in writing by AXA. Any
unauthorized disclosure, use or dissemination, either whole or partial,
is prohibited. If you are not the intended recipient of the message,
please notify the sender immediately.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



User-id/password authentication while using https

2008-09-11 Thread Raghu Udupa
In axis2c user manual and API documentation, user-id and password
authentication appears to be provided only for HTTP protocol as shown in
the call below

axis2_options_set_http_auth_info( axis2_options_t * options, 

const axutil_env_t * env, 

const axis2_char_t * username, 

const axis2_char_t * password, 

const axis2_char_t * auth_type);

 

Could you let me know how to do similar validation on https transport?

 

Thanks,

Raghu



RE: User-id/password authentication while using https

2008-09-11 Thread Hatim Daginawala
I think this same call also works for https if you are not using
libcurl.

 

If you are using libcurl, I have a patch to get this to work. I can give
it to you.

 



From: Raghu Udupa [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 11, 2008 1:52 PM
To: axis-c-user@ws.apache.org
Subject: User-id/password authentication while using https

 

In axis2c user manual and API documentation, user-id and password
authentication appears to be provided only for HTTP protocol as shown in
the call below

axis2_options_set_http_auth_info( axis2_options_t * options, 

const axutil_env_t * env, 

const axis2_char_t * username, 

const axis2_char_t * password, 

const axis2_char_t * auth_type);

 

Could you let me know how to do similar validation on https transport?

 

Thanks,

Raghu



---
Confidentiality Notice:  This electronic mail transmission is confidential, 
may be privileged and should be read or retained only by the intended
recipient.  If you have received this transmission in error, please
immediately notify the sender and delete it from your system.


RE: User-id/password authentication while using https

2008-09-11 Thread Raghu Udupa
Thanks Hatim.

 

I am not using libcurl. 

 

I wanted to make sure I can use the same API call with https transport
as well.

 

Thanks,

Raghu

 



From: Hatim Daginawala [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 11, 2008 3:00 PM
To: Apache AXIS C User List
Subject: RE: User-id/password authentication while using https

 

I think this same call also works for https if you are not using
libcurl.

 

If you are using libcurl, I have a patch to get this to work. I can give
it to you.

 



From: Raghu Udupa [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 11, 2008 1:52 PM
To: axis-c-user@ws.apache.org
Subject: User-id/password authentication while using https

 

In axis2c user manual and API documentation, user-id and password
authentication appears to be provided only for HTTP protocol as shown in
the call below

axis2_options_set_http_auth_info( axis2_options_t * options, 

const axutil_env_t * env, 

const axis2_char_t * username, 

const axis2_char_t * password, 

const axis2_char_t * auth_type);

 

Could you let me know how to do similar validation on https transport?

 

Thanks,

Raghu



---
Confidentiality Notice: This electronic mail transmission is
confidential, 
may be privileged and should be read or retained only by the intended
recipient. If you have received this transmission in error, please
immediately notify the sender and delete it from your system. 



Re: User-id/password authentication while using https

2008-09-11 Thread Dumindu Pallewela
Yes the same API can be used for either http or https transports, if you
don't use libcurl.

Regards,
Dumindu.

On Fri, Sep 12, 2008 at 12:35 AM, Raghu Udupa [EMAIL PROTECTED] wrote:

  Thanks Hatim.



 I am not using libcurl.



 I wanted to make sure I can use the same API call with https transport as
 well.



 Thanks,

 Raghu


  --

 *From:* Hatim Daginawala [mailto:[EMAIL PROTECTED]
 *Sent:* Thursday, September 11, 2008 3:00 PM
 *To:* Apache AXIS C User List
 *Subject:* RE: User-id/password authentication while using https



 I think this same call also works for https if you are not using libcurl.



 If you are using libcurl, I have a patch to get this to work. I can give it
 to you.


  --

 *From:* Raghu Udupa [mailto:[EMAIL PROTECTED]
 *Sent:* Thursday, September 11, 2008 1:52 PM
 *To:* axis-c-user@ws.apache.org
 *Subject:* User-id/password authentication while using https



 In axis2c user manual and API documentation, user-id and password
 authentication appears to be provided only for HTTP protocol as shown in the
 call below

 axis2_options_set_http_auth_info( axis2_options_t * options,

 const axutil_env_t * env,

 const axis2_char_t * username,

 const axis2_char_t * password,

 const axis2_char_t * auth_type);



 Could you let me know how to do similar validation on https transport?



 Thanks,

 Raghu
  --

 ---
 Confidentiality Notice: This electronic mail transmission is confidential,
 may be privileged and should be read or retained only by the intended
 recipient. If you have received this transmission in error, please
 immediately notify the sender and delete it from your system.




-- 
Dumindu Pallewela
Creately.com


RE: User-id/password authentication while using https

2008-09-11 Thread Raghu Udupa
Thanks for the clarification Dimindu,

 

Regards,
Raghu

 



From: Dumindu Pallewela [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 11, 2008 3:18 PM
To: Apache AXIS C User List
Subject: Re: User-id/password authentication while using https

 

Yes the same API can be used for either http or https transports, if you
don't use libcurl.

Regards,
Dumindu.

On Fri, Sep 12, 2008 at 12:35 AM, Raghu Udupa [EMAIL PROTECTED]
wrote:

Thanks Hatim.

 

I am not using libcurl. 

 

I wanted to make sure I can use the same API call with https transport
as well.

 

Thanks,

Raghu

 



From: Hatim Daginawala [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 11, 2008 3:00 PM
To: Apache AXIS C User List
Subject: RE: User-id/password authentication while using https

 

I think this same call also works for https if you are not using
libcurl.

 

If you are using libcurl, I have a patch to get this to work. I can give
it to you.

 



From: Raghu Udupa [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 11, 2008 1:52 PM
To: axis-c-user@ws.apache.org
Subject: User-id/password authentication while using https

 

In axis2c user manual and API documentation, user-id and password
authentication appears to be provided only for HTTP protocol as shown in
the call below

axis2_options_set_http_auth_info( axis2_options_t * options, 

const axutil_env_t * env, 

const axis2_char_t * username, 

const axis2_char_t * password, 

const axis2_char_t * auth_type);

 

Could you let me know how to do similar validation on https transport?

 

Thanks,

Raghu



---
Confidentiality Notice: This electronic mail transmission is
confidential, 
may be privileged and should be read or retained only by the intended
recipient. If you have received this transmission in error, please
immediately notify the sender and delete it from your system. 




-- 
Dumindu Pallewela
Creately.com



Declaring a namespace of an XPath expression with Savan/C

2008-09-11 Thread Suguru HAMAZAKI
Hello,

I am creating a client program that sends a Subscribe request of
WS-Eventing [1]. I went through Savan API and couldn't find a way to
declare namespaces so that they can be used in an XPath expression of
a Filter element.

What I intend is sending a request that contains an element like
below:

wse:Filter
  Dialect=http://www.w3.org/TR/1999/REC-xpath-19991116;
  xmlns:ns1=http://example.org/namaspace/here/;//ns1:someElement/wse:Filter

Can I do this with Savan/C, or do I have to build such messages
manually with AXIOM API?

I'm also wondering if Axis2/c server with savan module deployed can
evaluate such requests properly.

Thanks in advance.

[1] http://www.w3.org/Submission/WS-Eventing/

Hamazy

-- 
HAMAZAKI, Suguru hamazy at webspiritus.com
http://webspiritus.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]