Web Servers on Unix and Linux - Accessing tomcat manager with apache

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > September 2004 > Accessing tomcat manager with apache





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Accessing tomcat manager with apache
Cookie Monster

2004-09-23, 9:20 am

Hi,

I have installed tomcat 5.0.27 and using apache 1.3.27, but can't seem to
access the tomcat manager application. Clearly there is some kind of
mapping missing between apache and the tomcat application.

My config looks like:

JkWorkersFile /usr/local/tomcat/conf/workers.properties

Alias /jsp-examples /usr/local/tomcat/webapps/jsp-examples
Alias /manager /usr/local/tomcat/server/webapps/manager

JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkMount /*.jsp worker1
JkMount /*.do worker1
JkMount /servlet/*.jsp worker1
JkMount /servlet/*.do worker1
<Location "/examples/WEB-INF">
AllowOverride None
deny from all
</Location>

Anyone an idea what is missing.

Thanks in advance,
cookie.



Tulan W. Hu

2004-09-23, 9:20 am

"Cookie Monster" <cookie.monster@somewhere.com> wrote in...
> Hi,
>
> I have installed tomcat 5.0.27 and using apache 1.3.27, but can't seem to
> access the tomcat manager application. Clearly there is some kind of
> mapping missing between apache and the tomcat application.
>
> My config looks like:
>
> JkWorkersFile /usr/local/tomcat/conf/workers.properties
>
> Alias /jsp-examples /usr/local/tomcat/webapps/jsp-examples
> Alias /manager /usr/local/tomcat/server/webapps/manager
>
> JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
> JkRequestLogFormat "%w %V %T"
> JkMount /*.jsp worker1
> JkMount /*.do worker1
> JkMount /servlet/*.jsp worker1
> JkMount /servlet/*.do worker1
> <Location "/examples/WEB-INF">
> AllowOverride None
> deny from all
> </Location>


Those look like the config file of tomcat.
What's in your httpd.conf file? Does it have mod_jk loaded?


Juha Laiho

2004-09-23, 9:20 am

"Tulan W. Hu" <twhu@tnecul.moc.invalid> said:
>"Cookie Monster" <cookie.monster@somewhere.com> wrote in...
>
>Those look like the config file of tomcat.


No, those are additional directives in httpd.con (or file included from
httpd.conf) to control the behaviour of mod_jk. If no errors appear
in the log (and these directives are not excluded frmo processing by
some conditional structure), it means that mod_jk is loaded; without
mod_jk these would naturally show as config errors in Apache logs.

What might be missing here is
JkMount /jsp-examples worker1
JkMount /manager worker1

.... or some variation of the above. Please double-check from mod_jk
documentation.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com