----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Please excuse the long post, I have everything working ( at least it appears so )
by doing:
#download Blackdowns linux JDK 1.1.7-v3-glibc-x86.tar.gz to /usr/local/java
cd /usr/local/java
#gunzip and tar xvf
ln -s jdk117v3 jdk
#added /usr/local/java/jdk/bin to PATH in /etc/profile
#create file Test.java:
#public class Test {
# public static void main ( String argv[] ) {
# System.out.println( "Java works.");
# }
#}
javac Test.java
java Test
#Java works.
#download JavaSoft's JSDK2.0 to /usr/local/java
#uncompress and tar xvf
ln -s JSDK2.0 jsdk
#added CLASSPATH=$CLASSPATH:/usr/local/java/jsdk/lib/jsdk.jar
#added CLASSPATH to envs that are exported.
cd /usr/local/java/jsdk/examples
javac SnoopServlet.java
/usr/local/java/jsdk/bin/servletrunner
# connect to 8080 and see if it works
# dont forget to kill servletrunner
#download apache source from http://www.apache.org/dist/apache_1.3.9.tar.gz to
/usr/local/src
#download jserv source from http://java.apache.org/dist/Apache_JServ_1.0.tar.gz to
/usr/local/src
#download openssl from http://www.openssl.org/source/openssl-0.9.4.tar.gz to
/usr/local/src
#download mod_ssl source from http://www.modssl.org/source/mod_ssl-2.4.10-1.3.9.tar.gz
to /usr/local/src
cd /usr/local/src
gunzip apache_1.3.9.tar.gz
tar xvf apache_1.3.9.tar
gunzip Apache_JServ_1.0.tar.gz
tar xvf Apache_JServ_1.0.tar
gunzip openssl-0.9.4.tar.gz
tar xvf openssl-0.9.4.tar
gunzip mod_ssl-2.4.10-1.3.9.tar.gz
tar xvf mod_ssl-2.4.10-1.3.9.tar
# install open ssl so we can install mod_ssl
cd /usr/local/src/openssl-0.9.4
./config
make
make test
make install
# install mod_ssl so we can do https:
cd /usr/local/src/mod_ssl-2.4.10-1.3.9
./configure --with-apache=/usr/local/src/apache_1.3.9 --enable-shared=ssl
# install apache with all the goodies
#cd /usr/local/src/apache_1.3.9/modules
#mkdir jserv
cd /usr/local/src/apache_1.3.9
SSL_BASE=/usr/local/ssl ./configure --prefix=/usr/local/apache \
--enable-rule=SHARED_CORE \
--enable-module=ssl \
--enable-module=rewrite \
--enable-shared=max \
make
make certificate TYPE=custom
make install
# install JServ as DSO
cd /usr/local/src/ApacheJserv
# Things that I did wrong:
## here is the problem I am having. If I do configure the first way, I get the Error:
DSO not supported
#./configure --with-apxs=/usr/local/apache/bin/apxs
--with-apache-install=/usr/local/apache
#
#
#./configure --with-apxs=/usr/local/apache/bin/apxs
## answer y to the question you get asked.
##Then I get an error that /src/modules/jserv does not exist.
./configure --with-apache-install=/usr/local/apache
# Get /usr/local/apache/src/modules/jserv does not exists.
make
make install
cd /usr/local/src/apache_1.3.9/
make install
# Add LoadModule jserv_module libexec/mod_jserv.so to httpd.conf
# Add AddModule mod_jserv.c to httpd.conf
# Create file jserv.properties:
#port=8007
#
#wrapper.bin=/usr/local/java/bin/java
#wrapper.class=org.apache.jserv.JServ
#wrapper.classpath=/usr/local/jserv/lib/ApacheJServ.jar
#wrapper.classpath=/usr/local/java/jsdk/lib/jsdk.jar
#zones=servlets
#servlets.properties=/usr/local/apache/conf/servlets.properties
#
#security.remote.administration=true
#security.allowedAddresses=127.0.0.1
#security.authentication=false
#
#log=true
#log.file=/usr/local/apache/logs/jserv.trace
#log.timestamp=true
#log.dateFormat=[yyyyMMdd HHmmss.SSS zz]
#log.channel.init=false
#log.channel.terminate=true
#log.channel.serviceRequest=true
#log.channel.authentication=false
#log.channel.requestData=false
#log.channel.responseHeaders=false
#log.channel.signal=true
#log.channel.exceptionTracing=true
#log.channel.servletManager=true
#log.channel.singleThreadModel=true
# Create file servlets.properties
#repositories=/usr/local/apache/servlets
echo "" > /usr/local/apache/logs/jserv.trace
chmod 665 jserv.trace
mkdir /usr/local/apache/servlets
cp /usr/local/java/jsdk/examples/SnoopServlet.class /usr/local/apache/servlets/
/usr/local/apache/bin/apachectl startssl
# check and make sure http://localhost/servlet/SnoopServlet works
# check and make sure https://localhost/servlet/SnoopServlet works
/usr/local/apache/bin/apachectl stop
# install mod perl
# download mod_perl from http://perl.apache.org/dist/mod_perl-1.21.tar.gz to
/usr/local/src
gunzip mod_perl-1.21.tar.gz
tar xvf mod_perl-1.21.tar
cd mod_perl-1.21
perl Makefile.PL USE_APXS=1 WITH_APXS=/usr/local/apache/bin/apxs EVERYTHING=1
make
make install
/usr/local/apache/bin/apachectl startssl
# check error log for [notice] Apache/1.3.9/ (Unix) mod_perl/1.21
/usr/local/apache/bin/apachectl stop
At 11:09 PM 1/12/00 -0600, you wrote:
>----------------------------------------------------------------
>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!!!
>----------------------------------------------------------------
>
>I've read the FAQ, and found a piece of what I need, this is what I did on
>Redhat 6.0
>---
>#download apache source from http://www.apache.org/dist/apache_1.3.9.tar.gz to
>/usr/local/src
>#download jserv source from http://java.apache.org/dist/Apache_JServ_1.0.tar.gz to
>/usr/local/src
>#download openssl from http://www.openssl.org/source/openssl-0.9.4.tar.gz to
>/usr/local/src
>#download mod_ssl source from
>http://www.modssl.org/source/mod_ssl-2.4.10-1.3.9.tar.gz to /usr/local/src
>cd /usr/local/src
>gunzip apache_1.3.9.tar.gz
>tar xvf apache_1.3.9.tar
>gunzip Apache_JServ_1.0.tar.gz
>tar xvf Apache_JServ_1.0.tar
>gunzip openssl-0.9.4.tar.gz
>tar xvf openssl-0.9.4.tar
>gunzip mod_ssl-2.4.10-1.3.9.tar.gz
>tar xvf mod_ssl-2.4.10-1.3.9.tar
>
># install open ssl so we can install mod_ssl cd /usr/local/src/openssl-0.9.4
>./config
>make
>make test
>make install
>
># install mod_ssl so we can do https
>cd /usr/local/src/mod_ssl-2.4.10-1.3.9
>./configure --with-apache=/usr/local/src/apache_1.3.9
>
># install apache with all the goodies
>#cd /usr/local/src/apache_1.3.9/modules
>#mkdir jserv
>cd /usr/local/src/apache_1.3.9
>SSL_BASE=/usr/local/ssl ./configure --prefix=/usr/local/apache \
> --enable-rule=SHARED_CORE \
> --enable-module=ssl \
> --enable-module=rewrite \
> --enable-shared=max
>make
>make certificate TYPE=custom
># Enter in all the cert stuff.
>
>make install
>
># install JServ as DSO
>cd /usr/local/src/ApacheJserv
># here is the problem I am having. If I do configure the first way, I get the Error:
>DSO not supported
>./configure --with-apxs=/usr/local/apache/bin/apxs
>--with-apache-install=/usr/local/apache
>
># if I do it this way I get asked a question and when you answer y you get the error
>message:
>./configure --with-apxs=/usr/local/apache/bin/apxs
>#Then I get an error that /src/modules/jserv does not exist.
>---
>I have managed to get this all working compiling it statically, but I have been
>trying to do it
>using DSO for so long that I really want to get it working.....
>
>Can anyone offer any help?
>
>Thanks in advance,
>Erik Meade
>
>
>
>
>--
>--------------------------------------------------------------
>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]
>
--
--------------------------------------------------------------
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]