[opencms-dev] Installing in ROOT - A permissions problem?

Paul D. Bain paulbain at pobox.com
Sat Feb 26 21:29:05 CET 2005


At 06:01 PM 2/25/2005, Daniel Rhoden wrote:

>I am trying to follow the instructions released with 6b1 on how to hide 
>/opencms/opencms/ from the url.  When I try to install OpenCMS as 
>ROOT.war, it fails during the workplace import, but when I tried 
>installing cms.war, everything went as expected!
>
>Does anyone know why this might be happening???

Daniel,

         If you are using Unix, then it could be a permissions problem. On 
a Unix system, your servlet container (e.g., Tomcat) runs as a particular 
user (e.g., on Debian Linux, it is the "tomcat4" user). This user must have 
sufficient privileges to access the directories in which the set-up files 
live. If that user does not have sufficient privileges, the set-up will 
fail. I have encountered this problem several times. Try running Tomcat as 
the root user. If that works, then it was probably a permission problem.

         I usually do not deploy the WAR file manually, preferring instead 
to have Tomcat (TC) deploy it for me, and that approach always seems to 
work. In order to have TC deploy WAR files automatically (when TC starts), 
you need to edit a value in the main TC configuration file, server.xml. In 
that file, I set a value thus:

         unpackWARs="true"

         I HTH.

-- Paul Bain



More information about the opencms-dev mailing list