Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tomcat 4.1.30, Apache 2.0.50 and JK2

Status
Not open for further replies.

staann56

IS-IT--Management
Sep 28, 2004
24
US
HELP!!!

I have Tomcat installed and everthing works fine on that side. I have Apache 2.0.50 installed and can't get it to deploy a web application. The connector appears to work partially....by that I mean I can see
- shows that Tomcat works
- shows that Tomcat works
- shows that the JK2 works?
but I can't see

which should show me the same thing as
***JK2.PROPERTIES***
# Set the desired handler list
handler.list=apr,channelSocket,request

# Set the default port for the channelSocket
channelSocket.port=8409

shm.file=/usr/local/apache-2.0.50/logs/jk2.shm

apr.NativeSo=/usr/local/apache-2.0.50/modules/jkjni.so

***WORKERS2.PROPERTIES***
#define the shared memory file
[shm]
file=/usr/local/apache-2.0.50/logs/shm.file

# Define the communication channel
[channel.socket:localhost:8409]
port=8409
host=128.227.8.67

# define the worker
[ajp13:localhost:8409]
channel=channel.socket:localhost:8409

[uri:/examples/*]
worker=ajp13:localhost:8409

#[uri:/ORB/]
#worker=ajp13:localhost:8409

[uri:eek:rbt.at.ufl.edu/webapps/ORB/*]
worker=ajp13:localhost:8409

***HTTPD.CONF***
#
# /usr/local/etc/httpd.conf
#
# Local Apache configuration file for mmdb.at.ufl.edu
#


ServerName mmdbt.at.ufl.edu
Listen 80

AddHandler cgi-script .cgi
#RewriteLog logs/rewrite_log

<Directory "/home/*/public_html">
Options FollowSymLinks ExecCGI Includes Indexes
AllowOverride AuthConfig Fileinfo Limit Indexes
</Directory>

#
# Configuration for Tomcat connectors on this node
#


LoadModule jk2_module modules/mod_jk2.so
#WebAppInfo webapp-info

#WebAppConnection warp-tomcat warp localhost:8108
#WebAppConnection warp-edis warp localhost:8208
#WebAppConnection warp-orb warp localhost:8408

#NameVirtualHost 128.227.8.67:8409

<VirtualHost *>
ServerName mmdbt.at.ufl.edu
DocumentRoot /home/
#
# configuration for Tomcat examples
# container
#

Redirect permanent /tomcat Redirect permanent /tomcat/tomcat-docs


# WebAppDeploy ROOT warp-tomcat /tomcat/
# WebAppDeploy examples warp-tomcat /tomcat/examples/
# WebAppDeploy tomcat-docs warp-tomcat /tomcat/tomcat-docs/
# WebAppDeploy admin warp-tomcat /tomcat/admin

</VirtualHost>

#<VirtualHost *>
# ServerName edist.at.ufl.edu
# DocumentRoot /home/edis/public_html
# WebAppDeploy EDIS warp-edis /
#</VirtualHost>

<VirtualHost *>
DocumentRoot /home/orb/tomcat/webapps/ORB
ServerName orbt.at.ufl.edu
# JkMount /ORB/ ajp13
# JkMount /ORB/* ajp13
# ServerAlias localhost
# WebAppConnection warp-orb warp localhost:8408
# WebAppDeploy ORB warp-orb /
<Directory "/ORB">
JkUriSet worker ajp13:localhost:8409
</Directory>
</VirtualHost>



Any help would be greatly apprecialed!

Thanks,
Stan
 
Well, this is wrong, but it's not your problem...
Code:
ServerName mmdbt.at.ufl.edu
Redirect permanent /tomcat [URL unfurl="true"]http://mmdbt.at.ufl.edu/tomcat/[/URL]
That's an infinite loop.

As for this:
Code:
<Directory "/ORB">
      JkUriSet worker ajp13:localhost:8409
</Directory>
Aren't directories absolute to the filesystem? I think it should be:
Code:
<Directory "/home/orb/tomcat/webapps/ORB">
      JkUriSet worker ajp13:localhost:8409
</Directory>
 
From the bug report I posted:

------- Additional Comments From Matt Welch 2004-03-28 02:47 -------

Did something happen to this fix before the 2.0.4 release? I compiled from CVS a
few weeks ago and did not have this problem, but in the 2.0.4 release, the issue
is once again present.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top