• 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 ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Admin and Manager on apache

Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I've successfully configured Apache 2.0.47 and Tomcat 4.1.27 on Windows 2K machine with JDK 1.3.1_09.
I have following line in my httpd.conf
Include C:/tomcat/tomcat-4.1.27/jakarta-tomcat-4.1.27/conf/auto/mod_jk.conf
so that I don't have to put each and every application context in httpd.conf like 'JkMount /examples/* worker1',
'JkMount /examples2/* worker1' and so on.
Now in server.xml, there is no context configuration lines for admin and manager application. Because autoDeploy=true attribute of <Host> element will automatically read admin.xml and manager.xml and load the application.
But this autoDeploy will not generate any configuration lines in mod_jk.conf because there is no <Context> element present in server.xml. And because of that, when I tried to access these application by typing http://localhost/manager/ , I get resource not found error. Though I can get to these applications by going to http://localhost:8080/manager/
Only way I see rightnow is, to manually edit httpd.conf file and put lines
JkMount /manager/* worker1
JkMount /admin/* worker1
Any idea on how to resolve this issue? Because, tomcat can recognize a new web app as long as it has WEB-INF/web.xml structure without having <Context> entry in server.xml. And in that case also, I can have same problem.
Sorry for long descriptions.. And Thanks in Advance..
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic