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
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/
Connector port=443 .. address=3/
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/
Just to get this straight.
Suppose I have this Host setting in server.xml
Engine name=Catalina defaultHost=localhost
Host name=localhost appBase=webapps
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
Aliaswww.domain1.se/Alias
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:
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
Here is the configure. Of course the IP address are real addresses.
Server port=8005 shutdown=SHUTDOWN
Listener className=org.apache.catalina.core.AprLifecycleListener
SSLEngine=on /
Listener className=org.apache.catalina.core.JasperListener /
Listener
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
Thanks very much!
The last one about apache as a frontend would work. ( I'm very new to this,
server set up as you probably seen. )
I am reading the headers to look at the request. I'm using a Wicket solution
with Spring and Hibernate. The Wicket handles 3 different looks with the
exact same
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
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 appreciated.
?xml version=1.0
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
Yes thanks for pointing that out
Connector connectionTimeout=2 port=8080 protocol=HTTP/1.1
redirectPort=8443/
Connector SSLEnabled=true clientAuth=false keystoreFile=store
keystorePass=store maxThreads=150 address=IP1 port=8443
protocol=HTTP/1.1 scheme=https secure=true
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
I actually think I got it up and running. I have assigned 2 addresses to the
same ethernet card and added 2 ssl connectors to server.xml and tomcat did
not crash. So I guess it was my lack of knowledge that did this.
I must have an mx record for the new ipaddress to know for a fact but thanks
23 matches
Mail list logo