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

Yves Glodt yg at mind.lu
Tue Feb 17 15:33:40 CET 2009


On Tuesday 17 February 2009, Christoph P. Kukulies wrote:
> 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?

With webapps you mean the .war files? 
Then yes, as long as "/var/lib/tomcat5.5/webapps" is owned by tomcat55

Your path "/usr/share/tomcat5.5-webapps" (nor "/usr/share/tomcat5.5/webapps") 
does not exist on my debian etch...

> > 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?

I got 4GB ram here, and it runs fine (was the first opencms I setup in tomcat 
ever, to ymmv... :-) )

> > 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
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev






More information about the opencms-dev mailing list