aspose file tools*
The moose likes Tomcat and the fly likes Tomcat 5, mod_jk2 - link for manager and admin dont work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 5, mod_jk2 - link for manager and admin dont work" Watch "Tomcat 5, mod_jk2 - link for manager and admin dont work" New topic
Author

Tomcat 5, mod_jk2 - link for manager and admin dont work

John Larsen
Greenhorn

Joined: May 19, 2004
Posts: 7
Hello,

Ive setup a privatejvm account for virtual host using unique set of ports on Fedora core1, apache 2 and tomcat 5.
Tomcat works perfect using the hostname and port#, all links work from the default tomcat home page.

However, when i use the domain name using ajp13 to route to port 80, jsp works, the examples work, but the status, admin and manager do not. Any idea what drives this through ajp13? do I must to uri mapping in workers2.properties to get these to work?

Thanks!

John

-My sincerest condolence to Phil's family and friends. -
[ September 30, 2004: Message edited by: John Larsen ]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
If I understand your correctly - yes - the manager and admin applications would have to be mapped to your workers just like any other application if you want Tomcat to handle them.
Bill
John Larsen
Greenhorn

Joined: May 19, 2004
Posts: 7
Hello Bill,

Thanks for the fast response!

Would you know how to map this? I have tried several ways and nothing seems to work?

the mod_jk2 docs are quite lacking...

[uri:www.domain.com:80/manager/*.*]
group=ajp13:w111

This doesnt work. (w111 is just group as I do multiple instances of tomcat)

John
John Larsen
Greenhorn

Joined: May 19, 2004
Posts: 7
haha! I figured it out.

needed to add context="/manager in the uri in workers2.properties and then add context in server.xml with path=/manager and then docBase="/full/path/to/server/webapps/manager"

John
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat 5, mod_jk2 - link for manager and admin dont work