Re: tomcat 7 with APR connector on ubuntu

2014-01-16 Thread Brett Delle Grazie
Mubeen, On 16 January 2014 08:53, Mubeen Shah wrote: > Thank you Brett for your comments. > > You're welcome. However as per list convention, please do not top post ( http://tomcat.apache.org/lists.html) > Here is tomcat startup script (/etc/init.d/tomcat7) > > #!/bin/bash > # tomcat start/st

Re: tomcat 7 with APR connector on ubuntu

2014-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Brett, On 1/16/14, 5:44 PM, Brett Delle Grazie wrote: > Christopher, > > On 16 January 2014 22:28, Christopher Schultz > wrote: > > Brett, > > On 1/15/14, 7:41 PM, Brett Delle Grazie wrote: On 15 January 2014 16:53, Mubeen Shah wrote

Re: tomcat 7 with APR connector on ubuntu

2014-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mubeen, On 1/16/14, 5:33 PM, Mubeen Shah wrote: > Hello, > > I am able to run tomcat with jsvc daemon on port 80, but I can see > "jsvc.exec" process twice with different pid (one with root and > other with non-root): > > root 28890 0.0 0.0

Re: tomcat 7 with APR connector on ubuntu

2014-01-16 Thread Brett Delle Grazie
Christopher, On 16 January 2014 22:28, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Brett, > > On 1/15/14, 7:41 PM, Brett Delle Grazie wrote: > > On 15 January 2014 16:53, Mubeen Shah > > wrote: > > > >> Hello, > >> > >> I am trying to configure tomcat 7 on

Re: tomcat 7 with APR connector on ubuntu

2014-01-16 Thread Mubeen Shah
Hello, I am able to run tomcat with jsvc daemon on port 80, but I can see "jsvc.exec" process twice with different pid (one with root and other with non-root): root 28890 0.0 0.0 jsvc.exec -java-home /usr/lib/jvm/java-7-oracle -user tomcat7 -pidfile /opt/tomcat7/logs/catalina-daemon.pid -wa

Re: tomcat 7 with APR connector on ubuntu

2014-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Brett, On 1/15/14, 7:41 PM, Brett Delle Grazie wrote: > On 15 January 2014 16:53, Mubeen Shah > wrote: > >> Hello, >> >> I am trying to configure tomcat 7 on ubuntu machine and wanted to >> run it as non-root on port 80, Here is what I did so far

Re: tomcat 7 with APR connector on ubuntu

2014-01-16 Thread Mubeen Shah
Thank you Brett for your comments. Here is tomcat startup script (/etc/init.d/tomcat7) #!/bin/bash # tomcat start/stop script export JAVA_HOME=/usr/lib/jvm/java-7-oracle export CATALINA_HOME=/opt/tomcat7 start() { su tomcat7 -s /bin/sh -c $CATALINA_HOME/bin/startup.sh } stop() { su tomca

Re: tomcat 7 with APR connector on ubuntu

2014-01-15 Thread Brett Delle Grazie
Hi, See interleaved. On 15 January 2014 16:53, Mubeen Shah wrote: > Hello, > > I am trying to configure tomcat 7 on ubuntu machine and wanted to run it as > non-root on port 80, Here is what I did so far: > > OS (Ubuntu 12.04 LTS): > > - installed oracle JDK 1.7.0_45 using "apt-get" > - downlo

tomcat 7 with APR connector on ubuntu

2014-01-15 Thread Mubeen Shah
Hello, I am trying to configure tomcat 7 on ubuntu machine and wanted to run it as non-root on port 80, Here is what I did so far: OS (Ubuntu 12.04 LTS): - installed oracle JDK 1.7.0_45 using "apt-get" - downloaded and extracted tomcat 7.0.50 (.gz format) - created ubuntu user 'tomcat' and grant