Change Apache User and Group in httpd.conf to same as Tomcat User.

Make a script in /etc/init.d for tomcat which starts up tomcat with
cd /path/to/tomcat
su - tomcatuser -c bin/startup.sh
(su needs root privileges to run without password)

set the following in workers2.properties to avoid log messages:

# Global logfile level set to emergency errors
[logger]
level=EMERG


At 16:53 12.07.2003 +0000, you wrote:
well finally i made it

the problem was i had to use --with-pcre at compile time now everyworks over the socket except that i have to chmod 666 to jk.socket because apache can't access the file (starting as nobody).

how can i start tomcat as another user ?

and on every request following log message is written into catalina.out

[Sat Jul 12 16:41:01 2003] ( info ) [jk_jni_aprImpl.c (472)] jkInvoke() invoke 4d2757f0


and at the start following happens


[Sat Jul 12 16:40:06 2003] ( info ) [jk_uriEnv.c (245)]
uriEnv.setAttribute() the worker directive is deprecated. Use 'group' instead.

HOW does the group directive work ?

i guess this results following error in apache error_log

[Sat Jul 12 16:40:25 2003] [error] uriEnv.init() map to invalid worker /examples ajp13:localhost:8009

thx4help


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to