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]