I am trying axis2c for the first time, using a Windows Vista Business machine
with all updates installed (Version 6.0.6001 Service Pack 1 Build 6001).
I have unpacked the binary version of the latest stable axis2c windows version
(1.6.0) into C:\ws\axis2c and have set environment variables including
AXIS2C_HOME and have updated PATH both for lib and for bin. I've tried both
forward and backward slashes to see if that mattered at all.
;%AXIS2C_HOME%/bin;%AXIS2C_HOME%/lib;
and
;%AXIS2C_HOME%\bin;%AXIS2C_HOME%\lib;
At a command line I am able to successfully type
axis2_http_server.exe -h
and it does find the executable and gives the help information. So the PATH
variable seems updated.
However, even if I cd to the bin directory, although typing it without the -h
does attempt to start the server, I get errors in the log and it doesn't start.
[Fri Jun 04 12:43:50 2010] [info] Starting Axis2 HTTP server....
[Fri Jun 04 12:43:50 2010] [info] Apache Axis2/C version in use : 1.6.0
[Fri Jun 04 12:43:50 2010] [info] Server port : 9090
[Fri Jun 04 12:43:50 2010] [info] Repo location : ../
[Fri Jun 04 12:43:50 2010] [info] Read Timeout : 60000 ms
[Fri Jun 04 12:43:50 2010] [debug] ..\..\src\core\engine\phase.c(121)
axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase
Transport
[Fri Jun 04 12:43:50 2010] [debug] ..\..\src\core\engine\phase.c(121)
axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase
Transport
[Fri Jun 04 12:43:50 2010] [debug] ..\..\src\core\engine\phase.c(121)
axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch
[Fri Jun 04 12:43:50 2010] [debug] ..\..\src\core\engine\phase.c(121)
axis2_handler_t *soap_message_body_based_dispatcher added to the index 1 of the
phase Dispatch
[Fri Jun 04 12:43:50 2010] [debug] ..\..\src\core\engine\phase.c(121)
axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase
Dispatch
[Fri Jun 04 12:43:50 2010] [debug] ..\..\src\core\engine\phase.c(121)
axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the
phase PostDispatch
[Fri Jun 04 12:43:50 2010] [debug] ..\..\src\core\engine\phase.c(121)
axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch
[Fri Jun 04 12:43:50 2010] [debug]
..\..\src\core\deployment\conf_builder.c(234) No custom dispatching order
found. Continue with the default dispatching order
[Fri Jun 04 12:43:50 2010] [debug]
..\..\src\core\deployment\conf_builder.c(379) Module addressing found in
axis2.xml
[Fri Jun 04 12:43:50 2010] [error] ..\..\util\src\class_loader.c(167) Loading
shared library ..//lib/axis2_http_sender.dll Failed. DLERROR IS DLL Load Error
126: The specified module could not be found.
[Fri Jun 04 12:43:50 2010] [error]
..\..\src\core\deployment\conf_builder.c(903) Transport sender is NULL for
transport http, unable to continue
[Fri Jun 04 12:43:50 2010] [error]
..\..\src\core\deployment\conf_builder.c(262) Processing transport senders
failed, unable to continue
[Fri Jun 04 12:43:50 2010] [error] ..\..\src\core\deployment\dep_engine.c(752)
Populating Axis2 Configuration failed
[Fri Jun 04 12:43:50 2010] [error] ..\..\src\core\deployment\conf_init.c(64)
Loading deployment engine failed for repository ../.
[Fri Jun 04 12:43:50 2010] [error]
..\..\src\core\transport\http\receiver\http_receiver.c(126) unable to create
private configuration contextfor repo path ../
[Fri Jun 04 12:43:50 2010] [error]
..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(215)
Server creation failed: Error code: 103 :: Failed in creating DLL
Yet from a command line I can type:
C:\ws\axis2c\bin>dir "..//lib/axis2_http_sender.dll"
Volume in drive C is SQ004577V03
Volume Serial Number is 18F7-1657
Directory of C:\ws\axis2c\lib
04/17/2009 03:02 PM 92,672 axis2_http_sender.dll
1 File(s) 92,672 bytes
0 Dir(s) 24,187,727,872 bytes free
which shows the "not found" dll is present. Likewise:
C:\ws\axis2c\bin>dir %axis2c_home%\lib\*.dll
Volume in drive C is SQ004577V03
Volume Serial Number is 18F7-1657
Directory of C:\ws\axis2c\lib
04/17/2009 02:59 PM 181,248 axiom.dll
04/17/2009 03:02 PM 386,560 axis2_engine.dll
04/17/2009 03:02 PM 65,536 axis2_http_receiver.dll
04/17/2009 03:02 PM 92,672 axis2_http_sender.dll
04/17/2009 02:59 PM 62,976 axis2_parser.dll
04/17/2009 03:03 PM 68,608 axis2_tcp_receiver.dll
04/17/2009 03:03 PM 46,080 axis2_tcp_sender.dll
04/17/2009 02:59 PM 87,040 axis2_xpath.dll
04/17/2009 02:59 PM 190,976 axutil.dll
04/17/2009 02:59 PM 84,992 guththila.dll
04/17/2009 03:03 PM 83,968 mod_axis2.dll
04/17/2009 03:04 PM 67,072 mod_axis2_IIS.dll
04/17/2009 03:01 PM 114,688 neethi.dll
13 File(s) 1,532,416 bytes
0 Dir(s) 24,187,727,872 bytes free
Short of abandoning the binary version and starting from scratch from source,
I'm not sure what else to change or to try that would enable the binary version
to work. Yet I expect surely it does work for others on at least some versions
of Windows.
What might I be missing? Thanks in advance for helping a newbie get off the
ground.