0 Replies Latest reply on Dec 11, 2006 11:20 PM by Sumit Malik

    Session attribute event listener problem !!!!

    Sumit Malik Newbie

      Hi Everyone !!

      Previously i have posted a query and now i can make out where exactly the problem is lying...

      Please refer http://www.jboss.com/index.html?module=bb&op=viewtopic&t=96839

      Here is actual log trace from server.log file

      Code:



      ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/test]] Session attribute event listener threw exception
      
      
      java.lang.RuntimeException: Could not resolve beanClass method from proxy call: public abstract void
       javax.ejb.EJBLocalObject.remove() throws javax.ejb.RemoveException,javax.ejb.EJBException
       at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:169)
       at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
       at $Proxy128.remove(Unknown Source)
       at net.java.dev.strutsejb.web.SessionRemover.attributeRemoved(SessionRemover.java:39)
       at org.apache.catalina.session.StandardSession.removeAttributeInternal(StandardSession.java:
      1623)
       at org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:1179)
       at org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:1151)
       at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1234)
       at org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java
      :129)
       at org.apache.jsp.update2AppTrans_jsp._jspService(update2AppTrans_jsp.java:85)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
      ava:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
      ava:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja
      va:174)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Htt
      p11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcp
      Endpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      
      



      Here i have found that there its the tomcat instance running with EJB3 deployer which is invalidation the session. I haven't got much assistance in this regard.

      Please assist on this regard because here i m just stuck up with stateful session bean funcationality. Message driven and stateless session bean are running smooth fashion but just session invalidate problem from tomcat is creatin the problem.

      Any suggestion would be a great help for me....

      Looking forward for you responses...