Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Monitoring RAP application with New Relic
Monitoring RAP application with New Relic [message #1752383] Mon, 23 January 2017 09:20 Go to next message
Wim Anckaert is currently offline Wim AnckaertFriend
Messages: 32
Registered: December 2012
Member
Hi,

we are using RAP for our application. Great job btw !

We monitor the application now with NewRelic.
But I can't see any details of the transactions or see the call's of our implementation.
I can see following see screenshot. index.php/fa/28184/0/

And details of RWTServlet.service()
Stack trace
                 javax.servlet.http.HttpServlet.service (HttpServlet.java:732)

...rap.rwt.osgi.internal.CutOffContextPathWrapper.service (CutOffContextPathWrapper.java:107)

....internal.HttpServiceRuntimeImpl$LegacyServlet.service (HttpServiceRuntimeImpl.java:1222)

...let.internal.registration.EndpointRegistration.service (EndpointRegistration.java:153)

...t.internal.servlet.ResponseStateHandler.processRequest (ResponseStateHandler.java:62)

...tp.servlet.internal.context.DispatchTargets.doDispatch (DispatchTargets.java:132)

...nox.http.servlet.internal.servlet.ProxyServlet.service (ProxyServlet.java:100)

                 javax.servlet.http.HttpServlet.service (HttpServlet.java:732)

org.eclipse.equinox.servletbridge.BridgeServlet.service (BridgeServlet.java:152)

                 javax.servlet.http.HttpServlet.service (HttpServlet.java:732)

....catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:303)

...g.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:208)

   org.apache.tomcat.websocket.server.WsFilter.doFilter (WsFilter.java:79)

....catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:241)

...g.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:208)

   org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:220)

   org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:122)

...apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java:505)

      org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:170)
org.apache.catalina.core.StandardHostValve.invoke

     org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:103)

       org.apache.catalina.valves.AccessLogValve.invoke (AccessLogValve.java:956)

    org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:116)

    org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:423)

...g.apache.coyote.http11.AbstractHttp11Processor.process (AbstractHttp11Processor.java:1079)

...ote.AbstractProtocol$AbstractConnectionHandler.process (AbstractProtocol.java:625)

...apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run (JIoEndpoint.java:318)

      java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1153)

     java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)

...he.tomcat.util.threads.TaskThread$WrappingRunnable.run (TaskThread.java:61)

                                   java.lang.Thread.run (Thread.java:785)


Nothing leads to our implementation details.

Has anyone exprience with this, or knows how to implement it?


Kind regards,
Wim
Re: Monitoring RAP application with New Relic [message #1752415 is a reply to message #1752383] Mon, 23 January 2017 15:25 Go to previous messageGo to next message
Cole Markham is currently offline Cole MarkhamFriend
Messages: 143
Registered: July 2009
Location: College Station, TX
Senior Member

I have NewRelic tracking a couple of RAP instances, but unfortunately the results are not particularly useful. It works for tracking down time and general performance problems, but as you mentioned you can't drill down into the details. This is because RAP is not a typical JavaEE web application and that is what NewRelic expects. The main problem is that RWTServlet.service doesn't actually do any of the work. RAP does all of the work on a single UIThread (to be SWT compatible), but the servlet request will come in on any of the servlet container's worker threads. RWTServlet tells the UIThread to wake up and process the request, but that all happens on the other thread.

That said, it should be possible to make NewRelic understand how RAP works using their custom metrics, but I haven't had the time to look into that myself. If you have a paid plan with NewRelic, I think they have some setup services that might be able to assist with that. You could also find someone in the RAP community willing to work as a consultant.

Hope that helps,

Cole Markham

[Updated on: Mon, 23 January 2017 19:03]

Report message to a moderator

Re: Monitoring RAP application with New Relic [message #1752509 is a reply to message #1752415] Tue, 24 January 2017 15:10 Go to previous message
Wim Anckaert is currently offline Wim AnckaertFriend
Messages: 32
Registered: December 2012
Member
Tx Cole,

we have a trial plan and are planning to go to paid plan.
I'm in contact with support of NewRelic, maybe they can find a solution that fits all.
Previous Topic:HTTP Status 500 - Unable to read the json message
Next Topic:Fatal error in connection with ToolTip
Goto Forum:
  


Current Time: Sun Aug 19 19:04:46 GMT 2018

Powered by FUDForum. Page generated in 0.01552 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top