tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <>
Subject Re: Launching subprocess under Tomcat as a Service
Date Fri, 26 Oct 2001 15:32:23 GMT
Robert Casto at wrote:

> 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.

Make sure your service has access to the desktop, that is usually required
for some rendering stuff (there's a checkbox somewhere, I can't remember the
name exactly as - luckily - my windows days are long gone :)


View raw message