| Author |
Admin and Manager on apache
|
Niral Trivedi
Ranch Hand
Joined: Nov 26, 2001
Posts: 46
|
|
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.. Niral
|
 |
 |
|
|
subject: Admin and Manager on apache
|
|
|