1 Reply Latest reply on Oct 23, 2002 1:35 AM by shaikaman

    Activation Failure ??????????

    shaikaman Newbie

      Hi all,

      I've deployed my application in jboss3.0.2
      I've possibly these three exceptions. My arch. is
      META/ejb-jar.xml
      META/jaws.xml
      META/jboss.xml
      Jsp --> Servlet --> Session Bean --> Entity(CMP)

      I'm struck. I dont know why Activation Failure occurs



      * First Exception:
      =================
      2002-10-22 14:32:15,645 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] Resized cache for bean BRANCH_CONTACT_INFO: old capacity = 1000000, new capacity = 50

      Here BRANCH_CONTACT_INFO is the CMP name aswell as Table Name

      2002-10-22 14:38:04,712 DEBUG [org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand] findByBranchAddressId command executing: SELECT BRANCH_INFO.BRANCH_ID FROM BRANCH_INFO where BRANCH_ADDR_ID = ?
      2002-10-22 14:38:04,717 DEBUG [org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand] Set parameter: idx=1, jdbcType=VARCHAR, value=400000


      * Second Exception:
      ====================

      2002-10-22 14:38:04,754 ERROR [org.jboss.ejb.plugins.AbstractInstanceCache] Activation failure
      javax.ejb.EJBException: null; CausedByException is:
      null
      at org.jboss.ejb.plugins.CMPPersistenceManager.activateEntity(CMPPersistenceManager.java:392)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.activateEntity(CachedConnectionInterceptor.java:337)
      at org.jboss.ejb.plugins.EntityInstanceCache.activate(EntityInstanceCache.java:113)
      at org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:177)
      at org.jboss.ejb.plugins.EntityInstanceCache.get(EntityInstanceCache.java:74)
      at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:122)
      at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:107)
      at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:69)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:203)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:493)
      at org.jboss.ejb.Container.invoke(Container.java:720)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
      at org.jboss.proxy.ejb.EntityInterceptor.invoke(EntityInterceptor.java:116)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      at $Proxy110.getBranchInfo(Unknown Source)
      at com.techmines.vulcan.ejb.branch.session.BranchSB.getBranchByAddress(BranchSB.java:129)
      at com.techmines.vulcan.ejb.branch.session.BranchSB.getBranchInfoByCity(BranchSB.java:154)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:660)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:77)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)

      .
      .
      .
      .
      .
      .
      .
      .
      .


      Third Exception:
      ================
      2002-10-22 14:45:07,181 INFO [STDOUT] Exception caught :javax.transaction.TransactionRolledbackException: Transaction marked for rollback, possibly a timeout; nested exception is:
      java.lang.RuntimeException: Transaction marked for rollback, possibly a timeout, at getBranchInfoByCity