[opencms-dev] Opencms5.01+Tomcat5+Other apps = Nothing runs!

Ivan Codarin ivan.codarin at amm.uniud.it
Mon Mar 7 16:31:04 CET 2005


Dear All,
I need help!
I have to upgrade my server from tomcat 4.1.30 to tomcat 5.0.28.
I have different context in my server.xml file.
Now I need to upgrade my tomcat also to upgrade from Opencms5 to opencms6.
I my server.xml has no context defined opencms5 (my website) is running well!
If I add the configuration of the others context opencms does not run and
returns a Error 404!

Could anyone of us help me?

This is a piece of my server.xml [host section]

<Host name="localhost" debug="0" appBase="webapps"
      unpackWARs="true" autoDeploy="true"
      xmlValidation="false" xmlNamespaceAware="false">

    <Context className="org.apache.catalina.core.StandardContext"
        cachingAllowed="true"
	charsetMapperClass="org.apache.catalina.util.CharsetMapper"
        cookies="true"
	crossContext="false" debug="0" docBase="opencms"
	mapperClass="org.apache.catalina.core.StandardContextMapper"
        path="/opencms"
	privileged="false" reloadable="true" swallowOutput="false"
        useNaming="true"
	wrapperClass="org.apache.catalina.core.StandardWrapper"/>



    <Context className="org.apache.catalina.core.StandardContext"
        cachingAllowed="true"
	charsetMapperClass="org.apache.catalina.util.CharsetMapper"
        cookies="true"
	crossContext="false" debug="0" docBase="context2"
	mapperClass="org.apache.catalina.core.StandardContextMapper"
        path="/context2"
	privileged="false" reloadable="true" swallowOutput="false"
        useNaming="true"
	wrapperClass="org.apache.catalina.core.StandardWrapper">

	<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
		driverName="org.postgresql.Driver"

            
connectionURL="jdbc:postgresql://127.0.0.1:5432/myDATABASE_withUsers"
		connectionName="myadminusername" connectionPassword="myadminpassword"
		       userTable="users_lowercase" userNameCol="user_name"
userCredCol="user_pass"
                    userRoleTable="user_roles_lowercase"
roleNameCol="role_name"/>

    </Context>

    <Valve className="org.apache.catalina.valves.AccessLogValve"
             directory="logs"  prefix="localhost_access_log." suffix=".txt"
             pattern="common" resolveHosts="false"/>

    <Logger className="org.apache.catalina.logger.FileLogger"
             directory="logs"  prefix="localhost_log." suffix=".txt"
        timestamp="true"/>

  </Host>






-----------------------
    Ivan Codarin
-----------------------

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the opencms-dev mailing list