[JBoss-user] [EJB/JBoss] - Re: org.jboss.deployment.DeploymentException: No ejb-relatio

2004-04-17 Thread sesques
You right triathlon98, the field is target-role-name in @ejb.relation Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831202#3831202 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831202 ---

[JBoss-user] [EJB/JBoss] - Re: org.jboss.deployment.DeploymentException: No ejb-relatio

2004-04-17 Thread triathlon98
No this is not a Xdoclet problem. You have to define the "other-side". See the xdoclet docs for the correct names. I had this working, but don't have an example handy. Joachim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831195#3831195 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: org.jboss.deployment.DeploymentException: No ejb-relatio

2004-04-16 Thread sesques
Hi, What you want to do is possible and correct regarding the ejb spec. But XDoclet is bugged and do not allow a relationship declaration without the associated methods. When you do that, XDoclet forget to put a tag in ejb-jar.xml, and in jbosscmp-jdbc.xml, the tag exists but is empty. So, yo

[JBoss-user] [EJB/JBoss] - Re: org.jboss.deployment.DeploymentException: No ejb-relatio

2004-04-16 Thread troypoppe
"sesques" wrote : You must declare the relationship on both sides: | Your forgot the declaration in your Party bean, something like : | | | | /** | | * @ejb.relation | | * name = "PersonParty" | | * role-name = "Pa

[JBoss-user] [EJB/JBoss] - Re: org.jboss.deployment.DeploymentException: No ejb-relatio

2004-04-16 Thread sesques
You must declare the relationship on both sides: Your forgot the declaration in your Party bean, something like : | /** | * @ejb.relation | * name = "PersonParty" | * role-name = "PartyHavePerson" | * target-ejb = "Person"