Re: Multiple development sites using different ports

2008-06-27 Thread Yves Glodt
Hello, yesterday I set up exactly what you need You need to set up 2 services, and inside define your hosts and connectors. So here my server.xml: Server port=8005 shutdown=SHUTDOWN debug=0 Service name=inst1 Connector port=8180 minProcessors=5 maxProcessors=75 useBodyEncodingForURI=true

RE: Multiple development sites using different ports

2008-06-27 Thread dylanmac
establish a connection to the server at revfoodslocal:9091. - Dylan Caldarale, Charles R wrote: From: dylanmac [mailto:[EMAIL PROTECTED] Subject: Re: Multiple development sites using different ports I looked at name-based virtual hosts and couldn't get it working. What did you try and what

Re: Multiple development sites using different ports

2008-06-27 Thread Hassan Schroeder
On Fri, Jun 27, 2008 at 1:38 PM, dylanmac [EMAIL PROTECTED] wrote: Host name=devlocal1 Host name=devlocal2 and here's what's in my hosts file: 127.0.0.1 localhost ::1 localhost 127.0.0.1 devlocal1 127.0.0.1

Re: Multiple development sites using different ports

2008-06-27 Thread dylanmac
Ha, that's embarrassing. I've been substituting real names for fake ones for the sake of this discussion and got my wires crossed in my reply. In any event, I have tried what you suggested re: the hosts file and still no dice. There is a slight difference this time, though. Rather than

Re: Multiple development sites using different ports

2008-06-27 Thread Hassan Schroeder
On Fri, Jun 27, 2008 at 2:51 PM, dylanmac [EMAIL PROTECTED] wrote: In any event, I have tried what you suggested re: the hosts file and still no dice. There is a slight difference this time, though. Rather than getting a can't establish a connection message, I get a blank page. Is that

Re: Multiple development sites using different ports

2008-06-26 Thread Hassan Schroeder
On Thu, Jun 26, 2008 at 11:08 AM, dylanmac [EMAIL PROTECTED] wrote: I'd like to configure Tomcat so that I can run multiple dev websites as root relative and distinguish them via port numbers. In order words, I'd like to run http://localhost:8080/index.jsp and have that be a different site

Re: Multiple development sites using different ports

2008-06-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dylanmac, dylanmac wrote: | The reason this matters to me is because I like running my sites as | root-relative. That way I can reference images, files, etc as, for example, | /images/logo.png rather than having to traverse the directory structure

Re: Multiple development sites using different ports

2008-06-26 Thread dylanmac
Thanks for your response. Unfortunately I am pretty green about all this and it doesn't make a lot of sense to me. When you say better off using paths that are relative to the context root do you mean I shouldn't be using root-relative? What tools are available that will help me do this in

Re: Multiple development sites using different ports

2008-06-26 Thread dylanmac
I looked at name-based virtual hosts and couldn't get it working. Moreover all of the documentation says I need to configure the DNS properly for name-based virtual hosting to work. Where do I do that? Thanks. Hassan Schroeder-2 wrote: On Thu, Jun 26, 2008 at 11:08 AM, dylanmac [EMAIL

Re: Multiple development sites using different ports

2008-06-26 Thread Hassan Schroeder
On Thu, Jun 26, 2008 at 4:58 PM, dylanmac [EMAIL PROTECTED] wrote: I looked at name-based virtual hosts and couldn't get it working. Moreover all of the documentation says I need to configure the DNS properly for name-based virtual hosting to work. Where do I do that? If this is only for

RE: Multiple development sites using different ports

2008-06-26 Thread Caldarale, Charles R
From: dylanmac [mailto:[EMAIL PROTECTED] Subject: Re: Multiple development sites using different ports I looked at name-based virtual hosts and couldn't get it working. What did you try and what didn't work? Be specific. Did you read the doc: http://tomcat.apache.org/tomcat-6.0-doc/virtual