tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shoffey, Montreal" <>
Subject RE: Interactive Services Detection
Date Tue, 17 Jan 2012 18:09:00 GMT
André and David,

Unchecking 'Allow service to interact with desktop' fixed the issue.

Problem solved ... thanks very much!

Gail "Montreal" Shoffey
VA Office of Information and Technology 
IT Workforce Development 
304-262-7713 Office
202-400-7970 Mobile
304-262-7701 FAX

-----Original Message-----
From: André Warnier [] 
Sent: Tuesday, January 17, 2012 10:25 AM
To: Tomcat Users List
Subject: Re: Interactive Services Detection

David kerber wrote:

>>> In the Tomcat properties, I have Log on as Local System account and 
>>> the Allow service to interact with desktop is checked.
> Windows Vista, 7, Server 2008 and Servere 2008 R2 do not allow 
> services to interact with the desktop whether that option is checked or not.
> Uncheck that, and this warning will likely go away.
   If you need the
> service to interact with the user/desktop, then you're going to have 
> to find an alternate solution.
I don't know if services are definitely not allowed to interact with the desktop.
The following link seems to contradict this somewhat :
(It warns you of dire consequences if you do it, but it doesn't say that you can't).

But, in any case, the Tomcat service does not /need/ to interact with the desktop, so having
that checkbox checked is unnecessary.

The fact that the "Interactive Services Detection" thing pops up a dialog, my be due to the
fact that :
1) the checkbox is checked (causing Windows to allocate a console to Tomcat)
2) something within Tomcat writes to STDOUT or STDERR (which would normally be redirected
to the console, if you were running Tomcat in a console, which you are not anyway).

So uncheck the checkbox.
If Tomcat has anything important to say, it will write it to its logfiles.
If the "service wrapper" (tomcat7.exe) has something important to say, it will write it to
the logfiles or to the Windows Event Logs.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message