[opencms-dev] problem installing opencms.war as ROOT.war (debian tomcat 5.5)

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Tue Feb 17 15:12:44 CET 2009


On Tue, Feb 17, 2009 at 12:40:32PM +0100, Yves Glodt wrote:
> On Tuesday 17 February 2009, Christoph P. Kukulies wrote:
> > I have a bit of trouble with installing opencms (7.0.5)
> > in a debian tomcat 5.5 environment.
> >
> > They divided the webapps from the tomcat tree such that there is:
> >
> > /usr/share/tomcat5.5
> > /usr/share/tomcat5.5-webapps
> >
> > When I deploy ROOT.war (mv'ed from opencms.war) into the webapps directory
> > somehow the extracting mechanism in tomcat doesn't seem to work.
> >
> > Does anyone know why that is so?
> 
> IIRC I had the same, due to more restrictive default security settings of 
> tomcat in etch.
> 
> Edit  the file /etc/default/tomcat5.5 and set:
> 
> TOMCAT5_SECURITY=no

Thanks, will try it out. BTW, tomcat5.5  runs as uid tomcat55.
Having the tree (webapps) owned by root.root is ok?

> 
> In case you have RAM, you can give some more to tomcat there as well:
> CATALINA_OPTS="-Djava.awt.headless=true -Xms1024M -Xmx2048M -server"

To what physical memory layout/architecture would that be suitable? 

> 
> Restart tomcat and redeploy, it should work now.
> 
> Hth,
> Yves

Thanks, will let you know,


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list