I took a Weblogic sample and tried to convert to Jboss. This may have screwed things up, or I may be fighting a JBbuilder or JBoss XML/DTD bug. (Or maybe I'm missing something!)
I rebuilt the 3 relationships in the example after realizing the XML in ejb-borland was bad. But I still get three instanced each of the same 2 errors:
#### Error: [Untitled,META-INF/ejb-borland.xml] The content of element type "column-list" is incomplete, it must match "(column-name)+".[line=423,col=44]
Sure enough, here's the XML for that one...
<cmr-field>
....<cmr-field-name>shoppingCart</cmr-field-name>
....<table-ref>
........<left-table>
............<table-name>INVENTORY</table-name>
............<column-list./>
........</left-table>
........<right-table>
............<table-name>SHOPPINGCART</table-name>
............<column-list />
........</right-table>
....</table-ref>
</cmr-field>
... Column list is empty. It did not appear at all as an element in the WebLogic xml.
Then we have...
#### Error: [Untitled,META-INF/ejb-borland.xml] The content of element type "cmr-field" is incomplete, it must match "(cmr-field-name,table-ref,property*)".[line=438,col=30]
...complaining about...
<ejb-relationship-role>
....<relationship-role-source>
........<ejb-name>ShoppingCart</ejb-name>
....</relationship-role-source>
....<cmr-field>
........<cmr-field-name>inventory</cmr-field-name>
....</cmr-field>
</ejb-relationship-role>
... where cmr-field is light two elements.
The OLD weblogic version contained this...
<cmr-field>
....shoppingCart
....<cmr-field-name>shoppingCart</cmr-field-name>
....<cmr-field-type>java.util.Set</cmr-field-type>
</cmr-field>
... containing the now missing elements.
Has anyone managed to work around this?
--r.
I should add to the Jbuilder 7 and Jboss 3.0.0 keywords, CMR for anyone else searching the archive...
--r.