How to overcome the JVM Bug? What should we do in Jetty config?

----- Original Message -----
From: Jesse McConnell <[email protected]>
Date: Monday, February 28, 2011 9:14 pm
Subject: Re: [jetty-users] Regd Error
To: JETTY user mailing list <[email protected]>

> Oh, you must be looking at the JVM BUG info message.  That triggers
> when jetty detects one of the jvm NIO bugs and cures the condition.
> It is unrelated to the stacktrace below which seems to indicate an NPE
> in one of your other libraries.
> 
> See: http://wiki.eclipse.org/Jetty/Feature/JVM_NIO_Bug
> 
> cheers,
> jesse
> 
> --
> jesse mcconnell
> [email protected]
> 
> 
> 
> On Mon, Feb 28, 2011 at 09:39,  <[email protected]> wrote:
> > Hello Jesse
> >
> > We would like to know when will the below error be thrown?   I 
> have attached the logs.
> >
> > 2011-02-26 
> 11:18:29.937:INFO::org.mortbay.io.nio.SelectorManager$SelectSet@17fc0fc JVM 
> BUG(s) - recreating selector 16 times, canceled keys 260 time
> >
> > Thanks&Rgds.....Raveen.S
> >
> > ----- Original Message -----
> > From: Jesse McConnell <[email protected]>
> > Date: Monday, February 28, 2011 8:02 pm
> > Subject: Re: [jetty-users] Regd Error
> > To: JETTY user mailing list <[email protected]>
> >
> >> Sorry, but nothing I see in that stack trace leads to me see an 
> issue>> in Jetty...
> >>
> >> sorry!
> >> jesse
> >>
> >> --
> >> jesse mcconnell
> >> [email protected]
> >>
> >>
> >>
> >> On Mon, Feb 28, 2011 at 08:11,  <[email protected]> wrote:
> >> > Hello there,
> >> >
> >> > We are facing below issue while uploading 225,000 records to DB
> >> (MySQL).>
> >> > We use Jetty version 6.1.22, JVM - 1.6, Browser Firefox 3.6.18
> >> and OS Windows 2008
> >> >
> >> > Can you please let us know whether there exists any patch or
> >> this is a configuration change in Jetty?
> >> >
> >> > Thanks&Rgds...Raveen.S
> >> >
> >> > 2011-02-26
> >> 
> 11:18:29.937:INFO::org.mortbay.io.nio.SelectorManager$SelectSet@17fc0fc JVM 
> BUG(s) - recreating selector 16 times, canceled keys 260 time
> >> > java.lang.NullPointerException
> >> >        at
> >> 
> com.xchanging.tesa.service.CoCUploadShareLimitMSA.uploadShareLimit(Unknown 
> Source)
> >> >        at
> >> 
> com.xchanging.tesa.service.CoCUploadShareLimitMSA.execute(Unknown Source)
> >> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> >> Method)>        at
> >> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >> >        at
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >> >        at java.lang.reflect.Method.invoke(Unknown Source)
> >> >        at
> >> 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)>
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> >> >        at
> >> 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)>
>         at 
> org.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:42)
> >> >        at
> >> 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)>
>         at 
> org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
> >> >        at
> >> 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)>
>         at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
> >> >        at
> >> 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)>
>         at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
> >> >        at $Proxy27.execute(Unknown Source)
> >> >        at
> >> com.xchanging.tesa.servlet.WcCAjaxServlet.doPost(Unknown Source)
> >> >        at
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:727)>
> >>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)>       
>  at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
> >> >        at
> >> 
> com.xchanging.tesa.servlet.FtCSecurityGatewayMSA.doFilter(Unknown Source)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)>
>         at com.xchanging.tesa.servlet.FtCRoleManagerMSA.doFilter(Unknown 
> Source)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)>
>         at com.xchanging.tesa.servlet.FtCAuthManagerMSA.doFilter(Unknown 
> Source)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)>
>         at com.xchanging.tesa.servlet.FtCCheckForceLogoffMSA.doFilter(Unknown 
> Source)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)>
>         at 
> com.xchanging.tesa.servlet.FtCTrustedSiteChkMSA.checkNetwork(Unknown Source)
> >> >        at
> >> 
> com.xchanging.tesa.servlet.FtCTrustedSiteChkMSA.doFilter(Unknown Source)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)>
>         at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
> >> >        at
> >> 
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)>  
>       at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> >> >        at
> >> 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)>     
>    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
> >> >        at
> >> 
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)>
>         at 
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> >> >        at
> >> 
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)>     
>    at org.mortbay.jetty.Server.handle(Server.java:326)
> >> >        at
> >> 
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)>      
>   at 
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
> >> >        at
> >> org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)>
> >>  at 
> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)>> 
> >        at
> >> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)>
> >>        at
> >> 
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)> 
>        at 
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> >> > java.lang.NullPointerException
> >> >        at
> >> 
> com.xchanging.tesa.service.CoCUploadShareLimitMSA.uploadShareLimit(Unknown 
> Source)
> >> >        at
> >> 
> com.xchanging.tesa.service.CoCUploadShareLimitMSA.execute(Unknown Source)
> >> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> >> Method)>        at
> >> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >> >        at
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >> >        at java.lang.reflect.Method.invoke(Unknown Source)
> >> >        at
> >> 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)>
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> >> >        at
> >> 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)>
>         at 
> org.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:42)
> >> >        at
> >> 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)>
>         at 
> org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
> >> >        at
> >> 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)>
>         at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
> >> >        at
> >> 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)>
>         at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
> >> >        at $Proxy27.execute(Unknown Source)
> >> >        at
> >> com.xchanging.tesa.servlet.WcCAjaxServlet.doPost(Unknown Source)
> >> >        at
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:727)>
> >>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)>       
>  at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
> >> >        at
> >> 
> com.xchanging.tesa.servlet.FtCSecurityGatewayMSA.doFilter(Unknown Source)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)>
>         at com.xchanging.tesa.servlet.FtCRoleManagerMSA.doFilter(Unknown 
> Source)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)>
>         at com.xchanging.tesa.servlet.FtCAuthManagerMSA.doFilter(Unknown 
> Source)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)>
>         at com.xchanging.tesa.servlet.FtCCheckForceLogoffMSA.doFilter(Unknown 
> Source)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)>
>         at 
> com.xchanging.tesa.servlet.FtCTrustedSiteChkMSA.checkNetwork(Unknown Source)
> >> >        at
> >> 
> com.xchanging.tesa.servlet.FtCTrustedSiteChkMSA.doFilter(Unknown Source)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)>
>         at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
> >> >        at
> >> 
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)>  
>       at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> >> >        at
> >> 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)>     
>    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
> >> >        at
> >> 
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)>
>         at 
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> >> >        at
> >> 
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)>     
>    at org.mortbay.jetty.Server.handle(Server.java:326)
> >> >        at
> >> 
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)>      
>   at 
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
> >> >        at
> >> org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)>
> >>  at 
> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)>> 
> >        at
> >> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)>
> >>        at
> >> 
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)> 
>        at 
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> >> > null
> >> > java.io.IOException:
> >> com.xchanging.tesa.util.CoCDSEApplicationExceptionMSA>        at
> >> com.xchanging.tesa.servlet.WcCAjaxServlet.doPost(Unknown Source)
> >> >        at
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:727)>
> >>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)>       
>  at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
> >> >        at
> >> 
> com.xchanging.tesa.servlet.FtCSecurityGatewayMSA.doFilter(Unknown Source)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)>
>         at com.xchanging.tesa.servlet.FtCRoleManagerMSA.doFilter(Unknown 
> Source)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)>
>         at com.xchanging.tesa.servlet.FtCAuthManagerMSA.doFilter(Unknown 
> Source)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)>
>         at com.xchanging.tesa.servlet.FtCCheckForceLogoffMSA.doFilter(Unknown 
> Source)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)>
>         at 
> com.xchanging.tesa.servlet.FtCTrustedSiteChkMSA.checkNetwork(Unknown Source)
> >> >        at
> >> 
> com.xchanging.tesa.servlet.FtCTrustedSiteChkMSA.doFilter(Unknown Source)
> >> >        at
> >> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)>
>         at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
> >> >        at
> >> 
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)>  
>       at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> >> >        at
> >> 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)>     
>    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
> >> >        at
> >> 
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)>
>         at 
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> >> >        at
> >> 
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)>     
>    at org.mortbay.jetty.Server.handle(Server.java:326)
> >> >        at
> >> 
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)>      
>   at 
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
> >> >        at
> >> org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)>
> >>  at 
> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)>> 
> >        at
> >> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)>
> >>        at
> >> 
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)> 
>        at 
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> >> > Caused by: com.xchanging.tesa.util.CoCDSEApplicationExceptionMSA
> >> >        at
> >> 
> com.xchanging.tesa.service.CoCUploadShareLimitMSA.uploadShareLimit(Unknown 
> Source)
> >> >        at
> >> 
> com.xchanging.tesa.service.CoCUploadShareLimitMSA.execute(Unknown Source)
> >> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> >> Method)>        at
> >> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >> >        at
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >> >        at java.lang.reflect.Method.invoke(Unknown Source)
> >> >        at
> >> 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)>
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> >> >        at
> >> 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)>
>         at 
> org.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:42)
> >> >        at
> >> 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)>
>         at 
> org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
> >> >        at
> >> 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)>
>         at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
> >> >        at
> >> 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)>
>         at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
> >> >        at $Proxy27.execute(Unknown Source)
> >> >        ... 32 more
> >> > 2011-02-26 12:45:01.078:INFO::Enabled message acknowledgement
> >> for client 146z6nnpbjgjr1pig9
> >> > 2011-02-26 12:45:01.750:INFO::Enabled message acknowledgement
> >> for client 750b0sgpr7cxf5tlh
> >> > 2011-02-26 12:45:03.015:INFO::Enabled message acknowledgement
> >> for client rdad4idfi2z987vvh
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > jetty-users mailing list
> >> > [email protected]
> >> > https://dev.eclipse.org/mailman/listinfo/jetty-users
> >> >
> >> _______________________________________________
> >> jetty-users mailing list
> >> [email protected]
> >> https://dev.eclipse.org/mailman/listinfo/jetty-users
> >>
> >
> > _______________________________________________
> > jetty-users mailing list
> > [email protected]
> > https://dev.eclipse.org/mailman/listinfo/jetty-users
> >
> >
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
> 
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to