Description
Recently I have done extensive tests with Pinpoint to verify the way it shows the errors, that is to say if it is more comfortable for a developer to have access to the errors from Pinpoint instead of having to check the WAS Weblogic Log where I have I have unfortunately found that Pinpoint is not able to classify an HTTP 500 error precisely as an error, when reviewing the call tree I realized that the error transaction was actually received by Pinpoint but it is not marked as an error ... Why is this happening?
In my case I have thought about three hyposthesis I mention them:
-
The Pinpoint sampling rate was lower than the speed at which the transactions occurred ... for me this is false given that the transactions with error were in the Call Tree.
-
The error codes were not correctly configured ... this is also false given that you check the Pinpoint.config file and have the following line configured:
profiler.http.status.code.errors = 5xx
-
I do not know if the alteration of the Log4J file in the route: Agent / lib / log4J.xml has some weight in the matter ....
The only thing that is clear to me is that Pinpoint does not classify HTTP 500 errors as such, but rather only as transactions without any particular feature.
By the way i am wondering... What Pinpoint sees as an "error"???
I attach the WebLogic Log to support what I said; any help will be happily received and in advance thank you very much.
Please compare the attached image with the Log in the part where I have highlighted in order to verify that effectively when WebLogic detects an error, Pinpoint does not see it as an HTTP error.
Psdt: The test application is a small calculator that performs the basic operations.
2018-05-21 10:36:26 INFO profiler.weblogic.enable=true
2018-05-21 10:36:26 INFO profiler.weblogic.excludeurl=
2018-05-21 10:36:26 INFO profiler.weblogic.tracerequestparam=true
<May 21, 2018 10:36:26 AM CST>
<May 21, 2018 10:36:26 AM CST>
<May 21, 2018 10:36:27 AM CST>
<May 21, 2018 10:36:27 AM CST>
<May 21, 2018 10:36:27 AM CST>
<May 21, 2018 10:36:57 AM CST>
<May 21, 2018 10:36:57 AM CST>
<May 21, 2018 10:36:57 AM CST> <Starting "async" replication service with remote cluster address "null">
<May 21, 2018 10:36:57 AM CST> <Channel "Default" is now listening on 172.23.112.192:7004 for protocols iiop, t3, CLUSTER-BROADCAST, ldap, snmp, http.>
<May 21, 2018 10:36:57 AM CST> <Started WebLogic Managed Server "test3" for domain "my_domain" running in Production Mode>
<May 21, 2018 10:36:58 AM CST>
<May 21, 2018 10:36:58 AM CST>
<May 21, 2018 10:37:51 AM CST> <[ServletContext@1128068367[app:test_linux module:test_linux.war path:/test_linux spec-version:2.5]] Servlet failed with Exception
java.lang.NumberFormatException: For input string: "13161387Y"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at jsp_servlet.__controlador._jspService(__controlador.java:75)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
Truncated. see log file for complete stacktrace
<May 21, 2018 10:38:09 AM CST> <[ServletContext@1128068367[app:test_linux module:test_linux.war path:/test_linux spec-version:2.5]] Servlet failed with Exception
java.lang.NumberFormatException: For input string: "13161387Y"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at jsp_servlet.__controlador._jspService(__controlador.java:75)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
Truncated. see log file for complete stacktrace
<May 21, 2018 10:38:11 AM CST> <[ServletContext@1128068367[app:test_linux module:test_linux.war path:/test_linux spec-version:2.5]] Servlet failed with Exception
java.lang.NumberFormatException: For input string: "13161387Y"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at jsp_servlet.__controlador._jspService(__controlador.java:75)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
Truncated. see log file for complete stacktrace
<May 21, 2018 10:38:19 AM CST> <[ServletContext@1128068367[app:test_linux module:test_linux.war path:/test_linux spec-version:2.5]] Servlet failed with Exception
java.lang.NumberFormatException: For input string: "13161387Y"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at jsp_servlet.__controlador._jspService(__controlador.java:75)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
Truncated. see log file for complete stacktrace
<May 21, 2018 10:38:20 AM CST> <[ServletContext@1128068367[app:test_linux module:test_linux.war path:/test_linux spec-version:2.5]] Servlet failed with Exception
java.lang.NumberFormatException: For input string: "13161387Y"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at jsp_servlet.__controlador._jspService(__controlador.java:75)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
Truncated. see log file for complete stacktrace
<May 21, 2018 10:38:22 AM CST> <[ServletContext@1128068367[app:test_linux module:test_linux.war path:/test_linux spec-version:2.5]] Servlet failed with Exception
java.lang.NumberFormatException: For input string: "13161387Y"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at jsp_servlet.__controlador._jspService(__controlador.java:75)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
Truncated. see log file for complete stacktrace
<May 21, 2018 10:38:24 AM CST> <[ServletContext@1128068367[app:test_linux module:test_linux.war path:/test_linux spec-version:2.5]] Servlet failed with Exception
java.lang.NumberFormatException: For input string: "13161387Y"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at jsp_servlet.__controlador._jspService(__controlador.java:75)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
Truncated. see log file for complete stacktrace
<May 21, 2018 10:38:25 AM CST> <[ServletContext@1128068367[app:test_linux module:test_linux.war path:/test_linux spec-version:2.5]] Servlet failed with Exception
java.lang.NumberFormatException: For input string: "13161387Y"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at jsp_servlet.__controlador._jspService(__controlador.java:75)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
Truncated. see log file for complete stacktrace
<May 21, 2018 10:38:28 AM CST> <[ServletContext@1128068367[app:test_linux module:test_linux.war path:/test_linux spec-version:2.5]] Servlet failed with Exception
java.lang.NumberFormatException: For input string: "13161387Y"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at jsp_servlet.__controlador._jspService(__controlador.java:75)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
Truncated. see log file for complete stacktrace
<May 21, 2018 10:38:32 AM CST> <[ServletContext@1128068367[app:test_linux module:test_linux.war path:/test_linux spec-version:2.5]] Servlet failed with Exception
java.lang.NumberFormatException: For input string: "13161387YJKJKJK"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at jsp_servlet.__controlador._jspService(__controlador.java:75)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
Truncated. see log file for complete stacktrace
<May 21, 2018 10:38:36 AM CST> <[ServletContext@1128068367[app:test_linux module:test_linux.war path:/test_linux spec-version:2.5]] Servlet failed with Exception
java.lang.NumberFormatException: For input string: "13161387YJKJKJK666"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at jsp_servlet.__controlador._jspService(__controlador.java:75)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
Truncated. see log file for complete stacktrace
<May 21, 2018 10:38:40 AM CST> <[ServletContext@1128068367[app:test_linux module:test_linux.war path:/test_linux spec-version:2.5]] Servlet failed with Exception
java.lang.NumberFormatException: For input string: "13161387YJKJKJK666"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at jsp_servlet.__controlador._jspService(__controlador.java:75)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
Truncated. see log file for complete stacktrace
<May 21, 2018 10:38:48 AM CST> <[ServletContext@1128068367[app:test_linux module:test_linux.war path:/test_linux spec-version:2.5]] Servlet failed with Exception
java.lang.NumberFormatException: For input string: "UU7U7U"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at jsp_servlet.__controlador._jspService(__controlador.java:75)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
Truncated. see log file for complete stacktrace
<May 21, 2018 10:38:53 AM CST> <[ServletContext@1128068367[app:test_linux module:test_linux.war path:/test_linux spec-version:2.5]] Servlet failed with Exception
java.lang.NumberFormatException: For input string: "UU7U7U"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at jsp_servlet.__controlador._jspService(__controlador.java:75)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
Truncated. see log file for complete stacktrace
<May 21, 2018 10:38:58 AM CST> <[ServletContext@1128068367[app:test_linux module:test_linux.war path:/test_linux spec-version:2.5]] Servlet failed with Exception
java.lang.NumberFormatException: For input string: "UU7U7U"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at jsp_servlet.__controlador._jspService(__controlador.java:75)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
Truncated. see log file for complete stacktrace
Environment
- Pinpoint version:1.8.0 SNAPSHOT
- OS, WAS, affected library, etc: WAS WebLogic 10.3.6
- Additional details (e.g. how your collector/web is set up): Deployed on TOMCAT that is running on RedHat 6.5
Additional Info
question