Tomcat Questions

Graham Cossey graham at cossey.plus.com
Thu Sep 16 08:29:26 UTC 2004



> I change the "appBase" from "webapps" to "/var/www/html" for the default
> virtual host in server.xml.  I restarted tomcat.  I then installed jive
> forums in /var/www/html/forums but was not able to get it to work at that
> location.  I changed "appBase" back to "webapps", moved jive forums to
> /var/lib/tomcat and bingo-bango, it worked.
>
> My reasoning for this is I have several virtual hosts and didn't want to
> lump all java apps together.  I'd rather spread them out to their
respective
> home directories.

Just a couple of thoughts:

Could you run each VH's app in a separate webapp within "webapps" directory?
  Each VH could then specify an alias to the appropriate app directory.

It is possible to run multiple Tomcats each running on different ports.

Graham






More information about the fedora-list mailing list