Hi all,
 
I'm wondering -- is there a way to start Tomcat 5.5.4 in the background on
Windows, without seeing the console, and without running it as a service?
 
Here's my situation:
 
I have a webapp running that sometimes needs to access network folders that
are only mapped when the user logs in to windows.  If I use a service to
launch Tomcat, it starts using the SYSTEM account, which doesn't have access
to the network drives.  Now, I know I can change the "Log On As" to user a
local account, but that also means I have to change the local account's
security privileges (to allow that account to run services), etc., which is
not a viable solution for me.
 
Instead, I was thinking that I could just start Tomcat in the background
when the user logs in (by putting something in the Startup folder or
something like that).  That way, Tomcat would be launched by the user, and
then it would be able to access network drives.
 
But, I don't know if there is a way to start Tomcat without the console
visible (so that Tomcat's execution is still transparent to the user, as it
would be if it were run as a service).
 
I guess I would also have to figure out a way to have the shutdown script
called when the user logs out.  That could be a pain as well, couldn't it?
 
 
Does anyone have any thoughts on this?
 
 
Thanks,
Matt Mejaski

Reply via email to