Re: Auto start scripts
Robin Rigby wrote: Have very limited experience of Linux or Tomcat. Not even really sure if this is a Tomcat issue or a Linux issue. Main question: How do I run a Tomcat4 script from /etc/rc.d/init.d so that Tomcat starts automatically? Tomcat works fine when I run startup.sh as root. However, common sense and many passing references on the mailing list suggest that root is not the best choice. - What user do people normally use? - Should I create a user for the purpose? - What attributes and permissions should it have? - Is this related to the tomcat tomcat element in the default tomcat-users.xml? I'd sugest: - download TC-4.1.24 RPMs and install them - study it, see how it arranges files, permissions, etc... - configure your own TC 4.1.29 accordingly - or just (carefully) paste 4.1.29 over existing 4.1.24 RPM install Setting up TC correctly or, even more, building your own RPMs can be very time consuming. The layout of 4.1.24 RPMs seams OK to me. There is a site, JPackage, I think, which has newer RPMs, but they have moved other packages from TC into separate ones (JavaMail, JDBC-ext,...), so getting it all together is not easy. Plus they have their own dependencies, which I couldn't provide on Mandrake. Nixie. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Auto start scripts
Thanks. I tried to to find the 4.1.24 RPM under http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/ but this redirects me to http://jakarta.apache.org/site/binindex.cgi which offers 4.1.29 and no RPM. Where should I really be looking? Robin -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: 03 December 2003 13:01 To: Tomcat Users List Subject: Re: Auto start scripts Robin Rigby wrote: Have very limited experience of Linux or Tomcat. Not even really sure if this is a Tomcat issue or a Linux issue. Main question: How do I run a Tomcat4 script from /etc/rc.d/init.d so that Tomcat starts automatically? Tomcat works fine when I run startup.sh as root. However, common sense and many passing references on the mailing list suggest that root is not the best choice. - What user do people normally use? - Should I create a user for the purpose? - What attributes and permissions should it have? - Is this related to the tomcat tomcat element in the default tomcat-users.xml? I'd sugest: - download TC-4.1.24 RPMs and install them - study it, see how it arranges files, permissions, etc... - configure your own TC 4.1.29 accordingly - or just (carefully) paste 4.1.29 over existing 4.1.24 RPM install Setting up TC correctly or, even more, building your own RPMs can be very time consuming. The layout of 4.1.24 RPMs seams OK to me. There is a site, JPackage, I think, which has newer RPMs, but they have moved other packages from TC into separate ones (JavaMail, JDBC-ext,...), so getting it all together is not easy. Plus they have their own dependencies, which I couldn't provide on Mandrake. Nixie. - 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]
RE: Auto start scripts
Howdy, RPMs are not packaged on the jakarta site for tomcat. They're done by external parties on their sites. Google ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Robin Rigby [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 9:16 AM To: Tomcat Users List Subject: RE: Auto start scripts Thanks. I tried to to find the 4.1.24 RPM under http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/ but this redirects me to http://jakarta.apache.org/site/binindex.cgi which offers 4.1.29 and no RPM. Where should I really be looking? Robin -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: 03 December 2003 13:01 To: Tomcat Users List Subject: Re: Auto start scripts Robin Rigby wrote: Have very limited experience of Linux or Tomcat. Not even really sure if this is a Tomcat issue or a Linux issue. Main question: How do I run a Tomcat4 script from /etc/rc.d/init.d so that Tomcat starts automatically? Tomcat works fine when I run startup.sh as root. However, common sense and many passing references on the mailing list suggest that root is not the best choice. - What user do people normally use? - Should I create a user for the purpose? - What attributes and permissions should it have? - Is this related to the tomcat tomcat element in the default tomcat-users.xml? I'd sugest: - download TC-4.1.24 RPMs and install them - study it, see how it arranges files, permissions, etc... - configure your own TC 4.1.29 accordingly - or just (carefully) paste 4.1.29 over existing 4.1.24 RPM install Setting up TC correctly or, even more, building your own RPMs can be very time consuming. The layout of 4.1.24 RPMs seams OK to me. There is a site, JPackage, I think, which has newer RPMs, but they have moved other packages from TC into separate ones (JavaMail, JDBC-ext,...), so getting it all together is not easy. Plus they have their own dependencies, which I couldn't provide on Mandrake. Nixie. - 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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Auto start scripts
Robin Rigby wrote: Thanks. I tried to to find the 4.1.24 RPM under http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/ but this redirects me to http://jakarta.apache.org/site/binindex.cgi which offers 4.1.29 and no RPM. Where should I really be looking? Robin Try this... http://archive.apache.org/dist/jakarta/tomcat-4/archive/v4.1.24/rpms/ -- Tomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Auto start scripts
Got it. Thank you. :-) -Original Message- From: Tomas Wredendal [mailto:[EMAIL PROTECTED] Sent: 03 December 2003 14:40 To: Tomcat Users List Subject: Re: Auto start scripts Robin Rigby wrote: Thanks. I tried to to find the 4.1.24 RPM under http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/ but this redirects me to http://jakarta.apache.org/site/binindex.cgi which offers 4.1.29 and no RPM. Where should I really be looking? Robin Try this... http://archive.apache.org/dist/jakarta/tomcat-4/archive/v4.1.24/rpms/ -- Tomas - 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]
Re: Auto start scripts
Robin Rigby wrote: Thanks. I tried to to find the 4.1.24 RPM under http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/ but this redirects me to http://jakarta.apache.org/site/binindex.cgi which offers 4.1.29 and no RPM. Where should I really be looking? Robin, I don't think you really need to have tomcat installed by rpm just to get the daemon working. From what I have managed to work out by a quick look today, if you want to run tomcat as a non-root user, and you want tomcat 4, you have to do some extra steps because it won't bind to port 80 unless it's running as root. Check out the thread mentioned in the tomcat website: http://jakarta.apache.org/tomcat/faq/security.html#root Adam -- struts 1.1 + tomcat 5.0.14 + java 1.4.2 Linux 2.4.20 RH9 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]