> From: Rusty Wright [mailto:rusty.wri...@gmail.com]
> Subject: Re: run tomcat as tomcat user
>
> To answer my own question; I did some google searching and
> figured out that you need to copy the tomcat conf directory
> to ~tomcat and also create the directories ~/tomcat/log
To answer my own question; I did some google searching and figured out that you
need to copy the tomcat conf directory to ~tomcat and also create the
directories ~/tomcat/logs, ~/tomcat/temp, and ~/tomcat/work; all owned by
tomcat. Then copy over the webapps directory, or make a new one in ~to
Thanks, I like that suggestion.
So, to use your method, using the su below, would I do
export CATALINA_BASE=/home/tomcat
su - tomcat -c /path/to/tomcat/bin/startup.sh
Do I need to copy anything from the original tomcat directory to /home/tomcat,
or do I need to make any directories in it? O
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rusty,
Rusty Wright wrote:
> It's set up so that tomcat runs as the user tomcat. In order to do that
> you'll need to tweak the ownership of the files in the tomcat
> directory.
I would recommend that, instead of modifying the ownership of the Tomca
André Warnier wrote:
Kaushal Shriyan wrote:
Hi
I am not able to start tomcat as tomcat user on ubutu 8.04 Linux,
Below is my start/stop script
Any ideas as what is going wrong ?
I think the way you are using the "su" command is wrong.
Try :
su - (userid) -c "command + params"
You also probab
Kaushal Shriyan wrote:
Hi
I am not able to start tomcat as tomcat user on ubutu 8.04 Linux,
Below is my start/stop script
Any ideas as what is going wrong ?
I think the way you are using the "su" command is wrong.
Try :
su - (userid) -c "command + params"
You also probably want to re-direct t
(Repeating a reply I sent a week or so ago.)
I made this by modifying one for a different service.
It's set up so that tomcat runs as the user tomcat. In order to do that you'll
need to tweak the ownership of the files in the tomcat directory. I just made
everything owned by tomcat except we