Rujith de Silva wrote:
>
> I'm trying to get Apache and JServ working with DSO under Solaris (5.6
> Generic_105181-09 sun4u sparc SUNW,Ultra-1). I grabbed the latest
> versions fresh off the apache Web-site, and attempted to follow the
> instructions exactly, compiling with gcc and javac (jdk1.2).
> Everything seemed to compile fine, and the Apache server itself came
> up fine. But after I installed JServ, bin/apachectl simply says:
>
> bin/apachectl start: httpd could not be started
>
> I then tried various minor variations to configure, both for Apache
> and JServ, but simply got the same error message.
>
> If somebody has got this working under Solaris with DSO, could you
> please send me the steps you followed?
These are the steps I've used (and posted before)
--
> When you build apache use
>
> $ ./configure --prefix=/path/to/apache --enable-shared=max
>
> This will build and statically link mod_so which is needed to implement
> the DSO module functionality. The "--enable-shared=max" option loads all
> other modules as DSO modules. By default, JServ is not included as one
> of these, so you must then compile JServ as
>
> $ ./configure --with-apache-install=/path/to/apache/installation
> --with-jdk-home=/path/to/jdk --with-jsdk=/path/to/jsdk
>
> copy mod_jserv.so to libexec as you describe above, then add the
> following lines to your httpd.conf:
>
> --
>
> # load JServ DSO
> LoadModule jserv_module libexec/mod_jserv.so
>
> # Force Apache to recognise JServ
> AddModule mod_jserv.c
>
> --
>
> and then put your normal JServ config options within a set of <IfModule
> mod_jserv.c> </IfModule> tags in httpd.conf. This is from an Apache
> 1.3.4, JServ 1.0b3 installation on Solaris 2.51
>
Damian
--
Damian Fauth John Fairfax Holdings Ltd
Software Engineer 201 Sussex Street
Ph: +61 2 9282 3528 Sydney NSW 2000
Fax: +61 2 9282 2256 [EMAIL PROTECTED]
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]