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
> 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
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,
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
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.
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
> 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
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/
> 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
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
> 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
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="
> 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
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
> 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
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 :
> 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
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
> 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
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
> 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 you have multiple do
21 matches
Mail list logo