I did these steps - 1. Renamed admin-web to ROOT. 2. made sure to delete existing ROOT folder that comes bundled with tomcat. 3. Added context.xml to webapps/ROOT/META-INF with contents being <Context> </Context>
4. This is the error on restarting INFO: Marking servlet action as unavailable Dec 1, 2008 2:53:50 PM org.apache.catalina.core.ApplicationContext log SEVERE: Error loading WebappClassLoader delegate: false .. .. .. SEVERE: Servlet threw load() exception java.lang.ClassNotFoundException: com.psi.servlet.Log4jInitializerServlet at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1094) On Mon, Dec 1, 2008 at 2:22 PM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: > > From: Anand HS [mailto:[EMAIL PROTECTED] > > Subject: Re: What exactly happens when I configure a different host > > > > Thats exactly what I have. > > Good. > > > <Context path="" docBase="admin-web"> > > <Valve className="org.apache.catalina.valves.AccessLogValve" > > directory="\\10.168.48.254 > \web_app_logs\QA1\Logs\SDQA1-WEB\TOMCAT\admin\accesslog" > > prefix="localhost_access_log_admin." > > suffix=".txt" > > pattern="common" /> > > <Valve className="org.apache.catalina.valves.AccessLogValve" > > directory="\\10.168.48.254 > \web_app_logs\QA1\Logs\SDQA1-WEB\TOMCAT\all\accesslog" > > prefix="localhost_access_log." > > suffix=".txt" > > pattern="common" /> > > </Context> > > It's bad practice to put a <Context> element inside server.xml, especially > for the default webapp. You now have that webapp deployed twice, once as > "", and again as "admin-web". Before proceeding, change the name of the > webapp directory from webapps/admin-web to webapps/ROOT (case-sensitive, > even on Windows), and place the <Context> element in > webapps/ROOT/META-INF/context.xml (also case-sensitive), but without the > path and docBase attributes. Delete any existing webapps/ROOT directory or > webapps/ROOT.war file before renaming yours, of course. > > Then let's see what happens. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >