On 27/04/2010 23:50, Angela Day wrote: > > > I have one path > working, and the other not working > > Http > Status 404 - /csea/Login.m > > type Status report > message /csea/Login.m > description The requested resource (/csea/Login.m) is not available. > ________________________________ > > They are both defined on the same tomcat 5.5.28 server
Are there any messages in the logs during deployment? Please post them. Can you post the Host definition too? The preferred method for deployment in 5.5 onwards is to put the Context definition in myapp/META-INF/context.xml. Tomcat will take care of the deployment, and the app path is defined by the directory name. Defining Context in server.xml is now discouraged, especially for 'normal' deployments like the one below. If your apps are deployed: /path/to/tomcat/webapps/csea /path/to/tomcat/webapps/alligator The the config files should be: /path/to/tomcat/webapps/csea/... etc /path/to/tomcat/webapps/csea/WEB-INF/web.xml /path/to/tomcat/webapps/csea/META-INF/context.xml /path/to/tomcat/webapps/alligator/... etc /path/to/tomcat/webapps/alligator/WEB-INF/web.xml /path/to/tomcat/webapps/alligator/META-INF/context.xml p > server.xml > > <Context path="/csea" docBase="csea" reloadable="true" > > > <ResourceLink name="liarRealm" global="liarRealm"/> > <ResourceLink name="tdhca.liar.useDomain" > global="tdhca.liar.useDomain"/> > <ResourceLink > name="tdhca.liar.hashSalt" global="tdhca.liar.hashSalt"/> > > <ResourceLink name="cmts-url" global="cmts-url"/> > <ResourceLink name="cdb-url" global="cdb-url"/> > <ResourceLink name="pm-url" global="pm-url"/> > <ResourceLink name="jdbc/cdb" global="jdbc/cmts"/> > <Environment name="serverName" type="java.lang.String" > value="cmts"/> > <ResourceLink name="envName" > global="envName"/> > <ResourceLink > name="cseaPropertiesFile" global="cseaPropertiesFile"/> > </Context> > > <Context path="/alligator" docBase="alligator" reloadable="true"> > <ResourceLink name="liarRealm" global="liarRealm"/> > <ResourceLink > name="tdhca.liar.useDomain" global="tdhca.liar.useDomain"/> > <ResourceLink name="tdhca.liar.hashSalt" global="tdhca.liar.hashSalt"/> > <ResourceLink name="cmts-url" global="cmts-url"/> > <ResourceLink > name="mf-url" global="mf-url"/> > <ResourceLink name="cdb-url" > global="cdb-url"/> > <ResourceLink name="csea-url" > global="csea-url"/> > <ResourceLink name="jdbc/cdb" > global="jdbc/cmts"/> > <Environment name="serverName" > type="java.lang.String" value="contract"/> > <ResourceLink > name="envName" global="envName"/> > <ResourceLink > name="contractPropertiesFile" global="contractPropertiesFile"/> > </Context> > > > alligator work great, csea does not. I cannot see any differences. What am > I > missing? > > Thanks for your help. > > Angela
signature.asc
Description: OpenPGP digital signature