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 Graf László <gr...@datatrans.hu> on 2008/03/10 21:43:29 UTC

Re: Axis2/C for Apapche 2.2.8

Hi Fernando,

I have to disappoint you, the mod_axis2.so still does not wotk for me.
The error message is this:


The Apache service named  reported the following error:
 >>> httpd.exe: Syntax error on line 484 of 
C:/Apache2.2.8/conf/httpd.conf: Cannot load 
C:/Apache2.2.8/modules/mod_axis2.so into server: Could not find the 
giben method


Could you send me your so file?


Senaka Fernando írta:
> Hi Laszlo,
>
> AFAIK, mod_axis2 works with Apache 2.2.8. You can use two approaches.
>
> Method 1:
> Please confirm to whether you can find (using search in Windows) the
> ***mod_axis2.dll*** some where inside your ides/VC folder. The location at
> which it is built may vary according to how you build the solution/project
> and settings that you specify. Please note that this might be built
> somewhere else from other Axis2/C libs. Once you find it, please copy that
> .dll to "C:/Program Files/Apache Software
> Foundation/Apache2.2/modules/mod_axis2.dll". And make sure that if you
> have written any path that has spaces in between, add quotation marks
> around it.
>
> Method 2:
> Use the nmake build script. If you have VS 2005 installed you don't
> require any additional tools. Locate the configure.in found inside
> build/win32, and edit it.
> Open a new command window and run vcvars32.bat. This can be found in
> C:\Program Files\Microsoft Visual Studio 8\VC\bin or any other place at
> which you installed VS2005. Then inside the same command window, change
> directory to the place where you downloaded Axis2/C. And goto the folder
> build\win32. Run the build.bat and once you've done, run "nmake
> axis2_apache_module". After that, you'll find a new sub folder named
> deploy inside the build folder. Set this as your AXIS2C_HOME and add
> AXIS2C_HOME\lib to your path variable. After that you can copy the
> ***mod_axis2.dll*** dll that is found inside AXIS2C_HOME\lib.
>
> Regards,
> Senaka
>
> Regards,
> Senaka
>
>   
>> Hi Laszlo,
>>
>> Did you follow the steps as mentioned in [1] ?
>>
>> [1] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#mod_axis2
>>
>> -Manjula.
>>
>> On Sat, 2008-02-16 at 21:38 +0100, Graf László wrote:
>>     
>>> Hi all,
>>>
>>> I built sucesfully the Axis2/C module on Windows XP using VS 2005.
>>> But the testing it om Apache 2.2.8 failes with this message:
>>>
>>> "Syntax error on line 490 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.dll into server:
>>>  the module can not found (translated from hungarian)".
>>>
>>> I tried to copy Axis2/C dlls to Apache bin folder but no success.
>>>
>>> Did some solve this kind of problem?
>>>
>>> Laszlo
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>
>>
>>     
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>   


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


Re: Axis2/C for Apapche 2.2.8

Posted by Graf László <gr...@datatrans.hu>.
Hi Senaka,

I am back again with the same problem. I tested the mod_axis2.dll
from the ZIP provided by you. Meanwhile I installed the wso2-wsf-c-1.2.0.msi
and that module works fine.

But there is a little difference between the DLL files: those built 
files by you
and me have the same size, cca 36 kB, and the WSO2's module has 60 kB.

Could be this difference the root of the problem?

Laszlo



Senaka Fernando írta:
>  Hi Laszlo,
>
>  An Axis2/C Win32 Binary built with Apache 2.2.8 can be found at [1]
>
>  [1] http://people.apache.org/~senaka/axis2/c/axis2c-bin-1.3.0-win32.zip
>
>  Regards,
>  Senaka
>
> > Hi Laszlo,
> >
> > Will send you a Apache2.2.8 compatible mod_axis2.so built in Windows XP
> > SP2, using VS2005.
> >
> > In the mean time, would it be possible for you to,
> >
> > 1. Attach your httpd.conf file,
> > 2. Attach your apache error log,
> >
> > To this mail thread and,
> >
> > 3. Let me know whether your folder path contains non-ASCII characters.
> >
> > Regards,
> > Senaka
> >
> >> Hi Fernando,
> >>
> >> I have to disappoint you, the mod_axis2.so still does not wotk for me.
> >> The error message is this:
> >>
> >>
> >> The Apache service named  reported the following error:
> >>  >>> httpd.exe: Syntax error on line 484 of
> >> C:/Apache2.2.8/conf/httpd.conf: Cannot load
> >> C:/Apache2.2.8/modules/mod_axis2.so into server: Could not find the
> >> giben method
> >>
> >>
> >> Could you send me your so file?
> >>
> >>
> >> Senaka Fernando írta:
> >>> Hi Laszlo,
> >>>
> >>> AFAIK, mod_axis2 works with Apache 2.2.8. You can use two approaches.
> >>>
> >>> Method 1:
> >>> Please confirm to whether you can find (using search in Windows) the
> >>> ***mod_axis2.dll*** some where inside your ides/VC folder. The location
> >>> at
> >>> which it is built may vary according to how you build the
> >>> solution/project
> >>> and settings that you specify. Please note that this might be built
> >>> somewhere else from other Axis2/C libs. Once you find it, please copy
> >>> that
> >>> .dll to "C:/Program Files/Apache Software
> >>> Foundation/Apache2.2/modules/mod_axis2.dll". And make sure that if you
> >>> have written any path that has spaces in between, add quotation marks
> >>> around it.
> >>>
> >>> Method 2:
> >>> Use the nmake build script. If you have VS 2005 installed you don't
> >>> require any additional tools. Locate the configure.in found inside
> >>> build/win32, and edit it.
> >>> Open a new command window and run vcvars32.bat. This can be found in
> >>> C:\Program Files\Microsoft Visual Studio 8\VC\bin or any other place at
> >>> which you installed VS2005. Then inside the same command window, change
> >>> directory to the place where you downloaded Axis2/C. And goto the
> >>> folder
> >>> build\win32. Run the build.bat and once you've done, run "nmake
> >>> axis2_apache_module". After that, you'll find a new sub folder named
> >>> deploy inside the build folder. Set this as your AXIS2C_HOME and add
> >>> AXIS2C_HOME\lib to your path variable. After that you can copy the
> >>> ***mod_axis2.dll*** dll that is found inside AXIS2C_HOME\lib.
> >>>
> >>> Regards,
> >>> Senaka
> >>>
> >>> Regards,
> >>> Senaka
> >>>
> >>>
> >>>> Hi Laszlo,
> >>>>
> >>>> Did you follow the steps as mentioned in [1] ?
> >>>>
> >>>> [1] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#mod_axis2
> >>>>
> >>>> -Manjula.
> >>>>
> >>>> On Sat, 2008-02-16 at 21:38 +0100, Graf László wrote:
> >>>>
> >>>>> Hi all,
> >>>>>
> >>>>> I built sucesfully the Axis2/C module on Windows XP using VS 2005.
> >>>>> But the testing it om Apache 2.2.8 failes with this message:
> >>>>>
> >>>>> "Syntax error on line 490 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.dll into server:
> >>>>>  the module can not found (translated from hungarian)".
> >>>>>
> >>>>> I tried to copy Axis2/C dlls to Apache bin folder but no success.
> >>>>>
> >>>>> Did some solve this kind of problem?
> >>>>>
> >>>>> Laszlo
> >>>>>
> >>>>>
> >>>>> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> >>>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >>>>>
> >>>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> >>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >>>>
> >>>>
> >>>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> >>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >>>
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >>
> >>
> >
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>  For additional commands, e-mail: axis-c-user-help@ws.apache.org
>



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


Re: Axis2/C for Apapche 2.2.8

Posted by Senaka Fernando <se...@wso2.com>.
Hi Laszlo,

An Axis2/C Win32 Binary built with Apache 2.2.8 can be found at [1]

[1] http://people.apache.org/~senaka/axis2/c/axis2c-bin-1.3.0-win32.zip

Regards,
Senaka

> Hi Laszlo,
>
> Will send you a Apache2.2.8 compatible mod_axis2.so built in Windows XP
> SP2, using VS2005.
>
> In the mean time, would it be possible for you to,
>
> 1. Attach your httpd.conf file,
> 2. Attach your apache error log,
>
> To this mail thread and,
>
> 3. Let me know whether your folder path contains non-ASCII characters.
>
> Regards,
> Senaka
>
>> Hi Fernando,
>>
>> I have to disappoint you, the mod_axis2.so still does not wotk for me.
>> The error message is this:
>>
>>
>> The Apache service named  reported the following error:
>>  >>> httpd.exe: Syntax error on line 484 of
>> C:/Apache2.2.8/conf/httpd.conf: Cannot load
>> C:/Apache2.2.8/modules/mod_axis2.so into server: Could not find the
>> giben method
>>
>>
>> Could you send me your so file?
>>
>>
>> Senaka Fernando írta:
>>> Hi Laszlo,
>>>
>>> AFAIK, mod_axis2 works with Apache 2.2.8. You can use two approaches.
>>>
>>> Method 1:
>>> Please confirm to whether you can find (using search in Windows) the
>>> ***mod_axis2.dll*** some where inside your ides/VC folder. The location
>>> at
>>> which it is built may vary according to how you build the
>>> solution/project
>>> and settings that you specify. Please note that this might be built
>>> somewhere else from other Axis2/C libs. Once you find it, please copy
>>> that
>>> .dll to "C:/Program Files/Apache Software
>>> Foundation/Apache2.2/modules/mod_axis2.dll". And make sure that if you
>>> have written any path that has spaces in between, add quotation marks
>>> around it.
>>>
>>> Method 2:
>>> Use the nmake build script. If you have VS 2005 installed you don't
>>> require any additional tools. Locate the configure.in found inside
>>> build/win32, and edit it.
>>> Open a new command window and run vcvars32.bat. This can be found in
>>> C:\Program Files\Microsoft Visual Studio 8\VC\bin or any other place at
>>> which you installed VS2005. Then inside the same command window, change
>>> directory to the place where you downloaded Axis2/C. And goto the
>>> folder
>>> build\win32. Run the build.bat and once you've done, run "nmake
>>> axis2_apache_module". After that, you'll find a new sub folder named
>>> deploy inside the build folder. Set this as your AXIS2C_HOME and add
>>> AXIS2C_HOME\lib to your path variable. After that you can copy the
>>> ***mod_axis2.dll*** dll that is found inside AXIS2C_HOME\lib.
>>>
>>> Regards,
>>> Senaka
>>>
>>> Regards,
>>> Senaka
>>>
>>>
>>>> Hi Laszlo,
>>>>
>>>> Did you follow the steps as mentioned in [1] ?
>>>>
>>>> [1] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#mod_axis2
>>>>
>>>> -Manjula.
>>>>
>>>> On Sat, 2008-02-16 at 21:38 +0100, Graf László wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I built sucesfully the Axis2/C module on Windows XP using VS 2005.
>>>>> But the testing it om Apache 2.2.8 failes with this message:
>>>>>
>>>>> "Syntax error on line 490 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.dll into server:
>>>>>  the module can not found (translated from hungarian)".
>>>>>
>>>>> I tried to copy Axis2/C dlls to Apache bin folder but no success.
>>>>>
>>>>> Did some solve this kind of problem?
>>>>>
>>>>> Laszlo
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>>
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>
>>
>
>


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


Re: Axis2/C for Apapche 2.2.8

Posted by Senaka Fernando <se...@wso2.com>.
Hi Laszlo,

Will send you a Apache2.2.8 compatible mod_axis2.so built in Windows XP
SP2, using VS2005.

In the mean time, would it be possible for you to,

1. Attach your httpd.conf file,
2. Attach your apache error log,

To this mail thread and,

3. Let me know whether your folder path contains non-ASCII characters.

Regards,
Senaka

> Hi Fernando,
>
> I have to disappoint you, the mod_axis2.so still does not wotk for me.
> The error message is this:
>
>
> The Apache service named  reported the following error:
>  >>> httpd.exe: Syntax error on line 484 of
> C:/Apache2.2.8/conf/httpd.conf: Cannot load
> C:/Apache2.2.8/modules/mod_axis2.so into server: Could not find the
> giben method
>
>
> Could you send me your so file?
>
>
> Senaka Fernando írta:
>> Hi Laszlo,
>>
>> AFAIK, mod_axis2 works with Apache 2.2.8. You can use two approaches.
>>
>> Method 1:
>> Please confirm to whether you can find (using search in Windows) the
>> ***mod_axis2.dll*** some where inside your ides/VC folder. The location
>> at
>> which it is built may vary according to how you build the
>> solution/project
>> and settings that you specify. Please note that this might be built
>> somewhere else from other Axis2/C libs. Once you find it, please copy
>> that
>> .dll to "C:/Program Files/Apache Software
>> Foundation/Apache2.2/modules/mod_axis2.dll". And make sure that if you
>> have written any path that has spaces in between, add quotation marks
>> around it.
>>
>> Method 2:
>> Use the nmake build script. If you have VS 2005 installed you don't
>> require any additional tools. Locate the configure.in found inside
>> build/win32, and edit it.
>> Open a new command window and run vcvars32.bat. This can be found in
>> C:\Program Files\Microsoft Visual Studio 8\VC\bin or any other place at
>> which you installed VS2005. Then inside the same command window, change
>> directory to the place where you downloaded Axis2/C. And goto the folder
>> build\win32. Run the build.bat and once you've done, run "nmake
>> axis2_apache_module". After that, you'll find a new sub folder named
>> deploy inside the build folder. Set this as your AXIS2C_HOME and add
>> AXIS2C_HOME\lib to your path variable. After that you can copy the
>> ***mod_axis2.dll*** dll that is found inside AXIS2C_HOME\lib.
>>
>> Regards,
>> Senaka
>>
>> Regards,
>> Senaka
>>
>>
>>> Hi Laszlo,
>>>
>>> Did you follow the steps as mentioned in [1] ?
>>>
>>> [1] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#mod_axis2
>>>
>>> -Manjula.
>>>
>>> On Sat, 2008-02-16 at 21:38 +0100, Graf László wrote:
>>>
>>>> Hi all,
>>>>
>>>> I built sucesfully the Axis2/C module on Windows XP using VS 2005.
>>>> But the testing it om Apache 2.2.8 failes with this message:
>>>>
>>>> "Syntax error on line 490 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.dll into server:
>>>>  the module can not found (translated from hungarian)".
>>>>
>>>> I tried to copy Axis2/C dlls to Apache bin folder but no success.
>>>>
>>>> Did some solve this kind of problem?
>>>>
>>>> Laszlo
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>


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


Re: Axis2/C for Apapche 2.2.8

Posted by Dushshantha Chandradasa <du...@gmail.com>.
Hi Graf,

According to the error message You have given below, apache complains about
mod_axis2.so file instead mod_axis2.dll. Did you rename the dll in to .so
and copied in to apache modules folder? Just wondering whether you missed
that.. BTW you don't need to rename it to .so , you can just copy the
mod_axis2.dll into your apache module folder and set the path to that dll
file in your httpd.conf file.

regards,
Dushshantha

On Tue, Mar 11, 2008 at 2:13 AM, Graf László <gr...@datatrans.hu> wrote:

> Hi Fernando,
>
> I have to disappoint you, the mod_axis2.so still does not wotk for me.
> The error message is this:
>
>
> The Apache service named  reported the following error:
>  >>> httpd.exe: Syntax error on line 484 of
> C:/Apache2.2.8/conf/httpd.conf: Cannot load
> C:/Apache2.2.8/modules/mod_axis2.so into server: Could not find the
> giben method
>
>
> Could you send me your so file?
>
>
> Senaka Fernando írta:
> > Hi Laszlo,
> >
> > AFAIK, mod_axis2 works with Apache 2.2.8. You can use two approaches.
> >
> > Method 1:
> > Please confirm to whether you can find (using search in Windows) the
> > ***mod_axis2.dll*** some where inside your ides/VC folder. The location
> at
> > which it is built may vary according to how you build the
> solution/project
> > and settings that you specify. Please note that this might be built
> > somewhere else from other Axis2/C libs. Once you find it, please copy
> that
> > .dll to "C:/Program Files/Apache Software
> > Foundation/Apache2.2/modules/mod_axis2.dll". And make sure that if you
> > have written any path that has spaces in between, add quotation marks
> > around it.
> >
> > Method 2:
> > Use the nmake build script. If you have VS 2005 installed you don't
> > require any additional tools. Locate the configure.in found inside
> > build/win32, and edit it.
> > Open a new command window and run vcvars32.bat. This can be found in
> > C:\Program Files\Microsoft Visual Studio 8\VC\bin or any other place at
> > which you installed VS2005. Then inside the same command window, change
> > directory to the place where you downloaded Axis2/C. And goto the folder
> > build\win32. Run the build.bat and once you've done, run "nmake
> > axis2_apache_module". After that, you'll find a new sub folder named
> > deploy inside the build folder. Set this as your AXIS2C_HOME and add
> > AXIS2C_HOME\lib to your path variable. After that you can copy the
> > ***mod_axis2.dll*** dll that is found inside AXIS2C_HOME\lib.
> >
> > Regards,
> > Senaka
> >
> > Regards,
> > Senaka
> >
> >
> >> Hi Laszlo,
> >>
> >> Did you follow the steps as mentioned in [1] ?
> >>
> >> [1] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#mod_axis2
> >>
> >> -Manjula.
> >>
> >> On Sat, 2008-02-16 at 21:38 +0100, Graf László wrote:
> >>
> >>> Hi all,
> >>>
> >>> I built sucesfully the Axis2/C module on Windows XP using VS 2005.
> >>> But the testing it om Apache 2.2.8 failes with this message:
> >>>
> >>> "Syntax error on line 490 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.dll into server:
> >>>  the module can not found (translated from hungarian)".
> >>>
> >>> I tried to copy Axis2/C dlls to Apache bin folder but no success.
> >>>
> >>> Did some solve this kind of problem?
> >>>
> >>> Laszlo
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> >>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >>>
> >>>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >>
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>