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