Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
John Larsen
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic