0 Replies Latest reply on Nov 22, 2001 8:37 AM by abrasax

    JBoss 3.0, EJBCreator and local interfaces

    abrasax

      Hi all,

      since I need rapidly develop an EJB application and my experience with this technology is very small, I decided to use EJBCreator to generate simple EJB 2.0 CMPs and only write JBoss specific descriptors.

      As long as I used remote interfaces for my beans, all went quite OK. But after converting the remote interfaces to local (all the rest remained the same) I can't deploy my beans to JBoss...

      [14:22:31,113,ContainerFactory] Deploying InfoText
      [14:22:31,123,ContainerFactory] Deploying Hierarchy
      [14:22:31,123,ContainerFactory] Deploying Session
      [14:22:32,144,ContainerFactory] Could not deploy file:/E:/java/jboss/deploy/Defa
      ult/mis.jar/
      java.lang.NullPointerException
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.loadSelectors(
      JDBCEntityBridge.java:213)
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.(JDBCEnt
      ityBridge.java:90)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.init(JDBCStoreManager
      .java:117)
      at org.jboss.ejb.plugins.CMPPersistenceManager.init(CMPPersistenceManage
      r.java:141)
      at org.jboss.ejb.EntityContainer.init(EntityContainer.java:313)
      at org.jboss.ejb.Application.start(Application.java:201)
      at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:382)
      at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:308)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:467)

      at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:
      444)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:215)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:654)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:327)
      at java.lang.Thread.run(Unknown Source)
      [14:22:32,274,J2eeDeployer#Default] Starting mis.jar failed!
      javax.management.MBeanException: Exception thrown in operation deploy
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      44)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:467)

      at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:
      444)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:215)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:654)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:327)
      at java.lang.Thread.run(Unknown Source)
      [14:22:32,344,J2eeDeployer#Default] Module mis.jar is not running
      [14:22:32,354,J2eeDeployer#Default] Destroying application mis.jar
      [14:22:32,354,J2eeDeployer#Default] Destroyed

      Have you any idea, what is wrong or at least where I should look for a bug?

      Thanks
      Martin