Hi Rashmi, Thanks! I renamed htdocs.xml to ROOT.xml. http://localhost:8080 did not work. However, http://localhost:8080/htdocs/index.html worked which is some progress.
I think my organization would prefer only http://localhost:8080 I am confused between the concepts appBase, docBase and path. So given the directory structure below, what should be the values of appBase, docBase and path so http://localhost:8080 looks for index.html under htdocs. Thanks again Lakshmi -----Original Message----- From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 9:04 PM To: Tomcat Users List Subject: Re: Tomcat deployment question Hi Lakshmi, Rename the context file from htdocs.xml to ROOT.xml then you should be able to access the app at http://localhost:8080/ -Rashmi -------------------Original posting by Lakshmi ------------------------------------------- I have upgraded from Tomcat 3.3 to Tomcat 5.5.23. It is running on WinXP and I am using Java 1.5. Here's my dierctory set up: ${Catalina.Home} -- conf -- Catalina --localhost htdocs.xml -- htdocs index.html --bin --html --jsp --css --jar --WEB-INF web.xml --classes --lib In server.xml, I modified the <Host> element to have {appBase="htdocs" autoDeploy="false"} I am using htdocs.xml in ${Catalina.home}/Catalina/localhost as the context descriptor and is defined as follows: <Context docBase="${catalina.home}" override="true" privileged="true"> <Loader className="com.example.appClassLoader" reloadable="true"/> <!-- Default set of monitored resources --> <WatchedResource>WEB-INF/web.xml</WatchedResource> <!-- Uncomment this to disable session persistence across Tomcat restarts --> <Manager pathname="" /> </Context> Tomcat is able to load appClassLoader. However, when I type, http://localhost:8080, it is not able to load the index.html found under the htdocs directory. If I create ROOT directory and move the index.html over there it is able to load it. I guess, my main problem is how can I maintain the same directory structure as above without having to create ROOT and move everything below it? The above directory structure worked in Tomcat 3.3. What am I missing? Thanks Lakshmi --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]