Tomcat 4.0.3 Notes: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
(Created page with "installs: rpm -i ant-1.4.1-4.noarch.rpm rpm -i regexp-1.2-1.noarch.rpm rpm -i servletapi4-4.0.3-1.noarch.rpm rpm -i tomcat4-4.0.3-1.noarch.rpm rpm -i tomcat4-webapps-4.0.3-1.noarch.rpm got http://download.sourceforge.net/junit/junit3.7.zip unzipped , dropped: "junit.jar" in /usr/share/java/ cd /usr/include/ ln -s /usr/local/apapche/include apache cp /usr/local/apache/libexec/mod_jk.so /usr/local/apache/libexec/mod_jk.so.3.x edit /usr/local/apache/conf/httpd....")
 
No edit summary
Line 14: Line 14:
  ln -s /usr/local/apapche/include apache
  ln -s /usr/local/apapche/include apache


cp /usr/local/apache/libexec/mod_jk.so /usr/local/apache/libexec/mod_jk.so.3.x
cp /usr/local/apache/libexec/mod_jk.so /usr/local/apache/libexec/mod_jk.so.3.x


edit /usr/local/apache/conf/httpd.conf
edit /usr/local/apache/conf/httpd.conf
added: JkLogFile "/var/tomcat4/logs/mod_jk.log"
 
added:
 
JkLogFile "/var/tomcat4/logs/mod_jk.log"
 
edit /var/tomcat4/conf/server.xml
edit /var/tomcat4/conf/server.xml
change:
change:
<pre>
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8109" minProcessors="5" maxProcessors="75"
               port="8109" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0"/>
               acceptCount="10" debug="0"/>
</pre>
to:
to:
<pre>
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8009" minProcessors="5" maxProcessors="75"
               port="8009" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0"/>
               acceptCount="10" debug="0"/>
</pre>
PATH=$PATH:/usr/java/jdk1.3.1_02/bin
CLASSPATH=$CLASSPATH:/usr/share/java


PATH=$PATH:/usr/java/jdk1.3.1_02/bin
CLASSPATH=$CLASSPATH:/usr/share/java
edit /etc/tomcat4/conf/tomcat4.conf
edit /etc/tomcat4/conf/tomcat4.conf
changed:
changed:
JAVA_HOME="/opt/IBMJava2-13"
 
JAVA_HOME="/opt/IBMJava2-13"
 
to:
to:
JAVA_HOME="/usr/java/jdk1.3.1_02"
 
JAVA_HOME="/usr/java/jdk1.3.1_02"


edited /var/tomcat4/conf/server.xml
edited /var/tomcat4/conf/server.xml
added:
added:
<Context path="" docBase="bband" reloadable="true"></Context>
<Context path="" docBase="bband" reloadable="true"></Context>
<Context path="/bband/content" docBase="/home/rogersimedia/bband/content" reloadable="true"
<Context path="/bband/content" docBase="/home/rogersimedia/bband/content" reloadable="true"
Line 51: Line 68:
               acceptCount="10" debug="0"/>
               acceptCount="10" debug="0"/>
to:
to:
<pre>
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8009" minProcessors="5" maxProcessors="75"
               port="8009" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0"/>
               acceptCount="10" debug="0"/>
</pre>

Revision as of 03:44, 29 May 2023

installs:

rpm -i ant-1.4.1-4.noarch.rpm
rpm -i regexp-1.2-1.noarch.rpm
rpm -i servletapi4-4.0.3-1.noarch.rpm
rpm -i tomcat4-4.0.3-1.noarch.rpm
rpm -i tomcat4-webapps-4.0.3-1.noarch.rpm

got http://download.sourceforge.net/junit/junit3.7.zip

unzipped , dropped: "junit.jar" in /usr/share/java/

cd /usr/include/
ln -s /usr/local/apapche/include apache
cp /usr/local/apache/libexec/mod_jk.so /usr/local/apache/libexec/mod_jk.so.3.x

edit /usr/local/apache/conf/httpd.conf

added:

JkLogFile "/var/tomcat4/logs/mod_jk.log"

edit /var/tomcat4/conf/server.xml change:

<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8109" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0"/>

to:

<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8009" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0"/>
PATH=$PATH:/usr/java/jdk1.3.1_02/bin
CLASSPATH=$CLASSPATH:/usr/share/java

edit /etc/tomcat4/conf/tomcat4.conf changed:

JAVA_HOME="/opt/IBMJava2-13"

to:

JAVA_HOME="/usr/java/jdk1.3.1_02"

edited /var/tomcat4/conf/server.xml

added:

<Context path="" docBase="bband" reloadable="true"></Context> <Context path="/bband/content" docBase="/home/rogersimedia/bband/content" reloadable="true"

trusted="true" ></Context> <Context path="/sbband/feeds" docBase="/home/rogersimedia/bband/feeds" reloadable="true" trusted="true"

></Context>

changed: <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"

              port="8109" minProcessors="5" maxProcessors="75"
              acceptCount="10" debug="0"/>

to:

<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8009" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0"/>