4 Replies Latest reply on Feb 28, 2004 8:23 AM by raffaelecorvino

    Exception in thread "main" javax.naming.NameNotFoundExcepti

    raffaelecorvino Newbie

      I'm a new jboss' user. I try to run example of mastering 2 EJB on jboss,but I have many problem about deployment file.I'm using "jboss3.2.3Tomcat.4.1.29 and Ant 1.6.1. The example I try to run is HelloWorld. Ant compile the java file correctly. But When jar file is put in jboss deploy directory, the server console give me:

      11:09:34,069 INFO [MainDeployer] Starting deployment of package: file:/home/raffaele/jboss-3.2.3/server/default/deploy/Hello.jar
      11:09:34,074 INFO [MainDeployer] Deployed package: file:/home/raffaele/jboss-3.2.3/server/default/deploy/Hello.jar
      But at http://localhost:8080/jmx-console/index.jsp in jboss.j2ee nothing happened. When I run the test client, client console give me:

      run.Client:
      [java]
      [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
      [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
      [java] at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
      [java] at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
      [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [java] at Exception in thread "main" javax.naming.NameNotFoundException: HelloHome not bound sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [java] at java.lang.reflect.Method.invoke(Method.java:324)
      [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      [java] at sun.rmi.transport.Transport$1.run(Transport.java:148)
      [java] at java.security.AccessController.doPrivileged(Native Method)
      [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      [java] at java.lang.Thread.run(Thread.java:534)
      [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
      [java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
      [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
      [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528)
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
      [java] at javax.naming.InitialContext.lookup(InitialContext.java:347)
      [java] at src.HelloClient.main(HelloClient.java:38)

      jboss.xml:
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.2//EN"
      "http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd">

      <enterprise-beans>
      <ejb-name>Hello</ejb-name>
      <jndi-name>HelloLocalHome</jndi-name>
      <configuration-name>Standard Stateless SessionBean</configuration-name>
      </enterprise-beans>


      ejb-jar.xml:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">

      <ejb-jar>
      <enterprise-beans>

      <ejb-name>Hello</ejb-name>
      examples.HelloHome
      examples.Hello
      <local-home>examples.HelloLocalHome</local-home>
      src.HelloLocal
      <ejb-class>examples.HelloBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>

      </enterprise-beans>
      </ejb-jar>



      HelloClient.java:

      package src;

      import javax.naming.Context;
      import javax.naming.InitialContext;
      import java.util.Properties;
      import javax.rmi.PortableRemoteObject;
      import src.Hello;
      import src.HelloHome;
      /**
      * This class is an example of client code which invokes
      * methods on a simple stateless session bean.
      */
      public class HelloClient {

      public static void main(String[] args) throws Exception {
      /*
      * Setup properties for JNDI initialization.
      *
      * These properties will be read-in from
      * the command-line.
      */
      Properties props = System.getProperties();

      /*
      * Obtain the JNDI initial context.
      *
      * The initial context is a starting point for
      * connecting to a JNDI tree. We choose our JNDI
      * driver, the network location of the server, etc
      * by passing in the environment properties.
      */
      Context ctx = new InitialContext(props);

      /*
      * Get a reference to the home object - the
      * factory for Hello EJB Objects
      */
      Object obj = ctx.lookup("HelloHome");


      /*
      * Home objects are RMI-IIOP objects, and so
      * they must be cast into RMI-IIOP objects
      * using a special RMI-IIOP cast.
      *
      * See Appendix X for more details on this.
      */
      HelloHome home = (HelloHome)
      javax.rmi.PortableRemoteObject.narrow(
      obj, HelloHome.class);

      /*
      * Use the factory to create the Hello EJB Object
      */
      Hello hello = home.create();

      /*
      * Call the hello() method on the EJB object. The
      * EJB object will delegate the call to the bean,
      * receive the result, and return it to us.
      *
      * We then print the result to the screen.
      */
      System.out.println(hello.hello());

      /*
      * Done with EJB Object, so remove it.
      * The container will destroy the EJB object.
      */
      hello.remove();
      }
      }


      build.xml file is:
      <?xml version="1.0"?>

      <!--Esempio: Hello World-->










      <!-- Build classpath -->










      <!--Provo a compilare-->





      <!--Costruisco la dirctory-->

















      <!--Provo ad eseguire-->

















      PLEASE,Can anyone help me??
      Thanks very much in advance.

        • 1. Re: Standard Stateful Session Bean Error
          raffaelecorvino Newbie

          Thanx for the reply oz59.

          I have now turn on the trace logging for org.jboss.ejb.plugins, this must also log passivation of beans. I have also tried to make System.outs.println in the ejbPassivate Method, but this method is never called before the error occured. The error was not written in the server.log, because a method catch all errors and write it only in a html file (this was the error message I post first). With the trace logging of org.jboss.ejb.plugins the error was written in the server.log file.

          I cut'n'past here the important parts (I hope):


          2004-02-28 11:40:16,508 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Current transaction in MI is null
          2004-02-28 11:40:16,508 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TX_SUPPORTS for create
          2004-02-28 11:40:16,508 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Thread came in with tx null
          2004-02-28 11:40:16,509 TRACE [org.jboss.ejb.plugins.StatefulSessionInstancePool] Get instance org.jboss.ejb.plugins.StatefulSessionInstancePool@17f6796#0#class org.spec.jappserver.orders.itemBrowserSes.ejb.ItemBrowserSesEJB
          2004-02-28 11:40:16,509 TRACE [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] entryPromotion, entry=key: dr7kf3p9-9, object: 489670, entry: 18caee7
          2004-02-28 11:40:16,509 TRACE [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] entryAdded, entry=key: dr7kf3p9-9, object: 489670, entry: 18caee7
          2004-02-28 11:40:16,509 TRACE [org.jboss.ejb.plugins.LogInterceptor] End method=create
          2004-02-28 11:40:16,509 TRACE [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding is null in ProxyFactoryFinder
          2004-02-28 11:40:16,509 TRACE [org.jboss.ejb.plugins.LogInterceptor] Start method=getItems
          2004-02-28 11:40:16,509 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Current transaction in MI is null
          2004-02-28 11:40:16,509 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TX_REQUIRED for getItems
          2004-02-28 11:40:16,509 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Thread came in with tx null
          2004-02-28 11:40:16,510 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Starting new tx TransactionImpl:XidImpl [FormatId=257, GlobalId=koblenz//385, BranchQual=]
          2004-02-28 11:40:16,510 TRACE [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] entryPromotion, entry=key: dr7kf3p9-9, object: 489670, entry: 18caee7
          2004-02-28 11:40:16,510 TRACE [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] entryPromotion, entry=key: dr7kf3oa-5, object: 12eec98, entry: 1af1ad8
          2004-02-28 11:40:16,510 TRACE [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] entryAdded, entry=key: dr7kf3oa-5, object: 12eec98, entry: 1af1ad8
          2004-02-28 11:40:16,510 TRACE [org.jboss.ejb.plugins.LogInterceptor] End method=create
          ...
          2004-02-28 11:40:18,567 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TX_REQUIRED for getItems
          2004-02-28 11:40:18,567 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Thread came in with tx null
          2004-02-28 11:40:18,567 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Starting new tx TransactionImpl:XidImpl [FormatId=257, GlobalId=koblenz//447, BranchQual=]
          2004-02-28 11:40:18,567 TRACE [org.jboss.ejb.plugins.StatefulSessionInstancePool] Get instance org.jboss.ejb.plugins.StatefulSessionInstancePool@17f6796#0#class org.spec.jappserver.orders.itemBrowserSes.ejb.ItemBrowserSesEJB
          2004-02-28 11:40:18,568 DEBUG [org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager] Attempting to activate; ctx=org.jboss.ejb.StatefulSessionEnterpriseContext@d5e26b
          2004-02-28 11:40:18,568 DEBUG [org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager] Reading session state from: /net/paris/export/scratch/home_stud/weis/jboss-3.2.3/server/N01-1/tmp/sessions/ItemBrowserSes-dr7kbz9c-3/dr7kf3p9-9.ser
          2004-02-28 11:40:18,569 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.ItemEnt] Rows affected = 1
          2004-02-28 11:40:18,569 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.ItemEnt#findByPrimaryKey] Executing SQL: SELECT i_id FROM O_ITEM WHERE i_id=?
          2004-02-28 11:40:18,569 TRACE [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.ItemEnt#findByPrimaryKey] Set parameter: index=1, jdbcType=VARCHAR, value=00001MITEM0000000005
          2004-02-28 11:40:18,569 DEBUG [org.jboss.ejb.plugins.AbstractInstanceCache] Activation failure
          javax.ejb.EJBException: Could not activate; failed to restore state; CausedByException is:
          /net/paris/export/scratch/home_stud/weis/jboss-3.2.3/server/N01-1/tmp/sessions/ItemBrowserSes-dr7kbz9c-3/dr7kf3p9-9.ser (No such file or directory)
          at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.activateSession(StatefulSessionFilePersistenceManager.java:324)
          at org.jboss.ejb.plugins.StatefulSessionInstanceCache.activate(StatefulSessionInstanceCache.java:90)
          at org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:107)
          at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:210)
          at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
          at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)
          at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
          at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
          at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
          at org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:416)
          at org.jboss.ejb.Container.invoke(Container.java:700)
          at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375)
          at org.jboss.ejb.plugins.local.StatefulSessionProxy.invoke(StatefulSessionProxy.java:41)
          at $Proxy106.getItems(Unknown Source)
          at org.spec.jappserver.servlet.helper.SpecAction_Local.getVehicleQuotes(SpecAction_Local.java:359)
          at org.spec.jappserver.servlet.helper.SpecServletAction.doVehicleQuotes(SpecServletAction.java:644)
          at org.spec.jappserver.servlet.SpecAppServlet.performTask(SpecAppServlet.java:197)
          at org.spec.jappserver.servlet.SpecAppServlet.doGet(SpecAppServlet.java:96)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
          at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
          at java.lang.Thread.run(Thread.java:534)
          java.io.FileNotFoundException: /net/paris/export/scratch/home_stud/weis/jboss-3.2.3/server/N01-1/tmp/sessions/ItemBrowserSes-dr7kbz9c-3/dr7kf3p9-9.ser (No such file or directory)
          at java.io.FileInputStream.open(Native Method)
          at java.io.FileInputStream.(FileInputStream.java:106)
          at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.activateSession(StatefulSessionFilePersistenceManager.java:308)
          at org.jboss.ejb.plugins.StatefulSessionInstanceCache.activate(StatefulSessionInstanceCache.java:90)
          at org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:107)
          at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:210)
          at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
          at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)
          at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
          at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
          at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
          at org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:416)
          at org.jboss.ejb.Container.invoke(Container.java:700)
          at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375)
          at org.jboss.ejb.plugins.local.StatefulSessionProxy.invoke(StatefulSessionProxy.java:41)
          at $Proxy106.getItems(Unknown Source)
          at org.spec.jappserver.servlet.helper.SpecAction_Local.getVehicleQuotes(SpecAction_Local.java:359)
          at org.spec.jappserver.servlet.helper.SpecServletAction.doVehicleQuotes(SpecServletAction.java:644)
          at org.spec.jappserver.servlet.SpecAppServlet.performTask(SpecAppServlet.java:197)
          at org.spec.jappserver.servlet.SpecAppServlet.doGet(SpecAppServlet.java:96)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
          at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
          at java.lang.Thread.run(Thread.java:534)


          Any idea why the state of the stateful session bean get lost, only for the "Standard Stateful Session Bean"? The driver is call this bean through a http call of an Servlet, it does not fail ever, sometimes it worked.

          Regards
          Björn

          • 2. Re:  Exception in thread
            raffaelecorvino Newbie

            Why anyone help me?
            I need yours helps!!!
            Thanks in advance.
            Raffaele

            • 3. Re:  Exception in thread
              Adrian Brock Master

              Because it doesn't look you have made an effort to understand how it works.

              If you had...
              <jndi-name>HelloLocalHome</jndi-name>

              Regards,
              Adrian

              • 4. Re:  Exception in thread
                Adrian Brock Master

                Also you are in the jboss development forum not the user EJB forum.

                http://www.jboss.org/index.html?module=bb&op=viewforum&f=47

                I think you should really be in the beginners forum

                http://www.jboss.org/index.html?module=bb&op=viewforum&f=141

                Regards,
                Adrian