axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bradley Beddoes <bedd...@intient.com>
Subject [Axis2] Failed in creating DLL using apache2 module and echo example
Date Sat, 17 Feb 2007 02:56:55 GMT
Hi,
I have been trying to run up the 0.96 release of Axis2/c on my Fedora 
64bit development environment over the past couple of days and have run 
into a brick wall I hope someone can help with.

All the code builds fine, the axis2/c apache module loads in apache 
2.2.3 fine and I get logging to the file specified by the Axis2LogFile 
directive, this logging seems to indicate its picking up the 
services.xml file and associated shared objects correctly.

My problem is that every time I attempt to connect to the echo service 
using the provided echo client I get a log of:
[Sat Feb 17 12:36:28 2007] [error] raw_xml_in_out_msg_recv.c(117) Impl 
object for service 'echo' not set in message receiver. 100 :: Failed in 
creating DLL

Now I am sure its something simple I have overlooked here but I can't 
seem to locate what I have done, I have also attempted to write my own 
server implementation and client to which I get the same error. (Note I 
made 1 modification to the echo client to make it connect to 
http://localhost instead of http://localhost:9090

 From investigating the code in raw_xml_in_out_msg_recv.c I assume the 
problem is that the implementation of
axis2_get_instance(axis2_svc_skeleton_t **inst, const axis2_env_t *env)
isn't being found or isn't being exported correctly but looking at the 
created libecho.so shared object the symbol is seemingly present.

Any suggestions on where to look next? (Apache logs below for reference).

regards,
Bradley
-- 
Bradley Beddoes
Lead Software Architect

http://intient.com
Intient - "Open Source, Open Standards"

----------------
Apache Config:
Axis2RepoPath /home/beddoes/programs/axis2c
Axis2LogFile /tmp/axis2.log
Axis2LogLevel AXIS2_LOG_LEVEL_TRACE
LoadModule axis2_module modules/mod_axis2.so
<Location /axis2>
     SetHandler axis2_module
</Location


----------------
Axis2LogFile - Startup
Sat Feb 17 12:50:21 2007] [info]  Starting log with log level 4
[Sat Feb 17 12:50:21 2007] [debug] phase.c(280) axis2_handler_t 
*request_uri_based_dispatcher added to the index 0 of the phase TransportIn
[Sat Feb 17 12:50:21 2007] [debug] phase.c(280) axis2_handler_t 
*addressing_based_dispatcher added to the index 0 of the phase Dispatch
[Sat Feb 17 12:50:21 2007] [debug] phase.c(280) axis2_handler_t 
*request_uri_based_dispatcher added to the index 1 of the phase Dispatch
[Sat Feb 17 12:50:21 2007] [debug] phase.c(280) axis2_handler_t 
*soap_action_based_dispatcher added to the index 2 of the phase Dispatch
[Sat Feb 17 12:50:21 2007] [debug] phase.c(280) axis2_handler_t 
*soap_message_body_based_dispatcher added to the index 3 of the phase 
Dispatch
[Sat Feb 17 12:50:21 2007] [debug] phase.c(280) axis2_handler_t 
*dispatch_post_conditions_evaluator added to the index 0 of the phase 
PostDispatch
[Sat Feb 17 12:50:21 2007] [debug] phase.c(280) axis2_handler_t 
*context_handler added to the index 1 of the phase PostDispatch
[Sat Feb 17 12:50:21 2007] [debug] conf_builder.c(285) no custom 
dispatching order                 found continue with default dispatcing 
order
[Sat Feb 17 12:50:21 2007] [debug] conf_builder.c(378) module addressing 
found in axis2.xml
[Sat Feb 17 12:50:21 2007] [debug] class_loader.c(218) transport sender 
loaded successfully
[Sat Feb 17 12:50:21 2007] [debug] class_loader.c(201) transport 
receiver loaded successfully
[Sat Feb 17 12:50:21 2007] [debug] dep_engine.c(1284) 
axis2_dep_engine_load_module_dll; dll path is : 
/home/beddoes/programs/axis2c/modules/addressing/libaxis2_mod_addr.so
[Sat Feb 17 12:50:21 2007] [debug] dep_engine.c(1284) 
axis2_dep_engine_load_module_dll; dll path is : 
/home/beddoes/programs/axis2c/modules/logging/libaxis2_mod_log.so
[Sat Feb 17 12:50:21 2007] [debug] svc_builder.c(344) dll path is : 
/home/beddoes/programs/axis2c/services/echo/libecho.so
[Sat Feb 17 12:50:21 2007] [debug] phase_resolver.c(218) svc name is:echo
[Sat Feb 17 12:50:21 2007] [debug] phase_holder.c(199) Add handler 
AddressingInHandler to phase PreDispatch
[Sat Feb 17 12:50:21 2007] [debug] phase_resolver.c(1054) svc name is:echo
[Sat Feb 17 12:50:21 2007] [debug] phase_resolver.c(218) svc name is:echo
[Sat Feb 17 12:50:21 2007] [debug] phase_resolver.c(1128) op name 
is:echoString
[Sat Feb 17 12:50:21 2007] [debug] phase_holder.c(199) Add handler 
AddressingOutHandler to phase MessageOut
[Sat Feb 17 12:50:21 2007] [debug] phase_holder.c(199) Add handler 
AddressingOutHandler to phase MessageOut


----------------
ls -l /home/beddoes/programs/axis2c/services/echo/libecho.so
-rw-rw-r-- 1 beddoes beddoes 9804 Feb 17 12:25 
/home/beddoes/programs/axis2c/services/echo/libecho.so


----------------
Axis2LogFile - Echo Request
[Sat Feb 17 12:52:22 2007] [debug] apache2_worker.c(198) Client HTTP 
version HTTP/1.1
[Sat Feb 17 12:52:22 2007] [debug] soap_builder.c(879) identified soap 
version is soap12
[Sat Feb 17 12:52:22 2007] [debug] engine.c(776) Invoking phase TransportIn
[Sat Feb 17 12:52:22 2007] [debug] phase.c(358) Invoke the handler 
request_uri_based_dispatcher within the phase TransportIn
[Sat Feb 17 12:52:22 2007] [debug] req_uri_disp.c(104) Checking for 
service using target endpoint address : 
http://localhost:80/axis2/services/echo
[Sat Feb 17 12:52:22 2007] [debug] req_uri_disp.c(124) Service found 
using target endpoint address
[Sat Feb 17 12:52:22 2007] [debug] engine.c(776) Invoking phase PreDispatch
[Sat Feb 17 12:52:22 2007] [debug] phase.c(358) Invoke the handler 
AddressingInHandler within the phase PreDispatch
[Sat Feb 17 12:52:22 2007] [info]  Starting addressing in handler .........
[Sat Feb 17 12:52:22 2007] [debug] engine.c(776) Invoking phase Dispatch
[Sat Feb 17 12:52:22 2007] [debug] phase.c(358) Invoke the handler 
addressing_based_dispatcher within the phase Dispatch
[Sat Feb 17 12:52:22 2007] [debug] addr_disp.c(176) Checking for 
operation using WSA Action : http://ws.apache.org/axis2/c/samples/echoString
[Sat Feb 17 12:52:22 2007] [debug] addr_disp.c(182) Operation found 
using WSA Action
[Sat Feb 17 12:52:22 2007] [debug] phase.c(358) Invoke the handler 
request_uri_based_dispatcher within the phase Dispatch
[Sat Feb 17 12:52:22 2007] [debug] phase.c(358) Invoke the handler 
soap_action_based_dispatcher within the phase Dispatch
[Sat Feb 17 12:52:22 2007] [debug] phase.c(358) Invoke the handler 
soap_message_body_based_dispatcher within the phase Dispatch
[Sat Feb 17 12:52:22 2007] [debug] engine.c(776) Invoking phase PostDispatch
[Sat Feb 17 12:52:22 2007] [debug] phase.c(358) Invoke the handler 
dispatch_post_conditions_evaluator within the phase PostDispatch
[Sat Feb 17 12:52:22 2007] [debug] phase.c(358) Invoke the handler 
context_handler within the phase PostDispatch
[Sat Feb 17 12:52:22 2007] [debug] engine.c(776) Invoking phase 
PolicyDetermination
[Sat Feb 17 12:52:22 2007] [error] raw_xml_in_out_msg_recv.c(117) Impl 
object for service 'echo' not set in message receiver. 100 :: Failed in 
creating DLL
[Sat Feb 17 12:52:22 2007] [debug] engine.c(452) Axis2 engine receive 
successful
[Sat Feb 17 12:52:22 2007] [debug] engine.c(776) Invoking phase MessageOut
[Sat Feb 17 12:52:22 2007] [debug] phase.c(358) Invoke the handler 
AddressingOutHandler within the phase MessageOut

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message