2 Replies Latest reply on Dec 23, 2003 11:03 AM by rchristy63

    External JARs and CMP relationships

    rchristy63 Newbie

      Am I allowed to do the following. I have two entity beans in defined two different jars. I'm trying to map a one-to-many relationship between these two entity beans. I seem to be having trouble during the deployment with the following exception. I've defined an external-ref in my ejb-jar.xml deployment descriptor, but that doesn't seem to solving my problems.

      Thanks in advance,

      Rich

      08:56:28,854 ERROR [EntityContainer] Starting failed
      org.jboss.deployment.DeploymentException: Entity: ejb/refdataservice/domain/Country not found for relation: domcile-country
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaData.(JDBCRelationshipRoleMetaData.java:123)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationMetaData.(JDBCRelationMetaData.java:135)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:174)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:52)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:733)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:432)