You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by pa...@longfield.co.uk on 2010/06/04 18:54:49 UTC
Re: trouble starting server
Hi
Ive only used the client side libraries, but they have a similar problem
that the windows source has specified a / as the seperator ( re your
message ..//lib/axis2_http_sender.dll ). So I had to recompile after
editing the seperator constant to a \
Cheers
Paul Deadman
Mobile: 07769 930 235
Skype: Paul Deadman, York
Longfield Ltd
2 Maple House, Northminster Business Park,York,YO26 6QW
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom it is addressed. If
you are not the intended recipient or there are problems please notify the
sender and then delete it from your system. We have taken steps to keep
this email and attachments free from viruses. However, we accept no
liability for any loss or damage howsoever caused as a result of any virus
being passed on. It is the responsibility of the recipient to perform all
necessary checks.
nspm314159@comcast.net
04/06/2010 17:58
Please respond to
"Apache AXIS C User List" <c-...@axis.apache.org>
To
c-user@axis.apache.org
cc
Subject
trouble starting server
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.
Re: trouble starting server
Posted by ns...@comcast.net.
I wonder -- how is the Windows release tested, particularly the binary version?
Thanks to Paul Deadman for his advice concerning patching axis2c to fix the problem. But it also surprisingly implies that the current release version for Windows might not work for many Windows systems in general. Yet, that may be the case.
loentar from the "staff" project (which is based on axis2c) has confirmed that the problem exists for axis2c 1.6.0 on WindowsXP as well, not just Vista. For those who would like a working prebuilt binary version for Windows, he has provided a custom binary build (that also includes staff in a separate folder, in addition to axis2c) at this address.
http://staff.googlecode.com/files/ws-win32-bin-axis2c-1.6.0-staff-2.0.0-tp2-r229.7z
Their installation instructions are here:
http://code.google.com/p/staff/wiki/InstallationManualWindowsBinary
I have confirmed that substituting this build works just fine, with no other changes to my installation.
So it does seem that something is broken about the standard axis2c 1.6.0 binary release for Windows. loentar's one thought about this was that, " Seems like axis2/c-1.6.0 compiled with some other libraries. " I will add that in at least some contexts, certain levels of Windows ought to be able to handle the forward slash as well as the backward slash, though that is not true for all uses (e.g. some command line uses not enclosed in quotes).
Whatever the source of the problem, it makes me wonder who was able to get the standard axis2c 1.6.0 binary release to work on Windows, and how it passed the release testing for them.
----- Original Message -----
From: "paul deadman" <pa...@longfield.co.uk>
To: "Apache AXIS C User List" <c-...@axis.apache.org>
Sent: Friday, June 4, 2010 12:54:49 PM GMT -05:00 US/Canada Eastern
Subject: Re: trouble starting server
Hi
Ive only used the client side libraries, but they have a similar problem that the windows source has specified a / as the seperator ( re your message ..//lib/axis2_http_sender.dll ). So I had to recompile after editing the seperator constant to a \
Cheers
Paul Deadman
Mobile: 07769 930 235
Skype: Paul Deadman, York
Longfield Ltd
2 Maple House, Northminster Business Park,York,YO26 6QW
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom it is addressed. If you are not the intended recipient or there are problems please notify the sender and then delete it from your system. We have taken steps to keep this email and attachments free from viruses. However, we accept no liability for any loss or damage howsoever caused as a result of any virus being passed on. It is the responsibility of the recipient to perform all necessary checks.
nspm314159@comcast.net
04/06/2010 17:58
Please respond to
"Apache AXIS C User List" <c-...@axis.apache.org>
To c-user@axis.apache.org
cc
Subject trouble starting server
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.