Apache 2.0.47 will work with either mod_jk or mod_jk2.

Subir

-----Original Message-----
From: Asif Chowdhary [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 29, 2003 8:04 AM
To: Tomcat Users List
Subject: RE: Connecting Apache 2.0.47 to Tomcat 4.0.6


Yes, that's what I have read in the Tomcat Definitive Guide from
OReilly. You can give it a try but I think you will run into problems.
My email from yesterday has instructions on how to make it work with
mod_jk2.

Bye

-----Original Message-----
From: Ahmad, Kashif [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 10:59 AM
To: 'Tomcat Users List'
Subject: RE: Connecting Apache 2.0.47 to Tomcat 4.0.6


Sorry, are you saying the Apache 2.0.47 works with mod_jk2 only?
Because I know the instructions as provided work for Apache 2.0.43 and
mod_jk1.2. Seems like you are saying that 2.0.x doesn't work with 1.2 at
all.  Just clarifying.  Thanks ;-)

Kashif

-----Original Message-----
From: Asif Chowdhary [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 29, 2003 10:50 AM
To: Tomcat Users List
Subject: RE: Connecting Apache 2.0.47 to Tomcat 4.0.6

I think Apache 2.0 works with mod_jk2. and the configuration is very
different 
from mod_jk1.2. The directives such as JkWorkersFile JKMount dont work
with mod_jk2.

-----Original Message-----
From: Ahmad, Kashif [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 10:42 AM
To: '[EMAIL PROTECTED]'
Subject: Connecting Apache 2.0.47 to Tomcat 4.0.6


Hi All:

 

I have a question and hope someone can answer it.  I have a client that
is trying to install Apache 2.0.47 with Tomcat 4.0.6.  The application
he is trying to run comes with instructions on how to configure Apache
2.0.43 with Tomcat 4.0.4 with mod_jk_1.2.  Do the same instructions
apply to with the Apache 2.0.47 with Tomcat 4.0.6?  I've been able to
get him so far to the point where he can access the application on the
Tomcat internal HTTP on the default port 8080.  However, when he
connects with Apache on port 80, he gets a mis-configuration error.

 

Here are the instructions as provided for the application for
configuring Apache 2.0.43 and Tomcat 4.0.4

 

*****Start Configuration Instruction*****

 

4.2.2 Configure the Apache HTTP Server for Teams

Add the following lines at the end of httpd.conf in /opt/apache/conf:

#

# Configure mod_jk

#

LoadModule jk_module /opt/apache/modules/mod_jk.so

JkWorkersFile /opt/tomcat/conf/jk/workers.properties

JkLogFile /opt/tomcat/logs/mod_jk.log

JkLogLevel error

Alias /teams /opt/tomcat/webapps/teams

JkMount /teams/*.do ajp13

JkMount /teams/*.jsp ajp13

Alias /teamsadmin /opt/tomcat/webapps/teamsadmin

JkMount /teamsadmin/*.do ajp13

JkMount /teamsadmin/*.jsp ajp13

 

4.2.3 Configure Tomcat for TEAMS

 

4.2.3.1 Set Up Environment Variables

* Set JAVA_HOME to the JDK or JRE installation directory.

* Set TOMCAT_HOME to the Tomcat installation directory, e.g.,
/opt/tomcat.

 

4.2.3.2 Modify the Tomcat Startup Script

1. Add the following configuration information near the top of the file

$TOMCAT_HOME/bin/catalina.sh right after the comment section. Note that

it must be added as one line. Also, when copying from text editors,
ensure that

there are no hard returns in the entry between JAVA_OPTS= and

DORBagentPort settings.

 

# Define JAVA_OPTS

JAVA_OPTS="-Xbootclasspath/p:/opt/teams/jars/vbjapp.jar:/

opt/teams/jars/vbjorb.jar:/opt/teams/jars/swingall.jar -Xss2m -Xmx128m

-Dfile.encoding=ISO8859_1 -Djava.compiler=NONE -DSERVLET=true

-DTEAMS_HOME=/opt/teams -DLOG_FILE=/opt/tomcat/logs/teams.log

-DTEAMS_DEBUG_LEVEL=6 -DORBagentPort=15000"

 

2. Also in the $TOMCAT_HOME/bin/catalina.sh file, append the following
jar

files to the second CLASSPATH setting:

a. If you are using JRE 1.3, add:

b. If you are using JDK 1.3 (see following example), add:

CLASSPATH="$CLASSPATH":/opt/teams/jars/tools.jar:"$ORACLE_HOME/jdbc/lib/

classes12.zip"

CLASSPATH="$CLASSPATH":"$ORACLE_HOME/jdbc/lib/classes12.zip"

 

4.2.3.3 Create AJP Connecter Workers File

Create a file /opt/tomcat/conf/jk/workers.properties with the following

content (note that the value of worker.ajp13.port is an example):

The AJP Connector Port (5044) must also be put into the server.xml file,

located in the$TOMCAT_HOME/conf directory, in the section called "Define
an

AJP 1.3 Connector."

 

# Setup for Solaris system

#

workers.tomcat_home=/opt/tomcat/

workers.java_home=/opt/jdk1.3.1

ps=/

worker.list=ajp13

# Definition for Ajp13 worker

#

worker.ajp13.port=5044

worker.ajp13.host=localhost

worker.ajp13.type=ajp13

 

 

 

 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to