I encountered some problems on file i/o due the fact that the WINs current working directory differs if tomcat is started as a NT service.
HTH Wolfgang Stein > -----Original Message----- > From: Robert Casto [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 25, 2001 4:40 AM > To: [EMAIL PROTECTED] > Subject: Launching subprocess under Tomcat as a Service > > > To all, > > I have a servlet that spawns a process to generate PDF > reports. When I run > Tomcat 3.2.3 using the startup.bat method, everything works fine. The > subprocess runs, completes its task, and my Servlet returns > and completes > its processing. The problem comes when running Tomcat as a > service using > jk_nt_service.exe. My Servlet will run, all of my webpages > will work, but > when my Servlet spawns the subprocess to generate the PDF > file, it hangs. I > have tried changing the settings of the service to log in as > various users > with no luck. Any suggestions on how to ensure that the > subprocess will > execute while running Tomcat as a service. NOTE: This problem > occurs whether > I am using NT4 SP6 or Win2k. > > Robert Casto > > > ......................................................... > CinciJava | Java Development and Training > > Robert Casto | [EMAIL PROTECTED] > 513-349-JAVA | www.cincijava.com > > >
