Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 43202 invoked from network); 11 Apr 2002 16:32:58 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Apr 2002 16:32:58 -0000 Received: (qmail 14646 invoked by uid 97); 11 Apr 2002 16:32:43 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 14630 invoked by uid 97); 11 Apr 2002 16:32:42 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 14619 invoked from network); 11 Apr 2002 16:32:42 -0000 Message-ID: <89C3243EE1C6D411A7C200508BDCA846AD337A@NY_EXCH01> From: "Dahnke, Eric" To: 'Tomcat Users List' Subject: RE: How to run tomcat as service program in Win2k [[HELP]] Date: Thu, 11 Apr 2002 12:29:00 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I've followed this thread and am still having no luck. Here's the situation. The TC that comes with jwsdp is TC4.0b7. This release of TC doesn't include a tomcat.exe file, so I grabbed one from the TC4.0.1 release. I then run following from the cmd prompt. "%CATALINA_HOME%\bin\tomcat.exe" -install Tomcat "%JAVA_HOME%\jre\bin\classic\jvm.dll" -Djava.class.path= "%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar" -Dcatalina.home="%CATALINA_HOME%" -Xrs -start org.apache.catalina.startup.Bootstrap -params start -stop org.apache.catalina.startup.Bootstrap -params stop -out "%CATALINA_HOME%\logs\stderr.log" Response is: The service was successfully installed. Upon starting the service I get: "Could not start the service on Local Computer. The service did not return an error. This could be a Windows error or an internal service error." the stderr.log file is created but is empty. Anyone have any ideas? How can I further troubleshoot. Regards Eric -----Original Message----- From: Jordan C N Chong [mailto:chong@cs.utwente.nl] Sent: Thursday, April 11, 2002 2:06 AM To: Tomcat Users List Subject: Access local directory with Tomcat 4.0 Dear all, Sorry to post this question again, cause I didn't receive any reply... so I think I should rephrase my question. I am using standalone Apache Tomcat 4.0, on my Windows 2000 machine. I am making a servlet for file downloading using the Tomcat 4.0, but I am not sure how to setup or configure the local directory, cause when I do this: FileInputStream filein = new FileInputStream("C:\\temp\\text.txt"); I got IOException for that, because Tomcat 4.0 complains the directory is not accessible... Please help me. Thank you very much. Best regards, Jo -- To unsubscribe: For additional commands: Troubles with the list: -- To unsubscribe: For additional commands: Troubles with the list: