A few things.. 1) I dont think you actually have to do add the context in your server.xml - if you place your activeuser directory into your webapps folder, it should automatically place a context for it into activeuser (not tested by me) - if you place a war file for you directory into the webapps folder it will be automactically deployed (tested by me and thousands of other :)) 2) In the event that you have to place context into you server.xml: a) make sure it is in the correct location (above the example context is great) b) make sure you did it in correct XML syntax. - In your example you did not have a </context> to show tomcat where your context definitions ended. That could cause all kinds of problems. 3) Next time that you have problems starting Tomcat.. please cut and paste the error that shows on the console.. if it doesnt start.. there WILL be an error. That helps us to figure out what is wrong. 4) Post tomcat specific questions to tomcat mailing list. Go to jakarta.apache.org and look for their mailing list. - You'll get more answers and faster. -Tim
-----Original Message----- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 1:18 PM To: [EMAIL PROTECTED] Subject: tomcat4.0, ad new context ?? yes when I use it as I downloaded it, it works fine, when I start tomcat4 I get the catalina prompt : Starting service Tomcat-Standalone Apache Tomcat/4.0.1 Starting service Tomcat-Apache Apache Tomcat/4.0.1 BUT when I add a context to server.xml, it does not work at all, there is no catalina >From: Ketharinath Kamalanathan <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and >reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: tomcat4.0, how to ad new context ?? >Date: Thu, 29 Nov 2001 11:56:12 -0600 > >does your Server Startup now? > >/KK >----- Original Message ----- >From: "sufi malak" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, November 29, 2001 11:48 AM >Subject: Re: tomcat4.0, how to ad new context ?? > > > > It still does not work when I add a context in server.xml like : > > <Context path="/activeuser" docBase="activeuser" debug="0" > > reloadable="true"> > > > > > > >From: Ketharinath Kamalanathan <[EMAIL PROTECTED]> > > >Reply-To: A mailing list about Java Server Pages specification and > > >reference <[EMAIL PROTECTED]> > > >To: [EMAIL PROTECTED] > > >Subject: Re: tomcat4.0, how to ad new context ?? > > >Date: Thu, 29 Nov 2001 11:32:11 -0600 > > > > > >Malak: > > > > > >I just went thru the process and got the TomCat Srever up. > > > > > >First lets try to start the server. > > > > > >Assuming that your tomcat is installed in c:\tomcat, from the dos >prompt, > > >say set CATALINA_HOME="c:\tomcat". Also check that you have the >JAVA_HOME > > >set properly to the folder where jdk is installed. > > > > > >Then from the bin folder of tomcat, say startup. It should work. > > > > > >Ofcourse, I am mentioning about the Windows Env. I know little on Unix >env. > > > > > >Shout if you still have any problems. Then we shall oproceed to deploy >the > > >app. > > > > > >Thanks > > > > > >/KK > > > > > >----- Original Message ----- > > >From: "sufi malak" <[EMAIL PROTECTED]> > > >To: <[EMAIL PROTECTED]> > > >Sent: Thursday, November 29, 2001 10:50 AM > > >Subject: tomcat4.0, how to ad new context ?? > > > > > > > > > > Hi, It's my first time using Tomcat4, so I created an application >called > > > > activeuser and put it in webapps and then I added in server.xml this >: > > > > <Context path="/activeuser" docBase="activeuser" debug="0" > > > > reloadable="true"> > > > > > > > > When I try to start tomcat4 server it does not, but whenever I take >it > > >of > > > > tomcat4 start by showing catalina.e. > > > > thanks > > > > > > > > > > > > _________________________________________________________________ > > > > Get your FREE download of MSN Explorer at > > >http://explorer.msn.com/intl.asp > > > > > > > > > > > >=========================================================================== > > > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > > >JSP-INTEREST". > > > > For digest: mailto [EMAIL PROTECTED] with body: "set >JSP-INTEREST > > >DIGEST". > > > > Some relevant FAQs on JSP/Servlets can be found at: > > > > > > > > http://archives.java.sun.com/jsp-interest.html > > > > http://java.sun.com/products/jsp/faq.html > > > > http://www.esperanto.org.nz/jsp/jspfaq.jsp > > > > http://www.jguru.com/faq/index.jsp > > > > http://www.jspinsider.com > > > > > > > > > > >=========================================================================== > > >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > > >JSP-INTEREST". > > >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > > >DIGEST". > > >Some relevant FAQs on JSP/Servlets can be found at: > > > > > > http://archives.java.sun.com/jsp-interest.html > > > http://java.sun.com/products/jsp/faq.html > > > http://www.esperanto.org.nz/jsp/jspfaq.jsp > > > http://www.jguru.com/faq/index.jsp > > > http://www.jspinsider.com > > > > > > _________________________________________________________________ > > Get your FREE download of MSN Explorer at >http://explorer.msn.com/intl.asp > > > > >=========================================================================== > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST >DIGEST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://archives.java.sun.com/jsp-interest.html > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.jsp > > http://www.jguru.com/faq/index.jsp > > http://www.jspinsider.com > > > >=========================================================================== >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >JSP-INTEREST". >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST >DIGEST". >Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com