• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic