[Bug 53752] Tomcat restarts with error:java.lang.ArrayIndexOutOfBoundsException: -60
https://issues.apache.org/bugzilla/show_bug.cgi?id=53752 --- Comment #5 from thyag thyag_...@yahoo.co.in --- Hi, There are no two issues reported. its all the same issue: tomcat is inconsistent and it is restarted. RtpTomcatCheck -p 99 is a script which runs perodically for tomcat when the exitcode is not 0, it will restart. below are the log when the check is done using RtpTomcatCheck. I felt that this have no connection with this issue, so i did not provide earlier. 2012/07/27-20:47:19 RtpTomcatCheck started 2012/07/27-20:47:19 readFromPipe entered 2012/07/27-20:47:19 readFromPipe: totalBytesRead 5 2012/07/27-20:47:19 pkgparam: bytes read from pipe: 5 2012/07/27-20:47:19 pkgparam, return: 9000 2012/07/27-20:47:19 Webserver port: 9099 2012/07/27-20:47:19 Check timeout : 10 2012/07/27-20:47:19 Retry count : 1 2012/07/27-20:47:19 Retry period : 10 2012/07/27-20:47:19 --- 2012/07/27-20:47:19 Webserver check #1 2012/07/27-20:47:19 Connect call failed: 111 [Connection refused] 2012/07/27-20:47:19 Could not establish connection to webserver 2012/07/27-20:47:19 Webserver check failed, trying SSL Webserver check 2012/07/27-20:47:19 before SSL_library_init() 2012/07/27-20:47:19 before BIO_do_connect() to localhost:9099 2012/07/27-20:47:19 Error connecting to SSL server 2012/07/27-20:47:19 Reason: [pid]:error:[error code]:[library name]:[function name]:[reason string]:[file name]:[line]:[optional text message] 4151228152:error:0200206F:system library:connect:Connection refused:bss_conn.c:269:host=localhost:9099 4151228152:error:20073067:BIO routines:CONN_STATE:connect error:bss_conn.c:273: 2012/07/27-20:47:19 before BIO_free_all() 2012/07/27-20:47:19 Giving up: All webserver checks failed 2012/07/27-20:47:19 exit status = 102 -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 53752] Tomcat restarts with error:java.lang.ArrayIndexOutOfBoundsException: -60
https://issues.apache.org/bugzilla/show_bug.cgi?id=53752 --- Comment #4 from Mark Thomas ma...@apache.org --- You are confusing multiple issues. The first issue is the invalid request triggers an exception. This was logged and is now silently swallowed. That is a minor cosmetic issue. The second issue is that *your* framework detects that Tomcat is not stable and *you* then restart Tomcat. Based on the limited information provided here, there is no Tomcat issue. You have provided no information that defines not stable nor have you provided any information on how to trigger this condition. The processing of the invalid request (with or without the message in the logs) certainly does not meet any definition of not stable that the Tomcat developers accept. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 53752] Tomcat restarts with error:java.lang.ArrayIndexOutOfBoundsException: -60
https://issues.apache.org/bugzilla/show_bug.cgi?id=53752 --- Comment #3 from thyag thyag_...@yahoo.co.in --- Does your testing framework notice that Tomcat has been restarted? yes our framework sees that Tomcat is not stable and i will restart tomcat. Below are the logs from our framework, where it check for status of tomcat at regular intervals and if the service is not consistent it will restart. 27-08-2012 18:24:52 119-70information TSP:atcacscfn16.RtpSnm01: RtpTomcatCheck -p 99 exits with ExitCode = 102 27-08-2012 18:24:52 119-49warning TSP:atcacscfn16.RtpSnm01: Subsystem TOMCAT (Id=7) detector failed - ExitCode = 102 27-08-2012 18:24:52 119-8 minorTSP:atcacscfn16.RtpSnm01: Restart required for subsystem TOMCAT - Exitcode = 102 27-08-2012 18:25:39 119-6 clearTSP:atcacscfn16.RtpSnm01: Subsystem TOMCAT successfully stopped 27-08-2012 18:25:45 119-3 clearTSP:atcacscfn16.RtpSnm01: Subsystem TOMCAT successfully started more information about the testcase. Codenomicon is a well known Commercial robustness testing tool available for various protocols. While running Codenomicom Diameter Server suite (which sends both valid and invalid malicious Diameter messages to test the robustness of the Diameter interface), the tomcat subsystem which hosts Platforms TSP GUI goes for restart. During this time TSP GUI access fails. During a long run of the codenomicon suite it is observed that the tomcat process restarts. The testcase or the test case group where the issue is noticed is as below: == #260820 Index ← 260820 → Group http-suite.regular-payload.http-request.request.http-request-header.main-req-headers.link.uri.absoluteuri.hier_part.abs_path.rel_path.query.uric.unreserved.extra. Anomaly Repeat of 8 octets: '\'' 0x00 Category Overflow CWE-633 CWE-150 CWE-138 CWE-122 CWE-120 CWE-119 CWE-118 CWE-20 CWE-19 CWE-18 CWE-17 Hash 0x3FAF3B685873AEB Scores Attack Modifier = +50 CVSS/BS = 10.0 (components) HTTP Request [with anomaly] 00 GET•/•HTTP/1.1\r\n 10 Host:•www.example.com\r\n 27 User-Agent:•HTTP•Test•Suite•(X11;•U;•Linux•x86_32;•en-US;•rv:1.8.0.10)\r\n 6f Accept:•text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\n dc Accept-Language:•en-us,en;q=0.5\r\n fd Accept-Encoding:•gzip,deflate\r\n 00011c Accept-Charset:•ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n 00014c Keep-Alive:•300\r\n 00015d Connection:•keep-alive\r\n 000175 -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 53752] Tomcat restarts with error:java.lang.ArrayIndexOutOfBoundsException: -60
https://issues.apache.org/bugzilla/show_bug.cgi?id=53752 Christopher Schultz ch...@christopherschultz.net changed: What|Removed |Added Severity|critical|normal --- Comment #1 from Christopher Schultz ch...@christopherschultz.net --- Can this really be CRITICAL if it hasn't been identified in the 10 releases since 6.0.24 what you are using? Your log file is useless: it contains nothing other than your CLASSPATH and the stack trace you already provided. At least it confirms you are using a very old version of Tomcat 6: 6.0.24 (2.5 years old). Please re-test with 6.0.latest. If you can still get it to crash, attach a minimal webapp (or better yet, use the examples webapp that ships with Tomcat) and a JMeter configuration file (or similar) so we can reproduce the crash. Then you can mark it as CRITICAL. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 53752] Tomcat restarts with error:java.lang.ArrayIndexOutOfBoundsException: -60
https://issues.apache.org/bugzilla/show_bug.cgi?id=53752 Konstantin Kolinko knst.koli...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Konstantin Kolinko knst.koli...@gmail.com --- During the load test Tomcat restarts What do you mean by restarts? Tomcat cannot restart itself. The restart process is not reflected in your log file, as Christopher correctly noted. java.lang.ArrayIndexOutOfBoundsException: -60 The exception is caused by invalid request data. Tomcat should have rejected it silently. Does your testing framework notice that Tomcat has been restarted? AIOOBE also causes the request to be rejected, so besides the nasty log message the behaviour does not differ much from the intended one. I'll fix the AIOOBE. Thank you for the report. I am closing this report as DUPLICATE, as there has been an earlier report for this issue. *** This bug has been marked as a duplicate of bug 42181 *** -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 53752] Tomcat restarts with error:java.lang.ArrayIndexOutOfBoundsException: -60
https://issues.apache.org/bugzilla/show_bug.cgi?id=53752 thyag thyag_...@yahoo.co.in changed: What|Removed |Added Severity|major |critical -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org