Re: Failed to load mod_rampart.dll

2008-07-08 Thread Supun Kamburugamuva
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote:
>
> > From: Uthaiyashankar <[EMAIL PROTECTED]>
> > Subject: Re: Failed to load mod_rampart.dll
> > To: "Apache AXIS C User List" 
> > 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:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Failed to load mod_rampart.dll

2008-07-08 Thread yuanhuhu
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 <[EMAIL PROTECTED]> wrote:

> From: Uthaiyashankar <[EMAIL PROTECTED]>
> Subject: Re: Failed to load mod_rampart.dll
> To: "Apache AXIS C User List" 
> 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:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]


  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Failed to load mod_rampart.dll

2008-07-08 Thread Uthaiyashankar

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Failed to load mod_rampart.dll

2008-07-07 Thread yuanhuhu
ion_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
> <[EMAIL PROTECTED]> wrote:
> >
> >   
> >> From: yuanhuhu <[EMAIL PROTECTED]>
> >> Subject: Re: Failed to load mod_rampart.dll
> >> To: "Apache AXIS C User List"
> 
> >> Date: Saturday, July 5, 2

Re: Failed to load mod_rampart.dll

2008-07-04 Thread Uthaiyashankar
 
..\..\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 <[EMAIL PROTECTED]> wrote:

  

From: yuanhuhu <[EMAIL PROTECTED]>
Subject: Re: Failed to load mod_rampart.dll
To: "Apache AXIS C User List" 
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
/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 \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 stu

Re: Failed to load mod_rampart.dll

2008-07-04 Thread yuanhuhu
le 
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 <[EMAIL PROTECTED]> wrote:

> From: yuanhuhu <[EMAIL PROTECTED]>
> Subject: Re: Failed to load mod_rampart.dll
> To: "Apache AXIS C User List" 
> 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
> /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  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)
> > >> {
> > >> 

Re: Failed to load mod_rampart.dll

2008-07-04 Thread yuanhuhu
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 /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 \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:

Re: Failed to load mod_rampart.dll

2008-07-04 Thread yuanhuhu
Hi Manjula,

Thank you so much for the reply. 

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



.









...

Thanks!

Yuan

--- On Fri, 7/4/08, Manjula Peiris <[EMAIL PROTECTED]> wrote:

> From: Manjula Peiris <[EMAIL PROTECTED]>
> Subject: Re: Failed to load mod_rampart.dll
> To: [EMAIL PROTECTED]
> 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.

Re: Failed to load mod_rampart.dll

2008-07-03 Thread Uthaiyashankar

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 

Re: Failed to load mod_rampart.dll

2008-07-03 Thread Manjula Peiris
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  .
> 07/03/2008  02:22 PM  ..
> 09/19/2007  12:04 PM   515 module.xml
> 05/07/2008  05:13 PM   335,87

Failed to load mod_rampart.dll

2008-07-03 Thread yuanhuhu
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  .
07/03/2008  02:22 PM  ..
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]