You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Supun Kamburugamuva <su...@gmail.com> on 2007/02/26 14:21:19 UTC

Re: Axis2C- error while running the axis2_http_server.exe after building the code from the trunk

Hi,

1)
This can happen due to incorrect services in the axis2c/services folder. If
there is no "services.xml" in every service folder this error occurs. You
can simply verify this by removing all the services from the service folder
and then starting the simple http server.

2)
According to your configuration axis2c_home registry entry should be
D:\Axix2Csrc\c\build\axis2c-bin-0.96-win32.

This error can occur if you didn't grant the execute permissions to the
added axis2 virtual directory.

I think you have forgotten to add the mod_axis2_IIS.dll as a filter to the
IIS server (You can do this by using the IIS management console in the
control panel). Then if you restart (restart the IIS Admin from services)
the IIS server you will see that the filter is loaded. (This is indicated by
green color).

To check weather the mod_axis2_IIS is working enter a URL like
http://localhost:80/axis2/. This should display the available services in a
HTML file.

Supun.

On 2/26/07, Vijayalakshmi.VenkadaSwamy@cognizant.com <
Vijayalakshmi.VenkadaSwamy@cognizant.com> wrote:
>
>  Hi,
>
>
>
> Can any one clarify the below problems while deploying in Axis 2c web
> service in IIS
>
>
>
> *Problem 1:*
>
>
>
>    - I have taken the axis2c-Src-0.96-win32 from the trunk and the
>    build went fine and deployed it.
>
>
>
>    - Set the variables AXIS2C_HOME and PATH   and copied the libxml.dll,
>    iconv.dll and zlib1.dll to the lib folder.
>
>
>
>    - While starting the axis2_http_server.exe getting error message in
>    axis2.log as
>
> * *
>
> *..\..\modules\core\transport\http\server\simple_axis2_server\http_server_main.c(169)
> Server creation failed: Error code: 34 :: Repository Listener initialization
> failed*
>
> The rest of the log file attached at the end of the mail
>
>
>
>
>
  *Problem 2.*
>
>
>
> After Adding the following key in the registry
>
>
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Apache Axis2c\IIS ISAPI Redirector
>
>
>
> o        Added a string value with the name axis2c_home and a value of
> c:\axis2c
>
>
>
> o        Added a string value with the name log_file and a value of
> D:\Axix2Csrc\c\build\axis2c-bin-0.96-win32\logs\axis2.log
>
>
>
> o        Added a string value with the name log_level. The value is trace
>
>
>
>
>
> After doing all the above while trying to axis the deployed dll  using the
> url "http://localhost:8080/axis2/mod_axis2.dll"
>
> in the Virtual directory of IIS
>
> Getting error message as " the page cannot be doployed"
>
>
>
>
>
>
>
>
>
> While starting the axis2_http_server.exe getting error message as
>
> "
>
> [Mon Feb 26 15:19:17 2007] [info]  Read Timeout : 30000 ms
>
> [Mon Feb 26 15:19:17 2007] [debug] ..\..\modules\core\engine\phase.c(280)
> axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the
> phase TransportIn
>
> [Mon Feb 26 15:19:17 2007] [debug] ..\..\modules\core\engine\phase.c(280)
> axis2_handler_t *addressing_based_dispatcher added to the index 0 of the
> phase Dispatch
>
> [Mon Feb 26 15:19:17 2007] [debug] ..\..\modules\core\engine\phase.c(280)
> axis2_handler_t *request_uri_based_dispatcher added to the index 1 of the
> phase Dispatch
>
> [Mon Feb 26 15:19:17 2007] [debug] ..\..\modules\core\engine\phase.c(280)
> axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the
> phase Dispatch
>
> [Mon Feb 26 15:19:17 2007] [debug] ..\..\modules\core\engine\phase.c(280)
> axis2_handler_t *soap_message_body_based_dispatcher added to the index 3 of
> the phase Dispatch
>
> [Mon Feb 26 15:19:17 2007] [debug] ..\..\modules\core\engine\phase.c(280)
> axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of
> the phase PostDispatch
>
> [Mon Feb 26 15:19:17 2007] [debug] ..\..\modules\core\engine\phase.c(280)
> axis2_handler_t *context_handler added to the index 1 of the phase
> PostDispatch
>
> [Mon Feb 26 15:19:17 2007] [debug]
> ..\..\modules\core\deployment\conf_builder.c(285) no custom dispatching
> order                 found continue with default dispatcing order
>
> [Mon Feb 26 15:19:17 2007] [debug]
> ..\..\modules\core\deployment\conf_builder.c(378) module addressing found in
> axis2.xml
>
> [Mon Feb 26 15:19:17 2007] [debug]
> ..\..\modules\core\deployment\dep_engine.c(1284)
> axis2_dep_engine_load_module_dll; dll path is :
> ..//modules/addressing/axis2_mod_addr.dll
>
> [Mon Feb 26 15:19:17 2007] [error]
> ..\..\modules\core\transport\http\server\simple_axis2_server\http_server_main.c(169)
> Server creation failed: Error code: 34 :: Repository Listener initialization
> failed
>
>
>
>
>
> Thanks,
>
> Viji
>
>
>   This e-mail and any files transmitted with it are for the sole use of
> the intended recipient(s) and may contain confidential and privileged
> information.
> If you are not the intended recipient, please contact the sender by reply
> e-mail and destroy all copies of the original message.
> Any unauthorized review, use, disclosure, dissemination, forwarding,
> printing or copying of this email or any action taken in reliance on this
> e-mail is strictly
> prohibited and may be unlawful.
>