Hi,

I'm using Xdoclet to generate the interfaces of my beans and the deployment descriptor.

I have enable a 1:N relationship.
Even when I am not adding an @jboss.relation tag, I get a relationship xml tag in jbosscmp-jdbc.xml and this make JBoss complains with this error message :


<code>
"17:28:08,574 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
<none>
Incompletely deployed packages:
<none>
MBeans waiting for classes:
<none>
MBeans waiting for other MBeans:
[ObjectName: jboss.j2ee:jndiName=ejb/calendrier/LocalSalle,service=EJB
state: FAILED
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: Atleast one role of a foreign-key mapped relationship must have key fields: ejb-relation-name=Tache-Salle, ObjectName: jboss.j2ee:jndiName=ejb/calendrier/LocalCycle,service=EJB
state: FAILED
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: Atleast one role of a foreign-key mapped relationship must have key fields: ejb-relation-name=Tache-Salle, ObjectName: jboss.j2ee:jndiName=ejb/calendrier/LocalPersonne,service=EJB
state: FAILED
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: Atleast one role of a foreign-key mapped relationship must have key fields: ejb-relation-name=Tache-Salle, ObjectName: jboss.j2ee:jndiName=ejb/calendrier/LocalTache,service=EJB
state: FAILED
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: Atleast one role of a foreign-key mapped relationship must have key fields: ejb-relation-name=Tache-Salle]
</code>


Where is the problem ?
Can I disable the adding of the relationship tag in jbosscmp-jdbc.xml ? (I don't use a foreigne key)


Thanks,
ionel



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to