tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Deployment problem
Date Fri, 03 Dec 2004 13:49:27 GMT


>First, QM, about the work/ dir, too late. Already
>doing it. Doesn't seem to be causing any problems.
>Thanks for the warning tho...

Just because it works in one version doesn't mean it'll work in another
-- what QM said is right, and you should stop the practice of modifying
the work directory yourself.

>Second, I figured out what I was doing wrong in the
>tomcat 5 workaround I was experimenting with. If I
>would have just read the stupid logs after the tomcat
>restart, I would have noticed the error was:
>java.lang.IllegalArgumentException: Document base
>/srv/stuff does not exist or is not a readable
>So i just changed the docBase attribute in the Context
>element to simply "stuff" instead of "/srv/stuff". The
>application reloads with tomcat nicely.


>This still seems like a hack to me, always having to
>use the html manager interface. So if anyone knows of
>a better way, I would love to hear it.

You can put the docBase yourself that way in your context XML files, you
don't have to use the HTML manager to do it.

Yoav Shapira

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message