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 yuanhuhu <yu...@yahoo.com> on 2008/07/04 00:52:26 UTC

Failed to load mod_rampart.dll

Hi,

I am trying to add in authentication to my Axis2/c client.
I downloaded the latest rampart C 1.2 and deployed to my axis2/c 1.4.

I followed the samples from rampart C and added the following lines to my Axis2/C client.  The client_home points to my Axis2/C installation: D:\Tools\axis2\axis2c-bin-1.4.0-win32
--------------------------------------------------------
    /*We need to specify the client's policy file location*/
    if(client_home)
    {
        file_name = axutil_stracat(env, client_home, "\\client_repo\\");
        policy_file = axutil_stracat(env, file_name, "policy.xml" );
        AXIS2_FREE(env->allocator, file_name);
        file_name = NULL;        
    }else{
        printf("Client Home not Specified\n");
        printf("echo client invoke FAILED!\n");
        return 0;
    }
    /*Create the policy, from file*/   
    policy = neethi_util_create_policy_from_file(env, policy_file);
    if(policy_file){
        AXIS2_FREE(env->allocator, policy_file);
        policy_file = NULL;
    }
    if(!policy)
    {
        printf("\nPolicy creation failed from the file. %s\n", policy_file);
    }


	stub =
        axis2_stub_create_SecureServiceService(env, client_home, address);
	if( NULL == stub ){
		printf("Unable to create the stub with address='%s' and client_home='%s'.\n", address, client_home);
		if (env)
		{
			axutil_env_free((axutil_env_t *) env);
			env = NULL;
		}
		exit(1);
	}

	svc_client = axis2_stub_get_svc_client(stub, env );
    options = axis2_stub_get_options( stub, env);
    if (NULL == options)
    {
        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_INVALID_NULL_PARAM, AXIS2_FAILURE);
        AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "options is null in stub");
        return NULL;
    }
    axis2_options_set_manage_session(options, env, AXIS2_TRUE);

    status = axis2_svc_client_set_policy(svc_client, env, policy);

    if(status == AXIS2_FAILURE)
    {
        printf("Policy setting failed\n");
    }
    
--------------------------------------------------------
The code seems to run smoothly, but I can't see the security header appear in the client request.  I took at look at the log file generated and found that the rampart dll is not loaded correctly.

---------------------------------------------------------------
[Thu Jul 03 15:23:33 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/addressing/axis2_mod_addr.dll
[Thu Jul 03 15:23:33 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
[Thu Jul 03 15:23:33 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/logging/axis2_mod_log.dll
[Thu Jul 03 15:23:33 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
[Thu Jul 03 15:23:33 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/rampart/mod_rampart.dll
[Thu Jul 03 15:23:33 2008] [error] ..\..\util\src\class_loader.c(161) dlerror reason: Something went wrong loading the DLL. If you happen to see this message, please note that getting the exact error form Windows is a TODO. And if possible please help fix it. :)
[Thu Jul 03 15:23:33 2008] [error] ..\..\src\core\deployment\dep_engine.c(1424) Loading module description rampart failed
[Thu Jul 03 15:23:33 2008] [error] ..\..\src\core\deployment\dep_engine.c(1588) Adding new module rampart to the deployment engine failed
[Thu Jul 03 15:23:33 2008] [error] ..\..\src\core\deployment\repos_listener.c(136) Repository listener initialization failed
[Thu Jul 03 15:23:33 2008] [debug] ..\..\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingInHandler to phase Transport

---------------------------------------------------------------


I verified that the dll does exist in the path indicated in the log file:

D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart>dir
 Volume in drive D is Data
 Volume Serial Number is 40CF-E9CF

 Directory of D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart

07/03/2008  02:22 PM    <DIR>          .
07/03/2008  02:22 PM    <DIR>          ..
09/19/2007  12:04 PM               515 module.xml
05/07/2008  05:13 PM           335,872 mod_rampart.dll
               2 File(s)        336,387 bytes
               2 Dir(s)  56,762,257,408 bytes free




Any idea how to troubleshoot or workaround the problem?


Thanks!

Yuan


      

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Failed to load mod_rampart.dll

Posted by Supun Kamburugamuva <su...@gmail.com>.
Hi,

Have you tried typing http://localhost/axis2/services in the browse?. That
should display the deployed services.

You can run the update_n_run,bat. But please note that in that file the
client talks to the http://localhost:9090/axis2/services/sec_echo. Please
change the port before running it.

Supun..

On Wed, Jul 9, 2008 at 12:48 AM, yuanhuhu <yu...@yahoo.com> wrote:

> Hi Shankar,
>
> Thanks.  I eventually be able to run the apache server with the axis2
> config.  But it doesn't run correctly.  When I pointed my browser to "
> http://localhost/axis2", it returns an "unable to connect" error.
> And it returns "It works" when I point my brower to "http://localhost".
> There is no error log to the error.log and apache_axis2.log file.  In fact,
> the apache_axis2.log wasn't created.
>
> I tried to debug it using "httpd -t -D DUMP_MODULES", it seems that the
> axis2 module is loaded correctly.
> C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd -t -D
> DUMP_MODULES
> Loaded Modules:
>  core_module (static)
>  win32_module (static)
>  mpm_winnt_module (static)
>  http_module (static)
>  so_module (static)
>  actions_module (shared)
>  alias_module (shared)
>  asis_module (shared)
>  auth_basic_module (shared)
>  authn_default_module (shared)
>  authn_file_module (shared)
>  authz_default_module (shared)
>  authz_groupfile_module (shared)
>  authz_host_module (shared)
>  authz_user_module (shared)
>  autoindex_module (shared)
>  cgi_module (shared)
>  dir_module (shared)
>  env_module (shared)
>  imagemap_module (shared)
>  include_module (shared)
>  isapi_module (shared)
>  log_config_module (shared)
>  mime_module (shared)
>  negotiation_module (shared)
>  setenvif_module (shared)
>  userdir_module (shared)
>  axis2_module (shared)
> Syntax OK
>
> Is there anything else that I can check?  And after I start up the HTTPD
> with Axis2 correctly, do I just need to run
> "samples\client\sec_echo\update_n_run.bat" to test the samples?  Do I need
> to deploy the server somehow?
>
> Thanks!
>
> Yuan
>
> --- On Tue, 7/8/08, Uthaiyashankar <sh...@wso2.com> wrote:
>
> > From: Uthaiyashankar <sh...@wso2.com>
> > Subject: Re: Failed to load mod_rampart.dll
> > To: "Apache AXIS C User List" <ax...@ws.apache.org>
> > Date: Tuesday, July 8, 2008, 4:19 PM
> > Hi,
> >
> >
> >
> > >
> > >> we have not tested with openssl 0.9.8h.
> > Theoritically it
> > >> should work :)
> > >> . Is it possible for you to try with OpenSSL
> > 0.9.8d or
> > >> 0.9.8e and see
> > >> whether the problem exists? Then we can be sure
> > whether the
> > >> problem is
> > >> openssl or something else and further investigate.
> > >> Optionally, you can
> > >> run Axis2/C through apache and try whether it
> > works. You
> > >> can get apache
> > >> with Openssl 0.9.8e from [1]
> > >>
> > >>
> > >
> > > Thanks.  I am not able to find an installation
> > executable for earlier version of openssl for windows.  I
> > tried the alternative approach, i.e. apache with openssl
> > 0.9.8.e.
> > >
> > > I followed the instructions to set up the http server,
> > but it failed to start.  :(
> > >
> > > Here is the error log:
> > > -----------------------------------------------
> > > [Mon Jul 07 13:55:49 2008] [notice] Child 6436:
> > Starting thread to listen on port 80.
> > > [Mon Jul 07 13:56:02 2008] [error] [client 127.0.0.1]
> > File does not exist: C:/Program Files/Apache Software
> > Foundation/Apache2.2/htdocs/axis2, referer:
> > http://ws.apache.org/axis2/c/docs/axis2c_manual.html
> > > [Mon Jul 07 13:56:02 2008] [error] [client 127.0.0.1]
> > File does not exist: C:/Program Files/Apache Software
> > Foundation/Apache2.2/htdocs/favicon.ico
> > > [Mon Jul 07 13:56:10 2008] [error] [client 127.0.0.1]
> > File does not exist: C:/Program Files/Apache Software
> > Foundation/Apache2.2/htdocs/favicon.ico
> > > [Mon Jul 07 13:56:46 2008] [notice] Parent: Received
> > shutdown signal -- Shutting down the server.
> > > -----------------------------------------------
> > >
> > > This is what I have added to the httpd.conf.
> > > -----------------------------------------------
> > > LoadModule axis2_module modules/mod_axis2.so
> > > Axis2RepoPath D:/Tools/axis2/axis2c-bin-1.4.0-win32
> > > Axis2LogFile  D:/Tools/axis2/axis2c-bin-1.4.0-win32
> > >
> >
> > Can you give a filename and see whether any error messages
> > are written
> > to that. Can you sent that file? E.g.
> >
> > Axis2LogFile
> > D:/Tools/axis2/axis2c-bin-1.4.0-win32/apache_axis2.log
> >
> >
> > Regards,
> > Shankar.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > axis-c-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail:
> > axis-c-user-help@ws.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>

Re: Failed to load mod_rampart.dll

Posted by yuanhuhu <yu...@yahoo.com>.
Hi Shankar,

Thanks.  I eventually be able to run the apache server with the axis2 config.  But it doesn't run correctly.  When I pointed my browser to "http://localhost/axis2", it returns an "unable to connect" error.
And it returns "It works" when I point my brower to "http://localhost".
There is no error log to the error.log and apache_axis2.log file.  In fact, the apache_axis2.log wasn't created.

I tried to debug it using "httpd -t -D DUMP_MODULES", it seems that the axis2 module is loaded correctly.
C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd -t -D DUMP_MODULES
Loaded Modules:
 core_module (static)
 win32_module (static)
 mpm_winnt_module (static)
 http_module (static)
 so_module (static)
 actions_module (shared)
 alias_module (shared)
 asis_module (shared)
 auth_basic_module (shared)
 authn_default_module (shared)
 authn_file_module (shared)
 authz_default_module (shared)
 authz_groupfile_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 cgi_module (shared)
 dir_module (shared)
 env_module (shared)
 imagemap_module (shared)
 include_module (shared)
 isapi_module (shared)
 log_config_module (shared)
 mime_module (shared)
 negotiation_module (shared)
 setenvif_module (shared)
 userdir_module (shared)
 axis2_module (shared)
Syntax OK

Is there anything else that I can check?  And after I start up the HTTPD with Axis2 correctly, do I just need to run "samples\client\sec_echo\update_n_run.bat" to test the samples?  Do I need to deploy the server somehow?

Thanks!

Yuan

--- On Tue, 7/8/08, Uthaiyashankar <sh...@wso2.com> wrote:

> From: Uthaiyashankar <sh...@wso2.com>
> Subject: Re: Failed to load mod_rampart.dll
> To: "Apache AXIS C User List" <ax...@ws.apache.org>
> Date: Tuesday, July 8, 2008, 4:19 PM
> Hi,
> 
> 
> 
> >   
> >> we have not tested with openssl 0.9.8h.
> Theoritically it
> >> should work :) 
> >> . Is it possible for you to try with OpenSSL
> 0.9.8d or
> >> 0.9.8e and see 
> >> whether the problem exists? Then we can be sure
> whether the
> >> problem is 
> >> openssl or something else and further investigate.
> >> Optionally, you can 
> >> run Axis2/C through apache and try whether it
> works. You
> >> can get apache 
> >> with Openssl 0.9.8e from [1]
> >>
> >>     
> >
> > Thanks.  I am not able to find an installation
> executable for earlier version of openssl for windows.  I
> tried the alternative approach, i.e. apache with openssl
> 0.9.8.e.
> >
> > I followed the instructions to set up the http server,
> but it failed to start.  :(
> >
> > Here is the error log:
> > -----------------------------------------------
> > [Mon Jul 07 13:55:49 2008] [notice] Child 6436:
> Starting thread to listen on port 80.
> > [Mon Jul 07 13:56:02 2008] [error] [client 127.0.0.1]
> File does not exist: C:/Program Files/Apache Software
> Foundation/Apache2.2/htdocs/axis2, referer:
> http://ws.apache.org/axis2/c/docs/axis2c_manual.html
> > [Mon Jul 07 13:56:02 2008] [error] [client 127.0.0.1]
> File does not exist: C:/Program Files/Apache Software
> Foundation/Apache2.2/htdocs/favicon.ico
> > [Mon Jul 07 13:56:10 2008] [error] [client 127.0.0.1]
> File does not exist: C:/Program Files/Apache Software
> Foundation/Apache2.2/htdocs/favicon.ico
> > [Mon Jul 07 13:56:46 2008] [notice] Parent: Received
> shutdown signal -- Shutting down the server.
> > -----------------------------------------------
> >
> > This is what I have added to the httpd.conf.
> > -----------------------------------------------
> > LoadModule axis2_module modules/mod_axis2.so
> > Axis2RepoPath D:/Tools/axis2/axis2c-bin-1.4.0-win32
> > Axis2LogFile  D:/Tools/axis2/axis2c-bin-1.4.0-win32
> >   
> 
> Can you give a filename and see whether any error messages
> are written 
> to that. Can you sent that file? E.g.
> 
> Axis2LogFile 
> D:/Tools/axis2/axis2c-bin-1.4.0-win32/apache_axis2.log
> 
> 
> Regards,
> Shankar.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail:
> axis-c-user-help@ws.apache.org


      

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Failed to load mod_rampart.dll

Posted by Uthaiyashankar <sh...@wso2.com>.
Hi,



>   
>> we have not tested with openssl 0.9.8h. Theoritically it
>> should work :) 
>> . Is it possible for you to try with OpenSSL 0.9.8d or
>> 0.9.8e and see 
>> whether the problem exists? Then we can be sure whether the
>> problem is 
>> openssl or something else and further investigate.
>> Optionally, you can 
>> run Axis2/C through apache and try whether it works. You
>> can get apache 
>> with Openssl 0.9.8e from [1]
>>
>>     
>
> Thanks.  I am not able to find an installation executable for earlier version of openssl for windows.  I tried the alternative approach, i.e. apache with openssl 0.9.8.e.
>
> I followed the instructions to set up the http server, but it failed to start.  :(
>
> Here is the error log:
> -----------------------------------------------
> [Mon Jul 07 13:55:49 2008] [notice] Child 6436: Starting thread to listen on port 80.
> [Mon Jul 07 13:56:02 2008] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/axis2, referer: http://ws.apache.org/axis2/c/docs/axis2c_manual.html
> [Mon Jul 07 13:56:02 2008] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
> [Mon Jul 07 13:56:10 2008] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
> [Mon Jul 07 13:56:46 2008] [notice] Parent: Received shutdown signal -- Shutting down the server.
> -----------------------------------------------
>
> This is what I have added to the httpd.conf.
> -----------------------------------------------
> LoadModule axis2_module modules/mod_axis2.so
> Axis2RepoPath D:/Tools/axis2/axis2c-bin-1.4.0-win32
> Axis2LogFile  D:/Tools/axis2/axis2c-bin-1.4.0-win32
>   

Can you give a filename and see whether any error messages are written 
to that. Can you sent that file? E.g.

Axis2LogFile  D:/Tools/axis2/axis2c-bin-1.4.0-win32/apache_axis2.log


Regards,
Shankar.

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Failed to load mod_rampart.dll

Posted by yuanhuhu <yu...@yahoo.com>.
Hi Shankar,

> I assume you are using Axis2/C binary version. 
Yes, that is right.

> Can you check the version of
> c:\windows\system32\libeay32.dll and 
> c:\windows\system32\libssl32.dll? You can right
> click it and get 
> properties and then check the version tab.

The version for both dlls is 0.9.8.8.  I am assuming that it maps to 0.9.8h.

> 
> we have not tested with openssl 0.9.8h. Theoritically it
> should work :) 
> . Is it possible for you to try with OpenSSL 0.9.8d or
> 0.9.8e and see 
> whether the problem exists? Then we can be sure whether the
> problem is 
> openssl or something else and further investigate.
> Optionally, you can 
> run Axis2/C through apache and try whether it works. You
> can get apache 
> with Openssl 0.9.8e from [1]
> 

Thanks.  I am not able to find an installation executable for earlier version of openssl for windows.  I tried the alternative approach, i.e. apache with openssl 0.9.8.e.

I followed the instructions to set up the http server, but it failed to start.  :(

Here is the error log:
-----------------------------------------------
[Mon Jul 07 13:55:49 2008] [notice] Child 6436: Starting thread to listen on port 80.
[Mon Jul 07 13:56:02 2008] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/axis2, referer: http://ws.apache.org/axis2/c/docs/axis2c_manual.html
[Mon Jul 07 13:56:02 2008] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Mon Jul 07 13:56:10 2008] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Mon Jul 07 13:56:46 2008] [notice] Parent: Received shutdown signal -- Shutting down the server.
-----------------------------------------------

This is what I have added to the httpd.conf.
-----------------------------------------------
LoadModule axis2_module modules/mod_axis2.so
Axis2RepoPath D:/Tools/axis2/axis2c-bin-1.4.0-win32
Axis2LogFile  D:/Tools/axis2/axis2c-bin-1.4.0-win32
Axis2LogLevel debug
Axis2MaxLogFileSize 8
<Location /axis2>
    SetHandler axis2_module
</Location>
-----------------------------------------------

What have I done wrong?

Thanks!

Yuan


> yuanhuhu wrote:
> > Hi,
> >
> > In order to isolate the problem, I tried the samples
> from rampart/c instead.  
> >
> > Here is the PATH setting in my system:
> > ----------------------------------------------
> >
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\bin>echo
> %PATH%
> >
> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\ATI Tec
> >
> hnologies\ATI.ACE\;D:\Tools\apache-maven-2.0.9\bin;C:
> > \Program Files\Microsoft SQL
> Server\90\Tools\bin\;C:\OpenSSL\bin;D:\Sun\SDK\bin;
> >
> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\ATI Tec
> >
> hnologies\ATI.ACE\;D:\Tools\apache-maven-2.0.9\bin;C:
> > \Program Files\Microsoft SQL
> Server\90\Tools\bin\;C:\OpenSSL\bin;D:\Tools\axis2\
> >
> axis2c-bin-1.4.0-win32\lib;D:\Tools\axis2\axis2c-bin-1.4.0-win32\bin;C:\OpenSSL\
> > lib
> > ----------------------------------------------
> >
> > I first started the axis2_http_server.exe, and here is
> the axis2.log it generated:
> > ----------------------------------------------
> > [Fri Jul 04 11:47:57 2008] [info]  Starting Axis2 HTTP
> server....
> > [Fri Jul 04 11:47:57 2008] [info]  Apache Axis2/C
> version in use : 1.4.0
> > [Fri Jul 04 11:47:57 2008] [info]  Server port : 8080
> > [Fri Jul 04 11:47:57 2008] [info]  Repo location : ../
> > [Fri Jul 04 11:47:57 2008] [info]  Read Timeout :
> 60000 ms
> > [Fri Jul 04 11:47:57 2008] [debug]
> ..\..\src\core\engine\phase.c(121)
> axis2_handler_t *request_uri_based_dispatcher added to the
> index 0 of the phase Transport
> > [Fri Jul 04 11:47:57 2008] [debug]
> ..\..\src\core\engine\phase.c(121)
> axis2_handler_t *addressing_based_dispatcher added to the
> index 1 of the phase Transport
> > [Fri Jul 04 11:47:57 2008] [debug]
> ..\..\src\core\engine\phase.c(121)
> axis2_handler_t *rest_dispatcher added to the index 0 of
> the phase Dispatch
> > [Fri Jul 04 11:47:57 2008] [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 Jul 04 11:47:57 2008] [debug]
> ..\..\src\core\engine\phase.c(121)
> axis2_handler_t *soap_action_based_dispatcher added to the
> index 2 of the phase Dispatch
> > [Fri Jul 04 11:47:57 2008] [debug]
> ..\..\src\core\engine\phase.c(121)
> axis2_handler_t *dispatch_post_conditions_evaluator added
> to the index 0 of the phase PostDispatch
> > [Fri Jul 04 11:47:57 2008] [debug]
> ..\..\src\core\engine\phase.c(121)
> axis2_handler_t *context_handler added to the index 1 of
> the phase PostDispatch
> > [Fri Jul 04 11:47:57 2008] [debug]
> ..\..\src\core\deployment\conf_builder.c(233)
> No custom dispatching order found. Continue with the default
> dispatching order
> > [Fri Jul 04 11:47:57 2008] [debug]
> ..\..\src\core\deployment\conf_builder.c(378)
> Module addressing found in axis2.xml
> > [Fri Jul 04 11:47:57 2008] [debug]
> ..\..\src\core\deployment\conf_builder.c(378)
> Module rampart found in axis2.xml
> > [Fri Jul 04 11:47:57 2008] [debug]
> ..\..\util\src\class_loader.c(141) Object
> loaded successfully
> > [Fri Jul 04 11:47:57 2008] [debug]
> ..\..\util\src\class_loader.c(141) Object
> loaded successfully
> > [Fri Jul 04 11:47:57 2008] [debug]
> ..\..\src\core\deployment\dep_engine.c(1306)
> axis2_dep_engine_load_module_dll: DLL path is :
> ..//modules/addressing/axis2_mod_addr.dll
> > [Fri Jul 04 11:47:57 2008] [debug]
> ..\..\util\src\class_loader.c(141) Object
> loaded successfully
> > [Fri Jul 04 11:47:57 2008] [debug]
> ..\..\src\core\deployment\dep_engine.c(1306)
> axis2_dep_engine_load_module_dll: DLL path is :
> ..//modules/logging/axis2_mod_log.dll
> > [Fri Jul 04 11:47:57 2008] [debug]
> ..\..\util\src\class_loader.c(141) Object
> loaded successfully
> > [Fri Jul 04 11:47:57 2008] [debug]
> ..\..\src\core\deployment\dep_engine.c(1306)
> axis2_dep_engine_load_module_dll: DLL path is :
> ..//modules/rampart/mod_rampart.dll
> > [Fri Jul 04 11:47:57 2008] [error]
> ..\..\util\src\class_loader.c(161) dlerror
> reason: Something went wrong loading the DLL. If you happen
> to see this message, please note that getting the exact
> error form Windows is a TODO. And if possible please help
> fix it. :)
> > [Fri Jul 04 11:47:57 2008] [error]
> ..\..\src\core\deployment\dep_engine.c(1424)
> Loading module description rampart failed
> > [Fri Jul 04 11:47:57 2008] [error]
> ..\..\src\core\deployment\dep_engine.c(1588)
> Adding new module rampart to the deployment engine failed
> > [Fri Jul 04 11:47:57 2008] [error]
> ..\..\src\core\deployment\repos_listener.c(136)
> Repository listener initialization failed
> > [Fri Jul 04 11:47:57 2008] [error]
> ..\..\src\core\deployment\dep_engine.c(788)
> dep_engine repos listener creation failed, folder name is
> ../
> > [Fri Jul 04 11:47:57 2008] [error]
> ..\..\src\core\deployment\conf_init.c(64)
> Loading deployment engine failed for repository ../.
> > [Fri Jul 04 11:47:57 2008] [error]
> ..\..\src\core\transport\http\receiver\http_receiver.c(127)
> unable to create private configuration contextfor repo path
> ../
> > [Fri Jul 04 11:47:57 2008] [error]
> ..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(215)
> Server creation failed: Error code: 34 :: Repository
> listener initialization failed
> > ----------------------------------------------
> >
> >
> > The sec_echo client for scenario 1 returns the
> following error:
> > ----------------------------------------------
> >
> D:\Tools\axis2\rampartc-src-1.2.0\samples\client\sec_echo>update_n_run.bat
> > "Copying latest module to client_repo"
> >
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart\module.xml
> >
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart\mod_rampart.dll
> > 2 File(s) copied
> > Using endpoint :
> http://localhost:9090/axis2/services/sec_echo/echoString
> > Using client_home :
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo
> > client_home=
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repoError
> creating ser
> > vice client
> > ----------------------------------------------
> >
> > And this is the contain in the echo.log:
> > -------------------------------------------------
> > [Fri Jul 04 11:49:19 2008] [debug]
> ..\..\src\core\engine\phase.c(121)
> axis2_handler_t *request_uri_based_dispatcher added to the
> index 0 of the phase Transport
> > [Fri Jul 04 11:49:19 2008] [debug]
> ..\..\src\core\engine\phase.c(121)
> axis2_handler_t *addressing_based_dispatcher added to the
> index 1 of the phase Transport
> > [Fri Jul 04 11:49:19 2008] [debug]
> ..\..\src\core\engine\phase.c(121)
> axis2_handler_t *rest_dispatcher added to the index 0 of
> the phase Dispatch
> > [Fri Jul 04 11:49:19 2008] [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 Jul 04 11:49:19 2008] [debug]
> ..\..\src\core\engine\phase.c(121)
> axis2_handler_t *soap_action_based_dispatcher added to the
> index 2 of the phase Dispatch
> > [Fri Jul 04 11:49:19 2008] [debug]
> ..\..\src\core\engine\phase.c(121)
> axis2_handler_t *dispatch_post_conditions_evaluator added
> to the index 0 of the phase PostDispatch
> > [Fri Jul 04 11:49:19 2008] [debug]
> ..\..\src\core\engine\phase.c(121)
> axis2_handler_t *context_handler added to the index 1 of
> the phase PostDispatch
> > [Fri Jul 04 11:49:19 2008] [debug]
> ..\..\src\core\deployment\conf_builder.c(233)
> No custom dispatching order found. Continue with the default
> dispatching order
> > [Fri Jul 04 11:49:19 2008] [debug]
> ..\..\src\core\deployment\conf_builder.c(378)
> Module addressing found in axis2.xml
> > [Fri Jul 04 11:49:19 2008] [debug]
> ..\..\src\core\deployment\conf_builder.c(378)
> Module rampart found in axis2.xml
> > [Fri Jul 04 11:49:19 2008] [debug]
> ..\..\util\src\class_loader.c(141) Object
> loaded successfully
> > [Fri Jul 04 11:49:19 2008] [debug]
> ..\..\util\src\class_loader.c(141) Object
> loaded successfully
> > [Fri Jul 04 11:49:19 2008] [error]
> ..\..\util\src\dir_handler.c(219) No files
> in the path
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo/services.
> > [Fri Jul 04 11:49:19 2008] [debug]
> ..\..\src\core\deployment\dep_engine.c(1306)
> axis2_dep_engine_load_module_dll: DLL path is :
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo/modules/addressing/axis2_mod_addr.dll
> > [Fri Jul 04 11:49:19 2008] [debug]
> ..\..\util\src\class_loader.c(141) Object
> loaded successfully
> > [Fri Jul 04 11:49:19 2008] [debug]
> ..\..\src\core\deployment\dep_engine.c(1306)
> axis2_dep_engine_load_module_dll: DLL path is :
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo/modules/logging/axis2_mod_log.dll
> > [Fri Jul 04 11:49:19 2008] [debug]
> ..\..\util\src\class_loader.c(141) Object
> loaded successfully
> > [Fri Jul 04 11:49:19 2008] [debug]
> ..\..\src\core\deployment\dep_engine.c(1306)
> axis2_dep_engine_load_module_dll: DLL path is :
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo/modules/rampart/mod_rampart.dll
> > [Fri Jul 04 11:49:19 2008] [error]
> ..\..\util\src\class_loader.c(161) dlerror
> reason: Something went wrong loading the DLL. If you happen
> to see this message, please note that getting the exact
> error form Windows is a TODO. And if possible please help
> fix it. :)
> > [Fri Jul 04 11:49:19 2008] [error]
> ..\..\src\core\deployment\dep_engine.c(1424)
> Loading module description rampart failed
> > [Fri Jul 04 11:49:19 2008] [error]
> ..\..\src\core\deployment\dep_engine.c(1588)
> Adding new module rampart to the deployment engine failed
> > [Fri Jul 04 11:49:19 2008] [error]
> ..\..\src\core\deployment\repos_listener.c(136)
> Repository listener initialization failed
> > [Fri Jul 04 11:49:19 2008] [debug]
> ..\..\src\core\phaseresolver\phase_holder.c(139)
> Add handler AddressingInHandler to phase Transport
> > [Fri Jul 04 11:49:19 2008] [debug]
> ..\..\src\core\deployment\dep_engine.c(1306)
> axis2_dep_engine_load_module_dll: DLL path is :
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo/modules/rampart/mod_rampart.dll
> > [Fri Jul 04 11:49:19 2008] [error]
> ..\..\util\src\class_loader.c(161) dlerror
> reason: Something went wrong loading the DLL. If you happen
> to see this message, please note that getting the exact
> error form Windows is a TODO. And if possible please help
> fix it. :)
> > [Fri Jul 04 11:49:19 2008] [error]
> ..\..\src\core\deployment\dep_engine.c(1783)
> Loading module dll rampart failed
> > [Fri Jul 04 11:49:19 2008] [error]
> ..\..\src\core\engine\conf.c(1585)
> Either module description not set or building module
> description failed for module rampart
> > [Fri Jul 04 11:49:19 2008] [error]
> ..\..\src\core\deployment\dep_engine.c(1077)
> Engaging module rampart to Axis2 Configuration failed
> > [Fri Jul 04 11:49:19 2008] [error]
> ..\..\src\core\deployment\dep_engine.c(993)
> Module engage failed for deployment engine
> > [Fri Jul 04 11:49:19 2008] [error]
> ..\..\src\core\deployment\conf_init.c(195)
> Loading deployment engine failed for client repository
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo
> > ----------------------------------------------
> >
> >
> > Thanks!
> >
> > Yuan
> >
> >
> >
> >
> > --- On Sat, 7/5/08, yuanhuhu
> <yu...@yahoo.com> wrote:
> >
> >   
> >> From: yuanhuhu <yu...@yahoo.com>
> >> Subject: Re: Failed to load mod_rampart.dll
> >> To: "Apache AXIS C User List"
> <ax...@ws.apache.org>
> >> Date: Saturday, July 5, 2008, 12:45 AM
> >> Hi Shankar,
> >>
> >>     
> >>> This could also be a problem with openssl
> library.
> >>>       
> >> What is
> >>     
> >>> the version 
> >>> of openssl you are using? Are you using
> rampart binary
> >>> version or source 
> >>> version? If it is binary version, it was
> compiled with
> >>> openssl 0.9.8d. 
> >>> So you have to have either that version or
> version
> >>>       
> >> higher
> >>     
> >>> than that.
> >>>       
> >> I am using the rampart binary version.  I have
> installed
> >> OpenSSL 0.9.8h on Windows XP.  I have also added
> >> <OpenSSL installation path>/bin to PATH.  I
> started
> >> my test client through VC++ 2005 express edition,
> would
> >> this cause trouble? I have copied all the files in
> >> C:\OpenSSL\lib\VC to <PATH to
> >> VisualStudio>\VC\lib.  But I still have
> no luck.
> >>  :(
> >>
> >>
> >> Thanks!
> >>
> >> Yuan
> >>
> >>
> >>
> >>     
> >>> Manjula Peiris wrote:
> >>>       
> >>>> Yuan,
> >>>>
> >>>> Please check the following.
> >>>> -Whether you have engaged Rampart either
> >>>>         
> >> pragmatically
> >>     
> >>> from your client
> >>>       
> >>>> code or in your axis2.xml
> >>>> -Whether the Security phase is there in
> your
> >>>>         
> >> axis2.xml
> >>     
> >>>> -Manjula.
> >>>>
> >>>>
> >>>> On Thu, 2008-07-03 at 15:52 -0700,
> yuanhuhu
> >>>>         
> >> wrote:
> >>     
> >>>>   
> >>>>         
> >>>>> Hi,
> >>>>>
> >>>>> I am trying to add in authentication
> to my
> >>>>>           
> >> Axis2/c
> >>     
> >>> client.
> >>>       
> >>>>> I downloaded the latest rampart C 1.2
> and
> >>>>>           
> >> deployed
> >>     
> >>> to my axis2/c 1.4.
> >>>       
> >>>>> I followed the samples from rampart C
> and
> >>>>>           
> >> added
> >>     
> >>> the following lines to my Axis2/C client.  The
> >>>       
> >> client_home
> >>     
> >>> points to my Axis2/C installation:
> >>>
> D:\Tools\axis2\axis2c-bin-1.4.0-win32
> >>>       
> >>
> --------------------------------------------------------
> >>     
> >>>>>     /*We need to specify the
> client's
> >>>>>           
> >> policy
> >>     
> >>> file location*/
> >>>       
> >>>>>     if(client_home)
> >>>>>     {
> >>>>>         file_name =
> axutil_stracat(env,
> >>>>>           
> >>> client_home,
> >>>       
> >> "\\client_repo\\");
> >>     
> >>>>>         policy_file =
> axutil_stracat(env,
> >>>>>           
> >>> file_name, "policy.xml" );
> >>>       
> >>>>>         AXIS2_FREE(env->allocator,
> >>>>>           
> >> file_name);
> >>     
> >>>>>         file_name = NULL;        
> >>>>>     }else{
> >>>>>         printf("Client Home not
> >>>>>           
> >>> Specified\n");
> >>>       
> >>>>>         printf("echo client
> invoke
> >>>>>           
> >>> FAILED!\n");
> >>>       
> >>>>>         return 0;
> >>>>>     }
> >>>>>     /*Create the policy, from file*/  
> 
> >>>>>     policy =
> >>>>>           
> >>> neethi_util_create_policy_from_file(env,
> policy_file);
> >>>       
> >>>>>     if(policy_file){
> >>>>>         AXIS2_FREE(env->allocator,
> >>>>>           
> >>> policy_file);
> >>>       
> >>>>>         policy_file = NULL;
> >>>>>     }
> >>>>>     if(!policy)
> >>>>>     {
> >>>>>         printf("\nPolicy
> creation
> >>>>>           
> >> failed
> >>     
> >>> from the file. %s\n", policy_file);
> >>>       
> >>>>>     }
> >>>>>
> >>>>>
> >>>>> 	stub =
> >>>>>        
> >>>>>           
> >>> axis2_stub_create_SecureServiceService(env,
> >>>       
> >> client_home,
> >>     
> >>> address);
> >>>       
> >>>>> 	if( NULL == stub ){
> >>>>> 		printf("Unable to create the
> stub with
> >>>>>           
> >>> address='%s' and
> >>> client_home='%s'.\n",
> address,
> >>> client_home);
> >>>       
> >>>>> 		if (env)
> >>>>> 		{
> >>>>> 			axutil_env_free((axutil_env_t *)
> env);
> >>>>> 			env = NULL;
> >>>>> 		}
> >>>>> 		exit(1);
> >>>>> 	}
> >>>>>
> >>>>> 	svc_client =
> axis2_stub_get_svc_client(stub,
> >>>>>           
> >> env
> >>     
> >>> );
> >>>       
> >>>>>     options = axis2_stub_get_options(
> stub,
> >>>>>           
> >> env);
> >>     
> >>>>>     if (NULL == options)
> >>>>>     {
> >>>>>         AXIS2_ERROR_SET(env->error,
> >>>>>           
> >>> AXIS2_ERROR_INVALID_NULL_PARAM,
> AXIS2_FAILURE);
> >>>       
> >>>>>         AXIS2_LOG_ERROR(env->log,
> >>>>>           
> >> AXIS2_LOG_SI,
> >>     
> >>> "options is null in stub");
> >>>       
> >>>>>         return NULL;
> >>>>>     }
> >>>>>    
> axis2_options_set_manage_session(options,
> >>>>>           
> >> env,
> >>     
> >>> AXIS2_TRUE);
> >>>       
> >>>>>     status =
> >>>>>           
> >>> axis2_svc_client_set_policy(svc_client, env,
> policy);
> >>>       
> >>>>>     if(status == AXIS2_FAILURE)
> >>>>>     {
> >>>>>         printf("Policy setting
> >>>>>           
> >>> failed\n");
> >>>       
> >>>>>     }
> >>>>>     
> >>>>>
> >>>>>           
> >>
> --------------------------------------------------------
> >>     
> >>>>> The code seems to run smoothly, but I
> >>>>>           
> >> can't
> >>     
> >>> see the security header appear in the client
> request. 
> >>>       
> >> I
> >>     
> >>> took at look at the log file generated and
> found that
> >>>       
> >> the
> >>     
> >>> rampart dll is not loaded correctly.
> >>>       
> >>>>>           
> >>
> ---------------------------------------------------------------
> >>     
> >>>>> [Thu Jul 03 15:23:33 2008] [debug]
> >>>>>           
> >>
> ..\..\src\core\deployment\dep_engine.c(1306)
> >>     
> >>> axis2_dep_engine_load_module_dll: DLL path is
> :
> >>>
> >>>       
> >>
> D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/addressing/axis2_mod_addr.dll
> >>     
> >>>>> [Thu Jul 03 15:23:33 2008] [debug]
> >>>>>           
> >>>
> ..\..\util\src\class_loader.c(141)
> >>>       
> >> Object
> >>     
> >>> loaded successfully
> >>>       
> >>>>> [Thu Jul 03 15:23:33 2008] [debug]
> >>>>>           
> >>
> ..\..\src\core\deployment\dep_engine.c(1306)
> >>     
> >>> axis2_dep_engine_load_module_dll: DLL path is
> :
> >>>
> >>>       
> >>
> D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/logging/axis2_mod_log.dll
> >>     
> >>>>> [Thu Jul 03 15:23:33 2008] [debug]
> >>>>>           
> >>>
> ..\..\util\src\class_loader.c(141)
> >>>       
> >> Object
> >>     
> >>> loaded successfully
> >>>       
> >>>>> [Thu Jul 03 15:23:33 2008] [debug]
> >>>>>           
> >>
> ..\..\src\core\deployment\dep_engine.c(1306)
> >>     
> >>> axis2_dep_engine_load_module_dll: DLL path is
> :
> >>>
> >>>       
> >>
> D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/rampart/mod_rampart.dll
> >>     
> >>>>> [Thu Jul 03 15:23:33 2008] [error]
> >>>>>           
> >>>
> ..\..\util\src\class_loader.c(161)
> >>>       
> >> dlerror
> >>     
> >>> reason: Something went wrong loading the DLL.
> If you
> >>>       
> >> happen
> >>     
> >>> to see this message, please note that getting
> the
> >>>       
> >> exact
> >>     
> >>> error form Windows is a TODO. And if possible
> please
> >>>       
> >> help
> >>     
> >>> fix it. :)
> >>>       
> >>>>> [Thu Jul 03 15:23:33 2008] [error]
> >>>>>           
> >>
> ..\..\src\core\deployment\dep_engine.c(1424)
> >>     
> >>> Loading module description rampart failed
> >>>       
> >>>>> [Thu Jul 03 15:23:33 2008] [error]
> >>>>>           
> >>
> ..\..\src\core\deployment\dep_engine.c(1588)
> >>     
> >>> Adding new module rampart to the deployment
> engine
> >>>       
> >> failed
> >>     
> >>>>> [Thu Jul 03 15:23:33 2008] [error]
> >>>>>           
> >>
> ..\..\src\core\deployment\repos_listener.c(136)
> >>     
> >>> Repository listener initialization failed
> >>>       
> >>>>> [Thu Jul 03 15:23:33 2008] [debug]
> >>>>>           
> >>
> ..\..\src\core\phaseresolver\phase_holder.c(139)
> >>     
> >>> Add handler AddressingInHandler to phase
> Transport
> >>>       
> >>>>>           
> >>
> ---------------------------------------------------------------
> >>     
> >>>>> I verified that the dll does exist in
> the
> >>>>>           
> >> path
> >>     
> >>> indicated in the log file:
> >>>       
> >>>>>           
> >>
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart>dir
> >>     
> >>>>>  Volume in drive D is Data
> >>>>>  Volume Serial Number is 40CF-E9CF
> >>>>>
> >>>>>  Directory of
> >>>>>           
> >>
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart
> >>     
> >>>>> 07/03/2008  02:22 PM    <DIR>   
>      
> >>>>>           
> >> .
> >>     
> >>>>> 07/03/2008  02:22 PM    <DIR>   
>      
> >>>>>           
> >> ..
> >>     
> >>>>> 09/19/2007  12:04 PM               515
> >>>>>           
> >> module.xml
> >>     
> >>>>> 05/07/2008  05:13 PM           335,872
> >>>>>           
> >>> mod_rampart.dll
> >>>       
> >>>>>                2 File(s)       
> 336,387 bytes
> >>>>>                2 Dir(s) 
> 56,762,257,408 bytes
> >>>>>           
> >> free
> >>     
> >>>>>
> >>>>>
> >>>>> Any idea how to troubleshoot or
> workaround
> >>>>>           
> >> the
> >>     
> >>> problem?
> >>>       
> >>>>> Thanks!
> >>>>>
> >>>>> Yuan
> >>>>>
> >>>>>
> >>>>>       
> >>>>>
> >>>>>
> >>>>>           
> >>
> ---------------------------------------------------------------------
> >>     
> >>>>> To unsubscribe, e-mail:
> >>>>>           
> >>> axis-c-user-unsubscribe@ws.apache.org
> >>>       
> >>>>> For additional commands, e-mail:
> >>>>>           
> >>> axis-c-user-help@ws.apache.org
> >>>       
> >>>>>     
> >>>>>           
> >>>>
> >>>>         
> >>
> ---------------------------------------------------------------------
> >>     
> >>>> To unsubscribe, e-mail:
> >>>>         
> >>> axis-c-user-unsubscribe@ws.apache.org
> >>>       
> >>>> For additional commands, e-mail:
> >>>>         
> >>> axis-c-user-help@ws.apache.org
> >>>       
> >>>>
> >>>>   
> >>>>         
> >>>
> >>>       
> >>
> ---------------------------------------------------------------------
> >>     
> >>> To unsubscribe, e-mail:
> >>> axis-c-user-unsubscribe@ws.apache.org
> >>> For additional commands, e-mail:
> >>> axis-c-user-help@ws.apache.org
> >>>       
> >>       
> >>
> >>
> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
> >> axis-c-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail:
> >> axis-c-user-help@ws.apache.org
> >>     
> >
> >
> >       
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> axis-c-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail:
> axis-c-user-help@ws.apache.org
> >
> >
> >
> >   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail:
> axis-c-user-help@ws.apache.org


      

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Failed to load mod_rampart.dll

Posted by Uthaiyashankar <sh...@wso2.com>.
Hi Yuan,

I assume you are using Axis2/C binary version. If not, what are the 
compilation options you used to compile Axis2/C?

Can you check the version of c:\windows\system32\libeay32.dll and 
c:\windows\system32\libssl32.dll? You can right click it and get 
properties and then check the version tab.

we have not tested with openssl 0.9.8h. Theoritically it should work :) 
. Is it possible for you to try with OpenSSL 0.9.8d or 0.9.8e and see 
whether the problem exists? Then we can be sure whether the problem is 
openssl or something else and further investigate. Optionally, you can 
run Axis2/C through apache and try whether it works. You can get apache 
with Openssl 0.9.8e from [1]

Regards,
Shankar.

[1] 
http://archive.apache.org/dist/httpd/binaries/win32/apache_2.2.6-win32-x86-openssl-0.9.8e.msi

yuanhuhu wrote:
> Hi,
>
> In order to isolate the problem, I tried the samples from rampart/c instead.  
>
> Here is the PATH setting in my system:
> ----------------------------------------------
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\bin>echo %PATH%
> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Tec
> hnologies\ATI.ACE\;D:\Tools\apache-maven-2.0.9\bin;C:
> \Program Files\Microsoft SQL Server\90\Tools\bin\;C:\OpenSSL\bin;D:\Sun\SDK\bin;
> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Tec
> hnologies\ATI.ACE\;D:\Tools\apache-maven-2.0.9\bin;C:
> \Program Files\Microsoft SQL Server\90\Tools\bin\;C:\OpenSSL\bin;D:\Tools\axis2\
> axis2c-bin-1.4.0-win32\lib;D:\Tools\axis2\axis2c-bin-1.4.0-win32\bin;C:\OpenSSL\
> lib
> ----------------------------------------------
>
> I first started the axis2_http_server.exe, and here is the axis2.log it generated:
> ----------------------------------------------
> [Fri Jul 04 11:47:57 2008] [info]  Starting Axis2 HTTP server....
> [Fri Jul 04 11:47:57 2008] [info]  Apache Axis2/C version in use : 1.4.0
> [Fri Jul 04 11:47:57 2008] [info]  Server port : 8080
> [Fri Jul 04 11:47:57 2008] [info]  Repo location : ../
> [Fri Jul 04 11:47:57 2008] [info]  Read Timeout : 60000 ms
> [Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport
> [Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport
> [Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch
> [Fri Jul 04 11:47:57 2008] [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 Jul 04 11:47:57 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch
> [Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the phase PostDispatch
> [Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch
> [Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\deployment\conf_builder.c(233) No custom dispatching order found. Continue with the default dispatching order
> [Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\deployment\conf_builder.c(378) Module addressing found in axis2.xml
> [Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\deployment\conf_builder.c(378) Module rampart found in axis2.xml
> [Fri Jul 04 11:47:57 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
> [Fri Jul 04 11:47:57 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
> [Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : ..//modules/addressing/axis2_mod_addr.dll
> [Fri Jul 04 11:47:57 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
> [Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : ..//modules/logging/axis2_mod_log.dll
> [Fri Jul 04 11:47:57 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
> [Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : ..//modules/rampart/mod_rampart.dll
> [Fri Jul 04 11:47:57 2008] [error] ..\..\util\src\class_loader.c(161) dlerror reason: Something went wrong loading the DLL. If you happen to see this message, please note that getting the exact error form Windows is a TODO. And if possible please help fix it. :)
> [Fri Jul 04 11:47:57 2008] [error] ..\..\src\core\deployment\dep_engine.c(1424) Loading module description rampart failed
> [Fri Jul 04 11:47:57 2008] [error] ..\..\src\core\deployment\dep_engine.c(1588) Adding new module rampart to the deployment engine failed
> [Fri Jul 04 11:47:57 2008] [error] ..\..\src\core\deployment\repos_listener.c(136) Repository listener initialization failed
> [Fri Jul 04 11:47:57 2008] [error] ..\..\src\core\deployment\dep_engine.c(788) dep_engine repos listener creation failed, folder name is ../
> [Fri Jul 04 11:47:57 2008] [error] ..\..\src\core\deployment\conf_init.c(64) Loading deployment engine failed for repository ../.
> [Fri Jul 04 11:47:57 2008] [error] ..\..\src\core\transport\http\receiver\http_receiver.c(127) unable to create private configuration contextfor repo path ../
> [Fri Jul 04 11:47:57 2008] [error] ..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(215) Server creation failed: Error code: 34 :: Repository listener initialization failed
> ----------------------------------------------
>
>
> The sec_echo client for scenario 1 returns the following error:
> ----------------------------------------------
> D:\Tools\axis2\rampartc-src-1.2.0\samples\client\sec_echo>update_n_run.bat
> "Copying latest module to client_repo"
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart\module.xml
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart\mod_rampart.dll
> 2 File(s) copied
> Using endpoint : http://localhost:9090/axis2/services/sec_echo/echoString
> Using client_home : D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo
> client_home= D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repoError creating ser
> vice client
> ----------------------------------------------
>
> And this is the contain in the echo.log:
> -------------------------------------------------
> [Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport
> [Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport
> [Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch
> [Fri Jul 04 11:49:19 2008] [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 Jul 04 11:49:19 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch
> [Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the phase PostDispatch
> [Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch
> [Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\deployment\conf_builder.c(233) No custom dispatching order found. Continue with the default dispatching order
> [Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\deployment\conf_builder.c(378) Module addressing found in axis2.xml
> [Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\deployment\conf_builder.c(378) Module rampart found in axis2.xml
> [Fri Jul 04 11:49:19 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
> [Fri Jul 04 11:49:19 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
> [Fri Jul 04 11:49:19 2008] [error] ..\..\util\src\dir_handler.c(219) No files in the path D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo/services.
> [Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo/modules/addressing/axis2_mod_addr.dll
> [Fri Jul 04 11:49:19 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
> [Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo/modules/logging/axis2_mod_log.dll
> [Fri Jul 04 11:49:19 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
> [Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo/modules/rampart/mod_rampart.dll
> [Fri Jul 04 11:49:19 2008] [error] ..\..\util\src\class_loader.c(161) dlerror reason: Something went wrong loading the DLL. If you happen to see this message, please note that getting the exact error form Windows is a TODO. And if possible please help fix it. :)
> [Fri Jul 04 11:49:19 2008] [error] ..\..\src\core\deployment\dep_engine.c(1424) Loading module description rampart failed
> [Fri Jul 04 11:49:19 2008] [error] ..\..\src\core\deployment\dep_engine.c(1588) Adding new module rampart to the deployment engine failed
> [Fri Jul 04 11:49:19 2008] [error] ..\..\src\core\deployment\repos_listener.c(136) Repository listener initialization failed
> [Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingInHandler to phase Transport
> [Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo/modules/rampart/mod_rampart.dll
> [Fri Jul 04 11:49:19 2008] [error] ..\..\util\src\class_loader.c(161) dlerror reason: Something went wrong loading the DLL. If you happen to see this message, please note that getting the exact error form Windows is a TODO. And if possible please help fix it. :)
> [Fri Jul 04 11:49:19 2008] [error] ..\..\src\core\deployment\dep_engine.c(1783) Loading module dll rampart failed
> [Fri Jul 04 11:49:19 2008] [error] ..\..\src\core\engine\conf.c(1585) Either module description not set or building module description failed for module rampart
> [Fri Jul 04 11:49:19 2008] [error] ..\..\src\core\deployment\dep_engine.c(1077) Engaging module rampart to Axis2 Configuration failed
> [Fri Jul 04 11:49:19 2008] [error] ..\..\src\core\deployment\dep_engine.c(993) Module engage failed for deployment engine
> [Fri Jul 04 11:49:19 2008] [error] ..\..\src\core\deployment\conf_init.c(195) Loading deployment engine failed for client repository D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo
> ----------------------------------------------
>
>
> Thanks!
>
> Yuan
>
>
>
>
> --- On Sat, 7/5/08, yuanhuhu <yu...@yahoo.com> wrote:
>
>   
>> From: yuanhuhu <yu...@yahoo.com>
>> Subject: Re: Failed to load mod_rampart.dll
>> To: "Apache AXIS C User List" <ax...@ws.apache.org>
>> Date: Saturday, July 5, 2008, 12:45 AM
>> Hi Shankar,
>>
>>     
>>> This could also be a problem with openssl library.
>>>       
>> What is
>>     
>>> the version 
>>> of openssl you are using? Are you using rampart binary
>>> version or source 
>>> version? If it is binary version, it was compiled with
>>> openssl 0.9.8d. 
>>> So you have to have either that version or version
>>>       
>> higher
>>     
>>> than that.
>>>       
>> I am using the rampart binary version.  I have installed
>> OpenSSL 0.9.8h on Windows XP.  I have also added
>> <OpenSSL installation path>/bin to PATH.  I started
>> my test client through VC++ 2005 express edition, would
>> this cause trouble? I have copied all the files in
>> C:\OpenSSL\lib\VC to <PATH to
>> VisualStudio>\VC\lib.  But I still have no luck.
>>  :(
>>
>>
>> Thanks!
>>
>> Yuan
>>
>>
>>
>>     
>>> Manjula Peiris wrote:
>>>       
>>>> Yuan,
>>>>
>>>> Please check the following.
>>>> -Whether you have engaged Rampart either
>>>>         
>> pragmatically
>>     
>>> from your client
>>>       
>>>> code or in your axis2.xml
>>>> -Whether the Security phase is there in your
>>>>         
>> axis2.xml
>>     
>>>> -Manjula.
>>>>
>>>>
>>>> On Thu, 2008-07-03 at 15:52 -0700, yuanhuhu
>>>>         
>> wrote:
>>     
>>>>   
>>>>         
>>>>> Hi,
>>>>>
>>>>> I am trying to add in authentication to my
>>>>>           
>> Axis2/c
>>     
>>> client.
>>>       
>>>>> I downloaded the latest rampart C 1.2 and
>>>>>           
>> deployed
>>     
>>> to my axis2/c 1.4.
>>>       
>>>>> I followed the samples from rampart C and
>>>>>           
>> added
>>     
>>> the following lines to my Axis2/C client.  The
>>>       
>> client_home
>>     
>>> points to my Axis2/C installation:
>>> D:\Tools\axis2\axis2c-bin-1.4.0-win32
>>>       
>> --------------------------------------------------------
>>     
>>>>>     /*We need to specify the client's
>>>>>           
>> policy
>>     
>>> file location*/
>>>       
>>>>>     if(client_home)
>>>>>     {
>>>>>         file_name = axutil_stracat(env,
>>>>>           
>>> client_home,
>>>       
>> "\\client_repo\\");
>>     
>>>>>         policy_file = axutil_stracat(env,
>>>>>           
>>> file_name, "policy.xml" );
>>>       
>>>>>         AXIS2_FREE(env->allocator,
>>>>>           
>> file_name);
>>     
>>>>>         file_name = NULL;        
>>>>>     }else{
>>>>>         printf("Client Home not
>>>>>           
>>> Specified\n");
>>>       
>>>>>         printf("echo client invoke
>>>>>           
>>> FAILED!\n");
>>>       
>>>>>         return 0;
>>>>>     }
>>>>>     /*Create the policy, from file*/   
>>>>>     policy =
>>>>>           
>>> neethi_util_create_policy_from_file(env, policy_file);
>>>       
>>>>>     if(policy_file){
>>>>>         AXIS2_FREE(env->allocator,
>>>>>           
>>> policy_file);
>>>       
>>>>>         policy_file = NULL;
>>>>>     }
>>>>>     if(!policy)
>>>>>     {
>>>>>         printf("\nPolicy creation
>>>>>           
>> failed
>>     
>>> from the file. %s\n", policy_file);
>>>       
>>>>>     }
>>>>>
>>>>>
>>>>> 	stub =
>>>>>        
>>>>>           
>>> axis2_stub_create_SecureServiceService(env,
>>>       
>> client_home,
>>     
>>> address);
>>>       
>>>>> 	if( NULL == stub ){
>>>>> 		printf("Unable to create the stub with
>>>>>           
>>> address='%s' and
>>> client_home='%s'.\n", address,
>>> client_home);
>>>       
>>>>> 		if (env)
>>>>> 		{
>>>>> 			axutil_env_free((axutil_env_t *) env);
>>>>> 			env = NULL;
>>>>> 		}
>>>>> 		exit(1);
>>>>> 	}
>>>>>
>>>>> 	svc_client = axis2_stub_get_svc_client(stub,
>>>>>           
>> env
>>     
>>> );
>>>       
>>>>>     options = axis2_stub_get_options( stub,
>>>>>           
>> env);
>>     
>>>>>     if (NULL == options)
>>>>>     {
>>>>>         AXIS2_ERROR_SET(env->error,
>>>>>           
>>> AXIS2_ERROR_INVALID_NULL_PARAM, AXIS2_FAILURE);
>>>       
>>>>>         AXIS2_LOG_ERROR(env->log,
>>>>>           
>> AXIS2_LOG_SI,
>>     
>>> "options is null in stub");
>>>       
>>>>>         return NULL;
>>>>>     }
>>>>>     axis2_options_set_manage_session(options,
>>>>>           
>> env,
>>     
>>> AXIS2_TRUE);
>>>       
>>>>>     status =
>>>>>           
>>> axis2_svc_client_set_policy(svc_client, env, policy);
>>>       
>>>>>     if(status == AXIS2_FAILURE)
>>>>>     {
>>>>>         printf("Policy setting
>>>>>           
>>> failed\n");
>>>       
>>>>>     }
>>>>>     
>>>>>
>>>>>           
>> --------------------------------------------------------
>>     
>>>>> The code seems to run smoothly, but I
>>>>>           
>> can't
>>     
>>> see the security header appear in the client request. 
>>>       
>> I
>>     
>>> took at look at the log file generated and found that
>>>       
>> the
>>     
>>> rampart dll is not loaded correctly.
>>>       
>>>>>           
>> ---------------------------------------------------------------
>>     
>>>>> [Thu Jul 03 15:23:33 2008] [debug]
>>>>>           
>> ..\..\src\core\deployment\dep_engine.c(1306)
>>     
>>> axis2_dep_engine_load_module_dll: DLL path is :
>>>
>>>       
>> D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/addressing/axis2_mod_addr.dll
>>     
>>>>> [Thu Jul 03 15:23:33 2008] [debug]
>>>>>           
>>> ..\..\util\src\class_loader.c(141)
>>>       
>> Object
>>     
>>> loaded successfully
>>>       
>>>>> [Thu Jul 03 15:23:33 2008] [debug]
>>>>>           
>> ..\..\src\core\deployment\dep_engine.c(1306)
>>     
>>> axis2_dep_engine_load_module_dll: DLL path is :
>>>
>>>       
>> D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/logging/axis2_mod_log.dll
>>     
>>>>> [Thu Jul 03 15:23:33 2008] [debug]
>>>>>           
>>> ..\..\util\src\class_loader.c(141)
>>>       
>> Object
>>     
>>> loaded successfully
>>>       
>>>>> [Thu Jul 03 15:23:33 2008] [debug]
>>>>>           
>> ..\..\src\core\deployment\dep_engine.c(1306)
>>     
>>> axis2_dep_engine_load_module_dll: DLL path is :
>>>
>>>       
>> D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/rampart/mod_rampart.dll
>>     
>>>>> [Thu Jul 03 15:23:33 2008] [error]
>>>>>           
>>> ..\..\util\src\class_loader.c(161)
>>>       
>> dlerror
>>     
>>> reason: Something went wrong loading the DLL. If you
>>>       
>> happen
>>     
>>> to see this message, please note that getting the
>>>       
>> exact
>>     
>>> error form Windows is a TODO. And if possible please
>>>       
>> help
>>     
>>> fix it. :)
>>>       
>>>>> [Thu Jul 03 15:23:33 2008] [error]
>>>>>           
>> ..\..\src\core\deployment\dep_engine.c(1424)
>>     
>>> Loading module description rampart failed
>>>       
>>>>> [Thu Jul 03 15:23:33 2008] [error]
>>>>>           
>> ..\..\src\core\deployment\dep_engine.c(1588)
>>     
>>> Adding new module rampart to the deployment engine
>>>       
>> failed
>>     
>>>>> [Thu Jul 03 15:23:33 2008] [error]
>>>>>           
>> ..\..\src\core\deployment\repos_listener.c(136)
>>     
>>> Repository listener initialization failed
>>>       
>>>>> [Thu Jul 03 15:23:33 2008] [debug]
>>>>>           
>> ..\..\src\core\phaseresolver\phase_holder.c(139)
>>     
>>> Add handler AddressingInHandler to phase Transport
>>>       
>>>>>           
>> ---------------------------------------------------------------
>>     
>>>>> I verified that the dll does exist in the
>>>>>           
>> path
>>     
>>> indicated in the log file:
>>>       
>>>>>           
>> D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart>dir
>>     
>>>>>  Volume in drive D is Data
>>>>>  Volume Serial Number is 40CF-E9CF
>>>>>
>>>>>  Directory of
>>>>>           
>> D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart
>>     
>>>>> 07/03/2008  02:22 PM    <DIR>         
>>>>>           
>> .
>>     
>>>>> 07/03/2008  02:22 PM    <DIR>         
>>>>>           
>> ..
>>     
>>>>> 09/19/2007  12:04 PM               515
>>>>>           
>> module.xml
>>     
>>>>> 05/07/2008  05:13 PM           335,872
>>>>>           
>>> mod_rampart.dll
>>>       
>>>>>                2 File(s)        336,387 bytes
>>>>>                2 Dir(s)  56,762,257,408 bytes
>>>>>           
>> free
>>     
>>>>>
>>>>>
>>>>> Any idea how to troubleshoot or workaround
>>>>>           
>> the
>>     
>>> problem?
>>>       
>>>>> Thanks!
>>>>>
>>>>> Yuan
>>>>>
>>>>>
>>>>>       
>>>>>
>>>>>
>>>>>           
>> ---------------------------------------------------------------------
>>     
>>>>> To unsubscribe, e-mail:
>>>>>           
>>> axis-c-user-unsubscribe@ws.apache.org
>>>       
>>>>> For additional commands, e-mail:
>>>>>           
>>> axis-c-user-help@ws.apache.org
>>>       
>>>>>     
>>>>>           
>>>>
>>>>         
>> ---------------------------------------------------------------------
>>     
>>>> To unsubscribe, e-mail:
>>>>         
>>> axis-c-user-unsubscribe@ws.apache.org
>>>       
>>>> For additional commands, e-mail:
>>>>         
>>> axis-c-user-help@ws.apache.org
>>>       
>>>>
>>>>   
>>>>         
>>>
>>>       
>> ---------------------------------------------------------------------
>>     
>>> To unsubscribe, e-mail:
>>> axis-c-user-unsubscribe@ws.apache.org
>>> For additional commands, e-mail:
>>> axis-c-user-help@ws.apache.org
>>>       
>>       
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> axis-c-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail:
>> axis-c-user-help@ws.apache.org
>>     
>
>
>       
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Failed to load mod_rampart.dll

Posted by yuanhuhu <yu...@yahoo.com>.
Hi,

In order to isolate the problem, I tried the samples from rampart/c instead.  

Here is the PATH setting in my system:
----------------------------------------------
D:\Tools\axis2\axis2c-bin-1.4.0-win32\bin>echo %PATH%
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Tec
hnologies\ATI.ACE\;D:\Tools\apache-maven-2.0.9\bin;C:
\Program Files\Microsoft SQL Server\90\Tools\bin\;C:\OpenSSL\bin;D:\Sun\SDK\bin;
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Tec
hnologies\ATI.ACE\;D:\Tools\apache-maven-2.0.9\bin;C:
\Program Files\Microsoft SQL Server\90\Tools\bin\;C:\OpenSSL\bin;D:\Tools\axis2\
axis2c-bin-1.4.0-win32\lib;D:\Tools\axis2\axis2c-bin-1.4.0-win32\bin;C:\OpenSSL\
lib
----------------------------------------------

I first started the axis2_http_server.exe, and here is the axis2.log it generated:
----------------------------------------------
[Fri Jul 04 11:47:57 2008] [info]  Starting Axis2 HTTP server....
[Fri Jul 04 11:47:57 2008] [info]  Apache Axis2/C version in use : 1.4.0
[Fri Jul 04 11:47:57 2008] [info]  Server port : 8080
[Fri Jul 04 11:47:57 2008] [info]  Repo location : ../
[Fri Jul 04 11:47:57 2008] [info]  Read Timeout : 60000 ms
[Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport
[Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport
[Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch
[Fri Jul 04 11:47:57 2008] [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 Jul 04 11:47:57 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch
[Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the phase PostDispatch
[Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch
[Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\deployment\conf_builder.c(233) No custom dispatching order found. Continue with the default dispatching order
[Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\deployment\conf_builder.c(378) Module addressing found in axis2.xml
[Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\deployment\conf_builder.c(378) Module rampart found in axis2.xml
[Fri Jul 04 11:47:57 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
[Fri Jul 04 11:47:57 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
[Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : ..//modules/addressing/axis2_mod_addr.dll
[Fri Jul 04 11:47:57 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
[Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : ..//modules/logging/axis2_mod_log.dll
[Fri Jul 04 11:47:57 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
[Fri Jul 04 11:47:57 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : ..//modules/rampart/mod_rampart.dll
[Fri Jul 04 11:47:57 2008] [error] ..\..\util\src\class_loader.c(161) dlerror reason: Something went wrong loading the DLL. If you happen to see this message, please note that getting the exact error form Windows is a TODO. And if possible please help fix it. :)
[Fri Jul 04 11:47:57 2008] [error] ..\..\src\core\deployment\dep_engine.c(1424) Loading module description rampart failed
[Fri Jul 04 11:47:57 2008] [error] ..\..\src\core\deployment\dep_engine.c(1588) Adding new module rampart to the deployment engine failed
[Fri Jul 04 11:47:57 2008] [error] ..\..\src\core\deployment\repos_listener.c(136) Repository listener initialization failed
[Fri Jul 04 11:47:57 2008] [error] ..\..\src\core\deployment\dep_engine.c(788) dep_engine repos listener creation failed, folder name is ../
[Fri Jul 04 11:47:57 2008] [error] ..\..\src\core\deployment\conf_init.c(64) Loading deployment engine failed for repository ../.
[Fri Jul 04 11:47:57 2008] [error] ..\..\src\core\transport\http\receiver\http_receiver.c(127) unable to create private configuration contextfor repo path ../
[Fri Jul 04 11:47:57 2008] [error] ..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(215) Server creation failed: Error code: 34 :: Repository listener initialization failed
----------------------------------------------


The sec_echo client for scenario 1 returns the following error:
----------------------------------------------
D:\Tools\axis2\rampartc-src-1.2.0\samples\client\sec_echo>update_n_run.bat
"Copying latest module to client_repo"
D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart\module.xml
D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart\mod_rampart.dll
2 File(s) copied
Using endpoint : http://localhost:9090/axis2/services/sec_echo/echoString
Using client_home : D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo
client_home= D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repoError creating ser
vice client
----------------------------------------------

And this is the contain in the echo.log:
-------------------------------------------------
[Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport
[Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport
[Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch
[Fri Jul 04 11:49:19 2008] [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 Jul 04 11:49:19 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch
[Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the phase PostDispatch
[Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch
[Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\deployment\conf_builder.c(233) No custom dispatching order found. Continue with the default dispatching order
[Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\deployment\conf_builder.c(378) Module addressing found in axis2.xml
[Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\deployment\conf_builder.c(378) Module rampart found in axis2.xml
[Fri Jul 04 11:49:19 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
[Fri Jul 04 11:49:19 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
[Fri Jul 04 11:49:19 2008] [error] ..\..\util\src\dir_handler.c(219) No files in the path D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo/services.
[Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo/modules/addressing/axis2_mod_addr.dll
[Fri Jul 04 11:49:19 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
[Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo/modules/logging/axis2_mod_log.dll
[Fri Jul 04 11:49:19 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
[Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo/modules/rampart/mod_rampart.dll
[Fri Jul 04 11:49:19 2008] [error] ..\..\util\src\class_loader.c(161) dlerror reason: Something went wrong loading the DLL. If you happen to see this message, please note that getting the exact error form Windows is a TODO. And if possible please help fix it. :)
[Fri Jul 04 11:49:19 2008] [error] ..\..\src\core\deployment\dep_engine.c(1424) Loading module description rampart failed
[Fri Jul 04 11:49:19 2008] [error] ..\..\src\core\deployment\dep_engine.c(1588) Adding new module rampart to the deployment engine failed
[Fri Jul 04 11:49:19 2008] [error] ..\..\src\core\deployment\repos_listener.c(136) Repository listener initialization failed
[Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingInHandler to phase Transport
[Fri Jul 04 11:49:19 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo/modules/rampart/mod_rampart.dll
[Fri Jul 04 11:49:19 2008] [error] ..\..\util\src\class_loader.c(161) dlerror reason: Something went wrong loading the DLL. If you happen to see this message, please note that getting the exact error form Windows is a TODO. And if possible please help fix it. :)
[Fri Jul 04 11:49:19 2008] [error] ..\..\src\core\deployment\dep_engine.c(1783) Loading module dll rampart failed
[Fri Jul 04 11:49:19 2008] [error] ..\..\src\core\engine\conf.c(1585) Either module description not set or building module description failed for module rampart
[Fri Jul 04 11:49:19 2008] [error] ..\..\src\core\deployment\dep_engine.c(1077) Engaging module rampart to Axis2 Configuration failed
[Fri Jul 04 11:49:19 2008] [error] ..\..\src\core\deployment\dep_engine.c(993) Module engage failed for deployment engine
[Fri Jul 04 11:49:19 2008] [error] ..\..\src\core\deployment\conf_init.c(195) Loading deployment engine failed for client repository D:\Tools\axis2\axis2c-bin-1.4.0-win32\client_repo
----------------------------------------------


Thanks!

Yuan




--- On Sat, 7/5/08, yuanhuhu <yu...@yahoo.com> wrote:

> From: yuanhuhu <yu...@yahoo.com>
> Subject: Re: Failed to load mod_rampart.dll
> To: "Apache AXIS C User List" <ax...@ws.apache.org>
> Date: Saturday, July 5, 2008, 12:45 AM
> Hi Shankar,
> 
> > 
> > This could also be a problem with openssl library.
> What is
> > the version 
> > of openssl you are using? Are you using rampart binary
> > version or source 
> > version? If it is binary version, it was compiled with
> > openssl 0.9.8d. 
> > So you have to have either that version or version
> higher
> > than that.
> 
> 
> I am using the rampart binary version.  I have installed
> OpenSSL 0.9.8h on Windows XP.  I have also added
> <OpenSSL installation path>/bin to PATH.  I started
> my test client through VC++ 2005 express edition, would
> this cause trouble? I have copied all the files in
> C:\OpenSSL\lib\VC to <PATH to
> VisualStudio>\VC\lib.  But I still have no luck.
>  :(
> 
> 
> Thanks!
> 
> Yuan
> 
> 
> 
> > 
> > Manjula Peiris wrote:
> > > Yuan,
> > >
> > > Please check the following.
> > > -Whether you have engaged Rampart either
> pragmatically
> > from your client
> > > code or in your axis2.xml
> > > -Whether the Security phase is there in your
> axis2.xml
> > 
> > >
> > > -Manjula.
> > >
> > >
> > > On Thu, 2008-07-03 at 15:52 -0700, yuanhuhu
> wrote:
> > >   
> > >> Hi,
> > >>
> > >> I am trying to add in authentication to my
> Axis2/c
> > client.
> > >> I downloaded the latest rampart C 1.2 and
> deployed
> > to my axis2/c 1.4.
> > >>
> > >> I followed the samples from rampart C and
> added
> > the following lines to my Axis2/C client.  The
> client_home
> > points to my Axis2/C installation:
> > D:\Tools\axis2\axis2c-bin-1.4.0-win32
> > >>
> >
> --------------------------------------------------------
> > >>     /*We need to specify the client's
> policy
> > file location*/
> > >>     if(client_home)
> > >>     {
> > >>         file_name = axutil_stracat(env,
> > client_home,
> "\\client_repo\\");
> > >>         policy_file = axutil_stracat(env,
> > file_name, "policy.xml" );
> > >>         AXIS2_FREE(env->allocator,
> file_name);
> > >>         file_name = NULL;        
> > >>     }else{
> > >>         printf("Client Home not
> > Specified\n");
> > >>         printf("echo client invoke
> > FAILED!\n");
> > >>         return 0;
> > >>     }
> > >>     /*Create the policy, from file*/   
> > >>     policy =
> > neethi_util_create_policy_from_file(env, policy_file);
> > >>     if(policy_file){
> > >>         AXIS2_FREE(env->allocator,
> > policy_file);
> > >>         policy_file = NULL;
> > >>     }
> > >>     if(!policy)
> > >>     {
> > >>         printf("\nPolicy creation
> failed
> > from the file. %s\n", policy_file);
> > >>     }
> > >>
> > >>
> > >> 	stub =
> > >>        
> > axis2_stub_create_SecureServiceService(env,
> client_home,
> > address);
> > >> 	if( NULL == stub ){
> > >> 		printf("Unable to create the stub with
> > address='%s' and
> > client_home='%s'.\n", address,
> > client_home);
> > >> 		if (env)
> > >> 		{
> > >> 			axutil_env_free((axutil_env_t *) env);
> > >> 			env = NULL;
> > >> 		}
> > >> 		exit(1);
> > >> 	}
> > >>
> > >> 	svc_client = axis2_stub_get_svc_client(stub,
> env
> > );
> > >>     options = axis2_stub_get_options( stub,
> env);
> > >>     if (NULL == options)
> > >>     {
> > >>         AXIS2_ERROR_SET(env->error,
> > AXIS2_ERROR_INVALID_NULL_PARAM, AXIS2_FAILURE);
> > >>         AXIS2_LOG_ERROR(env->log,
> AXIS2_LOG_SI,
> > "options is null in stub");
> > >>         return NULL;
> > >>     }
> > >>     axis2_options_set_manage_session(options,
> env,
> > AXIS2_TRUE);
> > >>
> > >>     status =
> > axis2_svc_client_set_policy(svc_client, env, policy);
> > >>
> > >>     if(status == AXIS2_FAILURE)
> > >>     {
> > >>         printf("Policy setting
> > failed\n");
> > >>     }
> > >>     
> > >>
> >
> --------------------------------------------------------
> > >> The code seems to run smoothly, but I
> can't
> > see the security header appear in the client request. 
> I
> > took at look at the log file generated and found that
> the
> > rampart dll is not loaded correctly.
> > >>
> > >>
> >
> ---------------------------------------------------------------
> > >> [Thu Jul 03 15:23:33 2008] [debug]
> >
> ..\..\src\core\deployment\dep_engine.c(1306)
> > axis2_dep_engine_load_module_dll: DLL path is :
> >
> D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/addressing/axis2_mod_addr.dll
> > >> [Thu Jul 03 15:23:33 2008] [debug]
> > ..\..\util\src\class_loader.c(141)
> Object
> > loaded successfully
> > >> [Thu Jul 03 15:23:33 2008] [debug]
> >
> ..\..\src\core\deployment\dep_engine.c(1306)
> > axis2_dep_engine_load_module_dll: DLL path is :
> >
> D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/logging/axis2_mod_log.dll
> > >> [Thu Jul 03 15:23:33 2008] [debug]
> > ..\..\util\src\class_loader.c(141)
> Object
> > loaded successfully
> > >> [Thu Jul 03 15:23:33 2008] [debug]
> >
> ..\..\src\core\deployment\dep_engine.c(1306)
> > axis2_dep_engine_load_module_dll: DLL path is :
> >
> D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/rampart/mod_rampart.dll
> > >> [Thu Jul 03 15:23:33 2008] [error]
> > ..\..\util\src\class_loader.c(161)
> dlerror
> > reason: Something went wrong loading the DLL. If you
> happen
> > to see this message, please note that getting the
> exact
> > error form Windows is a TODO. And if possible please
> help
> > fix it. :)
> > >> [Thu Jul 03 15:23:33 2008] [error]
> >
> ..\..\src\core\deployment\dep_engine.c(1424)
> > Loading module description rampart failed
> > >> [Thu Jul 03 15:23:33 2008] [error]
> >
> ..\..\src\core\deployment\dep_engine.c(1588)
> > Adding new module rampart to the deployment engine
> failed
> > >> [Thu Jul 03 15:23:33 2008] [error]
> >
> ..\..\src\core\deployment\repos_listener.c(136)
> > Repository listener initialization failed
> > >> [Thu Jul 03 15:23:33 2008] [debug]
> >
> ..\..\src\core\phaseresolver\phase_holder.c(139)
> > Add handler AddressingInHandler to phase Transport
> > >>
> > >>
> >
> ---------------------------------------------------------------
> > >>
> > >>
> > >> I verified that the dll does exist in the
> path
> > indicated in the log file:
> > >>
> > >>
> >
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart>dir
> > >>  Volume in drive D is Data
> > >>  Volume Serial Number is 40CF-E9CF
> > >>
> > >>  Directory of
> >
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart
> > >>
> > >> 07/03/2008  02:22 PM    <DIR>         
> .
> > >> 07/03/2008  02:22 PM    <DIR>         
> ..
> > >> 09/19/2007  12:04 PM               515
> module.xml
> > >> 05/07/2008  05:13 PM           335,872
> > mod_rampart.dll
> > >>                2 File(s)        336,387 bytes
> > >>                2 Dir(s)  56,762,257,408 bytes
> free
> > >>
> > >>
> > >>
> > >>
> > >> Any idea how to troubleshoot or workaround
> the
> > problem?
> > >>
> > >>
> > >> Thanks!
> > >>
> > >> Yuan
> > >>
> > >>
> > >>       
> > >>
> > >>
> >
> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail:
> > axis-c-user-unsubscribe@ws.apache.org
> > >> For additional commands, e-mail:
> > axis-c-user-help@ws.apache.org
> > >>
> > >>     
> > >
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > axis-c-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail:
> > axis-c-user-help@ws.apache.org
> > >
> > >
> > >
> > >   
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > axis-c-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail:
> > axis-c-user-help@ws.apache.org
> 
> 
>       
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail:
> axis-c-user-help@ws.apache.org


      

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Failed to load mod_rampart.dll

Posted by yuanhuhu <yu...@yahoo.com>.
Hi Shankar,

> 
> This could also be a problem with openssl library. What is
> the version 
> of openssl you are using? Are you using rampart binary
> version or source 
> version? If it is binary version, it was compiled with
> openssl 0.9.8d. 
> So you have to have either that version or version higher
> than that.


I am using the rampart binary version.  I have installed OpenSSL 0.9.8h on Windows XP.  I have also added <OpenSSL installation path>/bin to PATH.  I started my test client through VC++ 2005 express edition, would this cause trouble? I have copied all the files in C:\OpenSSL\lib\VC to <PATH to VisualStudio>\VC\lib.  But I still have no luck.  :(


Thanks!

Yuan



> 
> Manjula Peiris wrote:
> > Yuan,
> >
> > Please check the following.
> > -Whether you have engaged Rampart either pragmatically
> from your client
> > code or in your axis2.xml
> > -Whether the Security phase is there in your axis2.xml
> 
> >
> > -Manjula.
> >
> >
> > On Thu, 2008-07-03 at 15:52 -0700, yuanhuhu wrote:
> >   
> >> Hi,
> >>
> >> I am trying to add in authentication to my Axis2/c
> client.
> >> I downloaded the latest rampart C 1.2 and deployed
> to my axis2/c 1.4.
> >>
> >> I followed the samples from rampart C and added
> the following lines to my Axis2/C client.  The client_home
> points to my Axis2/C installation:
> D:\Tools\axis2\axis2c-bin-1.4.0-win32
> >>
> --------------------------------------------------------
> >>     /*We need to specify the client's policy
> file location*/
> >>     if(client_home)
> >>     {
> >>         file_name = axutil_stracat(env,
> client_home, "\\client_repo\\");
> >>         policy_file = axutil_stracat(env,
> file_name, "policy.xml" );
> >>         AXIS2_FREE(env->allocator, file_name);
> >>         file_name = NULL;        
> >>     }else{
> >>         printf("Client Home not
> Specified\n");
> >>         printf("echo client invoke
> FAILED!\n");
> >>         return 0;
> >>     }
> >>     /*Create the policy, from file*/   
> >>     policy =
> neethi_util_create_policy_from_file(env, policy_file);
> >>     if(policy_file){
> >>         AXIS2_FREE(env->allocator,
> policy_file);
> >>         policy_file = NULL;
> >>     }
> >>     if(!policy)
> >>     {
> >>         printf("\nPolicy creation failed
> from the file. %s\n", policy_file);
> >>     }
> >>
> >>
> >> 	stub =
> >>        
> axis2_stub_create_SecureServiceService(env, client_home,
> address);
> >> 	if( NULL == stub ){
> >> 		printf("Unable to create the stub with
> address='%s' and
> client_home='%s'.\n", address,
> client_home);
> >> 		if (env)
> >> 		{
> >> 			axutil_env_free((axutil_env_t *) env);
> >> 			env = NULL;
> >> 		}
> >> 		exit(1);
> >> 	}
> >>
> >> 	svc_client = axis2_stub_get_svc_client(stub, env
> );
> >>     options = axis2_stub_get_options( stub, env);
> >>     if (NULL == options)
> >>     {
> >>         AXIS2_ERROR_SET(env->error,
> AXIS2_ERROR_INVALID_NULL_PARAM, AXIS2_FAILURE);
> >>         AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,
> "options is null in stub");
> >>         return NULL;
> >>     }
> >>     axis2_options_set_manage_session(options, env,
> AXIS2_TRUE);
> >>
> >>     status =
> axis2_svc_client_set_policy(svc_client, env, policy);
> >>
> >>     if(status == AXIS2_FAILURE)
> >>     {
> >>         printf("Policy setting
> failed\n");
> >>     }
> >>     
> >>
> --------------------------------------------------------
> >> The code seems to run smoothly, but I can't
> see the security header appear in the client request.  I
> took at look at the log file generated and found that the
> rampart dll is not loaded correctly.
> >>
> >>
> ---------------------------------------------------------------
> >> [Thu Jul 03 15:23:33 2008] [debug]
> ..\..\src\core\deployment\dep_engine.c(1306)
> axis2_dep_engine_load_module_dll: DLL path is :
> D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/addressing/axis2_mod_addr.dll
> >> [Thu Jul 03 15:23:33 2008] [debug]
> ..\..\util\src\class_loader.c(141) Object
> loaded successfully
> >> [Thu Jul 03 15:23:33 2008] [debug]
> ..\..\src\core\deployment\dep_engine.c(1306)
> axis2_dep_engine_load_module_dll: DLL path is :
> D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/logging/axis2_mod_log.dll
> >> [Thu Jul 03 15:23:33 2008] [debug]
> ..\..\util\src\class_loader.c(141) Object
> loaded successfully
> >> [Thu Jul 03 15:23:33 2008] [debug]
> ..\..\src\core\deployment\dep_engine.c(1306)
> axis2_dep_engine_load_module_dll: DLL path is :
> D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/rampart/mod_rampart.dll
> >> [Thu Jul 03 15:23:33 2008] [error]
> ..\..\util\src\class_loader.c(161) dlerror
> reason: Something went wrong loading the DLL. If you happen
> to see this message, please note that getting the exact
> error form Windows is a TODO. And if possible please help
> fix it. :)
> >> [Thu Jul 03 15:23:33 2008] [error]
> ..\..\src\core\deployment\dep_engine.c(1424)
> Loading module description rampart failed
> >> [Thu Jul 03 15:23:33 2008] [error]
> ..\..\src\core\deployment\dep_engine.c(1588)
> Adding new module rampart to the deployment engine failed
> >> [Thu Jul 03 15:23:33 2008] [error]
> ..\..\src\core\deployment\repos_listener.c(136)
> Repository listener initialization failed
> >> [Thu Jul 03 15:23:33 2008] [debug]
> ..\..\src\core\phaseresolver\phase_holder.c(139)
> Add handler AddressingInHandler to phase Transport
> >>
> >>
> ---------------------------------------------------------------
> >>
> >>
> >> I verified that the dll does exist in the path
> indicated in the log file:
> >>
> >>
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart>dir
> >>  Volume in drive D is Data
> >>  Volume Serial Number is 40CF-E9CF
> >>
> >>  Directory of
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart
> >>
> >> 07/03/2008  02:22 PM    <DIR>          .
> >> 07/03/2008  02:22 PM    <DIR>          ..
> >> 09/19/2007  12:04 PM               515 module.xml
> >> 05/07/2008  05:13 PM           335,872
> mod_rampart.dll
> >>                2 File(s)        336,387 bytes
> >>                2 Dir(s)  56,762,257,408 bytes free
> >>
> >>
> >>
> >>
> >> Any idea how to troubleshoot or workaround the
> problem?
> >>
> >>
> >> Thanks!
> >>
> >> Yuan
> >>
> >>
> >>       
> >>
> >>
> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
> axis-c-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail:
> axis-c-user-help@ws.apache.org
> >>
> >>     
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> axis-c-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail:
> axis-c-user-help@ws.apache.org
> >
> >
> >
> >   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail:
> axis-c-user-help@ws.apache.org


      

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Failed to load mod_rampart.dll

Posted by Uthaiyashankar <sh...@wso2.com>.
Hi Yuan,

This could also be a problem with openssl library. What is the version 
of openssl you are using? Are you using rampart binary version or source 
version? If it is binary version, it was compiled with openssl 0.9.8d. 
So you have to have either that version or version higher than that.

Regards,
Shankar.

Manjula Peiris wrote:
> Yuan,
>
> Please check the following.
> -Whether you have engaged Rampart either pragmatically from your client
> code or in your axis2.xml
> -Whether the Security phase is there in your axis2.xml 
>
> -Manjula.
>
>
> On Thu, 2008-07-03 at 15:52 -0700, yuanhuhu wrote:
>   
>> Hi,
>>
>> I am trying to add in authentication to my Axis2/c client.
>> I downloaded the latest rampart C 1.2 and deployed to my axis2/c 1.4.
>>
>> I followed the samples from rampart C and added the following lines to my Axis2/C client.  The client_home points to my Axis2/C installation: D:\Tools\axis2\axis2c-bin-1.4.0-win32
>> --------------------------------------------------------
>>     /*We need to specify the client's policy file location*/
>>     if(client_home)
>>     {
>>         file_name = axutil_stracat(env, client_home, "\\client_repo\\");
>>         policy_file = axutil_stracat(env, file_name, "policy.xml" );
>>         AXIS2_FREE(env->allocator, file_name);
>>         file_name = NULL;        
>>     }else{
>>         printf("Client Home not Specified\n");
>>         printf("echo client invoke FAILED!\n");
>>         return 0;
>>     }
>>     /*Create the policy, from file*/   
>>     policy = neethi_util_create_policy_from_file(env, policy_file);
>>     if(policy_file){
>>         AXIS2_FREE(env->allocator, policy_file);
>>         policy_file = NULL;
>>     }
>>     if(!policy)
>>     {
>>         printf("\nPolicy creation failed from the file. %s\n", policy_file);
>>     }
>>
>>
>> 	stub =
>>         axis2_stub_create_SecureServiceService(env, client_home, address);
>> 	if( NULL == stub ){
>> 		printf("Unable to create the stub with address='%s' and client_home='%s'.\n", address, client_home);
>> 		if (env)
>> 		{
>> 			axutil_env_free((axutil_env_t *) env);
>> 			env = NULL;
>> 		}
>> 		exit(1);
>> 	}
>>
>> 	svc_client = axis2_stub_get_svc_client(stub, env );
>>     options = axis2_stub_get_options( stub, env);
>>     if (NULL == options)
>>     {
>>         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_INVALID_NULL_PARAM, AXIS2_FAILURE);
>>         AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "options is null in stub");
>>         return NULL;
>>     }
>>     axis2_options_set_manage_session(options, env, AXIS2_TRUE);
>>
>>     status = axis2_svc_client_set_policy(svc_client, env, policy);
>>
>>     if(status == AXIS2_FAILURE)
>>     {
>>         printf("Policy setting failed\n");
>>     }
>>     
>> --------------------------------------------------------
>> The code seems to run smoothly, but I can't see the security header appear in the client request.  I took at look at the log file generated and found that the rampart dll is not loaded correctly.
>>
>> ---------------------------------------------------------------
>> [Thu Jul 03 15:23:33 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/addressing/axis2_mod_addr.dll
>> [Thu Jul 03 15:23:33 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
>> [Thu Jul 03 15:23:33 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/logging/axis2_mod_log.dll
>> [Thu Jul 03 15:23:33 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
>> [Thu Jul 03 15:23:33 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/rampart/mod_rampart.dll
>> [Thu Jul 03 15:23:33 2008] [error] ..\..\util\src\class_loader.c(161) dlerror reason: Something went wrong loading the DLL. If you happen to see this message, please note that getting the exact error form Windows is a TODO. And if possible please help fix it. :)
>> [Thu Jul 03 15:23:33 2008] [error] ..\..\src\core\deployment\dep_engine.c(1424) Loading module description rampart failed
>> [Thu Jul 03 15:23:33 2008] [error] ..\..\src\core\deployment\dep_engine.c(1588) Adding new module rampart to the deployment engine failed
>> [Thu Jul 03 15:23:33 2008] [error] ..\..\src\core\deployment\repos_listener.c(136) Repository listener initialization failed
>> [Thu Jul 03 15:23:33 2008] [debug] ..\..\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingInHandler to phase Transport
>>
>> ---------------------------------------------------------------
>>
>>
>> I verified that the dll does exist in the path indicated in the log file:
>>
>> D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart>dir
>>  Volume in drive D is Data
>>  Volume Serial Number is 40CF-E9CF
>>
>>  Directory of D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart
>>
>> 07/03/2008  02:22 PM    <DIR>          .
>> 07/03/2008  02:22 PM    <DIR>          ..
>> 09/19/2007  12:04 PM               515 module.xml
>> 05/07/2008  05:13 PM           335,872 mod_rampart.dll
>>                2 File(s)        336,387 bytes
>>                2 Dir(s)  56,762,257,408 bytes free
>>
>>
>>
>>
>> Any idea how to troubleshoot or workaround the problem?
>>
>>
>> Thanks!
>>
>> Yuan
>>
>>
>>       
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>
>>     
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Failed to load mod_rampart.dll

Posted by yuanhuhu <yu...@yahoo.com>.
Hi Manjula,

Thank you so much for the reply. 

Yes, I think I have them taking care of in the axis2.xml:

    <!-- Comment this to disable Security -->
    <module ref="rampart"/>
.....
    <phaseOrder type="outflow">
        <!-- User defined phases could be added here -->
	    <!--phase name="RMPhase"/-->
        <!--phase name="userphase1"/-->
        <!--system predefined phase-->
        <phase name="MessageOut"/>
        <phase name="Security"/>
    </phaseOrder>

...

Thanks!

Yuan

--- On Fri, 7/4/08, Manjula Peiris <ma...@wso2.com> wrote:

> From: Manjula Peiris <ma...@wso2.com>
> Subject: Re: Failed to load mod_rampart.dll
> To: yuanhuhu@yahoo.com
> Cc: axis-c-user@ws.apache.org
> Date: Friday, July 4, 2008, 11:30 AM
> Yuan,
> 
> Please check the following.
> -Whether you have engaged Rampart either pragmatically from
> your client
> code or in your axis2.xml
> -Whether the Security phase is there in your axis2.xml 
> 
> -Manjula.
> 
> 
> On Thu, 2008-07-03 at 15:52 -0700, yuanhuhu wrote:
> > Hi,
> > 
> > I am trying to add in authentication to my Axis2/c
> client.
> > I downloaded the latest rampart C 1.2 and deployed to
> my axis2/c 1.4.
> > 
> > I followed the samples from rampart C and added the
> following lines to my Axis2/C client.  The client_home
> points to my Axis2/C installation:
> D:\Tools\axis2\axis2c-bin-1.4.0-win32
> >
> --------------------------------------------------------
> >     /*We need to specify the client's policy file
> location*/
> >     if(client_home)
> >     {
> >         file_name = axutil_stracat(env, client_home,
> "\\client_repo\\");
> >         policy_file = axutil_stracat(env, file_name,
> "policy.xml" );
> >         AXIS2_FREE(env->allocator, file_name);
> >         file_name = NULL;        
> >     }else{
> >         printf("Client Home not
> Specified\n");
> >         printf("echo client invoke
> FAILED!\n");
> >         return 0;
> >     }
> >     /*Create the policy, from file*/   
> >     policy = neethi_util_create_policy_from_file(env,
> policy_file);
> >     if(policy_file){
> >         AXIS2_FREE(env->allocator, policy_file);
> >         policy_file = NULL;
> >     }
> >     if(!policy)
> >     {
> >         printf("\nPolicy creation failed from
> the file. %s\n", policy_file);
> >     }
> > 
> > 
> > 	stub =
> >         axis2_stub_create_SecureServiceService(env,
> client_home, address);
> > 	if( NULL == stub ){
> > 		printf("Unable to create the stub with
> address='%s' and
> client_home='%s'.\n", address,
> client_home);
> > 		if (env)
> > 		{
> > 			axutil_env_free((axutil_env_t *) env);
> > 			env = NULL;
> > 		}
> > 		exit(1);
> > 	}
> > 
> > 	svc_client = axis2_stub_get_svc_client(stub, env );
> >     options = axis2_stub_get_options( stub, env);
> >     if (NULL == options)
> >     {
> >         AXIS2_ERROR_SET(env->error,
> AXIS2_ERROR_INVALID_NULL_PARAM, AXIS2_FAILURE);
> >         AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,
> "options is null in stub");
> >         return NULL;
> >     }
> >     axis2_options_set_manage_session(options, env,
> AXIS2_TRUE);
> > 
> >     status = axis2_svc_client_set_policy(svc_client,
> env, policy);
> > 
> >     if(status == AXIS2_FAILURE)
> >     {
> >         printf("Policy setting
> failed\n");
> >     }
> >     
> >
> --------------------------------------------------------
> > The code seems to run smoothly, but I can't see
> the security header appear in the client request.  I took
> at look at the log file generated and found that the
> rampart dll is not loaded correctly.
> > 
> >
> ---------------------------------------------------------------
> > [Thu Jul 03 15:23:33 2008] [debug]
> ..\..\src\core\deployment\dep_engine.c(1306)
> axis2_dep_engine_load_module_dll: DLL path is :
> D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/addressing/axis2_mod_addr.dll
> > [Thu Jul 03 15:23:33 2008] [debug]
> ..\..\util\src\class_loader.c(141) Object
> loaded successfully
> > [Thu Jul 03 15:23:33 2008] [debug]
> ..\..\src\core\deployment\dep_engine.c(1306)
> axis2_dep_engine_load_module_dll: DLL path is :
> D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/logging/axis2_mod_log.dll
> > [Thu Jul 03 15:23:33 2008] [debug]
> ..\..\util\src\class_loader.c(141) Object
> loaded successfully
> > [Thu Jul 03 15:23:33 2008] [debug]
> ..\..\src\core\deployment\dep_engine.c(1306)
> axis2_dep_engine_load_module_dll: DLL path is :
> D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/rampart/mod_rampart.dll
> > [Thu Jul 03 15:23:33 2008] [error]
> ..\..\util\src\class_loader.c(161) dlerror
> reason: Something went wrong loading the DLL. If you happen
> to see this message, please note that getting the exact
> error form Windows is a TODO. And if possible please help
> fix it. :)
> > [Thu Jul 03 15:23:33 2008] [error]
> ..\..\src\core\deployment\dep_engine.c(1424)
> Loading module description rampart failed
> > [Thu Jul 03 15:23:33 2008] [error]
> ..\..\src\core\deployment\dep_engine.c(1588)
> Adding new module rampart to the deployment engine failed
> > [Thu Jul 03 15:23:33 2008] [error]
> ..\..\src\core\deployment\repos_listener.c(136)
> Repository listener initialization failed
> > [Thu Jul 03 15:23:33 2008] [debug]
> ..\..\src\core\phaseresolver\phase_holder.c(139)
> Add handler AddressingInHandler to phase Transport
> > 
> >
> ---------------------------------------------------------------
> > 
> > 
> > I verified that the dll does exist in the path
> indicated in the log file:
> > 
> >
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart>dir
> >  Volume in drive D is Data
> >  Volume Serial Number is 40CF-E9CF
> > 
> >  Directory of
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart
> > 
> > 07/03/2008  02:22 PM    <DIR>          .
> > 07/03/2008  02:22 PM    <DIR>          ..
> > 09/19/2007  12:04 PM               515 module.xml
> > 05/07/2008  05:13 PM           335,872 mod_rampart.dll
> >                2 File(s)        336,387 bytes
> >                2 Dir(s)  56,762,257,408 bytes free
> > 
> > 
> > 
> > 
> > Any idea how to troubleshoot or workaround the
> problem?
> > 
> > 
> > Thanks!
> > 
> > Yuan
> > 
> > 
> >       
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> axis-c-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail:
> axis-c-user-help@ws.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail:
> axis-c-user-help@ws.apache.org


      

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Failed to load mod_rampart.dll

Posted by Manjula Peiris <ma...@wso2.com>.
Yuan,

Please check the following.
-Whether you have engaged Rampart either pragmatically from your client
code or in your axis2.xml
-Whether the Security phase is there in your axis2.xml 

-Manjula.


On Thu, 2008-07-03 at 15:52 -0700, yuanhuhu wrote:
> Hi,
> 
> I am trying to add in authentication to my Axis2/c client.
> I downloaded the latest rampart C 1.2 and deployed to my axis2/c 1.4.
> 
> I followed the samples from rampart C and added the following lines to my Axis2/C client.  The client_home points to my Axis2/C installation: D:\Tools\axis2\axis2c-bin-1.4.0-win32
> --------------------------------------------------------
>     /*We need to specify the client's policy file location*/
>     if(client_home)
>     {
>         file_name = axutil_stracat(env, client_home, "\\client_repo\\");
>         policy_file = axutil_stracat(env, file_name, "policy.xml" );
>         AXIS2_FREE(env->allocator, file_name);
>         file_name = NULL;        
>     }else{
>         printf("Client Home not Specified\n");
>         printf("echo client invoke FAILED!\n");
>         return 0;
>     }
>     /*Create the policy, from file*/   
>     policy = neethi_util_create_policy_from_file(env, policy_file);
>     if(policy_file){
>         AXIS2_FREE(env->allocator, policy_file);
>         policy_file = NULL;
>     }
>     if(!policy)
>     {
>         printf("\nPolicy creation failed from the file. %s\n", policy_file);
>     }
> 
> 
> 	stub =
>         axis2_stub_create_SecureServiceService(env, client_home, address);
> 	if( NULL == stub ){
> 		printf("Unable to create the stub with address='%s' and client_home='%s'.\n", address, client_home);
> 		if (env)
> 		{
> 			axutil_env_free((axutil_env_t *) env);
> 			env = NULL;
> 		}
> 		exit(1);
> 	}
> 
> 	svc_client = axis2_stub_get_svc_client(stub, env );
>     options = axis2_stub_get_options( stub, env);
>     if (NULL == options)
>     {
>         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_INVALID_NULL_PARAM, AXIS2_FAILURE);
>         AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "options is null in stub");
>         return NULL;
>     }
>     axis2_options_set_manage_session(options, env, AXIS2_TRUE);
> 
>     status = axis2_svc_client_set_policy(svc_client, env, policy);
> 
>     if(status == AXIS2_FAILURE)
>     {
>         printf("Policy setting failed\n");
>     }
>     
> --------------------------------------------------------
> The code seems to run smoothly, but I can't see the security header appear in the client request.  I took at look at the log file generated and found that the rampart dll is not loaded correctly.
> 
> ---------------------------------------------------------------
> [Thu Jul 03 15:23:33 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/addressing/axis2_mod_addr.dll
> [Thu Jul 03 15:23:33 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
> [Thu Jul 03 15:23:33 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/logging/axis2_mod_log.dll
> [Thu Jul 03 15:23:33 2008] [debug] ..\..\util\src\class_loader.c(141) Object loaded successfully
> [Thu Jul 03 15:23:33 2008] [debug] ..\..\src\core\deployment\dep_engine.c(1306) axis2_dep_engine_load_module_dll: DLL path is : D:\Tools\axis2\axis2c-bin-1.4.0-win32/modules/rampart/mod_rampart.dll
> [Thu Jul 03 15:23:33 2008] [error] ..\..\util\src\class_loader.c(161) dlerror reason: Something went wrong loading the DLL. If you happen to see this message, please note that getting the exact error form Windows is a TODO. And if possible please help fix it. :)
> [Thu Jul 03 15:23:33 2008] [error] ..\..\src\core\deployment\dep_engine.c(1424) Loading module description rampart failed
> [Thu Jul 03 15:23:33 2008] [error] ..\..\src\core\deployment\dep_engine.c(1588) Adding new module rampart to the deployment engine failed
> [Thu Jul 03 15:23:33 2008] [error] ..\..\src\core\deployment\repos_listener.c(136) Repository listener initialization failed
> [Thu Jul 03 15:23:33 2008] [debug] ..\..\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingInHandler to phase Transport
> 
> ---------------------------------------------------------------
> 
> 
> I verified that the dll does exist in the path indicated in the log file:
> 
> D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart>dir
>  Volume in drive D is Data
>  Volume Serial Number is 40CF-E9CF
> 
>  Directory of D:\Tools\axis2\axis2c-bin-1.4.0-win32\modules\rampart
> 
> 07/03/2008  02:22 PM    <DIR>          .
> 07/03/2008  02:22 PM    <DIR>          ..
> 09/19/2007  12:04 PM               515 module.xml
> 05/07/2008  05:13 PM           335,872 mod_rampart.dll
>                2 File(s)        336,387 bytes
>                2 Dir(s)  56,762,257,408 bytes free
> 
> 
> 
> 
> Any idea how to troubleshoot or workaround the problem?
> 
> 
> Thanks!
> 
> Yuan
> 
> 
>       
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org