File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Admin and Manager on apache Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Admin and Manager on apache" Watch "Admin and Manager on apache" New topic
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
 
Threads others viewed
tomcat.startup..inquiry
Tomcat service terminated unexpectedly (Tomcat5.0.28, apache2.0.54 and mod_jk 1.2.5)
Servlet 404 and JkMount configuration - encountered some problem (Apache/Tomcat)
Apache 2.0.53 + Tomcat 5.5.7 integration on Windows using mod_jk
Apache SSL Module on Ubuntu
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture