Strange...stays open for me on Windows 2000 Pro. Oh well. John
> -----Original Message----- > From: Geoff Peters [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 9:16 AM > To: Tomcat Users List > Subject: RE: debugging help > > > YESSS!!! thanks Matt, that did exactly what I wanted to, > showed me it was a driver exception, the window stayed open. > John - I tried your idea and the window still closed > imediately after the exception. Hamish - When I actually get > it running again I am going to install it as a service!! > > Thanks again guys, Geoff > > -----Original Message----- > From: Raible, Matt [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 9:58 AM > To: 'Tomcat Users List' > Subject: RE: debugging help > > > Here's an Ant task that can be very helpful in these situations: > > <target name="start.tomcat"> > <java > classname="org.apache.catalina.startup.Bootstrap" fork="yes"> > <jvmarg value="-Dcatalina.home=${tomcat.home}"/> > <arg value="start"/> > <classpath> > <fileset dir="${tomcat.home}"> > <include name="bin/bootstrap.jar"/> > <include name="server/catalina.jar"/> > </fileset> > </classpath> > </java> > </target> > > If you're not using Ant, you can use the following command > line argument > from your $CATALINA_HOME directory: > > java -cp "bin/bootstrap.jar;server/catalina.jar" > org.apache.catalina.startup.Bootstrap start > > HTH, > > Matt > > > -----Original Message----- > > From: Geoff Peters [mailto:[EMAIL PROTECTED]] > > Sent: Friday, January 31, 2003 6:52 AM > > To: [EMAIL PROTECTED] > > Subject: debugging help > > > > > > I am trying to configure a new realm for MySQL, and I am > > finding debuggin problems at this point is next to impossible > > and very frustrating. When I try to start Tomcat, the console > > window pops up for a second, an exception message is thrown > > and the window closes before I can read it. The log files do > > not show any of this output, so I am stuck with changing > > things one at a time to see if I can get Tomcat to fire up > > and generate logs! > > > > Any advice on how to get output to a log file when I can't > > start Tomcat??? > > > > Thanks, Geoff > > > > > > > > > --------------------------------------------------------------------- > > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]