3 Replies Latest reply on Mar 21, 2002 8:11 AM by corban

    broken connection error - no clue

    jriedesel

      I'm getting this error and I really have no
      clue as to why. This is working in WebLogic so
      I have to assume this is JBoss CMP related.
      (I've got a latest checkout from this morning from RH)
      -----
      13:11:15,724 ERROR [LogInterceptor] TransactionRolledbackException, causedBy:
      javax.ejb.EJBException: Store failed
      Embedded Exception
      Connection is broken
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.execute(JDBCSto
      reEntityCommand.java:84)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.storeEntity(JDBCStore
      Manager.java:419)
      at org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenc
      eManager.java:428)
      at org.jboss.ejb.EntityContainer.storeEntity(EntityContainer.java:637)
      at org.jboss.ejb.EntityContainer.synchronizeEntitiesWithinTransaction(En
      tityContainer.java:146)
      at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:536)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:42)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:28)
      at java.lang.reflect.Method.invoke(Method.java:313)
      at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityC
      ontainer.java:936)
      at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractIntercep
      tor.java:73)
      at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractIntercep
      tor.java:73)
      at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(Ent
      itySynchronizationInterceptor.java:221)
      at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInst
      anceInterceptor.java:136)
      at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInte
      rceptor.java:80)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
      rceptor.java:98)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
      torCMT.java:157)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.ja
      va:55)
      at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityIntercep
      tor.java:102)
      at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:1
      09)
      at org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:429)
      at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invokeHome(Base
      LocalContainerInvoker.java:277)
      at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker$HomeProxy.invok
      e(BaseLocalContainerInvoker.java:428)
      at $Proxy15.findByPrimaryKey(Unknown Source)
      at com.jnana.logicfactory.ejbimpl.LogicFactory.getGroup(LogicFactory.jav
      a:241)
      at com.jnana.logicfactory.ejbimpl.LogicFactory.importLogic(LogicFactory.
      java:223)
      at com.jnana.server.referenceimpl.AuthorSessionImpl.importApplication(Au
      thorSessionImpl.java:616)
      at com.jnana.server.referenceimpl.AuthorSessionImpl.importApplicationRem
      ote(AuthorSessionImpl.java:626)
      at com.jnana.server.ejbimpl.authorsession.AuthorSessionBean.importApplic
      ation(AuthorSessionBean.java:195)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:42)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:28)
      at java.lang.reflect.Method.invoke(Method.java:313)
      at org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(St
      atefulSessionContainer.java:772)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
      java:127)
      at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(State
      fulSessionInstanceInterceptor.java:249)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
      rceptor.java:96)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
      torCMT.java:157)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:6
      4)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)
      at org.jboss.ejb.StatefulSessionContainer.invoke(StatefulSessionContaine
      r.java:352)
      at org.jboss.ejb.Container.invoke(Container.java:599)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      55)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:
      302)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:42)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:28)
      at java.lang.reflect.Method.invoke(Method.java:313)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:256)
      at sun.rmi.transport.Transport$1.run(Transport.java:151)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:147)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
      63)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
      .java:704)
      at java.lang.Thread.run(Thread.java:539)

        • 1. Re: broken connection error - no clue
          guy_rouillier

          Under what circumstances is this happening? Does it happen every time? Does it happen if you execute immediately after starting JBoss, or has JBoss been running for awhile when this happens? What database are you connecting with, and what are your connection parameters?

          • 2. Re: broken connection error - no clue
            jriedesel

            It happens every time.
            (I've got an import application mechanism that should
            create various entities, etc. - this is working in
            WebLogic and in my non-ejb reference implementation.)

            This is using defaults, as they make sense,
            throughout. The hypersonic database I suppose.

            I believe that this worked with the available build of
            JBoss 3.0alpha (as opposed to what is in CVS). But I
            can't use that any longer as it has a too old version of Jetty.

            • 3. Re: broken connection error - no clue
              corban

              hi there,

              i have exactly the same problem. when we use another database (eg mySQL) it works. are there any limitations for Hypersonic? or some data types not supported?

              (system: win2000, jboss-2.4.4_tomcat-3.2.3}

              we must fix that, 'cause we want the application to run on the default jboss installation without changes on configuration files.

              thanks in advance