Re: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
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 al

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
> 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&#

Re: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
Yes thanks for pointing that out Is there anyway of testing this using local servers? -- View this message in context: http://www.nabble.com/Share-war-file---virtual-hosts-tp19605902p19616056.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: Share war file / virtual hosts

2008-09-22 Thread Hassan Schroeder
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 > co

Re: Share war file / virtual hosts

2008-09-22 Thread André Warnier
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 apprecia

Re: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
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.

Re: Share war file / virtual hosts

2008-09-22 Thread André Warnier
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 T

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
> 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 sug

Re: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
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 jav

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
> From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] > Subject: RE: Share war file / virtual hosts > > connectionTimeout="2" >redirectPort="443" /> I think you need three port 80 elements, one for each IP address.

Re: Share war file / virtual hosts

2008-09-22 Thread André Warnier
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 only

RE: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
Here is the configure. Of course the IP address are real addresses. www.domain1.se www.domain1.com domain2.com

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
> 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 elements, one for each IP

Re: Share war file / virtual hosts

2008-09-22 Thread Hassan Schroeder
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. --

RE: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
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-tp1960

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
> From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] > Subject: Re: Share war file / virtual hosts > > >unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false"> > w

Re: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
Just to get this straight. Suppose I have this Host setting in server.xml www.domain1.se www.domain1.com www.domain2.se How can I make 3 connectors to match this. There baught from Thawte with the www.domain1.se, www.domain1.com, www.domain2.se -

Re: Share war file / virtual hosts

2008-09-22 Thread Pid
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. > > > > > > > > yes it can, you just need to set your hostname to be the default

RE: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
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. -- View this message in context: http://www.nabble.com/Share-war-file---virtual-hosts-tp19605902p19611322.html Sent

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
> From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] > Subject: RE: Share war file / virtual hosts > > Can The Host element support multiple ip addresses? A element doesn't care about IP addresses; only a does, and hen only if it's configured for a specific IP address

RE: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
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. --

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
> From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] > Subject: RE: Share war file / virtual hosts > > Can I use Connectors to Aliases? A operates with all elements in the same ; the only cares about IP address and port number, not DNS names. (Not sure if that answers y

RE: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
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 t

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
> 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 entries for a single , then the webapp will be deployed only once. If you are