On 1/17/2012 1:09 PM, Shoffey, Montreal wrote:
André and David,

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

Problem solved ... thanks very much!

You're welcome; thanks for posting back with the results.



v/r
Montreal
_________________________
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 [mailto:a...@ice-sa.com]
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.
+1
    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 :
http://msdn.microsoft.com/en-us/library/windows/desktop/ms683502%28v=vs.85%29.aspx
(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: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to