0 Replies Latest reply on May 10, 2002 1:38 PM by necrosus

    UndeclaredThrowableException on ejbCreate

    necrosus

      Hi,

      I am pretty new to JBoss (i am using version 2.4.4), I am getting the exception below when attempting to create a relatively simple Stateless Session bean. The bean in question inherits from an abstract parent session bean. What is odd is that other beans which extend it are being created with no problems and they dont appear be doing anything noticably different in the ejbCreate method (they all just call super.ejbCreate() infact).

      Does anyone have any ideas as to what might be causing this exception? (apologies if this is a common question)

      Kris

      java.lang.reflect.UndeclaredThrowableException: javax.ejb.CreateException
      at com.kainos.core.CEJBAbstractSessionSBBean.ejbCreate(Unknown Source)
      at com.kainos.core.CAttributeSBBean.ejbCreate(Unknown Source)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.ejb.StatelessSessionEnterpriseContext.(StatelessSessionEnterpriseContext.java:54)
      at org.jboss.ejb.plugins.StatelessSessionInstancePool.create(StatelessSessionInstancePool.java:62)
      at org.jboss.ejb.plugins.AbstractInstancePool.add(AbstractInstancePool.java:153)
      at org.jboss.ejb.plugins.AbstractInstancePool.internalGet(AbstractInstancePool.java:216)
      at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:191)
      at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:74)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:138)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:347)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:100)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:127)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:170)
      at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:286)
      at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:504)
      at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:335)
      at org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(StatelessSessionProxy.java:123)
      at $Proxy47.remove(Unknown Source)