Read the docs: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
Context path attribute: "The value of this field must not be set except when statically defining a Context in server.xml, as it will be *infered from the filenames* used for either the .xml context file or the docBase." [EMAIL PROTECTED] wrote: > Hi folks, > > I'm quiet new to tomcat, but there is already a thing I can't understand: > > I have downloaded the Lambda Probe application version 1.5.0.3. I've got > the .war file called probe.war. > The only thing I did is to rename the file to probe_1.5.0.3.war and > deployed it to my tomcat 5.5.17 (I downloaded the tomcat .zip-file and > started the startup script - no configuration was changed). > > I put my probe_1.5.0.3.war into the folder $CATALINA_HOME\webapps. What i > identified, what was happening now is: > > - The .war file was unpacked to $CATALINA_HOME\webapps\probe_1.5.0.3 with > all its content > - The META-INF/context.xml File (that was in the .war file) is copied to > $CATALINA_HOME\conf\Catalina\localhost\probe_1.5.0.3.xml > - The application is started. > > What I was wondering is, that the URL what my application is listening on > is > http://localhost:8080/probe_1.5.0.3 > > Does anyone know what I have to do, that my application listens to the > following urls (only one at the time): > http://localhost:8080/probe or even http://localhost:8080/tom/probe > > As I read the documentation, it should work with setting the path > attribute in the context.xml File in the .war file...but i can change that > path attribute to what I want, my applications still listens to: > http://localhost:8080/probe_1.5.0.3 > > Thanks for your help...hope to get an answer soon. > > Kind regards > Tom > > Please reply to my e-mail adress directly too! --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]