Re: Tomcat startup script

2010-06-09 Thread Sixten Otto
On Tue, Jun 8, 2010 at 4:18 PM, wrote: > The following should work on centos/redhat, don't forget to edit the paths, > user, and java options for your environment. You can use chkconfig to add it > to your startup. Thanks, Colin. Sixten

RE: Tomcat startup script

2010-06-08 Thread cbennett
--pid $kpid 2>&1 1>/dev/null; then echo "$0 is already running at ${kpid}" else echo "$CATALINA_PID found, but $kpid is not running" fi unset kpid else echo "$0 is stopped" fi ;; esac exit 0 &

Re: Tomcat startup script

2010-06-08 Thread Sixten Otto
On Tue, Jun 8, 2010 at 11:00 AM, K Wong wrote: > Okay. I've been running multicore Solr 1.4 on Tomcat 5.5/OpenJDK 6 > straight out of the centos repo and I've not had any issues. We're not > doing anything wild and crazy with it though. It's nice to know that the wiki's advice might be out of dat

Re: Tomcat startup script

2010-06-08 Thread Chris Harris
For the record, I've been running one of our production Solr 1.4 installs under the Ubuntu 9.04 tomcat6 + OpenJDK. package, and haven't run into difficulties yet. On Tue, Jun 8, 2010 at 8:00 AM, K Wong wrote: > Okay. I've been running multicore Solr 1.4 on Tomcat 5.5/OpenJDK 6 > straight out of t

Re: Tomcat startup script

2010-06-08 Thread K Wong
Okay. I've been running multicore Solr 1.4 on Tomcat 5.5/OpenJDK 6 straight out of the centos repo and I've not had any issues. We're not doing anything wild and crazy with it though. K On Tue, Jun 8, 2010 at 7:20 AM, Sixten Otto wrote: > On Mon, Jun 7, 2010 at 9:23 PM, K Wong wrote: >> Did y

Re: Tomcat startup script

2010-06-08 Thread Sixten Otto
On Mon, Jun 7, 2010 at 9:23 PM, K Wong wrote: > Did you install tomcat 5.5 from an RPM? I did not, on the advice of that same Solr wiki article that manual installation is "recommended because distribution Tomcats are either old or quirky." There haven't been any issues with this, except that the

Re: Tomcat startup script

2010-06-07 Thread K Wong
I believe that I installed it simply by doing "yum install tomcat5" then adjusting the "/sbin/chkconfig" settings. Did you install tomcat 5.5 from an RPM? Is it not showing up when you do $ sudo /sbin/chkconfig --list tomcat5 K On Mon, Jun 7, 2010 at 8:59 PM, Sixten Otto wrote: > On Mon, Jun

Re: Tomcat startup script

2010-06-07 Thread Sixten Otto
On Mon, Jun 7, 2010 at 2:35 PM, Chris Hostetter wrote: > there is currently a bug with the apache wiki and attachments... > https://issues.apache.org/jira/browse/INFRA-2773 Glad to know it's not just me. But does anyone have that script posted anywhere else? Sixten

Re: Tomcat startup script

2010-06-07 Thread Chris Hostetter
: So, looking at the wiki article on setting up Solr with Tomcat : (http://wiki.apache.org/solr/SolrTomcat), there's a link to an : attached init.d script for CentOS/RedHat/Fedora. Trouble is, the wiki there is currently a bug with the apache wiki and attachments... https://issues.apache.org/jir

Tomcat startup script

2010-06-07 Thread Sixten Otto
So, looking at the wiki article on setting up Solr with Tomcat (http://wiki.apache.org/solr/SolrTomcat), there's a link to an attached init.d script for CentOS/RedHat/Fedora. Trouble is, the wiki won't let me access it. Even after creating an account and logging in, clicking on the link (http://wik