[jboss-user] [EJB 3.0] - Stateless Session bean throwing error

vishnu1980 do-not-reply at jboss.com
Mon Jan 22 03:29:05 EST 2007


Hi 

I am getting error from the statless session bean after some subsequent request to the bean, First 10 or 20 calls works fine, after some time it gives the below error

And also please tell me how i can check the number of instances created for a Bean in Jboss Web Console.


  | message <font face='Verdana, Arial, Helvetica' size='2'>Sorry, an error has occurred: null</font><br><br><font face='Verdana, Arial, Helvetica' size='1'>com.tlc.report.ReportException<br> at com.tlc.report.ReportBean.load(ReportBean.java:1087)<br> at com.tlc.report.ReportBean.load(ReportBean.java:1244)<br> at sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br> at java.lang.reflect.Method.invoke(Method.java:585)<br> at org.jboss.invocation.Invocation.performCall(Invocation.java:359)<br> at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)<br> at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)<br> at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)<br> at org.jboss.ws.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:64)<br> at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)<br> at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)<br> at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)<br> at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)<br> at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)<br> at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)<br> at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)<br> at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)<br> at org.jboss.ejb.Container.invoke(Container.java:954)<br> at sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br> at java.lang.reflect.Method.invoke(Method.java:585)<br> at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)<br> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)<br> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)<br> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)<br> at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)<br> at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)<br> at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:206)<br> at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:192)<br> at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)<br> at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)<br> at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)<br> at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)<br> at $Proxy106.load(Unknown Source)<br> at com.tlc.isupport.ISupport.reportCaseLogged(ISupport.java:503)<br> at com.tlc.isupport.ISupport.service(ISupport.java:219)<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)<br> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<br> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br> at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)<br> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<br> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)<br> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)<br> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)<br> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)<br> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)<br> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)<br> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)<br> at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)<br> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)<br> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)<br> at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)<br> at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)<br> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)<br> at java.lang.Thread.run(Thread.java:595)</font>
  | 
This error does not come for the first time , it comes after subsequent calls to the Reportbean [argh]

Somebody please help

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004722#4004722

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004722




More information about the jboss-user mailing list