logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Apache configuration with Axis Cpp client side
Author
Anilkumar B T



Joined: 13 Feb 2012
Posts: 5
Location: INDIA Bangalore

PostPosted: Mon 13 Feb '12 9:11    Post subject: Apache configuration with Axis Cpp client side Reply with quote

I am very new to both Web Services and Axis. I installed Axis 1.6 (the
build from Aug-06), along with Apache 2.2. I have followed all the
instructions to create and deploy my web service. However, when I try to
start the HTTP server, the first error I kept getting was

"httpd: Syntax error on line 487 of C:/Program Files/Apache Software
Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache
Software Foundation/Apache2.2/modules/mod_axis2.dll into server: The
specified module could not be found."

So at this point I am sure I am doing many things wrong, could somebody tell
me what they are?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Mon 13 Feb '12 12:55    Post subject: Reply with quote

Where did you downloads that module? Seems is not compatible with that apache version.
Back to top
Anilkumar B T



Joined: 13 Feb 2012
Posts: 5
Location: INDIA Bangalore

PostPosted: Tue 14 Feb '12 16:24    Post subject: Apache configuration with Axis Cpp client side Reply with quote

http://www.apache.org/dist/ws/axis-c/binaries/
i had downloaded that module using this link.
what should i do next? my requirement is to create client side stubs
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 14 Feb '12 17:00    Post subject: Reply with quote

Now I see why it doesn't load. That binary is compiled against a much older apache version. There is a need of compiling it against the new version.

Maybe you can try the newer version http://www.apache.org/dist/ws/axis2-c/1_6_0/axis2c-bin-1.6.0-win32.zip instead and see if that one loads.
Back to top
Anilkumar B T



Joined: 13 Feb 2012
Posts: 5
Location: INDIA Bangalore

PostPosted: Wed 15 Feb '12 16:06    Post subject: Apache configuration with Axis Cpp client side Reply with quote

hi
thank you for your valuable suggestion Smile
it worked when run it manually like using command httpd.exe -e debug but it doesnt start when i run it using apache monitor. Smile
Back to top
Anilkumar B T



Joined: 13 Feb 2012
Posts: 5
Location: INDIA Bangalore

PostPosted: Thu 16 Feb '12 12:55    Post subject: Apache configuration with Axis Cpp client side Reply with quote

hi james,
after doing that i am trying to use WSDL2C tool to generate i used this command
WSDL2C.bat -uri example.wsdl -d adb -u
but its not working can u help me with this?
what should i do?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 16 Feb '12 15:45    Post subject: Reply with quote

I never used axis(2) before. How ever. "it is not working" is a bit insufficient. Error message? Something? Did you RTFM?
Back to top
Anilkumar B T



Joined: 13 Feb 2012
Posts: 5
Location: INDIA Bangalore

PostPosted: Fri 17 Feb '12 7:17    Post subject: Reply with quote

hi james,
i have read the manual many times!

i am following first contract approach were in i have a wsdl file using which i am trying to generate client stubs these are the error which i found on logs

[Fri Feb 17 12:24:44 2012] [info] Starting Axis2 HTTP server....
[Fri Feb 17 12:24:44 2012] [info] Apache Axis2/C version in use : 1.6.0
[Fri Feb 17 12:24:44 2012] [info] Server port : 9090
[Fri Feb 17 12:24:44 2012] [info] Repo location : ../
[Fri Feb 17 12:24:44 2012] [info] Read Timeout : 60000 ms
[Fri Feb 17 12:24:44 2012] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport
[Fri Feb 17 12:24:44 2012] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport
[Fri Feb 17 12:24:44 2012] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch
[Fri Feb 17 12:24:44 2012] [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 Feb 17 12:24:44 2012] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch
[Fri Feb 17 12:24:44 2012] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the phase PostDispatch
[Fri Feb 17 12:24:44 2012] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch
[Fri Feb 17 12:24:44 2012] [debug] ..\..\src\core\deployment\conf_builder.c(234) No custom dispatching order found. Continue with the default dispatching order
[Fri Feb 17 12:24:44 2012] [debug] ..\..\src\core\deployment\conf_builder.c(379) Module addressing found in axis2.xml
[Fri Feb 17 12:24:44 2012] [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 Feb 17 12:24:44 2012] [error] ..\..\src\core\deployment\conf_builder.c(903) Transport sender is NULL for transport http, unable to continue
[Fri Feb 17 12:24:44 2012] [error] ..\..\src\core\deployment\conf_builder.c(262) Processing transport senders failed, unable to continue
[Fri Feb 17 12:24:44 2012] [error] ..\..\src\core\deployment\dep_engine.c(752) Populating Axis2 Configuration failed
[Fri Feb 17 12:24:44 2012] [error] ..\..\src\core\deployment\conf_init.c(64) Loading deployment engine failed for repository ../.
[Fri Feb 17 12:24:44 2012] [error] ..\..\src\core\transport\http\receiver\http_receiver.c(126) unable to create private configuration contextfor repo path ../
[Fri Feb 17 12:24:44 2012] [error] ..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(215) Server creation failed: Error code: 103 :: Failed in creating DLL

please help with this...
Back to top


Reply to topic   Topic: Apache configuration with Axis Cpp client side View previous topic :: View next topic
Post new topic   Forum Index -> Other Software