Can you run a specific tomcat Web Application under another user?

Posted by Boaz on Server Fault See other posts from Server Fault or by Boaz
Published on 2010-05-18T19:35:13Z Indexed on 2010/05/18 19:40 UTC
Read the original article Hit count: 327

Filed under:
|
|

Hi,

We're developing a web-app running under tomcat which relies on Java User preferences to store all kind of settings. That works great, but we've run into problem where we needed to set up another staging web-app which allows you to test settings before settings them live.

The core of the problem lies in the fact that Java User preferences are the same for all web-app due to the fact that all of them run under the tomcat user (configurable). For legacy reasons I can not at the moment change my preferences structure, so I'm hoping for a solution on the the tomcat configuration side.

Is it possible to designate a different user credentials for a specific web-app in tomcat?

Thanks, Boaz

© Server Fault or respective owner

Related posts about tomcat

Related posts about configuration