Summary: my virtual tomcat hosts are not coming up after a tomcat restart, but they do come up once I remove /ROOT. 'start' via the manager does not suffice.

Details:
I have several virtual hosts under both tomcat 6.0.14 and apache, linked via mod_jk. The virtual tomcat hosts are located under

  webapps/vhost1 (etc)

with appropriate <Host> entry in conf/server.xml. I know the setup is valid since I will get the expected contents from webapp/vhost1/ROOT/index.jsp when I hit http://vhost1.com/.

Each virtual host has its own copy of manager so I can control the vhost at http://vhost1.com/manager/html. Most importantly, I can deploy new war files via this interface. The upload war files are exploded, as expected.

The problem occurs when I cycle the tomcat server for some reason, e.g., when defining a new virtual host or after a system reboot. The logs say the error is an IllegalArgumentException: "Document base /vhost1 does not exist or is not a readable directory". In fact the file does exist, is readable, etc.

If I manually nuke the directory then the watcher will explode the war file and the application will start as expected.

Any ideas?  I suspect I've just overlooked something in the config files.

BTW I want to keep separate vhost directories since this is a shared j2ee appserver. I trust my colleagues but we need to be able to assure our respective clients that we've taken all reasonable and prudent steps to keep our webapps isolated.

Thanks,

Bear


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to