Howdy, >A developer has a servlet that needs to change the uid for the process that >runs it to do some shared memory operations. Right now when this servlet >runs it is changing the uid of the root process for Tomcat which causes >other servlets to stop working. This is bad. >Is this something that I am supposed to configure in the server.xml or >global web.xml?
No, tomcat provide no such features. You can accomplish this (I think) on a Java level (not OS-level) using the AccessController#doPriviledged approach. (See javadoc for java.security.AccessController for more details). Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
