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 Doug Price <Do...@presagis.com> on 2009/10/05 21:06:51 UTC

problems running default http server

I apologize in advance for the probably very trivial question, but I'm new to web services and was trying to experiment to see what I could do w/ Axis 2/C.  From the documentation, the code itself seems reasonably straight forward, but so far I have been unsuccessful in getting the sample services to run.  After downloading the zip file, I copied the contents to "C:\axis2c-bin-1.6.0-win32".  Then I set the AXIS2C_HOME environment variable to "C:\axis2c-bin-1.6.0-win32" and added "C:\axis2c-bin-1.6.0-win32\lib" to my path.  Then in a console window I went to "C:\axis2c-bin-1.6.0-win32\bin" and ran axis2_http_server.exe.  Looking at the axis2.log file, I get the following errors when I do this:

[Mon Oct 05 14:00:25 2009] [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.
[Mon Oct 05 14:00:25 2009] [error] ..\..\src\core\deployment\conf_builder.c(903) Transport sender is NULL for transport http, unable to continue
[Mon Oct 05 14:00:25 2009] [error] ..\..\src\core\deployment\conf_builder.c(262) Processing transport senders failed, unable to continue
[Mon Oct 05 14:00:25 2009] [error] ..\..\src\core\deployment\dep_engine.c(752) Populating Axis2 Configuration failed
[Mon Oct 05 14:00:25 2009] [error] ..\..\src\core\deployment\conf_init.c(64) Loading deployment engine failed for repository ../.
[Mon Oct 05 14:00:25 2009] [error] ..\..\src\core\transport\http\receiver\http_receiver.c(126) unable to create private configuration contextfor repo path ../
[Mon Oct 05 14:00:25 2009] [error] ..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(215) Server creation failed: Error code: 103 :: Failed in creating DLL

The dll in question is present in the lib folder.  Any ideas why this wouldn't be working?  I've checked the path environment variable in the console window and the lib directory is there.  Is there something  else I need to do to "install" the system and set it up to work?



--
Doug Price
Research Director | Presagis

T. +1 972 943.2433 F. +1 469 467.4564 C. +1 469 867.8399

DISCLAIMER: This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and/or proprietary information. Do not read, copy, or disseminate this message unless you are the addressee. Any unauthorized review, use, disclosure or distribution is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail and delete the original and any copies from your system.


RE: problems running default http server

Posted by Doug Price <Do...@presagis.com>.
Looks like the axis2_http_sender.dll had a dependency on ssleay32.dll and libeay32.dll, which were not included in the distribution.  I found these in several other locations on my system, however, and adding these to the lib directory fixed the problem.


--
Doug Price
Research Director | Presagis

T. +1 972 943.2433  F. +1 469 467.4564  C. +1 469 867.8399

DISCLAIMER: This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and/or proprietary information. Do not read, copy, or disseminate this message unless you are the addressee. Any unauthorized review, use, disclosure or distribution is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail and delete the original and any copies from your system.

-----Original Message-----

From: Selvaratnam Uthaiyashankar [mailto:uthaiyashankar@gmail.com]
Sent: Monday, October 05, 2009 5:54 PM
To: Apache AXIS C User List
Subject: Re: problems running default http server

Hi,

You might have to install openssl.

Regards,
Shankar


On Tue, Oct 6, 2009 at 12:36 AM, Doug Price <Do...@presagis.com> wrote:
> I apologize in advance for the probably very trivial question, but I'm new
> to web services and was trying to experiment to see what I could do w/ Axis
> 2/C.  From the documentation, the code itself seems reasonably straight
> forward, but so far I have been unsuccessful in getting the sample services
> to run.  After downloading the zip file, I copied the contents to
> "C:\axis2c-bin-1.6.0-win32".  Then I set the AXIS2C_HOME environment
> variable to "C:\axis2c-bin-1.6.0-win32" and added
> "C:\axis2c-bin-1.6.0-win32\lib" to my path.  Then in a console window I went
> to "C:\axis2c-bin-1.6.0-win32\bin" and ran axis2_http_server.exe.  Looking
> at the axis2.log file, I get the following errors when I do this:
>
>
>
> [Mon Oct 05 14:00:25 2009] [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.
>
> [Mon Oct 05 14:00:25 2009] [error]
> ..\..\src\core\deployment\conf_builder.c(903) Transport sender is NULL for
> transport http, unable to continue
>
> [Mon Oct 05 14:00:25 2009] [error]
> ..\..\src\core\deployment\conf_builder.c(262) Processing transport senders
> failed, unable to continue
>
> [Mon Oct 05 14:00:25 2009] [error]
> ..\..\src\core\deployment\dep_engine.c(752) Populating Axis2 Configuration
> failed
>
> [Mon Oct 05 14:00:25 2009] [error] ..\..\src\core\deployment\conf_init.c(64)
> Loading deployment engine failed for repository ../.
>
> [Mon Oct 05 14:00:25 2009] [error]
> ..\..\src\core\transport\http\receiver\http_receiver.c(126) unable to create
> private configuration contextfor repo path ../
>
> [Mon Oct 05 14:00:25 2009] [error]
> ..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(215)
> Server creation failed: Error code: 103 :: Failed in creating DLL
>
>
>
> The dll in question is present in the lib folder.  Any ideas why this
> wouldn't be working?  I've checked the path environment variable in the
> console window and the lib directory is there.  Is there something  else I
> need to do to "install" the system and set it up to work?
>
>
>
>
>
> --
> Doug Price
> Research Director | Presagis
>
> T. +1 972 943.2433 F. +1 469 467.4564 C. +1 469 867.8399
>
> DISCLAIMER: This e-mail message is for the sole use of the intended
> recipient(s) and may contain confidential and/or proprietary information. Do
> not read, copy, or disseminate this message unless you are the addressee.
> Any unauthorized review, use, disclosure or distribution is strictly
> prohibited. If you have received this message in error, please contact the
> sender by reply e-mail and delete the original and any copies from your
> system.
>
>



--
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"


Re: problems running default http server

Posted by Selvaratnam Uthaiyashankar <ut...@gmail.com>.
Hi,

You might have to install openssl.

Regards,
Shankar


On Tue, Oct 6, 2009 at 12:36 AM, Doug Price <Do...@presagis.com> wrote:
> I apologize in advance for the probably very trivial question, but I’m new
> to web services and was trying to experiment to see what I could do w/ Axis
> 2/C.  From the documentation, the code itself seems reasonably straight
> forward, but so far I have been unsuccessful in getting the sample services
> to run.  After downloading the zip file, I copied the contents to
> “C:\axis2c-bin-1.6.0-win32”.  Then I set the AXIS2C_HOME environment
> variable to “C:\axis2c-bin-1.6.0-win32” and added
> “C:\axis2c-bin-1.6.0-win32\lib” to my path.  Then in a console window I went
> to “C:\axis2c-bin-1.6.0-win32\bin” and ran axis2_http_server.exe.  Looking
> at the axis2.log file, I get the following errors when I do this:
>
>
>
> [Mon Oct 05 14:00:25 2009] [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.
>
> [Mon Oct 05 14:00:25 2009] [error]
> ..\..\src\core\deployment\conf_builder.c(903) Transport sender is NULL for
> transport http, unable to continue
>
> [Mon Oct 05 14:00:25 2009] [error]
> ..\..\src\core\deployment\conf_builder.c(262) Processing transport senders
> failed, unable to continue
>
> [Mon Oct 05 14:00:25 2009] [error]
> ..\..\src\core\deployment\dep_engine.c(752) Populating Axis2 Configuration
> failed
>
> [Mon Oct 05 14:00:25 2009] [error] ..\..\src\core\deployment\conf_init.c(64)
> Loading deployment engine failed for repository ../.
>
> [Mon Oct 05 14:00:25 2009] [error]
> ..\..\src\core\transport\http\receiver\http_receiver.c(126) unable to create
> private configuration contextfor repo path ../
>
> [Mon Oct 05 14:00:25 2009] [error]
> ..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(215)
> Server creation failed: Error code: 103 :: Failed in creating DLL
>
>
>
> The dll in question is present in the lib folder.  Any ideas why this
> wouldn’t be working?  I’ve checked the path environment variable in the
> console window and the lib directory is there.  Is there something  else I
> need to do to “install” the system and set it up to work?
>
>
>
>
>
> --
> Doug Price
> Research Director | Presagis
>
> T. +1 972 943.2433 F. +1 469 467.4564 C. +1 469 867.8399
>
> DISCLAIMER: This e-mail message is for the sole use of the intended
> recipient(s) and may contain confidential and/or proprietary information. Do
> not read, copy, or disseminate this message unless you are the addressee.
> Any unauthorized review, use, disclosure or distribution is strictly
> prohibited. If you have received this message in error, please contact the
> sender by reply e-mail and delete the original and any copies from your
> system.
>
>



-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"