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

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 (

...rap.rwt.osgi.internal.CutOffContextPathWrapper.service (

....internal.HttpServiceRuntimeImpl$LegacyServlet.service (

...let.internal.registration.EndpointRegistration.service (

...t.internal.servlet.ResponseStateHandler.processRequest ( (

...nox.http.servlet.internal.servlet.ProxyServlet.service (

                 javax.servlet.http.HttpServlet.service (

org.eclipse.equinox.servletbridge.BridgeServlet.service (

                 javax.servlet.http.HttpServlet.service (

....catalina.core.ApplicationFilterChain.internalDoFilter (

...g.apache.catalina.core.ApplicationFilterChain.doFilter (

   org.apache.tomcat.websocket.server.WsFilter.doFilter (

....catalina.core.ApplicationFilterChain.internalDoFilter (

...g.apache.catalina.core.ApplicationFilterChain.doFilter (

   org.apache.catalina.core.StandardWrapperValve.invoke (

   org.apache.catalina.core.StandardContextValve.invoke (

...apache.catalina.authenticator.AuthenticatorBase.invoke (

      org.apache.catalina.core.StandardHostValve.invoke (

     org.apache.catalina.valves.ErrorReportValve.invoke (

       org.apache.catalina.valves.AccessLogValve.invoke (

    org.apache.catalina.core.StandardEngineValve.invoke (

    org.apache.catalina.connector.CoyoteAdapter.service (

...g.apache.coyote.http11.AbstractHttp11Processor.process (

...ote.AbstractProtocol$AbstractConnectionHandler.process ($ (

      java.util.concurrent.ThreadPoolExecutor.runWorker (

     java.util.concurrent.ThreadPoolExecutor$ (

...he.tomcat.util.threads.TaskThread$ (


Nothing leads to our implementation details.

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

Kind regards,
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: 150
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
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: Fri Oct 22 14:20:41 GMT 2021

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

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

Back to the top