Re: echo samples with Axis2/C Module for Apache2

2008-09-10 Thread Supun Kamburugamuva
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-10 Thread Supun Kamburugamuva
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


Re: Memory footprint

2008-09-10 Thread Milinda Pathirage
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"


Re: does axis2_svc_client_send_receive method free the payload?

2008-09-10 Thread Manjula Peiris

On Wed, 2008-09-10 at 18:52 -0700, Tammy Martin wrote:
> Hello all,
>  
> I am creating a xml payload via AXIOM and am using the method
> axis2_svc_client_send_receive to access a webservice. 
>  
> axiom_node_t* retNode = axis2_svc_client_send_receive(svcClient, env,
> payload);
>  
> I have two questions:
>  
> 1. Does the axis2_svc_client_send_receive have ownership of the
> payload ptr and does it free it -OR- is it up to the user of this
> method to free the payload?

This payload will be attached to the om_tree inside Axis2/C and it will
take the ownership. User don't need to free it.

> 2. Is there documentation somewhere that outlines what methods have
> ownership of which pointers?
There are no such documents but you can have a look at the sample code
inside samples directory. And [1] and [2] may also be helpful.

[1] http://wso2.org/library/3412

[2] http://ws.apache.org/axis2/c/docs/om_tutorial.html

-Manjula

>  
> Thanks for your help,
> Tammy
>  
>  
>  
> Thanks in advance for your help,
> Tammy
>  
>  


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



Re: Memory footprint

2008-09-10 Thread Rajika Kumarasiri
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/


Re: Using Axis2/C with Objective-C

2008-09-10 Thread Rajika Kumarasiri
On Thu, Sep 11, 2008 at 4:02 AM, Meik Schuetz <[EMAIL PROTECTED]> wrote:
Once Axis2/C has ported to Max OS x. So you should be able to get the things
work easily.

-Rajika

> Dear all,
> I just came across the Axis2/C project (so please excuse me for the newbie
> questions) and it sounds very promising to me. I'd just like to know if
> anyone has experience in using the Axis2/C libraries in an Objective-C
> project. I just tries compiling the Axis source following the guide in the
> INSTALL document, but it gave me an error
>
> dir_handler.c:326: error: conflicting types for 'file_select'
> dir_handler.c:38: error: previous declaration of 'file_select' was here
>
> Am I lost or is there a way to make this framework work on Mac?
> Thanks a lot
> Best regards
> Meik
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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


does axis2_svc_client_send_receive method free the payload?

2008-09-10 Thread Tammy Martin
Hello all,

I am creating a xml payload via AXIOM and am using the method
axis2_svc_client_send_receive to access a webservice.

axiom_node_t* retNode = axis2_svc_client_send_receive(svcClient, env,
payload);

I have two questions:

1. Does the axis2_svc_client_send_receive have ownership of the payload ptr
and does it free it -OR- is it up to the user of this method to free the
payload?
2. Is there documentation somewhere that outlines what methods have
ownership of which pointers?

Thanks for your help,
Tammy



Thanks in advance for your help,
Tammy


Using Axis2/C with Objective-C

2008-09-10 Thread Meik Schuetz

Dear all,
I just came across the Axis2/C project (so please excuse me for the  
newbie questions) and it sounds very promising to me. I'd just like to  
know if anyone has experience in using the Axis2/C libraries in an  
Objective-C project. I just tries compiling the Axis source following  
the guide in the INSTALL document, but it gave me an error


dir_handler.c:326: error: conflicting types for 'file_select'
dir_handler.c:38: error: previous declaration of 'file_select' was here

Am I lost or is there a way to make this framework work on Mac?
Thanks a lot
Best regards
Meik


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



Memory footprint

2008-09-10 Thread Saad Nader
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

 



RE: echo samples with Axis2/C Module for Apache2

2008-09-10 Thread Gold, Jack L (US SSA)
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]



RE: Get error while parsing an XML message containing a complex type at axis2_http_server

2008-09-10 Thread Raghu Udupa
Folks,

 

I replaced axutil_array_list_set with axutil_array_list_add and every
thing seem to work fine.

 

Thanks,

Raghu

 



From: Raghu Udupa [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 09, 2008 10:34 PM
To: axis-c-user@ws.apache.org
Subject: Get error while parsing an XML message containing a complex
type at axis2_http_server

 

I am using wsdl2c to generate code with data binding. I have been able
to send and receive messages when XML message contains simple types.

 

But, I have one unbounded array element FaxDataFiles defined as



  

   The list of files to be faxed

  

  

   



   

  

 

 

  

   The file to be faxed

  

  

   



 

  The content of the file to be faxed (MIME
encoded)

 





 

  The type of the file to be
faxed

 



   

  

 

 

 

Further, message request is defined as

 



  

   













 

I get the following error at axis2_http_server

 

[Tue Sep  9 22:25:59 2008] [debug] phase.c(210) Invoke the handler
context_handler within the phase PostDispatch

[Tue Sep  9 22:25:59 2008] [debug] class_loader.c(140)
..//services/ReceiveFaxManagerService/libReceiveFaxManagerService.so
shared lib loaded successfully

[Tue Sep  9 22:25:59 2008] [error] src/adb_FaxDataFiles_type0.c(233)
Data (@minOccurs = '1') only have 0 elements

[Tue Sep  9 22:25:59 2008] [error] src/adb_ReceiveFaxRequest.c(1498)
failed in building adb object for element FaxDataFiles

[Tue Sep  9 22:25:59 2008] [error] src/adb_ReceiveFaxRequest.c(1508)
failed in setting the value for FaxDataFiles

[Tue Sep  9 22:25:59 2008] [error]
axis2_svc_skel_ReceiveFaxManagerService.c(166) NULL returnted from the
ReceiveFaxRequest_deserialize: This should be due to an invalid XML

[Tue Sep  9 22:25:59 2008] [debug] raw_xml_in_out_msg_recv.c(382)
fault_detail:

[Tue Sep  9 22:25:59 2008] [debug] phase.c(210) Invoke the handler
AddressingOutHandler within the phase MessageOut

[Tue Sep  9 22:25:59 2008] [info]  Starting addressing out handler

[Tue Sep  9 22:25:59 2008] [info]  Request served in 0.006 seconds

[Tue Sep  9 22:27:15 2008] [info]  Received signal SIGINT. Server
shutting down

[Tue Sep  9 22:27:15 2008] [info]  Terminating HTTP server thread

 

I am populating all parts (parameters) properly as defined in xsd schema
file. In addition, FaxDataFiles structure contains one entry (That is,
one Data element).

 

I appreciate any advice as to how to resolve this issue.

 

Thanks,

Raghu Udupa

 



RE: echo samples with Axis2/C Module for Apache2

2008-09-10 Thread Gold, Jack L (US SSA)
I am not running with simple axis server anymore.  I confirmed that echo
worked with simple axis server and have moved on to using
libmod_axis2.so in Apache.  When I execute echo against Apache2 running
with libmod_axis2.so, I see the transport error.  

--Jack

-Original Message-
From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2008 2:28 PM
To: Apache AXIS C User List
Subject: Re: echo samples with Axis2/C Module for Apache2

Are you running with simple axis server? Then you should use

http://localhost:9090/axis2/services

Samisa...



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



Re: echo samples with Axis2/C Module for Apache2

2008-09-10 Thread Samisa Abeysinghe

Are you running with simple axis server? Then you should use

http://localhost:9090/axis2/services

Samisa...

Gold, Jack L (US SSA) wrote:

I had not.  Thanks.  That definitely explains why the echo wasn't
working. :)  


Unfortunately, I am seeing the same error I saw when I just recompiled
the echo sample application with my hardcoded
http://localhost/axis2/services URL. (yes, I reverted back to the
original version of echo).

What I am getting is a transport error. Error code 74:: Error occurred
in transport.  What might cause this?

Log file attached below.

--Jack

...
_
[Wed Sep 10 13:57:06 2008] [debug] phase_resolver.c(430) Module
addressing already engaged to operation __OPERATION_OUT_ONLY__ of
service __ANONYMOUS_SERVICE__
[Wed Sep 10 13:57:06 2008] [debug] phase_resolver.c(430) Module
addressing already engaged to operation __OPERATION_OUT_IN__ of service
__ANONYMOUS_SERVICE__
[Wed Sep 10 13:57:06 2008] [debug] op_client.c(881)
Start:axis2_op_client_infer_transport
[Wed Sep 10 13:57:06 2008] [debug] op_client.c(940)
End:axis2_op_client_infer_transport
[Wed Sep 10 13:57:06 2008] [debug] phase.c(210) Invoke the handler
AddressingOutHandler within the phase MessageOut
[Wed Sep 10 13:57:06 2008] [info]  Starting addressing out handler
[Wed Sep 10 13:57:06 2008] [debug] http_transport_sender.c(246)
ctx_epr:http://localhost/axis2/services/echo
[Wed Sep 10 13:57:06 2008] [debug] http_transport_sender.c(770) using
axis2 native http sender.
[Wed Sep 10 13:57:06 2008] [debug] http_sender.c(416)
msg_ctx_id:urn:uuid:e1a3d0ee-7f61-1dd1-2aab-0019b9da4375
[Wed Sep 10 13:57:06 2008] [error] http_sender.c(1405) Error occurred in
transport
[Wed Sep 10 13:57:06 2008] [error] engine.c(179) Transport sender invoke
failed
[Wed Sep 10 13:57:06 2008] [error] echo.c(124) Stub invoke FAILED: Error
code: 74 :: Error occurred in transport
[Wed Sep 10 13:57:06 2008] [debug] op_client.c(881)
Start:axis2_op_client_infer_transport
[Wed Sep 10 13:57:06 2008] [debug] op_client.c(940)
End:axis2_op_client_infer_transport
[Wed Sep 10 13:57:06 2008] [debug] phase.c(210) Invoke the handler
AddressingOutHandler within the phase MessageOut
[Wed Sep 10 13:57:06 2008] [info]  Starting addressing out handler
[Wed Sep 10 13:57:06 2008] [debug] http_transport_sender.c(246)
ctx_epr:http://localhost/axis2/services/echo
[Wed Sep 10 13:57:06 2008] [debug] http_transport_sender.c(770) using
axis2 native http sender.
[Wed Sep 10 13:57:06 2008] [debug] http_sender.c(416)
msg_ctx_id:urn:uuid:e1a40eba-7f61-1dd1-2aac-0019b9da4375
[Wed Sep 10 13:57:06 2008] [error] http_sender.c(1405) Error occurred in
transport
[Wed Sep 10 13:57:06 2008] [error] engine.c(179) Transport sender invoke
failed
[Wed Sep 10 13:57:06 2008] [error] echo.c(146) Stub invoke FAILED: Error
code: 74 :: Error occurred in transport
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:Calculator
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:echo
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:hello
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:math
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:mtom
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:notify
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:div
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:add
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:sub
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:mul


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




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


  



--
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.


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


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



RE: echo samples with Axis2/C Module for Apache2

2008-09-10 Thread Gold, Jack L (US SSA)
Incidentally, someone should probably update the manual to state:

/bin/samples/echo http://localhost/axis2/services/echo

As it is written, others might do exactly what I did and invoke the
linux echo command.

--Jack

-Original Message-
From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2008 1:50 PM
To: Apache AXIS C User List
Subject: Re: echo samples with Axis2/C Module for Apache2

Did you try ./echo

Samisa...


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



RE: echo samples with Axis2/C Module for Apache2

2008-09-10 Thread Gold, Jack L (US SSA)
I had not.  Thanks.  That definitely explains why the echo wasn't
working. :)  

Unfortunately, I am seeing the same error I saw when I just recompiled
the echo sample application with my hardcoded
http://localhost/axis2/services URL. (yes, I reverted back to the
original version of echo).

What I am getting is a transport error. Error code 74:: Error occurred
in transport.  What might cause this?

Log file attached below.

--Jack

...
_
[Wed Sep 10 13:57:06 2008] [debug] phase_resolver.c(430) Module
addressing already engaged to operation __OPERATION_OUT_ONLY__ of
service __ANONYMOUS_SERVICE__
[Wed Sep 10 13:57:06 2008] [debug] phase_resolver.c(430) Module
addressing already engaged to operation __OPERATION_OUT_IN__ of service
__ANONYMOUS_SERVICE__
[Wed Sep 10 13:57:06 2008] [debug] op_client.c(881)
Start:axis2_op_client_infer_transport
[Wed Sep 10 13:57:06 2008] [debug] op_client.c(940)
End:axis2_op_client_infer_transport
[Wed Sep 10 13:57:06 2008] [debug] phase.c(210) Invoke the handler
AddressingOutHandler within the phase MessageOut
[Wed Sep 10 13:57:06 2008] [info]  Starting addressing out handler
[Wed Sep 10 13:57:06 2008] [debug] http_transport_sender.c(246)
ctx_epr:http://localhost/axis2/services/echo
[Wed Sep 10 13:57:06 2008] [debug] http_transport_sender.c(770) using
axis2 native http sender.
[Wed Sep 10 13:57:06 2008] [debug] http_sender.c(416)
msg_ctx_id:urn:uuid:e1a3d0ee-7f61-1dd1-2aab-0019b9da4375
[Wed Sep 10 13:57:06 2008] [error] http_sender.c(1405) Error occurred in
transport
[Wed Sep 10 13:57:06 2008] [error] engine.c(179) Transport sender invoke
failed
[Wed Sep 10 13:57:06 2008] [error] echo.c(124) Stub invoke FAILED: Error
code: 74 :: Error occurred in transport
[Wed Sep 10 13:57:06 2008] [debug] op_client.c(881)
Start:axis2_op_client_infer_transport
[Wed Sep 10 13:57:06 2008] [debug] op_client.c(940)
End:axis2_op_client_infer_transport
[Wed Sep 10 13:57:06 2008] [debug] phase.c(210) Invoke the handler
AddressingOutHandler within the phase MessageOut
[Wed Sep 10 13:57:06 2008] [info]  Starting addressing out handler
[Wed Sep 10 13:57:06 2008] [debug] http_transport_sender.c(246)
ctx_epr:http://localhost/axis2/services/echo
[Wed Sep 10 13:57:06 2008] [debug] http_transport_sender.c(770) using
axis2 native http sender.
[Wed Sep 10 13:57:06 2008] [debug] http_sender.c(416)
msg_ctx_id:urn:uuid:e1a40eba-7f61-1dd1-2aac-0019b9da4375
[Wed Sep 10 13:57:06 2008] [error] http_sender.c(1405) Error occurred in
transport
[Wed Sep 10 13:57:06 2008] [error] engine.c(179) Transport sender invoke
failed
[Wed Sep 10 13:57:06 2008] [error] echo.c(146) Stub invoke FAILED: Error
code: 74 :: Error occurred in transport
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:Calculator
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:echo
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:hello
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:math
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:mtom
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:notify
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:div
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:add
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:sub
[Wed Sep 10 13:57:06 2008] [debug] arch_file_data.c(149) Service name
:mul


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



Re: echo samples with Axis2/C Module for Apache2

2008-09-10 Thread Samisa Abeysinghe

Did you try ./echo

Samisa...

Gold, Jack L (US SSA) wrote:

I originally had the log level set to error. I've just set it to debug.
Now I can see that the module is being loaded and it looks to be loading
correctly.

I still don't see how this answers the question about the 'echo
http://localhost/axis2/services/echo' request indicated in the manual.

Below is the apache log after the log setting change to 'debug'.

--Jack

[Wed Sep 10 11:18:01 2008] [info]  Apache Axis2/C version in use : 1.5.0
[Wed Sep 10 11:18:01 2008] [info]  Starting log with log level 4
[Wed Sep 10 11:18:01 2008] [info]  [Axis2] Axis2 worker created
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*request_uri_based_dispatcher added to the index 0 of the phase
Transport
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*addressing_based_dispatcher added to the index 1 of the phase Transport
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*request_uri_based_dispatcher added to the index 0 of the phase
Transport
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*addressing_based_dispatcher added to the index 1 of the phase Transport
[Wed Sep 10 11:18:01 2008] [notice] Apache/2.0.63 (Unix) configured --
resuming normal operations
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*rest_dispatcher added to the index 0 of the phase Dispatch
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*soap_message_body_based_dispatcher added to the index 1 of the phase
Dispatch
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*soap_action_based_dispatcher added to the index 2 of the phase Dispatch
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*dispatch_post_conditions_evaluator added to the index 0 of the phase
PostDispatch
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*context_handler added to the index 1 of the phase PostDispatch
[Wed Sep 10 11:18:01 2008] [debug] conf_builder.c(233) No custom
dispatching order found. Continue with the default dispatching order
[Wed Sep 10 11:18:01 2008] [debug] conf_builder.c(378) Module addressing
found in axis2.xml
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*rest_dispatcher added to the index 0 of the phase Dispatch
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*soap_message_body_based_dispatcher added to the index 1 of the phase
Dispatch
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*soap_action_based_dispatcher added to the index 2 of the phase Dispatch
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*dispatch_post_conditions_evaluator added to the index 0 of the phase
PostDispatch
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*context_handler added to the index 1 of the phase PostDispatch
[Wed Sep 10 11:18:01 2008] [debug] conf_builder.c(233) No custom
dispatching order found. Continue with the default dispatching order
[Wed Sep 10 11:18:01 2008] [debug] conf_builder.c(378) Module addressing
found in axis2.xml
[Wed Sep 10 11:18:01 2008] [debug] class_loader.c(140)
/usr/local/axis2-1.5.0/lib/libaxis2_http_sender.so shared lib loaded
successfully
[Wed Sep 10 11:18:01 2008] [debug] class_loader.c(140)
/usr/local/axis2-1.5.0/lib/libaxis2_http_receiver.so shared lib loaded
successfully
[Wed Sep 10 11:18:01 2008] [debug] class_loader.c(140)
/usr/local/axis2-1.5.0/lib/libaxis2_http_sender.so shared lib loaded
successfully
[Wed Sep 10 11:18:01 2008] [debug] class_loader.c(140)
/usr/local/axis2-1.5.0/lib/libaxis2_http_receiver.so shared lib loaded
successfully
[Wed Sep 10 11:18:01 2008] [debug] dep_engine.c(1283)
axis2_dep_engine_load_module_dll: DLL path is :
/usr/local/axis2-1.5.0/modules/addressing/libaxis2_mod_addr.so
[Wed Sep 10 11:18:01 2008] [debug] class_loader.c(140)
/usr/local/axis2-1.5.0/modules/addressing/libaxis2_mod_addr.so shared
lib loaded successfully
[Wed Sep 10 11:18:01 2008] [debug] dep_engine.c(1283)
axis2_dep_engine_load_module_dll: DLL path is :
/usr/local/axis2-1.5.0/modules/addressing/libaxis2_mod_addr.so
[Wed Sep 10 11:18:01 2008] [debug] dep_engine.c(1283)
axis2_dep_engine_load_module_dll: DLL path is :
/usr/local/axis2-1.5.0/modules/logging/libaxis2_mod_log.so
[Wed Sep 10 11:18:01 2008] [debug] class_loader.c(140)
/usr/local/axis2-1.5.0/modules/addressing/libaxis2_mod_addr.so shared
lib loaded successfully
[Wed Sep 10 11:18:01 2008] [debug] class_loader.c(140)
/usr/local/axis2-1.5.0/modules/logging/libaxis2_mod_log.so shared lib
loaded successfully
[Wed Sep 10 11:18:01 2008] [debug] dep_engine.c(1283)
axis2_dep_engine_load_module_dll: DLL path is :
/usr/local/axis2-1.5.0/modules/logging/libaxis2_mod_log.so
[Wed Sep 10 11:18:01 2008] [debug] svc_builder.c(318) DLL path is :
/usr/local/axis2-1.5.0/services/Calculator/libCalculator.so
[Wed Sep 10 11:18:01 2008] [debug] class_loader.c(140)
/usr/local/axis2-1.5.0/modules/logging/libaxis2_mod_log.so shared lib
loaded suc

RE: echo samples with Axis2/C Module for Apache2

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


Adding to the previous log, I recompiled the echo sample for my
localhost and received this in the logfile.  Any ideas?  Did I miss
something in the configuration?

--Jack

[Wed Sep 10 11:47:35 2008] [debug] phase_resolver.c(139) Service name is
: __ANONYMOUS_SERVICE__
[Wed Sep 10 11:47:35 2008] [debug] phase_resolver.c(430) Module
addressing already engaged to operation __OPERATION_ROBUST_OUT_ONLY__ of
service __ANONYMOUS_SERVICE__
[Wed Sep 10 11:47:35 2008] [debug] phase_resolver.c(430) Module
addressing already engaged to operation __OPERATION_OUT_ONLY__ of
service __ANONYMOUS_SERVICE__
[Wed Sep 10 11:47:35 2008] [debug] phase_resolver.c(430) Module
addressing already engaged to operation __OPERATION_OUT_IN__ of service
__ANONYMOUS_SERVICE__
[Wed Sep 10 11:47:35 2008] [debug] op_client.c(881)
Start:axis2_op_client_infer_transport
[Wed Sep 10 11:47:35 2008] [debug] op_client.c(940)
End:axis2_op_client_infer_transport
[Wed Sep 10 11:47:35 2008] [debug] phase.c(210) Invoke the handler
AddressingOutHandler within the phase MessageOut
[Wed Sep 10 11:47:35 2008] [info]  Starting addressing out handler
[Wed Sep 10 11:47:35 2008] [debug] http_transport_sender.c(246)
ctx_epr:http://localhost/axis2/services/echo
[Wed Sep 10 11:47:35 2008] [debug] http_transport_sender.c(770) using
axis2 native http sender.
[Wed Sep 10 11:47:35 2008] [debug] http_sender.c(416)
msg_ctx_id:urn:uuid:c9de7494-7f4f-1dd1-3131-0019b9da4375
[Wed Sep 10 11:47:35 2008] [error] http_sender.c(1405) Error occurred in
transport
[Wed Sep 10 11:47:35 2008] [error] engine.c(179) Transport sender invoke
failed
[Wed Sep 10 11:47:35 2008] [error] echo.c(124) Stub invoke FAILED: Error
code: 74 :: Error occurred in transport
[Wed Sep 10 11:47:35 2008] [debug] op_client.c(881)
Start:axis2_op_client_infer_transport
[Wed Sep 10 11:47:35 2008] [debug] op_client.c(940)
End:axis2_op_client_infer_transport
[Wed Sep 10 11:47:35 2008] [debug] phase.c(210) Invoke the handler
AddressingOutHandler within the phase MessageOut
[Wed Sep 10 11:47:35 2008] [info]  Starting addressing out handler
[Wed Sep 10 11:47:35 2008] [debug] http_transport_sender.c(246)
ctx_epr:http://localhost/axis2/services/echo
[Wed Sep 10 11:47:35 2008] [debug] http_transport_sender.c(770) using
axis2 native http sender.
[Wed Sep 10 11:47:35 2008] [debug] http_sender.c(416)
msg_ctx_id:urn:uuid:c9debefe-7f4f-1dd1-3132-0019b9da4375
[Wed Sep 10 11:47:35 2008] [error] http_sender.c(1405) Error occurred in
transport
[Wed Sep 10 11:47:35 2008] [error] engine.c(179) Transport sender invoke
failed
[Wed Sep 10 11:47:35 2008] [error] echo.c(146) Stub invoke FAILED: Error
code: 74 :: Error occurred in transport
[Wed Sep 10 11:47:35 2008] [debug] arch_file_data.c(149) Service name
:Calculator
[Wed Sep 10 11:47:35 2008] [debug] arch_file_data.c(149) Service name
:echo
[Wed Sep 10 11:47:35 2008] [debug] arch_file_data.c(149) Service name
:hello
[Wed Sep 10 11:47:35 2008] [debug] arch_file_data.c(149) Service name
:math
[Wed Sep 10 11:47:35 2008] [debug] arch_file_data.c(149) Service name
:mtom
[Wed Sep 10 11:47:35 2008] [debug] arch_file_data.c(149) Service name
:notify
[Wed Sep 10 11:47:35 2008] [debug] arch_file_data.c(149) Service name
:div
[Wed Sep 10 11:47:35 2008] [debug] arch_file_data.c(149) Service name
:add
[Wed Sep 10 11:47:35 2008] [debug] arch_file_data.c(149) Service name
:sub
[Wed Sep 10 11:47:35 2008] [debug] arch_file_data.c(149) Service name
:mul


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



RE: echo samples with Axis2/C Module for Apache2

2008-09-10 Thread Gold, Jack L (US SSA)
I originally had the log level set to error. I've just set it to debug.
Now I can see that the module is being loaded and it looks to be loading
correctly.

I still don't see how this answers the question about the 'echo
http://localhost/axis2/services/echo' request indicated in the manual.

Below is the apache log after the log setting change to 'debug'.

--Jack

[Wed Sep 10 11:18:01 2008] [info]  Apache Axis2/C version in use : 1.5.0
[Wed Sep 10 11:18:01 2008] [info]  Starting log with log level 4
[Wed Sep 10 11:18:01 2008] [info]  [Axis2] Axis2 worker created
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*request_uri_based_dispatcher added to the index 0 of the phase
Transport
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*addressing_based_dispatcher added to the index 1 of the phase Transport
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*request_uri_based_dispatcher added to the index 0 of the phase
Transport
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*addressing_based_dispatcher added to the index 1 of the phase Transport
[Wed Sep 10 11:18:01 2008] [notice] Apache/2.0.63 (Unix) configured --
resuming normal operations
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*rest_dispatcher added to the index 0 of the phase Dispatch
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*soap_message_body_based_dispatcher added to the index 1 of the phase
Dispatch
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*soap_action_based_dispatcher added to the index 2 of the phase Dispatch
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*dispatch_post_conditions_evaluator added to the index 0 of the phase
PostDispatch
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*context_handler added to the index 1 of the phase PostDispatch
[Wed Sep 10 11:18:01 2008] [debug] conf_builder.c(233) No custom
dispatching order found. Continue with the default dispatching order
[Wed Sep 10 11:18:01 2008] [debug] conf_builder.c(378) Module addressing
found in axis2.xml
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*rest_dispatcher added to the index 0 of the phase Dispatch
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*soap_message_body_based_dispatcher added to the index 1 of the phase
Dispatch
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*soap_action_based_dispatcher added to the index 2 of the phase Dispatch
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*dispatch_post_conditions_evaluator added to the index 0 of the phase
PostDispatch
[Wed Sep 10 11:18:01 2008] [debug] phase.c(121) axis2_handler_t
*context_handler added to the index 1 of the phase PostDispatch
[Wed Sep 10 11:18:01 2008] [debug] conf_builder.c(233) No custom
dispatching order found. Continue with the default dispatching order
[Wed Sep 10 11:18:01 2008] [debug] conf_builder.c(378) Module addressing
found in axis2.xml
[Wed Sep 10 11:18:01 2008] [debug] class_loader.c(140)
/usr/local/axis2-1.5.0/lib/libaxis2_http_sender.so shared lib loaded
successfully
[Wed Sep 10 11:18:01 2008] [debug] class_loader.c(140)
/usr/local/axis2-1.5.0/lib/libaxis2_http_receiver.so shared lib loaded
successfully
[Wed Sep 10 11:18:01 2008] [debug] class_loader.c(140)
/usr/local/axis2-1.5.0/lib/libaxis2_http_sender.so shared lib loaded
successfully
[Wed Sep 10 11:18:01 2008] [debug] class_loader.c(140)
/usr/local/axis2-1.5.0/lib/libaxis2_http_receiver.so shared lib loaded
successfully
[Wed Sep 10 11:18:01 2008] [debug] dep_engine.c(1283)
axis2_dep_engine_load_module_dll: DLL path is :
/usr/local/axis2-1.5.0/modules/addressing/libaxis2_mod_addr.so
[Wed Sep 10 11:18:01 2008] [debug] class_loader.c(140)
/usr/local/axis2-1.5.0/modules/addressing/libaxis2_mod_addr.so shared
lib loaded successfully
[Wed Sep 10 11:18:01 2008] [debug] dep_engine.c(1283)
axis2_dep_engine_load_module_dll: DLL path is :
/usr/local/axis2-1.5.0/modules/addressing/libaxis2_mod_addr.so
[Wed Sep 10 11:18:01 2008] [debug] dep_engine.c(1283)
axis2_dep_engine_load_module_dll: DLL path is :
/usr/local/axis2-1.5.0/modules/logging/libaxis2_mod_log.so
[Wed Sep 10 11:18:01 2008] [debug] class_loader.c(140)
/usr/local/axis2-1.5.0/modules/addressing/libaxis2_mod_addr.so shared
lib loaded successfully
[Wed Sep 10 11:18:01 2008] [debug] class_loader.c(140)
/usr/local/axis2-1.5.0/modules/logging/libaxis2_mod_log.so shared lib
loaded successfully
[Wed Sep 10 11:18:01 2008] [debug] dep_engine.c(1283)
axis2_dep_engine_load_module_dll: DLL path is :
/usr/local/axis2-1.5.0/modules/logging/libaxis2_mod_log.so
[Wed Sep 10 11:18:01 2008] [debug] svc_builder.c(318) DLL path is :
/usr/local/axis2-1.5.0/services/Calculator/libCalculator.so
[Wed Sep 10 11:18:01 2008] [debug] class_loader.c(140)
/usr/local/axis2-1.5.0/modules/logging/libaxis2_mod_log.so shared lib
loaded successfully
[Wed Sep 10 11:18:01 2008] [debug] svc_builder.c(318

Re: echo samples with Axis2/C Module for Apache2

2008-09-10 Thread Manjula Peiris

On Wed, 2008-09-10 at 09:35 -0400, Gold, Jack L (US SSA) wrote:
> I am going through the manual and attempting the tests indicated for
> checking the Apache Axis2/C Module.  The test suggests typing >echo
> http://localhost/axis2/services/echo at the command prompt.
> Unfortunately, this only serves to submit
> “http://localhost/axis2/services/echo” back to the console.  I
> verified that my http server is running and I receive the Deployed
> Services page when I set my browser to
> http://localhost/axis2/services, but I don’t have any axis2.log file
> in my suggested log directory and I can’t seem to test any of the
> sample services through Apache http server.  I also verified that I am
> not receiving any crash message in my Apache2 log file, so I’m pretty
> sure the mod_axis2 is still functioning.  Any suggestions as to how I
> can A) test the samples through the Apache module and B) verify that
> the Axis log file is being written to the correct place?

Check whether the log level is debug. If it is crit then set it to debug
and see.

>   Any help would be appreciated.
> 
>  
> 
> Jack Gold
> 
> BAE SYSTEMS
> 
> 450 Pulaski Rd.
> 
> MS - 01-59
> 
> Greenlawn, NY 11740
> 
> ph: (631) 262-8354
> 
> [EMAIL PROTECTED]
> 
>  
> 
>  
> 
> 


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



RE: echo samples with Axis2/C Module for Apache2

2008-09-10 Thread Gold, Jack L (US SSA)
Unfortunately, there is no client file since the client never actually
ran.  "echo http://localhost/axis2/services/echo"; does not invoke the
apache web server or the axis2c module.

 

--Jack Gold

 

  _  

From: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2008 9:49 AM
To: Apache AXIS C User List
Subject: Re: echo samples with Axis2/C Module for Apache2

 

>From your description it is hard to figure out what went wrong. It seems
that everything is correct. Can you please send the client log file?

Supun.. 



Re: echo samples with Axis2/C Module for Apache2

2008-09-10 Thread Supun Kamburugamuva
>From your description it is hard to figure out what went wrong. It seems
that everything is correct. Can you please send the client log file?

Supun..

On Wed, Sep 10, 2008 at 6:35 PM, Gold, Jack L (US SSA) <
[EMAIL PROTECTED]> wrote:

>  I am going through the manual and attempting the tests indicated for
> checking the Apache Axis2/C Module.  The test suggests typing >echo
> http://localhost/axis2/services/echo at the command prompt.
>  Unfortunately, this only serves to submit "
> http://localhost/axis2/services/echo"; back to the console.  I verified
> that my http server is running and I receive the Deployed Services page when
> I set my browser to http://localhost/axis2/services, but I don't have any
> axis2.log file in my suggested log directory and I can't seem to test any of
> the sample services through Apache http server.  I also verified that I am
> not receiving any crash message in my Apache2 log file, so I'm pretty sure
> the mod_axis2 is still functioning.  Any suggestions as to how I can A) test
> the samples through the Apache module and B) verify that the Axis log file
> is being written to the correct place?  Any help would be appreciated.
>
>
>
> *Jack Gold*
>
> *BAE SYSTEMS*
>
> 450 Pulaski Rd.
>
> MS - 01-59
>
> Greenlawn, NY 11740
>
> ph: (631) 262-8354
>
> [EMAIL PROTECTED]
>
> <[EMAIL PROTECTED]>
>
>
>



-- 
Software Engineer, WSO2 Inc


echo samples with Axis2/C Module for Apache2

2008-09-10 Thread Gold, Jack L (US SSA)
I am going through the manual and attempting the tests indicated for
checking the Apache Axis2/C Module.  The test suggests typing >echo
http://localhost/axis2/services/echo at the command prompt.
Unfortunately, this only serves to submit
"http://localhost/axis2/services/echo"; back to the console.  I verified
that my http server is running and I receive the Deployed Services page
when I set my browser to http://localhost/axis2/services, but I don't
have any axis2.log file in my suggested log directory and I can't seem
to test any of the sample services through Apache http server.  I also
verified that I am not receiving any crash message in my Apache2 log
file, so I'm pretty sure the mod_axis2 is still functioning.  Any
suggestions as to how I can A) test the samples through the Apache
module and B) verify that the Axis log file is being written to the
correct place?  Any help would be appreciated.

 

Jack Gold

BAE SYSTEMS

450 Pulaski Rd.

MS - 01-59

Greenlawn, NY 11740

ph: (631) 262-8354

[EMAIL PROTECTED]

  

 



Re: compiling rpath

2008-09-10 Thread Martina08

hi all,
first thank you for all your great help
Now it works fine. My mistake was that i only set the LD_LIBRARY_PATH to the
axis2 libs, because i must set the LIBRARY_PATH to these libs too. I think
there is a great different between LD_LIBRARY_PATH and LIBRARY_PATH.
But now im very happy,thanks

best regards
-- 
View this message in context: 
http://www.nabble.com/compiling-rpath-tp19390667p19408202.html
Sent from the Axis - C++ - User mailing list archive at Nabble.com.


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