Re: problem with getcontext and context.xml

2006-10-29 Thread mast
Hmm yes in fact that work better with the /Context thanks for the help to both of you it works now - Original Message - From: "Mark Thomas" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, October 29, 2006 10:05 PM Subject: Re: problem with getconte

RE: problem with getcontext and context.xml

2006-10-29 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: problem with getcontext and context.xml > > Well i have DNS entrie for both but i have only 1 IP so it s the same > entries , both vhost have the same IP (that s why their are vhost :) ) Yes, that should work - I've just

Re: problem with getcontext and context.xml

2006-10-29 Thread Mark Thomas
mast wrote: > if i delete the context.xml file it seem to work is there anything wrong > in : > > WEB-INF/web.xml Yes. It should be: WEB-INF/web.xml Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,

Re: problem with getcontext and context.xml

2006-10-29 Thread mast
if i delete the context.xml file it seem to work is there anything wrong in : WEB-INF/web.xml ? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: problem with getcontext and context.xml

2006-10-29 Thread mast
there is one error i hadn't notice : SEVERE: Parse Fatal Error at line 2 column 2: The markup in the document following the root element must be well-formed. org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed. Oct 29, 2006 9:34:17 PM org.

Re: problem with getcontext and context.xml

2006-10-29 Thread mast
r 29, 2006 9:23 PM Subject: RE: problem with getcontext and context.xml From: mast [mailto:[EMAIL PROTECTED] Subject: Re: problem with getcontext and context.xml i have try with http/1.1 and another port but i get exactly the same problem for the two hosts Do you have DNS entries for both host na

RE: problem with getcontext and context.xml

2006-10-29 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: problem with getcontext and context.xml > > i have try with http/1.1 and another port but i get > exactly the same problem for the two hosts Do you have DNS entries for both host names? What IP address does each evaluate t

Re: problem with getcontext and context.xml

2006-10-29 Thread mast
10 PM Subject: RE: problem with getcontext and context.xml From: mast [mailto:[EMAIL PROTECTED] Subject: Re: problem with getcontext and context.xml This would indicate you're front-ending Tomcat with something else, such as httpd. Add a for a different port and protocol="HTTP/

RE: problem with getcontext and context.xml

2006-10-29 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: problem with getcontext and context.xml > > redirectPort="8443" protocol="AJP/1.3" /> This would indicate you're front-ending Tomcat with something else, such as httpd. Add a for a diff

Re: problem with getcontext and context.xml

2006-10-29 Thread mast
From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, October 29, 2006 8:29 PM Subject: RE: problem with getcontext and context.xml From: mast [mailto:[EMAIL PROTECTED] Subject: Re: problem with getcontext and context.xml when i say m

RE: problem with getcontext and context.xml

2006-10-29 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: problem with getcontext and context.xml > > when i say myfile i mean file like index.jsp it their i > should put them no ? Yes, that's where the public .jsp files should go. > but that don t work What do you mean

Re: problem with getcontext and context.xml

2006-10-29 Thread mast
s List" Sent: Sunday, October 29, 2006 8:19 PM Subject: RE: problem with getcontext and context.xml From: mast [mailto:[EMAIL PROTECTED] Subject: Re: problem with getcontext and context.xml Well each one of my host have their own appBase and ROOT context in each host i haveappBase="

RE: problem with getcontext and context.xml

2006-10-29 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: problem with getcontext and context.xml > > Well each one of my host have their own appBase and ROOT context > in each host i haveappBase="/usr/local/tomcat/webapps1" and > appBase="/usr/local/tomcat/weba

Re: problem with getcontext and context.xml

2006-10-29 Thread mast
Well each one of my host have their own appBase and ROOT context in each host i haveappBase="/usr/local/tomcat/webapps1" and appBase="/usr/local/tomcat/webapps2" and i have put my website in : /usr/local/tomcat/webapps1/ROOT/myfile (and same for webapps2) anything wrong on this ? i despair

RE: problem with getcontext and context.xml

2006-10-29 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: problem with getcontext and context.xml > > Hmm i think i understand a little so each context need to > have it's own ROOT directory No; perhaps you don't understand that context is synonomous with webapp, not hos

Re: problem with getcontext and context.xml

2006-10-29 Thread mast
Hmm i think i understand a little so each context need to have it's own ROOT directory (it would be much simplier without it :) ) for the i forget it yes. So i have create like you told two things :

RE: problem with getcontext and context.xml

2006-10-29 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: problem with getcontext and context.xml > > appBase="/usr/local/tomcat/webapps/myaccount1" > unpackWARs="true" autoDeploy="true"> > > > appBase="/usr/local/tomcat/webapps/m

Re: problem with getcontext and context.xml

2006-10-29 Thread mast
Well i am not sure to understand actually with the context in the server.xml file if i want multiple vhost i only need to do somethink like this : But with the new tomcat server setting you told me i don t need to have appBase="/usr/local/tomcat/webapps/myaccount2" to a specificated a

RE: problem with getcontext and context.xml

2006-10-29 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: problem with getcontext and context.xml > > Yes but i have multiple vhost for different webapps. > how can the server know that vhost1.mydomain.com is for > /usr/local/tomcat/webapps/myaccount for exemple > and v

Re: problem with getcontext and context.xml

2006-10-29 Thread mast
uot; Sent: Sunday, October 29, 2006 4:27 PM Subject: RE: problem with getcontext and context.xml From: BRUN Sébastien [mailto:[EMAIL PROTECTED] Subject: Fw: problem with getcontext and context.xml i would like to setup a virtual host on tomcat If you only have one host to worry about, you don

RE: problem with getcontext and context.xml

2006-10-29 Thread Caldarale, Charles R
> From: BRUN Sébastien [mailto:[EMAIL PROTECTED] > Subject: Fw: problem with getcontext and context.xml > > i would like to setup a virtual host on tomcat If you only have one host to worry about, you don't need to use virtual hosts. You can also use the alias attribute if

Fw: problem with getcontext and context.xml

2006-10-29 Thread BRUN Sébastien
Hi, i am new to tomcat and i have two problem : first one in a tomcat 5.5.9 when i use the request.getServletPath() and request.getContextPath() i get different answer than a tomcat 5.5.19 (or 20), has this function change in the new tomcat? Second question and the more important is how to us