Tomcat Servlet Container user discussion

Tomcat Servlet Container user discussion

Hello,

We are trying to run tomcat7 as a daemon using JSVC in SunOS environment.

The compiled jsvc executable is owned by root. We have modified daemon.sh

that bundles with tomcat7 for our environment to run our tomcat instance.

When we execute this shell script, it creates two processes and both the

processes are owned by root as shown below (output of ps -ef | grep jsvc):

root 9109 9108 2 15:15:03 ? 0:37

/doc/dmadmin6/product/tomcat7/bin/jsvc -java-home

/doc/dmadmin6/product/jdk6/jd

root 9108 1 0 15:15:03 ? 0:00

/doc/dmadmin6/product/tomcat7/bin/jsvc -java-home

/doc/dmadmin6/product/jdk6/jd

We are running the shell script as a non privileged user (dmadmin6) and we

are even passing this user name with -user switch to jsvc. We were

expecting the child process (pid 9109) to be run as a non privileged user

(dmadmin6) in our case. Anyone else has experienced this?

Currently in production we have tomcat 6 configured to run with jsvc and in

that environment we see that the child process is running as a non

privileged user.

via Tomcat Servlet Container user discussion.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s