1 Reply Latest reply on Jul 5, 2002 10:50 AM by Manfred Regele

    jboss3/newbie/Oracle: "Error getting application tx data map

    Manfred Regele Newbie

      Hello and Help,

      I am struggling with my first CMP Bean in JBoss,
      getting "javax.ejb.EJBException: Error getting application tx data map." while trying to access
      my beans accessor-methods [ bean.getText()].

      OracleService.xml deployed well, and findByPrimaryKey()
      returns an not-null reference to the bean.

      Some reference regarding this exception
      on jboss forums did not help in my case. Beeing new to jboss and ejb I am stuck at the moment.

      Any help or hints ?


      ------------------------------
      References to forum entry regarding this Exception:
      http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ null-parameters, by TransactionType is already "Required")
      ------------------------------

      ------------------------------
      Partial client side Exception:
      ------------------------------
      [java] Fehler = java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
      [java] java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
      [java] javax.transaction.TransactionRolledbackException: Error getting application tx data map.
      .....

      [java] Caused by: javax.ejb.EJBException: Error getting application tx data map.
      [java] Embedded Exception
      [java] null
      [java] at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.getApplicationTxDataMap(JDBCStoreManager.java:237)
      [java] at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.getApplicationTxData(JDBCStoreManager.java:243)
      [java] at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.getEntityTxDataMap(JDBCStoreManager.java:271)
      [java] at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.getEntityTxData(JDBCStoreManager.java:282)
      [java] at org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.getPreloadDataMap(ReadAheadCache.java:399)
      [java] at org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.load(ReadAheadCache.java:220)
      [java] at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:76)
      [java] at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:62)
      [java] at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager.java:495)
      [java] at org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistenceManager.java:410)
      [java] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.loadEntity(CachedConnectionInterceptor.java:353)
      [java] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:310)
      [java] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      [java] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:193)
      [java] at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:107)
      [java] at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:69)
      [java] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:96)
      [java] ... 20 more

      D SUCCESSFUL