Re: Tomcat App Configuration

2009-09-07 Thread Markus Meyer
Hi, just use an entry like the following in your Tomcat's server.xml configuration file: Context path=/ docBase=/path/to/where/your/webapp/resides/ HTH Markus skarahan schrieb: Hi, I use tomcat5.5 on ubuntu and have java web application.When I run it, its address looks like

Re: Tomcat App Configuration

2009-09-07 Thread skarahan
Hi , thanks your help.I add this line server.xml Context path=/ docBase=/usr/share/tomcat5.5/webapp/myapp/ I can see it manager page path column.But its not running.is there another xml file to congire it.? Markus Meyer wrote: Hi, just use an entry like the following in your Tomcat's

Re: Tomcat App Configuration

2009-09-07 Thread Markus Meyer
I'm not sure what's the problem, but I would not put the app into /usr/share/tomcat5.5/webapps because this is the default location. I would put the webapp into a different location. Also, check if you already have a ROOT directory in your webapps/ path which may interfere with your other root

Re: Tomcat App Configuration

2009-09-07 Thread André Warnier
Markus, that was a bad recommendation. Look here instead : http://wiki.apache.org/tomcat/HowTo#head-2e16a614a1be6e03102fc69dd59587a30e20bc5c Markus Meyer wrote: I'm not sure what's the problem, but I would not put the app into /usr/share/tomcat5.5/webapps because this is the default location.

Re: Tomcat App Configuration

2009-09-07 Thread David Smith
Just delete the original ROOT webapp and rename your webapp ROOT. -- David On Sep 7, 2009, at 5:54 AM, skarahan samilkara...@gmail.com wrote: Hi, I use tomcat5.5 on ubuntu and have java web application.When I run it, its address looks like http://servername:8180/myapp; on browser address

Re: Tomcat App Configuration

2009-09-07 Thread Markus Meyer
Hi André, sorry if I got that one wrong. It's just that it works for me the way I describe it. (I generally avoid putting my webapps into the default setting and create Context entries for all of them.) Markus André Warnier schrieb: Markus, that was a bad recommendation. Look here instead

RE: Tomcat App Configuration

2009-09-07 Thread Caldarale, Charles R
From: Markus Meyer [mailto:me...@mesw.de] Subject: Re: Tomcat App Configuration sorry if I got that one wrong. It's just that it works for me the way I describe it. I doubt it. Not only are you violating standard practice by putting a Context element in server.xml, your path attribute