|
Bugzilla – Full Text Bug Listing |
| Summary: | Tomcat 5.5-start-script failes for large number of parameters in CATALINA_OPTS+JAVA_OPTS (in /etc/sysconfig/tomcat55) | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Carsten Dumke <cdumke> |
| Component: | Other | Assignee: | Michal Vyskocil <mvyskocil> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P4 - Low | ||
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | openSUSE 10.3 | ||
| Whiteboard: | maint:released:10.3:26098 maint:released:sle10-sp2:25613 maint:released:sles9:26099 | ||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | the patch fixes the function tomcatIsRunning() | ||
Thanks for your report and patch. This will be fixed with a next update of tomcat55. backported fix for remaining tomcat 5/5.5 installations, will be released with an upcomming security update of tomcat *** Bug 513906 has been marked as a duplicate of this bug. *** Update released for: tomcat55, tomcat55-admin-webapps, tomcat55-common-lib, tomcat55-jasper, tomcat55-jasper-javadoc, tomcat55-jsp-2_0-api, tomcat55-jsp-2_0-api-javadoc, tomcat55-server-lib, tomcat55-servlet-2_4-api, tomcat55-servlet-2_4-api-javadoc, tomcat55-webapps Products: openSUSE 10.3 (i386) Update released for: tomcat5, tomcat5-admin-webapps, tomcat5-webapps Products: SLE-SDK 10-SP2 (i386, ia64, ppc, s390x, x86_64) SLE-SERVER 10-SP2 (i386, ia64, ppc, s390x, x86_64) Update released for: apache-jakarta-tomcat-connectors, apache2-jakarta-tomcat-connectors, jakarta-tomcat, jakarta-tomcat-doc, jakarta-tomcat-examples Products: Novell-Linux-POS 9 (i386) Open-Enterprise-Server 9 (i386) SUSE-CORE 9 (i386, ia64, ppc, s390, s390x, x86_64) |
Created attachment 286725 [details] the patch fixes the function tomcatIsRunning() User-Agent: Opera/9.64 (X11; Linux x86_64; U; en) Presto/2.1.1 The Tomcat 5.5 start-script (/etc/init.d/tomcat55) does not detect the start of the tomcat-process if there are a lot of parameters in CATALINA_OPTS and/or JAVA_OPTS (in /etc/sysconfig/tomcat55). This is caused by " ps aux --cols 1024" in the function tomcatIsRunning() of /etc/init.d/tomcat55 which cuts the tomcat-commandline so that the following grep does not find its patterns. Reproducible: Always Steps to Reproduce: 1. Set JAVA_OPTS="-Dfile.encoding=ISO8859-15 -Duser.language=de -Duser.country=DE" 2. Set CATALINA_OPTS="-Dproject.setting.a1=123 -D...." (in sum with more than 500 characters between the "") 3. call /etc/init.d/tomcat55 start Actual Results: Starting Tomcat (/srv/www/tomcat55/base/) failed Expected Results: Starting Tomcat (/srv/www/tomcat55/base/) done