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 sasanka pusapati <sp...@gmail.com> on 2009/02/23 11:26:32 UTC
error while loading axis2/c module "The specified module could not be
found"
Hi Axis2/c Users,
I am new to Axis2/c. I am trying to configure
apache 2.2.9 with axis2/c module but i am unable to load the axis2/c module.
I downloaded the binary of axis 1.5 and copied the mod_axis2.dll as
mod_axis2.so into modules directory. I also modified the httpd.conf
When i restart the Apache web server i am getting the following error
"httpd.exe: Syntax error on line 127 of C:/Program Files/Apache Software
Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache
Software Foundation/Apache2.2/modules/mod_axis2.so into server: The
specified module could not be found. " , but the file mod_axis2.so do exist
in modules directory.
Following is the text added in httpd.conf:
LoadModule axis_2module modules/mod_axis2.so
Axis2RepoPath "c:/axis2c-bin-1.5.0-win32/axis2c"
Axis2LogFile "c:/axis2c-bin-1.5.0-win32/axis2c/axis2.log"
Axis2ServiceURLPrefix /service
Axis2LogLevel debug
Axis2MaxLogFileSize 100
<Location /axis2>
SetHandler axis2_module
</Location>
Smart brains.. can you please help me in resolving this issue....
Thanks in Advance,
Sasank.
--
sasanka Pusapati
Re: error while loading axis2/c module "The specified module could
not be found"
Posted by sasanka pusapati <sp...@gmail.com>.
Hi ,
I also added the lib directory "c:/axis2c-bin-1.5.0-win32/axis2c/lib" to
windows path.
The original text that i have added in httpd.conf after copying mod_axis2.so
into modules directory was
LoadModule axis2_module modules/mod_axis2.so
Axis2RepoPath "c:/axis2c-bin-1.5.0-win32/axis2c"
Axis2LogFile "c:/axis2c-bin-1.5.0-win32/axis2c/axis2.log"
Axis2ServiceURLPrefix /service
Axis2LogLevel debug
Axis2MaxLogFileSize 100
<Location /axis2>
SetHandler axis2_module
</Location>
but this is throwing following error
"httpd.exe: Syntax error on line 127 of C:/Program Files/Apache Software
Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache
Software Foundation/Apache2.2/modules/mod_axis2.so into server: The
specified module could not be found. " , but the file mod_axis2.so do exist
in modules directory.
Is there any thing else i need to configure ...
Thanks in Advance,
Sasanka.
On Mon, Feb 23, 2009 at 7:21 PM, Supun Kamburugamuva <su...@gmail.com>wrote:
> Did you add the axis2/c libraries to the Windows PATH?
>
>
>
> On Mon, Feb 23, 2009 at 4:52 PM, sasanka pusapati <sp...@gmail.com>wrote:
>
>> Hi ,
>>
>> The original text that i have added in httpd.conf after copying
>> mod_axis2.so into modules directory was
>>
>> LoadModule axis2_module modules/mod_axis2.so
>> Axis2RepoPath "c:/axis2c-bin-1.5.0-win32/axis2c"
>> Axis2LogFile "c:/axis2c-bin-1.5.0-win32/axis2c/axis2.log"
>> Axis2ServiceURLPrefix /service
>> Axis2LogLevel debug
>> Axis2MaxLogFileSize 100
>> <Location /axis2>
>> SetHandler axis2_module
>> </Location>
>>
>> but this is throwing following error
>>
>> "httpd.exe: Syntax error on line 127 of C:/Program Files/Apache Software
>> Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache
>> Software Foundation/Apache2.2/modules/mod_axis2.so into server: The
>> specified module could not be found. " , but the file mod_axis2.so do exist
>> in modules directory.
>>
>>
>>
>> Is there any thing else i need to configure ...
>>
>> Thanks in Advance,
>> Sasanka.
>>
>> On Mon, Feb 23, 2009 at 5:01 PM, Supun Kamburugamuva <su...@gmail.com>wrote:
>>
>>> These are not matching
>>
>>
>>
>>
>>>
>>>
>>> <Location /axis2>
>>> SetHandler axis2_module
>>> </Location>
>>>
>>> and
>>>
>>> LoadModule axis_2module modules/mod_axis2.so
>>>
>>> Supun..
>>>
>>>
>>> On Mon, Feb 23, 2009 at 3:26 PM, sasanka pusapati <
>>> spusapatinlr@gmail.com> wrote:
>>>
>>>>
>>>>
>>>>
>>>>
>>>> Hi Axis2/c Users,
>>>> I am new to Axis2/c. I am trying to
>>>> configure apache 2.2.9 with axis2/c module but i am unable to load the
>>>> axis2/c module. I downloaded the binary of axis 1.5 and copied the
>>>> mod_axis2.dll as mod_axis2.so into modules directory. I also modified the
>>>> httpd.conf
>>>> When i restart the Apache web server i am getting the following error
>>>>
>>>> "httpd.exe: Syntax error on line 127 of C:/Program Files/Apache Software
>>>> Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache
>>>> Software Foundation/Apache2.2/modules/mod_axis2.so into server: The
>>>> specified module could not be found. " , but the file mod_axis2.so do exist
>>>> in modules directory.
>>>>
>>>> Following is the text added in httpd.conf:
>>>>
>>>> LoadModule axis_2module modules/mod_axis2.so
>>>> Axis2RepoPath "c:/axis2c-bin-1.5.0-win32/axis2c"
>>>> Axis2LogFile "c:/axis2c-bin-1.5.0-win32/axis2c/axis2.log"
>>>> Axis2ServiceURLPrefix /service
>>>> Axis2LogLevel debug
>>>> Axis2MaxLogFileSize 100
>>>> <Location /axis2>
>>>> SetHandler axis2_module
>>>> </Location>
>>>>
>>>> Smart brains.. can you please help me in resolving this issue....
>>>>
>>>> Thanks in Advance,
>>>> Sasank.
>>>>
>>>>
>>>>
>>>> --
>>>> sasanka Pusapati
>>>>
>>>
>>>
>>>
>>> --
>>> Software Engineer, WSO2 Inc
>>> http://wso2.org
>>> supunk.blogspot.com
>>>
>>>
>>>
>>
>>
>> --
>> sasanka Pusapati
>>
>
>
>
> --
> Software Engineer, WSO2 Inc
> http://wso2.org
> supunk.blogspot.com
>
>
>
--
sasanka Pusapati
Re: rampart/c compilation error related to openSSL
Posted by Uthaiyashankar <sh...@wso2.com>.
Hi,
It is a known problem in openssl (NOT in Rampart/C :D ) . Have a look at [1]
to solve it.
Regards,
Shankar
[1] http://wso2.org/forum/thread/3861
On Tue, Feb 24, 2009 at 6:37 AM, Raymond Zhou <ra...@yahoo.com> wrote:
> Hi All,
>
> I am using open source axis2/c and rampart/c to build a secure web service
> client. I am now getting some openSSL related compilation errors in windows
> XP, here are the details:
>
> (1) If I downloaded the binary version of openSSL, I can compile axis2/c
> and rampart/c without any problem, and the functionalities seem work fine.
>
> (2) If I downloaded openSSL source and compile it by myself (I have to do
> this in order to avoid a name comflict of libeay32.dll with another
> product), I can compile the source without any problem, but I will get
> compilation errors when I try to compile rampart/c (axis2/c went fine). I
> tried openSSL-0.9.8.h and openSSL-0.9.8i, same problem. The error messages
> are like the following:
>
> C:\OpenSSL\include\openssl\x509.h(207) : error C2059: syntax error : 'type'
> C:\OpenSSL\include\openssl\x509.h(929) : error C2059: syntax error : 'type'
> C:\OpenSSL\include\openssl\x509.h(929) : error C2143: syntax error :
> missing ')' before '('
> C:\OpenSSL\include\openssl\x509.h(929) : error C2143: syntax error :
> missing ')' before '('
> C:\OpenSSL\include\openssl\x509.h(929) : error C2091: function returns
> function
> C:\OpenSSL\include\openssl\x509.h(929) : error C2091: function returns
> function
> .....
>
> I noticed that the x509.h from my own build is different from the one in
> the downloaded binary version (attached in this message).
>
> The commands I used to compile the openSSL source is copied from the file
> INSTALL.W32, specifically as the following:
>
> (1) perl Configure VC-WIN32 --prefix=c:/openssl/dir
> (2) ms\do_ms
> (3) nmake -f ms\ntdll.mak
> (4) nmake -f ms\ntdll.mak install
>
> Any clues what I am getting the compilation errors?
>
> Thanks much in advance.
>
> Raymond
>
>
--
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"
Re: rampart/c compilation error related to openSSL
Posted by Uthaiyashankar <sh...@wso2.com>.
Hi,
It is a known problem in openssl (NOT in Rampart/C :D ) . Have a look at [1]
to solve it.
Regards,
Shankar
[1] http://wso2.org/forum/thread/3861
On Tue, Feb 24, 2009 at 6:37 AM, Raymond Zhou <ra...@yahoo.com> wrote:
> Hi All,
>
> I am using open source axis2/c and rampart/c to build a secure web service
> client. I am now getting some openSSL related compilation errors in windows
> XP, here are the details:
>
> (1) If I downloaded the binary version of openSSL, I can compile axis2/c
> and rampart/c without any problem, and the functionalities seem work fine.
>
> (2) If I downloaded openSSL source and compile it by myself (I have to do
> this in order to avoid a name comflict of libeay32.dll with another
> product), I can compile the source without any problem, but I will get
> compilation errors when I try to compile rampart/c (axis2/c went fine). I
> tried openSSL-0.9.8.h and openSSL-0.9.8i, same problem. The error messages
> are like the following:
>
> C:\OpenSSL\include\openssl\x509.h(207) : error C2059: syntax error : 'type'
> C:\OpenSSL\include\openssl\x509.h(929) : error C2059: syntax error : 'type'
> C:\OpenSSL\include\openssl\x509.h(929) : error C2143: syntax error :
> missing ')' before '('
> C:\OpenSSL\include\openssl\x509.h(929) : error C2143: syntax error :
> missing ')' before '('
> C:\OpenSSL\include\openssl\x509.h(929) : error C2091: function returns
> function
> C:\OpenSSL\include\openssl\x509.h(929) : error C2091: function returns
> function
> .....
>
> I noticed that the x509.h from my own build is different from the one in
> the downloaded binary version (attached in this message).
>
> The commands I used to compile the openSSL source is copied from the file
> INSTALL.W32, specifically as the following:
>
> (1) perl Configure VC-WIN32 --prefix=c:/openssl/dir
> (2) ms\do_ms
> (3) nmake -f ms\ntdll.mak
> (4) nmake -f ms\ntdll.mak install
>
> Any clues what I am getting the compilation errors?
>
> Thanks much in advance.
>
> Raymond
>
>
--
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"
Re: rampart/c compilation error related to openSSL
Posted by Uthaiyashankar <sh...@wso2.com>.
Hi,
It is a known problem in openssl (NOT in Rampart/C :D ) . Have a look at [1]
to solve it.
Regards,
Shankar
[1] http://wso2.org/forum/thread/3861
On Tue, Feb 24, 2009 at 6:37 AM, Raymond Zhou <ra...@yahoo.com> wrote:
> Hi All,
>
> I am using open source axis2/c and rampart/c to build a secure web service
> client. I am now getting some openSSL related compilation errors in windows
> XP, here are the details:
>
> (1) If I downloaded the binary version of openSSL, I can compile axis2/c
> and rampart/c without any problem, and the functionalities seem work fine.
>
> (2) If I downloaded openSSL source and compile it by myself (I have to do
> this in order to avoid a name comflict of libeay32.dll with another
> product), I can compile the source without any problem, but I will get
> compilation errors when I try to compile rampart/c (axis2/c went fine). I
> tried openSSL-0.9.8.h and openSSL-0.9.8i, same problem. The error messages
> are like the following:
>
> C:\OpenSSL\include\openssl\x509.h(207) : error C2059: syntax error : 'type'
> C:\OpenSSL\include\openssl\x509.h(929) : error C2059: syntax error : 'type'
> C:\OpenSSL\include\openssl\x509.h(929) : error C2143: syntax error :
> missing ')' before '('
> C:\OpenSSL\include\openssl\x509.h(929) : error C2143: syntax error :
> missing ')' before '('
> C:\OpenSSL\include\openssl\x509.h(929) : error C2091: function returns
> function
> C:\OpenSSL\include\openssl\x509.h(929) : error C2091: function returns
> function
> .....
>
> I noticed that the x509.h from my own build is different from the one in
> the downloaded binary version (attached in this message).
>
> The commands I used to compile the openSSL source is copied from the file
> INSTALL.W32, specifically as the following:
>
> (1) perl Configure VC-WIN32 --prefix=c:/openssl/dir
> (2) ms\do_ms
> (3) nmake -f ms\ntdll.mak
> (4) nmake -f ms\ntdll.mak install
>
> Any clues what I am getting the compilation errors?
>
> Thanks much in advance.
>
> Raymond
>
>
--
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"
rampart/c compilation error related to openSSL
Posted by Raymond Zhou <ra...@yahoo.com>.
Hi All,
�
I am using open source axis2/c and�rampart/c to build a secure web service client.� I am now getting some openSSL related compilation errors in windows XP, here are the details:
�
(1) If I downloaded the binary version of openSSL, I can compile axis2/c and rampart/c without any problem, and the functionalities seem work fine.
�
(2) If I downloaded openSSL source and compile it by myself (I have to do this in order to avoid a name comflict of libeay32.dll with another product), I can compile the source without any problem, but I�will get compilation errors when I try to compile rampart/c (axis2/c went fine). I tried openSSL-0.9.8.h and openSSL-0.9.8i, same problem. The error messages are like the following:��
�
C:\OpenSSL\include\openssl\x509.h(207) : error C2059: syntax error : 'type'
C:\OpenSSL\include\openssl\x509.h(929) : error C2059: syntax error : 'type'
C:\OpenSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing�')' before '('
C:\OpenSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing�')' before '('
C:\OpenSSL\include\openssl\x509.h(929) : error C2091: function returns function
C:\OpenSSL\include\openssl\x509.h(929) : error C2091: function returns function
�.....
�
I noticed that the x509.h from my own build is different from the one�in the�downloaded binary version (attached in this message).�
�
The commands I used to compile the openSSL source is copied from the file INSTALL.W32, specifically as the following:
�
(1) perl Configure VC-WIN32 --prefix=c:/openssl/dir
(2) ms\do_ms
(3) nmake -f ms\ntdll.mak
(4) nmake -f ms\ntdll.mak install
�
�Any clues what I am getting the compilation errors?
�
Thanks much in advance.
�
Raymond
rampart/c compilation error related to openSSL
Posted by Raymond Zhou <ra...@yahoo.com>.
Hi All,
I am using open source axis2/c and rampart/c to build a secure web service client. I am now getting some openSSL related compilation errors in windows XP, here are the details:
(1) If I downloaded the binary version of openSSL, I can compile axis2/c and rampart/c without any problem, and the functionalities seem work fine.
(2) If I downloaded openSSL source and compile it by myself (I have to do this in order to avoid a name comflict of libeay32.dll with another product), I can compile the source without any problem, but I will get compilation errors when I try to compile rampart/c (axis2/c went fine). I tried openSSL-0.9.8.h and openSSL-0.9.8i, same problem. The error messages are like the following:
C:\OpenSSL\include\openssl\x509.h(207) : error C2059: syntax error : 'type'
C:\OpenSSL\include\openssl\x509.h(929) : error C2059: syntax error : 'type'
C:\OpenSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing ')' before '('
C:\OpenSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing ')' before '('
C:\OpenSSL\include\openssl\x509.h(929) : error C2091: function returns function
C:\OpenSSL\include\openssl\x509.h(929) : error C2091: function returns function
.....
I noticed that the x509.h from my own build is different from the one in the downloaded binary version (attached in this message).
The commands I used to compile the openSSL source is copied from the file INSTALL.W32, specifically as the following:
(1) perl Configure VC-WIN32 --prefix=c:/openssl/dir
(2) ms\do_ms
(3) nmake -f ms\ntdll.mak
(4) nmake -f ms\ntdll.mak install
Any clues what I am getting the compilation errors?
Thanks much in advance.
Raymond
rampart/c compilation error related to openSSL
Posted by Raymond Zhou <ra...@yahoo.com>.
Hi All,
�
I am using open source axis2/c and�rampart/c to build a secure web service client.� I am now getting some openSSL related compilation errors in windows XP, here are the details:
�
(1) If I downloaded the binary version of openSSL, I can compile axis2/c and rampart/c without any problem, and the functionalities seem work fine.
�
(2) If I downloaded openSSL source and compile it by myself (I have to do this in order to avoid a name comflict of libeay32.dll with another product), I can compile the source without any problem, but I�will get compilation errors when I try to compile rampart/c (axis2/c went fine). I tried openSSL-0.9.8.h and openSSL-0.9.8i, same problem. The error messages are like the following:��
�
C:\OpenSSL\include\openssl\x509.h(207) : error C2059: syntax error : 'type'
C:\OpenSSL\include\openssl\x509.h(929) : error C2059: syntax error : 'type'
C:\OpenSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing�')' before '('
C:\OpenSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing�')' before '('
C:\OpenSSL\include\openssl\x509.h(929) : error C2091: function returns function
C:\OpenSSL\include\openssl\x509.h(929) : error C2091: function returns function
�.....
�
I noticed that the x509.h from my own build is different from the one�in the�downloaded binary version (attached in this message).�
�
The commands I used to compile the openSSL source is copied from the file INSTALL.W32, specifically as the following:
�
(1) perl Configure VC-WIN32 --prefix=c:/openssl/dir
(2) ms\do_ms
(3) nmake -f ms\ntdll.mak
(4) nmake -f ms\ntdll.mak install
�
�Any clues what I am getting the compilation errors?
�
Thanks much in advance.
�
Raymond
Re: error while loading axis2/c module "The specified module could
not be found"
Posted by sasanka pusapati <sp...@gmail.com>.
Hi all,
Problem got resolved, the problem is due to axis2c/ lib value
not set as system variable.
Supun: thanks a lot... :)
Sasank
On Mon, Feb 23, 2009 at 7:21 PM, Supun Kamburugamuva <su...@gmail.com>wrote:
> Did you add the axis2/c libraries to the Windows PATH?
>
>
>
> On Mon, Feb 23, 2009 at 4:52 PM, sasanka pusapati <sp...@gmail.com>wrote:
>
>> Hi ,
>>
>> The original text that i have added in httpd.conf after copying
>> mod_axis2.so into modules directory was
>>
>> LoadModule axis2_module modules/mod_axis2.so
>> Axis2RepoPath "c:/axis2c-bin-1.5.0-win32/axis2c"
>> Axis2LogFile "c:/axis2c-bin-1.5.0-win32/axis2c/axis2.log"
>> Axis2ServiceURLPrefix /service
>> Axis2LogLevel debug
>> Axis2MaxLogFileSize 100
>> <Location /axis2>
>> SetHandler axis2_module
>> </Location>
>>
>> but this is throwing following error
>>
>> "httpd.exe: Syntax error on line 127 of C:/Program Files/Apache Software
>> Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache
>> Software Foundation/Apache2.2/modules/mod_axis2.so into server: The
>> specified module could not be found. " , but the file mod_axis2.so do exist
>> in modules directory.
>>
>>
>>
>> Is there any thing else i need to configure ...
>>
>> Thanks in Advance,
>> Sasanka.
>>
>> On Mon, Feb 23, 2009 at 5:01 PM, Supun Kamburugamuva <su...@gmail.com>wrote:
>>
>>> These are not matching
>>
>>
>>
>>
>>>
>>>
>>> <Location /axis2>
>>> SetHandler axis2_module
>>> </Location>
>>>
>>> and
>>>
>>> LoadModule axis_2module modules/mod_axis2.so
>>>
>>> Supun..
>>>
>>>
>>> On Mon, Feb 23, 2009 at 3:26 PM, sasanka pusapati <
>>> spusapatinlr@gmail.com> wrote:
>>>
>>>>
>>>>
>>>>
>>>>
>>>> Hi Axis2/c Users,
>>>> I am new to Axis2/c. I am trying to
>>>> configure apache 2.2.9 with axis2/c module but i am unable to load the
>>>> axis2/c module. I downloaded the binary of axis 1.5 and copied the
>>>> mod_axis2.dll as mod_axis2.so into modules directory. I also modified the
>>>> httpd.conf
>>>> When i restart the Apache web server i am getting the following error
>>>>
>>>> "httpd.exe: Syntax error on line 127 of C:/Program Files/Apache Software
>>>> Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache
>>>> Software Foundation/Apache2.2/modules/mod_axis2.so into server: The
>>>> specified module could not be found. " , but the file mod_axis2.so do exist
>>>> in modules directory.
>>>>
>>>> Following is the text added in httpd.conf:
>>>>
>>>> LoadModule axis_2module modules/mod_axis2.so
>>>> Axis2RepoPath "c:/axis2c-bin-1.5.0-win32/axis2c"
>>>> Axis2LogFile "c:/axis2c-bin-1.5.0-win32/axis2c/axis2.log"
>>>> Axis2ServiceURLPrefix /service
>>>> Axis2LogLevel debug
>>>> Axis2MaxLogFileSize 100
>>>> <Location /axis2>
>>>> SetHandler axis2_module
>>>> </Location>
>>>>
>>>> Smart brains.. can you please help me in resolving this issue....
>>>>
>>>> Thanks in Advance,
>>>> Sasank.
>>>>
>>>>
>>>>
>>>> --
>>>> sasanka Pusapati
>>>>
>>>
>>>
>>>
>>> --
>>> Software Engineer, WSO2 Inc
>>> http://wso2.org
>>> supunk.blogspot.com
>>>
>>>
>>>
>>
>>
>> --
>> sasanka Pusapati
>>
>
>
>
> --
> Software Engineer, WSO2 Inc
> http://wso2.org
> supunk.blogspot.com
>
>
>
--
sasanka Pusapati
Re: error while loading axis2/c module "The specified module could
not be found"
Posted by Supun Kamburugamuva <su...@gmail.com>.
Did you add the axis2/c libraries to the Windows PATH?
On Mon, Feb 23, 2009 at 4:52 PM, sasanka pusapati <sp...@gmail.com>wrote:
> Hi ,
>
> The original text that i have added in httpd.conf after copying
> mod_axis2.so into modules directory was
>
> LoadModule axis2_module modules/mod_axis2.so
> Axis2RepoPath "c:/axis2c-bin-1.5.0-win32/axis2c"
> Axis2LogFile "c:/axis2c-bin-1.5.0-win32/axis2c/axis2.log"
> Axis2ServiceURLPrefix /service
> Axis2LogLevel debug
> Axis2MaxLogFileSize 100
> <Location /axis2>
> SetHandler axis2_module
> </Location>
>
> but this is throwing following error
>
> "httpd.exe: Syntax error on line 127 of C:/Program Files/Apache Software
> Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache
> Software Foundation/Apache2.2/modules/mod_axis2.so into server: The
> specified module could not be found. " , but the file mod_axis2.so do exist
> in modules directory.
>
>
>
> Is there any thing else i need to configure ...
>
> Thanks in Advance,
> Sasanka.
>
> On Mon, Feb 23, 2009 at 5:01 PM, Supun Kamburugamuva <su...@gmail.com>wrote:
>
>> These are not matching
>
>
>
>
>>
>>
>> <Location /axis2>
>> SetHandler axis2_module
>> </Location>
>>
>> and
>>
>> LoadModule axis_2module modules/mod_axis2.so
>>
>> Supun..
>>
>>
>> On Mon, Feb 23, 2009 at 3:26 PM, sasanka pusapati <spusapatinlr@gmail.com
>> > wrote:
>>
>>>
>>>
>>>
>>>
>>> Hi Axis2/c Users,
>>> I am new to Axis2/c. I am trying to configure
>>> apache 2.2.9 with axis2/c module but i am unable to load the axis2/c module.
>>> I downloaded the binary of axis 1.5 and copied the mod_axis2.dll as
>>> mod_axis2.so into modules directory. I also modified the httpd.conf
>>> When i restart the Apache web server i am getting the following error
>>>
>>> "httpd.exe: Syntax error on line 127 of C:/Program Files/Apache Software
>>> Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache
>>> Software Foundation/Apache2.2/modules/mod_axis2.so into server: The
>>> specified module could not be found. " , but the file mod_axis2.so do exist
>>> in modules directory.
>>>
>>> Following is the text added in httpd.conf:
>>>
>>> LoadModule axis_2module modules/mod_axis2.so
>>> Axis2RepoPath "c:/axis2c-bin-1.5.0-win32/axis2c"
>>> Axis2LogFile "c:/axis2c-bin-1.5.0-win32/axis2c/axis2.log"
>>> Axis2ServiceURLPrefix /service
>>> Axis2LogLevel debug
>>> Axis2MaxLogFileSize 100
>>> <Location /axis2>
>>> SetHandler axis2_module
>>> </Location>
>>>
>>> Smart brains.. can you please help me in resolving this issue....
>>>
>>> Thanks in Advance,
>>> Sasank.
>>>
>>>
>>>
>>> --
>>> sasanka Pusapati
>>>
>>
>>
>>
>> --
>> Software Engineer, WSO2 Inc
>> http://wso2.org
>> supunk.blogspot.com
>>
>>
>>
>
>
> --
> sasanka Pusapati
>
--
Software Engineer, WSO2 Inc
http://wso2.org
supunk.blogspot.com
Re: error while loading axis2/c module "The specified module could not be found"
Posted by S Balaji <ij...@yahoo.com>.
Sorry perhaps I am confusing Axis2/C with Axis C++. My apologies.
--- On Mon, 2/23/09, S Balaji <ij...@yahoo.com> wrote:
> From: S Balaji <ij...@yahoo.com>
> Subject: Re: error while loading axis2/c module "The specified module could not be found"
> To: "Apache AXIS C User List" <ax...@ws.apache.org>
> Date: Monday, February 23, 2009, 7:31 AM
> Hi Sasank,
>
> I had same problem with Apache 2.2 server and axis
> axis-c-1.6b-Win32-trace-bin on my windows 2000 Advanced
> server laptop. Here are some things I can think of :
>
> *) Take latest Axis cpp source and build it ? I am yet to
> locate this. I was told axis-c-1.6b-Win32-trace-bin is
> pretty old. You said you are running even older version :
> 1.5
> *) Make sure apache web server is built with module .so
> support.
> *) When I got this problem myself, I googled a bit and
> found a small piece of code which can help you isolate what
> problem you are having with your specific mod_axis2.dll : If
> you need the executable, I can send you that as well.
> #include <windows.h>
> int main( int argc, char** argv )
> {
> char szLibrary[] = "mod_axis2.dll";
> HANDLE os_handle = LoadLibraryEx( szLibrary, NULL, 0 );
> return 0;
> }
>
>
> *) Ultimately I could not get it to work but I did not
> bother, as I dont particularly need my web services server
> side to run in C++. I am only interested in c++ client.
>
> Sorry if this is not much help.
>
>
>
>
> --- On Mon, 2/23/09, sasanka pusapati
> <sp...@gmail.com> wrote:
>
> > From: sasanka pusapati <sp...@gmail.com>
> > Subject: Re: error while loading axis2/c module
> "The specified module could not be found"
> > To: "Apache AXIS C User List"
> <ax...@ws.apache.org>
> > Date: Monday, February 23, 2009, 6:52 AM
> > Hi ,
> >
> > The original text that i have added in httpd.conf
> after
> > copying mod_axis2.so
> > into modules directory was
> >
> > LoadModule axis2_module modules/mod_axis2.so
> > Axis2RepoPath
> > "c:/axis2c-bin-1.5.0-win32/axis2c"
> > Axis2LogFile
> > "c:/axis2c-bin-1.5.0-win32/axis2c/axis2.log"
> > Axis2ServiceURLPrefix /service
> > Axis2LogLevel debug
> > Axis2MaxLogFileSize 100
> > <Location /axis2>
> > SetHandler axis2_module
> > </Location>
> >
> > but this is throwing following error
> >
> > "httpd.exe: Syntax error on line 127 of
> C:/Program
> > Files/Apache Software
> > Foundation/Apache2.2/conf/httpd.conf: Cannot load
> > C:/Program Files/Apache
> > Software Foundation/Apache2.2/modules/mod_axis2.so
> into
> > server: The
> > specified module could not be found. " , but the
> file
> > mod_axis2.so do exist
> > in modules directory.
> >
> >
> >
> > Is there any thing else i need to configure ...
> >
> > Thanks in Advance,
> > Sasanka.
> >
> > On Mon, Feb 23, 2009 at 5:01 PM, Supun Kamburugamuva
> > <su...@gmail.com>wrote:
> >
> > > These are not matching
> >
> >
> >
> >
> > >
> > >
> > > <Location /axis2>
> > > SetHandler axis2_module
> > > </Location>
> > >
> > > and
> > >
> > > LoadModule axis_2module modules/mod_axis2.so
> > >
> > > Supun..
> > >
> > >
> > > On Mon, Feb 23, 2009 at 3:26 PM, sasanka pusapati
> > <sp...@gmail.com>wrote:
> > >
> > >>
> > >>
> > >>
> > >>
> > >> Hi Axis2/c Users,
> > >> I am new to
> Axis2/c. I
> > am trying to configure
> > >> apache 2.2.9 with axis2/c module but i am
> unable
> > to load the axis2/c module.
> > >> I downloaded the binary of axis 1.5 and
> copied the
> > mod_axis2.dll as
> > >> mod_axis2.so into modules directory. I also
> > modified the httpd.conf
> > >> When i restart the Apache web server i am
> getting
> > the following error
> > >>
> > >> "httpd.exe: Syntax error on line 127 of
> > C:/Program Files/Apache Software
> > >> Foundation/Apache2.2/conf/httpd.conf: Cannot
> load
> > C:/Program Files/Apache
> > >> Software
> Foundation/Apache2.2/modules/mod_axis2.so
> > into server: The
> > >> specified module could not be found. "
> , but
> > the file mod_axis2.so do exist
> > >> in modules directory.
> > >>
> > >> Following is the text added in httpd.conf:
> > >>
> > >> LoadModule axis_2module modules/mod_axis2.so
> > >> Axis2RepoPath
> > "c:/axis2c-bin-1.5.0-win32/axis2c"
> > >> Axis2LogFile
> > "c:/axis2c-bin-1.5.0-win32/axis2c/axis2.log"
> > >> Axis2ServiceURLPrefix /service
> > >> Axis2LogLevel debug
> > >> Axis2MaxLogFileSize 100
> > >> <Location /axis2>
> > >> SetHandler axis2_module
> > >> </Location>
> > >>
> > >> Smart brains.. can you please help me in
> resolving
> > this issue....
> > >>
> > >> Thanks in Advance,
> > >> Sasank.
> > >>
> > >>
> > >>
> > >> --
> > >> sasanka Pusapati
> > >>
> > >
> > >
> > >
> > > --
> > > Software Engineer, WSO2 Inc
> > > http://wso2.org
> > > supunk.blogspot.com
> > >
> > >
> > >
> >
> >
> > --
> > sasanka Pusapati
Re: error while loading axis2/c module "The specified module could not be found"
Posted by S Balaji <ij...@yahoo.com>.
Hi Sasank,
I had same problem with Apache 2.2 server and axis axis-c-1.6b-Win32-trace-bin on my windows 2000 Advanced server laptop. Here are some things I can think of :
*) Take latest Axis cpp source and build it ? I am yet to locate this. I was told axis-c-1.6b-Win32-trace-bin is pretty old. You said you are running even older version : 1.5
*) Make sure apache web server is built with module .so support.
*) When I got this problem myself, I googled a bit and found a small piece of code which can help you isolate what problem you are having with your specific mod_axis2.dll : If you need the executable, I can send you that as well.
#include <windows.h>
int main( int argc, char** argv )
{
char szLibrary[] = "mod_axis2.dll";
HANDLE os_handle = LoadLibraryEx( szLibrary, NULL, 0 );
return 0;
}
*) Ultimately I could not get it to work but I did not bother, as I dont particularly need my web services server side to run in C++. I am only interested in c++ client.
Sorry if this is not much help.
--- On Mon, 2/23/09, sasanka pusapati <sp...@gmail.com> wrote:
> From: sasanka pusapati <sp...@gmail.com>
> Subject: Re: error while loading axis2/c module "The specified module could not be found"
> To: "Apache AXIS C User List" <ax...@ws.apache.org>
> Date: Monday, February 23, 2009, 6:52 AM
> Hi ,
>
> The original text that i have added in httpd.conf after
> copying mod_axis2.so
> into modules directory was
>
> LoadModule axis2_module modules/mod_axis2.so
> Axis2RepoPath
> "c:/axis2c-bin-1.5.0-win32/axis2c"
> Axis2LogFile
> "c:/axis2c-bin-1.5.0-win32/axis2c/axis2.log"
> Axis2ServiceURLPrefix /service
> Axis2LogLevel debug
> Axis2MaxLogFileSize 100
> <Location /axis2>
> SetHandler axis2_module
> </Location>
>
> but this is throwing following error
>
> "httpd.exe: Syntax error on line 127 of C:/Program
> Files/Apache Software
> Foundation/Apache2.2/conf/httpd.conf: Cannot load
> C:/Program Files/Apache
> Software Foundation/Apache2.2/modules/mod_axis2.so into
> server: The
> specified module could not be found. " , but the file
> mod_axis2.so do exist
> in modules directory.
>
>
>
> Is there any thing else i need to configure ...
>
> Thanks in Advance,
> Sasanka.
>
> On Mon, Feb 23, 2009 at 5:01 PM, Supun Kamburugamuva
> <su...@gmail.com>wrote:
>
> > These are not matching
>
>
>
>
> >
> >
> > <Location /axis2>
> > SetHandler axis2_module
> > </Location>
> >
> > and
> >
> > LoadModule axis_2module modules/mod_axis2.so
> >
> > Supun..
> >
> >
> > On Mon, Feb 23, 2009 at 3:26 PM, sasanka pusapati
> <sp...@gmail.com>wrote:
> >
> >>
> >>
> >>
> >>
> >> Hi Axis2/c Users,
> >> I am new to Axis2/c. I
> am trying to configure
> >> apache 2.2.9 with axis2/c module but i am unable
> to load the axis2/c module.
> >> I downloaded the binary of axis 1.5 and copied the
> mod_axis2.dll as
> >> mod_axis2.so into modules directory. I also
> modified the httpd.conf
> >> When i restart the Apache web server i am getting
> the following error
> >>
> >> "httpd.exe: Syntax error on line 127 of
> C:/Program Files/Apache Software
> >> Foundation/Apache2.2/conf/httpd.conf: Cannot load
> C:/Program Files/Apache
> >> Software Foundation/Apache2.2/modules/mod_axis2.so
> into server: The
> >> specified module could not be found. " , but
> the file mod_axis2.so do exist
> >> in modules directory.
> >>
> >> Following is the text added in httpd.conf:
> >>
> >> LoadModule axis_2module modules/mod_axis2.so
> >> Axis2RepoPath
> "c:/axis2c-bin-1.5.0-win32/axis2c"
> >> Axis2LogFile
> "c:/axis2c-bin-1.5.0-win32/axis2c/axis2.log"
> >> Axis2ServiceURLPrefix /service
> >> Axis2LogLevel debug
> >> Axis2MaxLogFileSize 100
> >> <Location /axis2>
> >> SetHandler axis2_module
> >> </Location>
> >>
> >> Smart brains.. can you please help me in resolving
> this issue....
> >>
> >> Thanks in Advance,
> >> Sasank.
> >>
> >>
> >>
> >> --
> >> sasanka Pusapati
> >>
> >
> >
> >
> > --
> > Software Engineer, WSO2 Inc
> > http://wso2.org
> > supunk.blogspot.com
> >
> >
> >
>
>
> --
> sasanka Pusapati
Re: error while loading axis2/c module "The specified module could
not be found"
Posted by sasanka pusapati <sp...@gmail.com>.
Hi ,
The original text that i have added in httpd.conf after copying mod_axis2.so
into modules directory was
LoadModule axis2_module modules/mod_axis2.so
Axis2RepoPath "c:/axis2c-bin-1.5.0-win32/axis2c"
Axis2LogFile "c:/axis2c-bin-1.5.0-win32/axis2c/axis2.log"
Axis2ServiceURLPrefix /service
Axis2LogLevel debug
Axis2MaxLogFileSize 100
<Location /axis2>
SetHandler axis2_module
</Location>
but this is throwing following error
"httpd.exe: Syntax error on line 127 of C:/Program Files/Apache Software
Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache
Software Foundation/Apache2.2/modules/mod_axis2.so into server: The
specified module could not be found. " , but the file mod_axis2.so do exist
in modules directory.
Is there any thing else i need to configure ...
Thanks in Advance,
Sasanka.
On Mon, Feb 23, 2009 at 5:01 PM, Supun Kamburugamuva <su...@gmail.com>wrote:
> These are not matching
>
>
> <Location /axis2>
> SetHandler axis2_module
> </Location>
>
> and
>
> LoadModule axis_2module modules/mod_axis2.so
>
> Supun..
>
>
> On Mon, Feb 23, 2009 at 3:26 PM, sasanka pusapati <sp...@gmail.com>wrote:
>
>>
>>
>>
>>
>> Hi Axis2/c Users,
>> I am new to Axis2/c. I am trying to configure
>> apache 2.2.9 with axis2/c module but i am unable to load the axis2/c module.
>> I downloaded the binary of axis 1.5 and copied the mod_axis2.dll as
>> mod_axis2.so into modules directory. I also modified the httpd.conf
>> When i restart the Apache web server i am getting the following error
>>
>> "httpd.exe: Syntax error on line 127 of C:/Program Files/Apache Software
>> Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache
>> Software Foundation/Apache2.2/modules/mod_axis2.so into server: The
>> specified module could not be found. " , but the file mod_axis2.so do exist
>> in modules directory.
>>
>> Following is the text added in httpd.conf:
>>
>> LoadModule axis_2module modules/mod_axis2.so
>> Axis2RepoPath "c:/axis2c-bin-1.5.0-win32/axis2c"
>> Axis2LogFile "c:/axis2c-bin-1.5.0-win32/axis2c/axis2.log"
>> Axis2ServiceURLPrefix /service
>> Axis2LogLevel debug
>> Axis2MaxLogFileSize 100
>> <Location /axis2>
>> SetHandler axis2_module
>> </Location>
>>
>> Smart brains.. can you please help me in resolving this issue....
>>
>> Thanks in Advance,
>> Sasank.
>>
>>
>>
>> --
>> sasanka Pusapati
>>
>
>
>
> --
> Software Engineer, WSO2 Inc
> http://wso2.org
> supunk.blogspot.com
>
>
>
--
sasanka Pusapati
Re: error while loading axis2/c module "The specified module could
not be found"
Posted by Supun Kamburugamuva <su...@gmail.com>.
These are not matching
<Location /axis2>
SetHandler axis2_module
</Location>
and
LoadModule axis_2module modules/mod_axis2.so
Supun..
On Mon, Feb 23, 2009 at 3:26 PM, sasanka pusapati <sp...@gmail.com>wrote:
>
>
>
>
> Hi Axis2/c Users,
> I am new to Axis2/c. I am trying to configure
> apache 2.2.9 with axis2/c module but i am unable to load the axis2/c module.
> I downloaded the binary of axis 1.5 and copied the mod_axis2.dll as
> mod_axis2.so into modules directory. I also modified the httpd.conf
> When i restart the Apache web server i am getting the following error
>
> "httpd.exe: Syntax error on line 127 of C:/Program Files/Apache Software
> Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache
> Software Foundation/Apache2.2/modules/mod_axis2.so into server: The
> specified module could not be found. " , but the file mod_axis2.so do exist
> in modules directory.
>
> Following is the text added in httpd.conf:
>
> LoadModule axis_2module modules/mod_axis2.so
> Axis2RepoPath "c:/axis2c-bin-1.5.0-win32/axis2c"
> Axis2LogFile "c:/axis2c-bin-1.5.0-win32/axis2c/axis2.log"
> Axis2ServiceURLPrefix /service
> Axis2LogLevel debug
> Axis2MaxLogFileSize 100
> <Location /axis2>
> SetHandler axis2_module
> </Location>
>
> Smart brains.. can you please help me in resolving this issue....
>
> Thanks in Advance,
> Sasank.
>
>
>
> --
> sasanka Pusapati
>
--
Software Engineer, WSO2 Inc
http://wso2.org
supunk.blogspot.com