Hi!
I have 3 different virtual hosts. Is there anyway these can share the same
war file and instance?
What I mean is that tomcat does not deploy the war file 3 times but uses the
same war instance?
--
View this message in context:
http://www.nabble.com/Share-war-file---virtual-hosts
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED]
Subject: Share war file / virtual hosts
I have 3 different virtual hosts. Is there anyway these can
share the same war file and instance?
If you are using Alias entries for a single Host, then the webapp will be
deployed only once.
If you
Can I use Connectors to Aliases?
--
View this message in context:
http://www.nabble.com/Share-war-file---virtual-hosts-tp19605902p19610201.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED]
Subject: RE: Share war file / virtual hosts
Can I use Connectors to Aliases?
A Connector operates with all Host elements in the same Engine; the
Connector only cares about IP address and port number, not DNS names.
(Not sure
I think it does, but then I have another ;)
Can The Host element support multiple ip addresses?
--
View this message in context:
http://www.nabble.com/Share-war-file---virtual-hosts-tp19605902p19610708.html
Sent from the Tomcat - User mailing list archive at Nabble.com
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED]
Subject: RE: Share war file / virtual hosts
Can The Host element support multiple ip addresses?
A Host element doesn't care about IP addresses; only a Connector does, and
hen only if it's configured for a specific IP address. Each Host
/
Host =localhost
Alias/Alias
/Host
--
View this message in context:
http://www.nabble.com/Share-war-file---virtual-hosts-tp19605902p19611322.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new
Mathias P.W Nilsson wrote:
The problem is this.
I would like to set up 3 connector that points to 3 different domains
One Host element and many aliases. Can this be done? The connectors are
https.
Connector port=443 .. address=1/
Connector port=443 .. address=2/
Aliaswww.domain1.com/Alias
Aliaswww.domain2.se/Alias
/Host
/Engine
How can I make 3 connectors to match this. There baught from Thawte with the
www.domain1.se, www.domain1.com, www.domain2.se
--
View this message in context:
http://www.nabble.com/Share-war-file---virtual
Yes, but how should I configure those connectors? I can't add port 443 to 3
of them because
then tomcat casts an error.
I can only have one host otherwise hibernate will start 3 times and that is
bad.
--
View this message in context:
http://www.nabble.com/Share-war-file---virtual-hosts
On Mon, Sep 22, 2008 at 11:36 AM, Mathias P.W Nilsson
[EMAIL PROTECTED] wrote:
Yes, but how should I configure those connectors? I can't add port 443 to 3
of them because
then tomcat casts an error.
You can if each has a separate IP address, which is what you need
to make this work.
--
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED]
Subject: RE: Share war file / virtual hosts
I can't add port 443 to 3 of them because
then tomcat casts an error.
Each must have a unique IP address. You should also have three non-SSL
Connector elements, one for each IP address, using
/Engine
/Service
/Server
--
View this message in context:
http://www.nabble.com/Share-war-file---virtual-hosts-tp19605902p19614378.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start
Mathias P.W Nilsson wrote:
[...]
From the questions and answers ping-pong here, I get the impression
that you are trying to square the circle, and either bump into a Tomcat
issue or a Hibernate one (whatever that is).
Summary :
- for some reason I don't know nor would understand, you want
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED]
Subject: RE: Share war file / virtual hosts
Connector port=80 protocol=HTTP/1.1
connectionTimeout=2
redirectPort=443 /
I think you need three port 80 Connector elements, one for each IP address.
You
different threads
and trying to persist.
By reading your thread I guess that a tomcat solution is out of the
question?
--
View this message in context:
http://www.nabble.com/Share-war-file---virtual-hosts-tp19605902p19615102.html
Sent from the Tomcat - User mailing list archive at Nabble.com
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED]
Subject: Re: Share war file / virtual hosts
The last one about apache as a frontend would work.
I wouldn't recommend adding another node and associated complexity and overhead
to fix the problem. Please try the suggested server.xml changes
Mathias P.W Nilsson wrote:
Thanks very much!
[...]
By reading your thread I guess that a tomcat solution is out of the
question?
No, I would not even dare to suggest that !
I don't want to be expelled from this list. ;-)
I was just proposing an alternative using things I know better than
/
Host appBase=webapps autoDeploy=true name=localhost
unpackWARs=true xmlNamespaceAware=false xmlValidation=false
/Host
/Engine
/Service
/Server
--
View this message in context:
http://www.nabble.com/Share-war-file---virtual-hosts-tp19605902p19615778.html
Sent from the Tomcat
Mathias P.W Nilsson wrote:
Ok! I tested with port 8080 and 8443 as ssl port with no luck.
I only have 2 domains but tomcat complains about java.net.BindException:
Cannot assign requested address: JVM_Bind:8080. Now I guess this isn't
configured right so any pointers here would be greatly
On Mon, Sep 22, 2008 at 1:22 PM, Mathias P.W Nilsson
[EMAIL PROTECTED] wrote:
Ok! I tested with port 8080 and 8443 as ssl port with no luck.
I only have 2 domains but tomcat complains about java.net.BindException:
Cannot assign requested address: JVM_Bind:8080. Now I guess this isn't
://www.nabble.com/Share-war-file---virtual-hosts-tp19605902p19616056.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED]
Subject: Re: Share war file / virtual hosts
Yes thanks for pointing that out
Pointing what out? Many comments have been made.
Is there anyway of testing this using local servers?
You can test it on one box, but you'll still have
all for putting up with my silly questions.
One connector with redirect to https port
2 connectors one for each ssl assigned to an ip.
// Mathias
--
View this message in context:
http://www.nabble.com/Share-war-file---virtual-hosts-tp19605902p19616273.html
Sent from the Tomcat - User mailing
24 matches
Mail list logo