Folks,

I get this issue most of the times if I am shutting down the server when 
the dashboard is loaded on the console. The percentage of this error 
happening is more than 50% if the user is on the dashboard page.

To me this is a blocker?? This should affect all the products with 
dashboards, and this is not a dashboard specific issue, just that the 
frequency of the error is high on the dashboard page. In other words our 
graceful shutdown is not working for servlet transport.

Even though fixing the the graceful shutdown could be bit tough, we 
should be able to get rid of the NPE.

Thanks,
Ruwan

Samisa Abeysinghe wrote:
> Do we have dashboard with ESB? Were you looking at the dashboard from 
> browser, prior to pressing ctrl-C?
>
> Samisa...
>
> On Thu, Apr 1, 2010 at 9:41 AM, Ruwan Linton <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Sameera Jayasoma wrote:
>     > I could reproduce the issue now. This is not a bug. :)
>     It is a bug :-)
>     >
>     > This happens when you shutdown the server while there are request
>     > coming from UI. This won't happen if you shutdwon the server
>     gracefully.
>     :-) I was shutting down gracefully. Normally, when you hit CTRL + C we
>     are performing a graceful shutdown.
>
>     Thanks,
>     Ruwan
>     >
>     > Sameera
>     >
>     > On Thu, Apr 1, 2010 at 9:15 AM, Evanthika Amarasiri
>     > <[email protected] <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>> wrote:
>     >
>     >     Hi Ruwan,
>     >
>     >     This issue was there in pre-beta4 as well [1].
>     >
>     >     [1] https://wso2.org/jira/browse/CARBON-6847
>     >
>     >     Thanks,
>     >     Evanthika
>     >
>     >     On Thu, Apr 1, 2010 at 9:02 AM, Ruwan Linton <[email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected] <mailto:[email protected]>>> wrote:
>     >     > Folks,
>     >     >
>     >     > I encountered the following exception while shutting down
>     the ESB.
>     >     >
>     >     > Does any one have any clue on this?
>     >     >
>     >     > Thanks,
>     >     > Ruwan
>     >     >
>     >     > [2010-04-01 09:00:24,470] ERROR - [bridgeservlet]
>     >     Servlet.service() for
>     >     > servlet bridgeservlet threw exception
>     >     > java.lang.NullPointerException
>     >     >    at
>     >     >
>     >    
>     
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:53)
>     >     >    at
>     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     >     >    at
>     >    
>     org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:147)
>     >     >    at
>     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     >     >    at
>     >     >
>     >    
>     
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>     >     >    at
>     >     >
>     >    
>     
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>     >     >    at
>     >     >
>     >    
>     
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
>     >     >    at
>     >     >
>     >    
>     
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
>     >     >    at
>     >     >
>     >    
>     
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>     >     >    at
>     >     >
>     >    
>     
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>     >     >    at
>     >     >
>     >    
>     
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>     >     >    at
>     >     >
>     >    
>     
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
>     >     >    at
>     >     >
>     >    
>     org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
>     >     >    at
>     >     >
>     >    
>     
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>     >     >    at
>     >     >
>     >    
>     
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>     >     >    at
>     >     >
>     >    
>     
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>     >     >    at
>     >     >
>     >    
>     
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
>     >     >    at java.lang.Thread.run(Thread.java:619)
>     >     >
>     >     >
>     >     > --
>     >     > Ruwan Linton
>     >     > Technical Lead & Product Manager; WSO2 ESB;
>     http://wso2.org/esb
>     >     > WSO2 Inc.; http://wso2.org
>     >     > phone: +1 408 754 7388 ext 51789
>     >     > email: [email protected] <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>; cell: +94 77 341 3097
>     >     > blog: http://blog.ruwan.org
>     >     >
>     >     > Lean . Enterprise . Middleware
>     >     >
>     >     >
>     >     > _______________________________________________
>     >     > Carbon-dev mailing list
>     >     > [email protected] <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>
>     >     > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>     >     >
>     >
>     >     _______________________________________________
>     >     Carbon-dev mailing list
>     >     [email protected] <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>
>     >     https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Carbon-dev mailing list
>     > [email protected] <mailto:[email protected]>
>     > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>     >
>
>
>     --
>     Ruwan Linton
>     Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
>     WSO2 Inc.; http://wso2.org
>     phone: +1 408 754 7388 ext 51789
>     email: [email protected] <mailto:[email protected]>; cell: +94 77 341 3097
>     blog: http://blog.ruwan.org
>
>     Lean . Enterprise . Middleware
>
>
>     _______________________________________________
>     Carbon-dev mailing list
>     [email protected] <mailto:[email protected]>
>     https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
> -- 
> Samisa Abeysinghe 
> Director, Engineering - WSO2 Inc.
>
> http://wso2.com/ - "lean . enterprise . middleware"
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>   


-- 
Ruwan Linton
Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
phone: +1 408 754 7388 ext 51789
email: [email protected]; cell: +94 77 341 3097
blog: http://blog.ruwan.org

Lean . Enterprise . Middleware


_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to