0 Replies Latest reply on Jan 22, 2007 12:52 AM by vis vardh

    Connection Error in Stateless session bean

    vis vardh Newbie

      i am getting exception on statless session bean when i try to call it from Servelet after some 10 times

      Below is the stack trace

      HTTP Status 500 - <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>
      ________________________________________
      type Status report
      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>
      description The server encountered an internal error (<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>) that prevented it from fulfilling this request.
      


      Some body please help, This is urgent

      Thanks
      Vishnu