File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tomcat issue on Windows Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Tomcat issue on Windows" Watch "Tomcat issue on Windows" New topic
Author

Tomcat issue on Windows

Amit Agwal
Greenhorn

Joined: Apr 06, 2006
Posts: 10
When I start Tomcat on Windows based OS, the process runs under the local username.
Is it possible to have the Tomcat process run as some other user?
Can we start Tomcat programatically, then create a user group on Windows and then assign the Tomcat process to this user?


I live on Java. Sometimes I eat food.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14456
    
    7

You can use the Windows Service Manager to do stuff like this.


Customer surveys are for companies who didn't pay proper attention to begin with.
Amit Agwal
Greenhorn

Joined: Apr 06, 2006
Posts: 10
Thanks Tim for the response.

I do not have access to the Service manager manually. Basically I am shipping my application with Tomcat bundle in it and when the application starts up the Tomcat process should automatically run under this new user group.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Tomcat issue on Windows
 
Similar Threads
one small doubt
tomcat5, server not found
error running servlets using tomcat
Problems with Tomcat as service on Windows Server 2003
How to start a executable jar as a Windows Service