> Why are you using httpd?  If everything is being forwarded to Tomcat, adding 
> httpd just slows things down and makes your life more complicated.

We are using httpd as we serve *many* static files too and not every
request is being forwarded to Tomcat - we have our reasons for using
apache as a front end webserver.

>> Currently we have the following
>> $CATALINA_HOME/webapps/
>> - app
>> - ROOT -> app
>
> Bad practice - your app will be deployed twice.  Just call it ROOT and be 
> done with it.

As I suspected - removing this will improve our memory usage considerably

>> $CATALINA_HOME/conf/Catalina/localhost/
>> - app.xml
>> - ROOT.xml -> app.xml
>
> More bad practice; just use ROOT.xml and get rid of the silly symlinks.

Do we need both the context.xml file and the exploded application
directory structure?  The documentation isn't clear (to me) if they
are both required or just the application directory (which we can name
as ROOT)

> Why are you insisting on making things more complicated?  Just use a ROOT.xml 
> in the proper place.  Stop confusing things with the symlinks.
>

Can you explain why it would be so wrong to have a symlink at all?

>> <Context path="/" docBase="/deployments/app" debug="1"
>
> The path attribute is not allowed (and you've got an invalid value for it); 
> remove it.

Ok

>> given the requirement to allow us to hot deploy jsp files (but not
>> jars or classes), can we change reloadable to false?
>
> Yes, you can set reloadable to false; the monitoring of .jsp changes is 
> controlled by the jsp servlet settings in conf/web.xml, not by the reloadable 
> attribute of the <Context> element.

Thanks,
Kev

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to