[opencms-dev] Problems with OpenCMS on Tomcat Root

Paul Adams paul.adams at satsumas.com
Tue Jun 3 06:32:01 CEST 2003


I am trying to set up OpenCMS as the ROOT application in a Tomcat installation. I have made the following configuration changes:
 
server.xml -
 
CoyoteConnector is running on Port 80
<Context path="" docBase="opencms" debug="0"/>
 
OpenCMS web.xml -
<servlet-mapping>
<servlet-name>OpenCmsServlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>

opencms.properties -
url_prefix_export=/${WEB_APP_NAME}/export
url_prefix_http=/${WEB_APP_NAME}

I am able to login successfully using the URL
 
http://localhost/system/login
 
And get the workplace, however the graphic resources are not found, as their URLs are of the format http://localhost/opencms/resources/opencms_grau.gif 
 
Have I missed a configuration option somewhere? 
 
Software:
Java JDK 1.4.1
Tomcat 4.1
OpenCMS 5.0 RC2
 
Regards
Paul Adams.


More information about the opencms-dev mailing list