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. :)

2008-08-17 Thread Graf László

Hi all,

I downloaded the binary distribution of AXIS2C for MS Windows, version 
1.5.0. I unzipped it to the folder D:\axis2c\axis2c-bin-1.5.0-win32 and 
I made all the steps indicated in 3.2 Deploying in Apache2 Web Server 
section of the Axis2C documentation.


The httpd.conf file contains the following lines:

LoadModule axis2_module modules/mod_axis2.so
Axis2RepoPath D:/axis2c/axis2c-bin-1.5.0-win32
Axis2LogFile D:/axis2c/axis2c-bin-1.5.0-win32/logs/axis2c.log
Axis2MaxLogFileSize 10
Axis2LogLevel DEBUG
Location /axis2
SetHandler axis2_module
/Location

The start of Apache server failed and the httpd's error.log file 
contains these lines:


[Sun Aug 17 17:10:39 2008] [notice] Apache/2.2.9 (Win32) PHP/5.2.3 
Axis2C/1.5.0 configured -- resuming normal operations

[Sun Aug 17 17:10:39 2008] [notice] Server built: Jun 13 2008 04:04:59
[Sun Aug 17 17:10:39 2008] [notice] Parent: Created child process 456
[Sun Aug 17 17:10:39 2008] [debug] mpm_winnt.c(487): Parent: Sent the 
scoreboard to the child

[Sun Aug 17 17:10:39 2008] [notice] Child 456: Child process is running
[Sun Aug 17 17:10:39 2008] [info] Parent: Duplicating socket 200 and 
sending it to child process 456
[Sun Aug 17 17:10:39 2008] [debug] mpm_winnt.c(605): Parent: Sent 1 
listeners to child 456
[Sun Aug 17 17:10:39 2008] [debug] mpm_winnt.c(408): Child 456: 
Retrieved our scoreboard from the parent.
[Sun Aug 17 17:10:39 2008] [debug] mpm_winnt.c(564): Child 456: 
retrieved 1 listeners from parent
[Sun Aug 17 17:10:39 2008] [emerg] (20014)Internal error: [Axis2] Error 
creating mod_axis2 apache2 worker
[Sun Aug 17 17:10:39 2008] [crit] Parent: child process exited with 
status 15 -- Aborting.
[Sun Aug 17 17:10:39 2008] [info] removed PID file 
C:/Apache2.2.9/logs/httpd.pid (pid=3852)


The axis2c.log file's content is this:

[Sun Aug 17 17:10:39 2008] [info]  Apache Axis2/C version in use : 1.4.0
[Sun Aug 17 17:10:39 2008] [info]  Starting log with log level 4
[Sun Aug 17 17:10:39 2008] [info]  [Axis2] Axis2 worker created
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *request_uri_based_dispatcher added to the index 0 of 
the phase Transport
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *addressing_based_dispatcher added to the index 1 of the 
phase Transport
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch
[Sun Aug 17 17:10:39 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
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *soap_action_based_dispatcher added to the index 2 of 
the phase Dispatch
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 
of the phase PostDispatch
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *context_handler added to the index 1 of the phase 
PostDispatch
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\deployment\conf_builder.c(233) No custom dispatching 
order found. Continue with the default dispatching order
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\deployment\conf_builder.c(378) Module addressing found in 
axis2.xml
[Sun Aug 17 17:10:39 2008] [debug] ..\..\util\src\class_loader.c(141) 
Object loaded successfully
[Sun Aug 17 17:10:39 2008] [debug] ..\..\util\src\class_loader.c(141) 
Object loaded successfully
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\deployment\dep_engine.c(1306) 
axis2_dep_engine_load_module_dll: DLL path is : 
D:/axis2c/axis2c-bin-1.5.0-win32/modules/addressing/axis2_mod_addr.dll
[Sun Aug 17 17:10:39 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. :)
[Sun Aug 17 17:10:39 2008] [error] 
..\..\src\core\deployment\dep_engine.c(1424) Loading module description 
addressing failed
[Sun Aug 17 17:10:39 2008] [error] 
..\..\src\core\deployment\dep_engine.c(1588) Adding new module 
addressing to the deployment engine failed
[Sun Aug 17 17:10:39 2008] [error] 
..\..\src\core\deployment\repos_listener.c(136) Repository listener 
initialization failed
[Sun Aug 17 17:10:39 2008] [error] 
..\..\src\core\deployment\dep_engine.c(788) dep_engine repos listener 
creation failed, folder name is D:/axis2c/axis2c-bin-1.5.0-win32
[Sun Aug 17 17:10:39 2008] [error] 
..\..\src\core\deployment\conf_init.c(64) Loading deployment engine 
failed for repository D:/axis2c/axis2c-bin-1.5.0-win32.


Any suggestion?
Thank you,
Laci

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

Re: 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. :)

2008-08-17 Thread Samisa Abeysinghe
This probaly means that you have not set the repo path correctly. Or you 
may not have added the DLLs to your path.


Samisa...

Graf László wrote:

Hi all,

I downloaded the binary distribution of AXIS2C for MS Windows, version 
1.5.0. I unzipped it to the folder D:\axis2c\axis2c-bin-1.5.0-win32 
and I made all the steps indicated in 3.2 Deploying in Apache2 Web 
Server section of the Axis2C documentation.


The httpd.conf file contains the following lines:

LoadModule axis2_module modules/mod_axis2.so
Axis2RepoPath D:/axis2c/axis2c-bin-1.5.0-win32
Axis2LogFile D:/axis2c/axis2c-bin-1.5.0-win32/logs/axis2c.log
Axis2MaxLogFileSize 10
Axis2LogLevel DEBUG
Location /axis2
SetHandler axis2_module
/Location

The start of Apache server failed and the httpd's error.log file 
contains these lines:


[Sun Aug 17 17:10:39 2008] [notice] Apache/2.2.9 (Win32) PHP/5.2.3 
Axis2C/1.5.0 configured -- resuming normal operations

[Sun Aug 17 17:10:39 2008] [notice] Server built: Jun 13 2008 04:04:59
[Sun Aug 17 17:10:39 2008] [notice] Parent: Created child process 456
[Sun Aug 17 17:10:39 2008] [debug] mpm_winnt.c(487): Parent: Sent the 
scoreboard to the child

[Sun Aug 17 17:10:39 2008] [notice] Child 456: Child process is running
[Sun Aug 17 17:10:39 2008] [info] Parent: Duplicating socket 200 and 
sending it to child process 456
[Sun Aug 17 17:10:39 2008] [debug] mpm_winnt.c(605): Parent: Sent 1 
listeners to child 456
[Sun Aug 17 17:10:39 2008] [debug] mpm_winnt.c(408): Child 456: 
Retrieved our scoreboard from the parent.
[Sun Aug 17 17:10:39 2008] [debug] mpm_winnt.c(564): Child 456: 
retrieved 1 listeners from parent
[Sun Aug 17 17:10:39 2008] [emerg] (20014)Internal error: [Axis2] 
Error creating mod_axis2 apache2 worker
[Sun Aug 17 17:10:39 2008] [crit] Parent: child process exited with 
status 15 -- Aborting.
[Sun Aug 17 17:10:39 2008] [info] removed PID file 
C:/Apache2.2.9/logs/httpd.pid (pid=3852)


The axis2c.log file's content is this:

[Sun Aug 17 17:10:39 2008] [info]  Apache Axis2/C version in use : 1.4.0
[Sun Aug 17 17:10:39 2008] [info]  Starting log with log level 4
[Sun Aug 17 17:10:39 2008] [info]  [Axis2] Axis2 worker created
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *request_uri_based_dispatcher added to the index 0 of 
the phase Transport
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *addressing_based_dispatcher added to the index 1 of 
the phase Transport
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *rest_dispatcher added to the index 0 of the phase 
Dispatch
[Sun Aug 17 17:10:39 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
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *soap_action_based_dispatcher added to the index 2 of 
the phase Dispatch
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *dispatch_post_conditions_evaluator added to the index 
0 of the phase PostDispatch
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *context_handler added to the index 1 of the phase 
PostDispatch
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\deployment\conf_builder.c(233) No custom dispatching 
order found. Continue with the default dispatching order
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\deployment\conf_builder.c(378) Module addressing found 
in axis2.xml
[Sun Aug 17 17:10:39 2008] [debug] ..\..\util\src\class_loader.c(141) 
Object loaded successfully
[Sun Aug 17 17:10:39 2008] [debug] ..\..\util\src\class_loader.c(141) 
Object loaded successfully
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\deployment\dep_engine.c(1306) 
axis2_dep_engine_load_module_dll: DLL path is : 
D:/axis2c/axis2c-bin-1.5.0-win32/modules/addressing/axis2_mod_addr.dll
[Sun Aug 17 17:10:39 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. :)
[Sun Aug 17 17:10:39 2008] [error] 
..\..\src\core\deployment\dep_engine.c(1424) Loading module 
description addressing failed
[Sun Aug 17 17:10:39 2008] [error] 
..\..\src\core\deployment\dep_engine.c(1588) Adding new module 
addressing to the deployment engine failed
[Sun Aug 17 17:10:39 2008] [error] 
..\..\src\core\deployment\repos_listener.c(136) Repository listener 
initialization failed
[Sun Aug 17 17:10:39 2008] [error] 
..\..\src\core\deployment\dep_engine.c(788) dep_engine repos listener 
creation failed, folder name is D:/axis2c/axis2c-bin-1.5.0-win32
[Sun Aug 17 17:10:39 2008] [error] 
..\..\src\core\deployment\conf_init.c(64) Loading deployment engine 
failed for repository D:/axis2c/axis2c-bin-1.5.0-win32.


Any suggestion?
Thank you,

Re: 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. :)

2008-08-17 Thread Graf László

Hi Samisa,

as you can see I set the repository in httpd.conf and as I said, I made 
all those steps indicated in documentation.


The repository path points to that folder where the axis2.xml is:

AXIS2C_HOME=D:\axis2c\axis2c-bin-1.5.0-win32

PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program 
Files\Subversion\bin;D:\axis2c\axis2c-bin-1.5.0-win32\lib


What else should I set?
Laci




Samisa Abeysinghe írta:
This probaly means that you have not set the repo path correctly. Or 
you may not have added the DLLs to your path.


Samisa...

Graf László wrote:

Hi all,

I downloaded the binary distribution of AXIS2C for MS Windows, 
version 1.5.0. I unzipped it to the folder 
D:\axis2c\axis2c-bin-1.5.0-win32 and I made all the steps indicated 
in 3.2 Deploying in Apache2 Web Server section of the Axis2C 
documentation.


The httpd.conf file contains the following lines:

LoadModule axis2_module modules/mod_axis2.so
Axis2RepoPath D:/axis2c/axis2c-bin-1.5.0-win32
Axis2LogFile D:/axis2c/axis2c-bin-1.5.0-win32/logs/axis2c.log
Axis2MaxLogFileSize 10
Axis2LogLevel DEBUG
Location /axis2
SetHandler axis2_module
/Location

The start of Apache server failed and the httpd's error.log file 
contains these lines:


[Sun Aug 17 17:10:39 2008] [notice] Apache/2.2.9 (Win32) PHP/5.2.3 
Axis2C/1.5.0 configured -- resuming normal operations

[Sun Aug 17 17:10:39 2008] [notice] Server built: Jun 13 2008 04:04:59
[Sun Aug 17 17:10:39 2008] [notice] Parent: Created child process 456
[Sun Aug 17 17:10:39 2008] [debug] mpm_winnt.c(487): Parent: Sent the 
scoreboard to the child

[Sun Aug 17 17:10:39 2008] [notice] Child 456: Child process is running
[Sun Aug 17 17:10:39 2008] [info] Parent: Duplicating socket 200 and 
sending it to child process 456
[Sun Aug 17 17:10:39 2008] [debug] mpm_winnt.c(605): Parent: Sent 1 
listeners to child 456
[Sun Aug 17 17:10:39 2008] [debug] mpm_winnt.c(408): Child 456: 
Retrieved our scoreboard from the parent.
[Sun Aug 17 17:10:39 2008] [debug] mpm_winnt.c(564): Child 456: 
retrieved 1 listeners from parent
[Sun Aug 17 17:10:39 2008] [emerg] (20014)Internal error: [Axis2] 
Error creating mod_axis2 apache2 worker
[Sun Aug 17 17:10:39 2008] [crit] Parent: child process exited with 
status 15 -- Aborting.
[Sun Aug 17 17:10:39 2008] [info] removed PID file 
C:/Apache2.2.9/logs/httpd.pid (pid=3852)


The axis2c.log file's content is this:

[Sun Aug 17 17:10:39 2008] [info]  Apache Axis2/C version in use : 1.4.0
[Sun Aug 17 17:10:39 2008] [info]  Starting log with log level 4
[Sun Aug 17 17:10:39 2008] [info]  [Axis2] Axis2 worker created
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *request_uri_based_dispatcher added to the index 0 of 
the phase Transport
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *addressing_based_dispatcher added to the index 1 of 
the phase Transport
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *rest_dispatcher added to the index 0 of the phase 
Dispatch
[Sun Aug 17 17:10:39 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
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *soap_action_based_dispatcher added to the index 2 of 
the phase Dispatch
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *dispatch_post_conditions_evaluator added to the 
index 0 of the phase PostDispatch
[Sun Aug 17 17:10:39 2008] [debug] ..\..\src\core\engine\phase.c(121) 
axis2_handler_t *context_handler added to the index 1 of the phase 
PostDispatch
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\deployment\conf_builder.c(233) No custom dispatching 
order found. Continue with the default dispatching order
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\deployment\conf_builder.c(378) Module addressing found 
in axis2.xml
[Sun Aug 17 17:10:39 2008] [debug] ..\..\util\src\class_loader.c(141) 
Object loaded successfully
[Sun Aug 17 17:10:39 2008] [debug] ..\..\util\src\class_loader.c(141) 
Object loaded successfully
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\deployment\dep_engine.c(1306) 
axis2_dep_engine_load_module_dll: DLL path is : 
D:/axis2c/axis2c-bin-1.5.0-win32/modules/addressing/axis2_mod_addr.dll
[Sun Aug 17 17:10:39 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. :)
[Sun Aug 17 17:10:39 2008] [error] 
..\..\src\core\deployment\dep_engine.c(1424) Loading module 
description addressing failed
[Sun Aug 17 17:10:39 2008] [error] 
..\..\src\core\deployment\dep_engine.c(1588) Adding new module 
addressing to the deployment engine failed
[Sun Aug 17 17:10:39 2008] [error] 

Re: 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. :)

2008-08-17 Thread Samisa Abeysinghe
Check if 
D:/axis2c/axis2c-bin-1.5.0-win32/modules/addressing/axis2_mod_addr.dll  
exists. If it is there, then the error mens that there is something 
wrong loading the DLLs in the binary distro on your machine. You may 
have to compile form source.


Samisa...

Graf László wrote:

Hi Samisa,

as you can see I set the repository in httpd.conf and as I said, I 
made all those steps indicated in documentation.


The repository path points to that folder where the axis2.xml is:

AXIS2C_HOME=D:\axis2c\axis2c-bin-1.5.0-win32

PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program 
Files\Subversion\bin;D:\axis2c\axis2c-bin-1.5.0-win32\lib


What else should I set?
Laci




Samisa Abeysinghe írta:
This probaly means that you have not set the repo path correctly. Or 
you may not have added the DLLs to your path.


Samisa...

Graf László wrote:

Hi all,

I downloaded the binary distribution of AXIS2C for MS Windows, 
version 1.5.0. I unzipped it to the folder 
D:\axis2c\axis2c-bin-1.5.0-win32 and I made all the steps indicated 
in 3.2 Deploying in Apache2 Web Server section of the Axis2C 
documentation.


The httpd.conf file contains the following lines:

LoadModule axis2_module modules/mod_axis2.so
Axis2RepoPath D:/axis2c/axis2c-bin-1.5.0-win32
Axis2LogFile D:/axis2c/axis2c-bin-1.5.0-win32/logs/axis2c.log
Axis2MaxLogFileSize 10
Axis2LogLevel DEBUG
Location /axis2
SetHandler axis2_module
/Location

The start of Apache server failed and the httpd's error.log file 
contains these lines:


[Sun Aug 17 17:10:39 2008] [notice] Apache/2.2.9 (Win32) PHP/5.2.3 
Axis2C/1.5.0 configured -- resuming normal operations

[Sun Aug 17 17:10:39 2008] [notice] Server built: Jun 13 2008 04:04:59
[Sun Aug 17 17:10:39 2008] [notice] Parent: Created child process 456
[Sun Aug 17 17:10:39 2008] [debug] mpm_winnt.c(487): Parent: Sent 
the scoreboard to the child

[Sun Aug 17 17:10:39 2008] [notice] Child 456: Child process is running
[Sun Aug 17 17:10:39 2008] [info] Parent: Duplicating socket 200 and 
sending it to child process 456
[Sun Aug 17 17:10:39 2008] [debug] mpm_winnt.c(605): Parent: Sent 1 
listeners to child 456
[Sun Aug 17 17:10:39 2008] [debug] mpm_winnt.c(408): Child 456: 
Retrieved our scoreboard from the parent.
[Sun Aug 17 17:10:39 2008] [debug] mpm_winnt.c(564): Child 456: 
retrieved 1 listeners from parent
[Sun Aug 17 17:10:39 2008] [emerg] (20014)Internal error: [Axis2] 
Error creating mod_axis2 apache2 worker
[Sun Aug 17 17:10:39 2008] [crit] Parent: child process exited with 
status 15 -- Aborting.
[Sun Aug 17 17:10:39 2008] [info] removed PID file 
C:/Apache2.2.9/logs/httpd.pid (pid=3852)


The axis2c.log file's content is this:

[Sun Aug 17 17:10:39 2008] [info]  Apache Axis2/C version in use : 
1.4.0

[Sun Aug 17 17:10:39 2008] [info]  Starting log with log level 4
[Sun Aug 17 17:10:39 2008] [info]  [Axis2] Axis2 worker created
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\engine\phase.c(121) axis2_handler_t 
*request_uri_based_dispatcher added to the index 0 of the phase 
Transport
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\engine\phase.c(121) axis2_handler_t 
*addressing_based_dispatcher added to the index 1 of the phase 
Transport
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher 
added to the index 0 of the phase Dispatch
[Sun Aug 17 17:10:39 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
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\engine\phase.c(121) axis2_handler_t 
*soap_action_based_dispatcher added to the index 2 of the phase 
Dispatch
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\engine\phase.c(121) axis2_handler_t 
*dispatch_post_conditions_evaluator added to the index 0 of the 
phase PostDispatch
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\engine\phase.c(121) axis2_handler_t *context_handler 
added to the index 1 of the phase PostDispatch
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\deployment\conf_builder.c(233) No custom dispatching 
order found. Continue with the default dispatching order
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\deployment\conf_builder.c(378) Module addressing 
found in axis2.xml
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\util\src\class_loader.c(141) Object loaded successfully
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\util\src\class_loader.c(141) Object loaded successfully
[Sun Aug 17 17:10:39 2008] [debug] 
..\..\src\core\deployment\dep_engine.c(1306) 
axis2_dep_engine_load_module_dll: DLL path is : 
D:/axis2c/axis2c-bin-1.5.0-win32/modules/addressing/axis2_mod_addr.dll
[Sun Aug 17 17:10:39 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. :)
[Sun Aug 17 17:10:39 2008] 

Fw: Setting JAVA_HOME variable

2008-08-17 Thread Amila Serasinghe




- Forwarded Message 
From: Amila Serasinghe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, August 17, 2008 7:16:36 PM
Subject: Fw: Setting JAVA_HOME variable






- Forwarded Message 
From: Amila Serasinghe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, August 17, 2008 6:12:49 PM
Subject: Setting JAVA_HOME variable


I am newbie to AXIS2. I started to go through the tutorial guide. I am working 
on ubuntu. When 
I run the command

 sudo $AXIS2_HOME/bin/java2wsdl.sh -cp . -cn 
samples.quickstart.service.pojo.StockQuoteService -of StockQuoteService.wsdl

It says  You must set the JAVA_HOME variable before running Axis2 Script.

But I have set the JAVA_HOME in bashrc and etc/ environment

   my bashrc file
JAVA_HOME=/home/amila/programes/jdk1.6.0_06
export PATH=$PATH:$JAVA_HOME/bin

AXIS2_HOME=/home/amila/programes/axis2-1.4
export PATH=$PATH:$AXIS2_HOME/bin

   my /etc/environment file
JAVA_HOME=/home/amila/programes/jdk1.6.0_06

I can't figure out what to do. Please help. I thank you in advance.


  

Re: Fw: Setting JAVA_HOME variable

2008-08-17 Thread Sukma Agung Verdianto
Hi Amila,
Make sure you have your JAVA_HOME setup properly by running
# echo $JAVA_HOME
from your command line interface.
If t does not print your JDK path, then there might be something wrong with
your JAVA_HOME env setting

And also, try to put JAVA_HOME env variable into ~/.bash_profile instead.

Regards,
Sukma

On Sun, Aug 17, 2008 at 11:02 PM, Amila Serasinghe [EMAIL PROTECTED]wrote:



 - Forwarded Message 
 From: Amila Serasinghe [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, August 17, 2008 7:16:36 PM
 Subject: Fw: Setting JAVA_HOME variable



 - Forwarded Message 
 From: Amila Serasinghe [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, August 17, 2008 6:12:49 PM
 Subject: Setting JAVA_HOME variable

 I am newbie to AXIS2. I started to go through the tutorial guide. I am
 working on ubuntu. When
 I run the command

  sudo $AXIS2_HOME/bin/java2wsdl.sh -cp . -cn
 samples.quickstart.service.pojo.StockQuoteService -of StockQuoteService.wsdl

 It says  You must set the JAVA_HOME variable before running Axis2 Script.

 But I have set the JAVA_HOME in bashrc and etc/ environment

my bashrc file
 JAVA_HOME=/home/amila/programes/jdk1.6.0_06
 export PATH=$PATH:$JAVA_HOME/bin

 AXIS2_HOME=/home/amila/programes/axis2-1.4
 export PATH=$PATH:$AXIS2_HOME/bin

my /etc/environment file
 JAVA_HOME=/home/amila/programes/jdk1.6.0_06

 I can't figure out what to do. Please help. I thank you in advance.










Axiss2 1.2 - Problem with client calling WS behind HTTPS

2008-08-17 Thread Nick Popov
Hi,

 

I have Axis2 1.2 deployed as a part of web application on Tomcat 5.

Tomcat configuration have HTTP and HTTPS ports configured. 

The web services are accessible via HTTP and HTTPS. For HTTPS I'm using
self-signed cert in a store.

I can see the WSDL for HTTPS/HTTP in IE/FF also by using  SOAPSonar. 

When I configure the client URL to point to the HTTP port everything is OK.
But when I point to the HTTPS port I have the I get the following stack
trace:

 

.

.

.

 

Caused by: org.apache.axis2.AxisFault: The server localhost failed to
respond with a valid HTTP response

at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTT
PTransportSender.java:221)

at
org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:452)

at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperatio
n.java:330)

at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOpera
tion.java:294)

at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:520)

at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:500)

at
com.prosrm.common.wsclient.axis2.RPCServiceClient.invokeBlocking(RPCServiceC
lient.java:114)

at
com.prosrm.common.wsclient.WSClient.invoke(WSClient.java:128)

... 19 more

Caused by: org.apache.axis2.AxisFault: The server localhost failed to
respond with a valid HTTP response

at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithC
ommons(CommonsHTTPTransportSender.java:314)

at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTT
PTransportSender.java:201)

... 26 more

Caused by: org.apache.axis2.AxisFault: The server localhost failed to
respond with a valid HTTP response

at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:179)

at
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:73)

at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithC
ommons(CommonsHTTPTransportSender.java:305)

... 27 more

Caused by: org.apache.commons.httpclient.ProtocolException: The server
localhost failed to respond with a valid HTTP response

at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.j
ava:1846)

at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.jav
a:1590)

at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995
)

at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethod
Director.java:397)

at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDir
ector.java:170)

at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)

at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)

at
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTT
PSender.java:558)

at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:176)

... 29 more

 

I  have the javax.net.ssl.trustStore and javax.net.ssl.trustStorePassword
set up and I know that the certs are OK.

At this point, before start building/debugging AXIS2 code I would like to
know if any of you had the same problem.

 

Thanks in advance for any suggestion on how to resolve that.

 

Nick Popov

 



Re: Fw: Setting JAVA_HOME variable

2008-08-17 Thread Christoph M. Pflügler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Amila,

as far as I know, you loose your environment when executing something as
superuser (sudo).

You could try something like:

sudo JAVA_HOME=/home/amila/programes/jdk1.6.0_06 java2wsdl.sh -cp .
- -cn samples.quickstart.service.pojo.StockQuoteService -of
StockQuoteService.wsdl

Christoph


Amila Serasinghe schrieb:
 
 
 
 - Forwarded Message 
 From: Amila Serasinghe [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, August 17, 2008 7:16:36 PM
 Subject: Fw: Setting JAVA_HOME variable
 
 
 
 - Forwarded Message 
 From: Amila Serasinghe [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, August 17, 2008 6:12:49 PM
 Subject: Setting JAVA_HOME variable
 
 I am newbie to AXIS2. I started to go through the tutorial guide. I am
 working on ubuntu. When
 I run the command
 
  sudo $AXIS2_HOME/bin/java2wsdl.sh -cp . -cn
 samples.quickstart.service.pojo.StockQuoteService -of StockQuoteService.wsdl
 
 It says  You must set the JAVA_HOME variable before running Axis2 Script.
 
 But I have set the JAVA_HOME in bashrc and etc/ environment
 
my bashrc file
 JAVA_HOME=/home/amila/programes/jdk1.6.0_06
 export PATH=$PATH:$JAVA_HOME/bin
 
 AXIS2_HOME=/home/amila/programes/axis2-1.4
 export PATH=$PATH:$AXIS2_HOME/bin
 
my /etc/environment file
 JAVA_HOME=/home/amila/programes/jdk1.6.0_06
 
 I can't figure out what to do. Please help. I thank you in advance.
 
 
 
 
 
 
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIqHEa0Do4wUHmzBsRAhqQAKCwA7ciOMo5dhiszaGLZrjy5wQ5AQCgnClM
kX0OJwSS/HKmQyyq4Y5EjaE=
=YY0H
-END PGP SIGNATURE-

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



Re: Binary Data, http and jms, WebSphere 6.x

2008-08-17 Thread Thilina Gunarathne
AFAIK MTOM support in Axis2 XMLBeans data binding is broken for some time
(my apologies if somebody fixed it recently)... People are not much
motivated for supporting XMLBeans as it does not have the native binary
support as ADB+Axiom has and all the binary data needs to be encoded back
and forth to  from base64 when supporting MTOM with XML beans.

thanks,
Thilina

On Fri, Aug 15, 2008 at 7:45 AM, Damin [EMAIL PROTECTED] wrote:


 Currently using MTOM with ADB running through Axis2 http transport web
 service in WebSphere 6.x - works great!  Thanks.

 Need to support MQ interface running same service, cannot use Axis2 JMS
 because running in J2EE WebSphere Container (the ole' setMessageListener()
 problem that app server vendors imposed on the J2EE specification).  So,
 ADB
 and MTOM appear to be out for this interface.

 You guys got any idea how to do this?

 1)  Have done XMLBeans with XOP from MQ (in 2 passes) before without Axis2.
 Could do this, but the folks I work for want the same business code to be
 run for both http and mq transports - novel idea.
 2)  Cannot figure out how to get XMLBeans to do XOP running through Axis2,
 it keeps making the binary data Base64 encoded instead of XOP - anyone
 solved this.

 Looking for some directions/ideas at this point and thanks for your
 replies.

 Damin
 --
 View this message in context:
 http://www.nabble.com/Binary-Data%2C-http-and-jms%2C-WebSphere-6.x-tp18997365p18997365.html
 Sent from the Axis - User mailing list archive at Nabble.com.


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




-- 
Thilina Gunarathne - http://thilinag.blogspot.com


MTOM XMLBeans axis2 1.4

2008-08-17 Thread Shehan Simen
Hi All,
I have a web service which uses axis2 1.4 and uses ADB.
But my client code is XMLBeans, Axis2 1.4.
Does XMLBeans support MTOM?
Can I send an attachment from my client using MTOM?

Thanks.


problems with the xsi:types in response, again.

2008-08-17 Thread pierre betz
HI every body, I have again the problem of the xsi:type in the soap response
that axis2 send to the client.

I changed all my wsdl for document/literal wrapped, but it still don't work
at all.
Someone told me about changing my wsdl, but.. nothing changed in the
responses.

how can I have a soap response with just the name of the parameters in the
fields ?
or  how can I transform the response in an array in php (if someone knows),
without these xsi:type ?

The problem append just when I use the extension:base=something in my
schema...
I cannot change that so.. really don't know what to do.

any ideas? .. I'm really blocked now...

thanks anyway.

Pierre