Works for me!  Glad you got it working.

Cheers on deciding to compile a doc.  As for where to put it...there's a
tomcat wiki at http://wiki.apache.org/jakarta-tomcat/Tomcat
that would be a likely place.  If you have some advice for IIS users on
connecting to Tomcat using JK2 you should let the jk guys know about it and
maybe it'll end up on the connector page.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/
A how-to down at the bottom of the left menu, for example.

Adrian


----- Original Message ----- 
From: "LILES, DAVID (CONTRACTOR)" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 24, 2004 1:58 PM
Subject: RE: Configuration Help


Oh My Gosh!!!!!

Adrian,

Apparently what was missing was the subfolder named
"dev.dynamichostings.com" with the blank context. Everything else apparently
was configured correctly. Once I created those items it worked immediately.

If you would be so kind as to please verify this for me to ensure I'm not
hallucinating I would very much appreciate it.
http://dev.dynamichostings.com

If you "test" confirms this configuration I would like to put together a
document that outlines the steps that have been taken to get this working so
others can benefit. Where should something like this be located?

Thank you ever so much!

-Dave

-----Original Message-----
From: Adrian Lanning [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 12:36 PM
To: Tomcat Users List
Subject: Re: Configuration Help


server.xml looks fine as far as I can tell.  Here's what you should do:

1. Verify Tomcat host is working correctly.
To verify that you've got tomcat working correctly with your domain name
change your dev.dynamichostings.com host's appBase to be the same as
localhost's and then try:
http://dev.dynamichostings.com:8080

If you get the tomcat welcome screen (which you will) you know you've set up
the host correctly.
http://localhost:8080  &  http://dev.dynamichostings.com:8080  are now
equivalent as far as Tomcat is concerned.

2. Get your webapp working with Standalone (port 8080)
Verify that your webapp is working correctly by trying:
http://localhost:8080/dynamichostings  OR
http://dev.dynamichostings.com:8080/dynamichostings

(Incidentally, I get a 503 when i try
http://66.80.144.156:8080/dynamichostings so your webapp isn't working now).


3. Get Tomcat connected to Webserver
This is when you get http://dev.dynamichostings.com/dynamichostings to work.
Set up your IIS + JK2 or whatever you are going to use to direct the
requests to Tomcat as appropriate.

4. Point http://dev.dynamichostings.com directly to your webapp.
Change the appBase to point directly to your webapps folder.
Make a new folder under TOMCAT_HOME/conf/Catalina/ called
dev.dynamichostings.com
Make a new file in that folder called webapp.xml (ie. dynamichostings.xml).
In webapp.xml, place a blank context like this:
<Context path="" docBase="" debug="0" privileged="true"></Context>


And that should do it. If you follow these steps then when you have errors
you will know exactly which component is causing the errors.  As opposed to
now when it could be any one of many things.

Hope that helps,
Adrian





----- Original Message ----- 
From: "LILES, DAVID (CONTRACTOR)" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 24, 2004 9:33 AM
Subject: RE: Configuration Help


Ok, I've changed the server.xml file so that <engine> and at least one
<host> reference "localhost". The ultimate goal is to have Tomcat support
multiple individual web applications and not have multiple context
configurations for one host.

Before, when the server.xml file was configured to use the server's ip
address I was able to get the following URL to work:
http://66.80.144.156/dynamichostings

Now that no longer works since I've changed it to use "localhost". I can
only get this URL to work: http://66.80.144.156:8080/dynamichostings

Ultimately I'm trying to get the following to work:
http://dev.dynamichostings.com and several other web applications.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to