0 Replies Latest reply on Mar 7, 2002 3:24 PM by Ljubisa Kovacevic

    Deploying jar with EJBs containing relationships

    Ljubisa Kovacevic Newbie

      I'm new to JBoss and just trying to deploy customerEjb.jar I developed 5 Local EJBs with 'one-to-one' and one-to-many relationships, and created by using 'deploytool' from j2sdkee1.3.1.
      Then I added jboss.xml.

      First I tried without 'jbosscmp-jdbc', then I got
      ---------------------
      -java.lang.NullPointerException
      -at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.getCreateTableColumnsClause(SQ
      -LUtil.java:29)
      -at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.getRelationCreateTabl
      -eSQL(JDBCStartCommand.java:134)
      -at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.execute(JDBCStartComm
      -and.java:50)
      -at org.jboss.ejb.plugins.cmp.CMPStoreManager.start(CMPStoreManager.java:...
      ----------

      Then I added my O-R mapping get one step more , address was created, but failed another 4. with same exception.

      First I had all my entity beans defined in jboss.xml with JNDI names then I removed them since they are not suppose to be accessed from outside of JVM. But there wasn't the differance.

      I also tried to deploy customerEjb from petStoreDemo 1.3.1 but with the same exception.

      I would be really thankful if someone could tell me what is the proper way of deploying this type of EJBs. Or where to find explanations for 2.0 CMP with JBoss-3.0.0alpha.

      Thanks