cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SOAP Monitoring Plugin Not Storing Metrics

katlegok
Guide

Hi,

I have an odd case with the plugin, it is working as expected but there seems to be some issues when the data is being stored as we can only reference an hours worth of performance data from the dynatrace server and it is odd that it has been running longer than this as well.

Here are the logs:

2016-10-11 12:50:05 FINE [HttpMethodBase@6020/entities-service-ws/core.wsdl [NEW]_2] Should NOT close connection, using HTTP/1.1
2016-10-11 12:50:05 FINE [HttpConnection@6020/entities-service-ws/core.wsdl [NEW]_2] Releasing connection back to connection manager.
2016-10-11 12:50:05 FINE [SOAPMonitor@6020/entities-service-ws/core.wsdl [NEW]_2] Response is: <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'Q' (code 81) in epilog; expected '<'
at [row,col {unknown-source}]: [22,1]</faultstring><detail><class>java.lang.RuntimeException</class><message>com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'Q' (code 81) in epilog; expected '<'
at [row,col {unknown-source}]: [22,1]</message><stack-trace>oracle.j2ee.ws.saaj.soap.ElementImpl.realizeCompletely(ElementImpl.java:1583)
oracle.j2ee.ws.saaj.soap.ElementImpl.getNextSibling(ElementImpl.java:1618)
oracle.xml.parser.v2.XMLNodeList.<init>(XMLNodeList.java:117)
oracle.xml.parser.v2.XMLDocument.nl_init(XMLDocument.java:4781)
oracle.xml.parser.v2.XMLNSNode.getChildNodes(XMLNSNode.java:181)
org.eclipse.persistence.internal.oxm.record.DOMReader.reportElementEvents(DOMReader.java:193)
org.eclipse.persistence.internal.oxm.record.DOMReader.parse(DOMReader.java:91)
org.eclipse.persistence.internal.oxm.record.DOMReader.parse(DOMReader.java:98)
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:506)
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:497)
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:645)
org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:588)
org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:285)
org.springframework.oxm.jaxb.Jaxb2Marshaller.unmarshal(Jaxb2Marshaller.java:719)
org.springframework.ws.support.MarshallingUtils.unmarshal(MarshallingUtils.java:62)
org.springframework.ws.server.endpoint.adapter.MarshallingMethodEndpointAdapter.unmarshalRequest(MarshallingMethodEndpointAdapter.java:148)
org.springframework.ws.server.endpoint.adapter.MarshallingMethodEndpointAdapter.invokeInternal(MarshallingMethodEndpointAdapter.java:139)
org.springframework.ws.server.endpoint.adapter.AbstractMethodEndpointAdapter.invoke(AbstractMethodEndpointAdapter.java:53)
org.springframework.ws.server.MessageDispatcher.dispatch(MessageDispatcher.java:233)
org.springframework.ws.server.MessageDispatcher.receive(MessageDispatcher.java:173)
org.springframework.ws.transport.support.WebServiceMessageReceiverObjectSupport.handleConnection(WebServiceMessageReceiverObjectSupport.java:88)
org.springframework.ws.transport.http.WebServiceMessageReceiverHandlerAdapter.handle(WebServiceMessageReceiverHandlerAdapter.java:59)
org.springframework.ws.transport.http.MessageDispatcherServlet.doService(MessageDispatcherServlet.java:239)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)
javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
</stack-trace></detail></env:Fault></env:Body></env:Envelope>
2016-10-11 12:50:05 INFO [SOAPMonitor@6020/entities-service-ws/core.wsdl [NEW]_2] HTTP Status Code is: 500
2016-10-11 12:50:05 FINE [HttpMethodBase@6020/entities-service-ws/core.wsdl [NEW]_2] re-creating response stream from byte array
2016-10-11 12:50:05 FINE [SOAPMonitor@6020/entities-service-ws/core.wsdl [NEW]_2] Measure collection size MSR_HOST_REACHABLE is 1
2016-10-11 12:50:05 FINE [SOAPMonitor@6020/entities-service-ws/core.wsdl [NEW]_2] Measure collection size after httpstatuscode is 1
2016-10-11 12:50:05 FINE [SOAPMonitor@6020/entities-service-ws/core.wsdl [NEW]_2] Previous message was repeated 1 times.
2016-10-11 12:50:05 FINE [SOAPMonitor@6020/entities-service-ws/core.wsdl [NEW]_2] Header Size is 158
2016-10-11 12:50:05 FINE [SOAPMonitor@6020/entities-service-ws/core.wsdl [NEW]_2] firstResponseTimeMillis is 258.112799
2016-10-11 12:50:05 FINE [SOAPMonitor@6020/entities-service-ws/core.wsdl [NEW]_2] responseCompleteTimeMillis is 260.42679899999996
2016-10-11 12:50:05 FINE [SOAPMonitor@6020/entities-service-ws/core.wsdl [NEW]_2] inputSize is 4859
2016-10-11 12:50:05 FINE [SOAPMonitor@6020/entities-service-ws/core.wsdl [NEW]_2] throughput is 18.22054107227267
2016-10-11 12:50:05 FINE [SOAPMonitor@6020/entities-service-ws/core.wsdl [NEW]_2] httpStatusCode is 500
2016-10-11 12:50:05 FINE [SOAPMonitor@6020/entities-service-ws/core.wsdl [NEW]_2] connectionCloseDelayMillis is 9.999999999999999E-5
2016-10-11 12:50:05 FINE [SOAPMonitor@6020/entities-service-ws/core.wsdl [NEW]_2] verified is false
1 REPLY 1

JamesKitson
Dynatrace Leader
Dynatrace Leader

If you are seeing a "rolling" hour's worth of data in the past it is likely not an issue with the plugin but rather with your performance warehouse. One hour's worth of time series data (basically measures for charting such as monitor measures) is cached on the server and after this is when the data would be pulled back from the performance warehouse.

Can you verify this connection in your server settings, and also investigate to see if any other measures are experiencing a similar issue.

In the Start Center there are also some performance warehouse health dashboards and of course you can see if anything stands out in the logs.

James