----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi Piyush,
I have built apache+ssl+jserv using the compile-together way, not the DSO,
on a Ultra 1, with Solaris 7, using gcc 2.95.
So you have to download:
-apache1.3.12
-jserv1.1
-openssl0.9.x
-perl 5.003
-modssl2.6.2
1) First I'd say to (re)try to compile apache following the instructions
that comes.
2) If it works, try to compile in also jserv1.1, following the instructions
which comes
with jserv. There's an option in the "configure" command: "--enable-EAPI".
Don't include it at this time. You'll include that later at recompiling with
ssl.
3) If apache and jserv have been compiled successfully then you should find
in the
httpd.conf file a line that include the conf file of jserv. And, obviously,
the servlets
should be working: i.e. if you go to
http://your_server:your_port/servlets/Hello something
comes out (not an error).
4) So now you've got apache and jserv running, and you've compiled them
(i.e. you've not used the DSO).
5) Now rename the conf directory of the apache tree, not sources one, but
the binary one.
Call it conf_with_jserv_only
6) Forget jserv. Think you must have ssl working with apache, so, without
touching the
apache sources (leave them there where they are) follow the instructions to
build mod_ssl
with apache.
Follow the instruction in the "install" file that comes with
mod_ssl-2.6.2-1.3.13.tar.gz,
specifically the "a) The All-In-One mod_ssl+APACI way [FOR JOE AVERAGE]:"
section.
(Consider that I compiled everything being in Italy, Europe, so I didn't put
the US lines.)
Before mod_ssl you'll have to configure and compile openssl:
$ cd openssl-0.9.x
$ sh config \
no-idea
$ make
$ make test
$ cd ..
7) Back to ssl. After the usual "configure" in mod_ssl
$ cd mod_ssl-2.6.x-1.3.x
$ ./configure \
--with-apache=../apache_1.3.x \
--with-ssl=../openssl-0.9.x \
--with-rsa=../rsaref-2.0/local \
--prefix=/path/to/apache
you need to recompile apache
$ cd apache_1.3.x
$ make
$ make certificate
$ make install
$ cd ..
8) I hope you know that with ssl you need to understand what is an x509
certicate, it's
importance and how to get the right one.
SSL should now work. Test your installation, starting apache in sslmode.
The installation should also have written a new conf directory in the apache
tree, this one
containing a lot of ssl stuff. At the end of this file, at step 11) you'll
copy the Include line for jserv.
10) Now think you have apache and ssl as a whole, and you have to attach
jserv.
Re-cd to the jserv source directory, reconfigure it, with the
"--enable-EAPI" this time.
Example:
$ cd /usr2/sources/jserv1.1
$ ./configure --prefix=/usr2/local/jserv11 \
--with-apache-src=/path/to/apache/source \
--with-jdk-home=/opt/java1.1 \
--with-JSDK=/usr2/local/JSDK2.0/lib/jsdk.jar \
--enable-EAPI
$ make; make install
$ cd /path/to/apache/sources
$ make; make install
11) Copy and paste the include line at the end of httpd.conf, the one like
"Include /usr2/local/jserv11/etc/jserv.conf". This line should be at the and
of the file httpd.conf
in the conf_with_jserv_only directory described at step 5
12) Now apache+ssl+jserv should be working as mine does.
Hope this will work also for you.
-Antonio
> -----Messaggio originale-----
> Da: Piyush Agarwal [mailto:[EMAIL PROTECTED]]
> Inviato: mercoled� 12 aprile 2000 18.52
> A: [EMAIL PROTECTED]
> Oggetto: Re: JServ wouldn't die nicely
>
>
> Antonio,
> I am also experiencing Didn't die nicely error in mod_jserv.log. But this
> error is preceded by OutOfMemory error.
>
> I installed Apache1.3.11 and Jserv1.1 . I have to install it with mod_ssl.
> Will it be possible for you to send the instructions for installing Apache
> with Jserv and mod_ssl. It will really be very helpful for us to get those
> instructions from some one who has already done it.
>
> Thanks
> Piyush
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]