At 17:05 2002-01-30 +0100, Daniel Bratell wrote:

>>No, it's not wrong. Check the DTD (it's bundled with xdoclet). Only m:n 
>>relationships are supposed to have two <weblogic-relationship-role>:s.
>
>Not in my WebLogic. I have Weblogic 6.1 SP1. I do try to define a 
>unidirectional 1->n relationship but with only one 
>weblogic-relationship-role I get an assertion during deployment:

I just tested in Weblogic 6.1 SP2 and get the same exception (see below).


>--------------------------------8<------------------------------------------------------------
>         In relationship addresses, the <ejb-relationship-role>, 
> one-address-belongs-to-one-customer, defined in ejb-jar.xml must have a 
> corresponding <weblogic-relationship-role> in the RDBMS CMP deployment 
> descriptor file with the same name.
>         at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:301)
>         at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:296)
>         at weblogic.ejb20.deployer.Deployer.compileEJB(Deployer.java:676)
>         at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:843)
>....
>--------------------------------------------->8-------------------------------------------------

/Daniel


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to