Accessing tomcat manager with apache
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers on Unix and Linux > Accessing tomcat manager with apache




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Accessing tomcat manager with apache  
Cookie Monster


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-04 02:20 PM

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.








[ Post a follow-up to this message ]



    Re: Accessing tomcat manager with apache  
Tulan W. Hu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-04 02:20 PM

"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?







[ Post a follow-up to this message ]



    Re: Accessing tomcat manager with apache  
Juha Laiho


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-04 02:20 PM

"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)





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:58 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register