DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6494>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6494 Tomcat 4.0.2 could not start from W2k service after adding webapps conf Summary: Tomcat 4.0.2 could not start from W2k service after adding webapps conf Product: Tomcat 4 Version: 4.0.2 Final Platform: PC URL: http://pc47094.utdallas.edu:8080/ResearchDB/ OS/Version: Windows NT/2K Status: NEW Severity: Blocker Priority: Other Component: Webapps AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi, Tomcat works well from the W2k service; it can be automatically started. But after putting follow code into the $catalina_home\conf\server.xml, it could not be started from the service. However, it can ba started by executing startup.bat command from MS-DOS ($catalina_home\bin). Here is the code which was added into the "Host" tag: <!-- ResearchDB Context --> <Context path="/ResearchDB" docBase="ResearchDB" cookies="true" debug="0"> <Logger className="org.apache.catalina.logger.FileLogger" prefix="researchDB_log." suffix=".txt" timestamp="true"/> <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99" digest="MD5" driverName="sun.jdbc.odbc.JdbcOdbcDriver" connectionURL="jdbc:odbc:Authentication" connectionName="ResearchDB" connectionPassword="password" userTable="users" userNameCol="user_name" userCredCol="user_pass" userRoleTable="user_roles" roleNameCol="role_name" /> </Context> The startup.bat is: @echo off rem --------------------------------------------------------------------------- rem startup.bat - Start Script for the CATALINA Server rem rem $Id: startup.bat,v 1.3.4.1 2001/10/12 16:48:57 remm Exp $ rem --------------------------------------------------------------------------- set _CATALINA_HOME=%CATALINA_HOME% if not "%CATALINA_HOME%" == "" goto gotHome set CATALINA_HOME=. if exist "%CATALINA_HOME%\bin\catalina.bat" goto gotHome set CATALINA_HOME=.. if exist "%CATALINA_HOME%\bin\catalina.bat" goto gotHome echo Unable to determine the value of CATALINA_HOME goto cleanup :gotHome "%CATALINA_HOME%\bin\catalina" start %1 %2 %3 %4 %5 %6 %7 %8 %9 :cleanup set CATALINA_HOME=%_CATALINA_HOME% set _CATALINA_HOME= My application ResearchDB was put into the directory ResearchDB under $catalina_home\webapps. Thank you. Dayong Zhang -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>