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 Andrew Borley <aj...@gmail.com> on 2006/05/31 11:00:18 UTC
[Axis2] Deploying in Apache httpd
Hi All,
I'm trying to deploy Axis2c into apache web server, but something isn't very
happy - I'm on WinXP and have Apache HTTP Server 2.2 which works fine until
I try to deploy Axis2C to it. I'm using the binary 0.91 package and have
copied the mod_axis2.dll to my apache2/modules directory and renamed it from
.dll to .so. I have also edited my apache2/conf/httpd.conf file with the
following lines:
LoadModule axis2_module modules/mod_axis2.so
and
<Location /axis2>
SetHandler axis2_module
RepoPath D:/libs/axis2c-bin-0.91-win32
LogFile D:/libs/axis2c-bin-0.91-win32/logs/axis2.httpd.log
Axis2LogLevel AXIS2_LOG_LEVEL_INFO
</Location>
With these lines added in to httpd.conf Apache now refuses to start, with
the message: "The Apache2.2 service terminated with service-specific error 1
(0x1).", remove them and the server starts up happily.
I can't see anything in the axis or httpd logs. Anyone have any ideas? Is my
RepoPath setting correct?
Many thanks,
Andrew
[Axis2] build.sh for xml_schema seems to be broken
Posted by Samisa Abeysinghe <sa...@gmail.com>.
Does the build.sh work for xml_schems sub project? I tried but failed to
run it, so I could not build the source on Linux.
Please fix this.
Thanks,
Samisa...
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[Axis2] Replaced AXIS2_DECLARE with AXIS2_EXTERN
Posted by Samisa Abeysinghe <sa...@gmail.com>.
Hi All,
Given that the AXIS2_DECLARE macro takes an argument that is a
function return type, and neither the calling convention nor the linkage
are conceptually related to the return type, I removed it altogether and
introduced an AXIS2_EXTERN macro
The old macro of the format:
AXIS2_DECLARE(ret_type) func(...);
now is replaced with
AXIS2_EXTERN ret_type AXIS2_CALL func(...)
As this has nothing to do with the user API, and does not affect the
users, I have already done the change.
Woden, xml_schema and Guththila codes may be broken. But the rest
works fine.
Thanks,
Samisa...
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
[Axis2] Replaced AXIS2_DECLARE with AXIS2_EXTERN
Posted by Samisa Abeysinghe <sa...@gmail.com>.
Ooops, should have sent to dev list ;(
Hi All,
Given that the AXIS2_DECLARE macro takes an argument that is a
function return type, and neither the calling convention nor the linkage
are conceptually related to the return type, I removed it altogether and
introduced an AXIS2_EXTERN macro
The old macro of the format:
AXIS2_DECLARE(ret_type) func(...);
now is replaced with
AXIS2_EXTERN ret_type AXIS2_CALL func(...)
As this has nothing to do with the user API, and does not affect the
users, I have already done the change.
Woden, xml_schema and Guththila codes may be broken. But the rest
works fine.
Thanks,
Samisa...
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[Axis2] Remving call struct
Posted by Samisa Abeysinghe <sa...@gmail.com>.
Hi All,
Prior to 0.91 release we introduced the svc_client and op_client
interfaces into the client API.
We also announced that we are deprecating call struct in 0.91
Hence I would be removing call, so that we would obsolete this
deprecated API in 0.92
Thanks,
Samisa...
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
[Axis2] Remving call struct
Posted by Samisa Abeysinghe <sa...@gmail.com>.
Ooops, should have sent to dev list ;(
Hi All,
Prior to 0.91 release we introduced the svc_client and op_client
interfaces into the client API.
We also announced that we are deprecating call struct in 0.91
Hence I would be removing call, so that we would obsolete this
deprecated API in 0.92
Thanks,
Samisa...
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
Re: [Axis2] Deploying in Apache httpd
Posted by Sahan Gamage <sa...@wso2.com>.
Hi Andrew,
IIRC mod_axis2.dll was compiled against Apache 2.0.55. So it might be
the most possible reason. Other than that the only problem I can think
of is mod_axis2.dll is compiled using MSVC 7 (with .Net framework). So
you might need .Net framework in your machine. (I couldn't find a
Windows machine which doesn't have .Net SDK to test "without .Net"
scenario).
As you pointed out the best thing to do is pull out the source version
and compile it.
- Sahan
Andrew Borley wrote:
> Hi Sahan,
>
> Yes, I have those 3 dlls in my D:\libs\axis2c-bin-0.91-win32\lib
> directory, which itself is on the PATH env variable. I have also added
> the D:\libs\iconv-1.9.2.win32\bin, D:\libs\libxml2-2.6.24.win32\bin
> and D:\libs\libxml2- 2.6.24.win32\bin directories onto my PATH, which
> also hasn't helped.
> I can happily run the axis2_http_server.exe with no problems.
>
> Running a syntax check on my httpd config file
> (E:/ApacheHTTPD2.2/bin/httpd.exe -t) gives the following error:
> httpd.exe: Syntax error on line 117 of
> E:/ApacheHTTPD2.2/conf/httpd.conf: Cannot load
> E:/ApacheHTTPD2.2/modules/mod_axis2.so into server: The specified
> procedure could not be found.
>
> Doing a google, could it be that mod_axis.dll was compiled against
> Apache2.0.x? There a couple of reports about problems when going from
> 2.0.x to 2.2.x. If so, I'll pull down the Axis 0.91 src and compile
> against Apache 2.2
>
> Cheers
>
> Andrew
>
>
> On 5/31/06, *Sahan Gamage* <sahan@wso2.com <ma...@wso2.com>>
> wrote:
>
> Hi Andrew,
>
> Pls check whether you have done the following.
>
> - Do you have libxml2.dll, iconv.dll and zlib1.dll in you system.
> If not
> so download those files and put in the %PATH% (We use libxml2 as
> parser
> and other dll's are required by libxml2 to work)
> - Did you set the %PATH% env variable to point to the libs
> directory in
> axis2c distro (D:\libs\axis2c-bin-0.91-win32\lib)
>
> As a diagnostic try running the axis2_http_server.exe in the bin
> directory and see whether it starts properly.
>
> - Sahan
> Andrew Borley wrote:
>
> > Hi All,
> >
> > I'm trying to deploy Axis2c into apache web server, but something
> > isn't very happy - I'm on WinXP and have Apache HTTP Server 2.2
> which
> > works fine until I try to deploy Axis2C to it. I'm using the binary
> > 0.91 package and have copied the mod_axis2.dll to my apache2/modules
> > directory and renamed it from .dll to .so. I have also edited my
> > apache2/conf/httpd.conf file with the following lines:
> >
> > LoadModule axis2_module modules/mod_axis2.so
> >
> > and
> >
> > <Location /axis2>
> > SetHandler axis2_module
> > RepoPath D:/libs/axis2c-bin-0.91-win32
> > LogFile D:/libs/axis2c-bin-0.91-win32/logs/axis2.httpd.log
> > Axis2LogLevel AXIS2_LOG_LEVEL_INFO
> > </Location>
> >
> > With these lines added in to httpd.conf Apache now refuses to start,
> > with the message: "The Apache2.2 service terminated with
> > service-specific error 1 (0x1).", remove them and the server
> starts up
> > happily.
> > I can't see anything in the axis or httpd logs. Anyone have any
> ideas?
> > Is my RepoPath setting correct?
> >
> > Many thanks,
> >
> > Andrew
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> <ma...@ws.apache.org>
>
>
>
>
> --
>
> Cheers,
>
> Andrew Borley
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
[Axis2] Removing call API
Posted by Samisa Abeysinghe <sa...@gmail.com>.
Hi All,
As we have announces prior to 0.91 release, we have already deprecated
the call API.
Hence, I am going to remove it from 0.92 release.
Thanks,
Samisa...
---------------------------------------------------------------------
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] Deploying in Apache httpd
Posted by Andrew Borley <aj...@gmail.com>.
Hi Sahan,
Yes, I have those 3 dlls in my D:\libs\axis2c-bin-0.91-win32\lib directory,
which itself is on the PATH env variable. I have also added the
D:\libs\iconv-1.9.2.win32\bin, D:\libs\libxml2-2.6.24.win32\bin and
D:\libs\libxml2-2.6.24.win32\bin directories onto my PATH, which also hasn't
helped.
I can happily run the axis2_http_server.exe with no problems.
Running a syntax check on my httpd config file
(E:/ApacheHTTPD2.2/bin/httpd.exe -t) gives the following error:
httpd.exe: Syntax error on line 117 of E:/ApacheHTTPD2.2/conf/httpd.conf:
Cannot load E:/ApacheHTTPD2.2/modules/mod_axis2.so into server: The
specified procedure could not be found.
Doing a google, could it be that mod_axis.dll was compiled against
Apache2.0.x? There a couple of reports about problems when going from 2.0.xto
2.2.x. If so, I'll pull down the Axis 0.91 src and compile against Apache
2.2
Cheers
Andrew
On 5/31/06, Sahan Gamage <sa...@wso2.com> wrote:
>
> Hi Andrew,
>
> Pls check whether you have done the following.
>
> - Do you have libxml2.dll, iconv.dll and zlib1.dll in you system. If not
> so download those files and put in the %PATH% (We use libxml2 as parser
> and other dll's are required by libxml2 to work)
> - Did you set the %PATH% env variable to point to the libs directory in
> axis2c distro (D:\libs\axis2c-bin-0.91-win32\lib)
>
> As a diagnostic try running the axis2_http_server.exe in the bin
> directory and see whether it starts properly.
>
> - Sahan
> Andrew Borley wrote:
>
> > Hi All,
> >
> > I'm trying to deploy Axis2c into apache web server, but something
> > isn't very happy - I'm on WinXP and have Apache HTTP Server 2.2 which
> > works fine until I try to deploy Axis2C to it. I'm using the binary
> > 0.91 package and have copied the mod_axis2.dll to my apache2/modules
> > directory and renamed it from .dll to .so. I have also edited my
> > apache2/conf/httpd.conf file with the following lines:
> >
> > LoadModule axis2_module modules/mod_axis2.so
> >
> > and
> >
> > <Location /axis2>
> > SetHandler axis2_module
> > RepoPath D:/libs/axis2c-bin-0.91-win32
> > LogFile D:/libs/axis2c-bin-0.91-win32/logs/axis2.httpd.log
> > Axis2LogLevel AXIS2_LOG_LEVEL_INFO
> > </Location>
> >
> > With these lines added in to httpd.conf Apache now refuses to start,
> > with the message: "The Apache2.2 service terminated with
> > service-specific error 1 (0x1).", remove them and the server starts up
> > happily.
> > I can't see anything in the axis or httpd logs. Anyone have any ideas?
> > Is my RepoPath setting correct?
> >
> > Many thanks,
> >
> > Andrew
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
--
Cheers,
Andrew Borley
Re: [Axis2] Deploying in Apache httpd
Posted by Sahan Gamage <sa...@wso2.com>.
Hi Andrew,
Pls check whether you have done the following.
- Do you have libxml2.dll, iconv.dll and zlib1.dll in you system. If not
so download those files and put in the %PATH% (We use libxml2 as parser
and other dll's are required by libxml2 to work)
- Did you set the %PATH% env variable to point to the libs directory in
axis2c distro (D:\libs\axis2c-bin-0.91-win32\lib)
As a diagnostic try running the axis2_http_server.exe in the bin
directory and see whether it starts properly.
- Sahan
Andrew Borley wrote:
> Hi All,
>
> I'm trying to deploy Axis2c into apache web server, but something
> isn't very happy - I'm on WinXP and have Apache HTTP Server 2.2 which
> works fine until I try to deploy Axis2C to it. I'm using the binary
> 0.91 package and have copied the mod_axis2.dll to my apache2/modules
> directory and renamed it from .dll to .so. I have also edited my
> apache2/conf/httpd.conf file with the following lines:
>
> LoadModule axis2_module modules/mod_axis2.so
>
> and
>
> <Location /axis2>
> SetHandler axis2_module
> RepoPath D:/libs/axis2c-bin-0.91-win32
> LogFile D:/libs/axis2c-bin-0.91-win32/logs/axis2.httpd.log
> Axis2LogLevel AXIS2_LOG_LEVEL_INFO
> </Location>
>
> With these lines added in to httpd.conf Apache now refuses to start,
> with the message: "The Apache2.2 service terminated with
> service-specific error 1 (0x1).", remove them and the server starts up
> happily.
> I can't see anything in the axis or httpd logs. Anyone have any ideas?
> Is my RepoPath setting correct?
>
> Many thanks,
>
> Andrew
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org