Hi Shivam,
Are you running simple axis2c server or running axis2 apache module in Apache2?. I am asking this because the code line
*axutil_allocator_switch_to_local_pool(env->allocator);
*
has meaning when only running as an Apache2 module. If you are running in Apache2 please run in simple axis2 server and tell us what happen. Also make sure to run your server with trace enabled (Build axis2/C with trace enabled and run server with option -l6) and send us the resulting server log file.

thanks,
Damitha

Gupta, Shivam wrote:
Hello,
We are trying to run Axis on Unix platform. However, when we try to invoke the 'echo' webservice, the Axis server crashes giving a memory fault. In the mail below I have explained the findings I derived after debugging Axis2c: 1). I had built the libecho.so file using the following files : echo.c, echo.h and echo_skeleton.c 2). The Axis2 Log clearly states that the "libecho.so loaded successfully". 3). The processing of the request proceeds till the statement :
File: /msg_recv.c/

Function: /axis2_msg_recv_make_new_svc_obj Code Lines:/

* if (impl_class) *

* { *

* AXIS2_SVC_SKELETON_INIT((axis2_svc_skeleton_t *) impl_class, env); } axutil_allocator_switch_to_local_pool(env->allocator); *

*4). *the Code exits and the Axis server crashes. I have also made sure that the functions are built inside the libecho.so file. It is not an empty linkable.

Please help me out here. I am not able to figure out waht is going wrong here.

Regards,

Shivam.

* *


--
__________________________________________________________________

Damitha Kumarage
http://people.apache.org/
__________________________________________________________________

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

Reply via email to