|
WebLogic. Вопрос про дескриптор weblogic-cmp-rdbms-jar.xml
|
|||
---|---|---|---|
#18+
В каком формате должны описываться relation'ы между CMP EJB 2.0 в дескрипторе weblogic-cmp-rdbms-jar.xml? Кто с этим работал, подкиньте структуру фрагмента XML? В доке (http://e-docs.bea.com/wls/docs81/ejb/DDreference-cmp-jar.html) указано как-то непонятно и, по ходу, неправильно. Такая структура описана в доке: weblogic-rdbms-relation relation-name table-name weblogic-relationship-role Она не работает, и вообще очевидно, что информация в ней недостаточная для описания отношения. Выдаётся ошибка: Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was: Bean 'FirstTestTableEJB' listed in the RDBMS CMP deployment descriptor participates in relationship 'First-Second', but there is no entry for the relationship in the RDBMS CMP deployment descriptor. Related beans and the relationships between them must be described in the same RDBMS CMP descriptor file. Bean 'SecondTestTableEJB' listed in the RDBMS CMP deployment descriptor participates in relationship 'First-Second', but there is no entry for the relationship in the RDBMS CMP deployment descriptor. Related beans and the relationships between them must be described in the same RDBMS CMP descriptor file. То есть, если по-русски: "у вас есть 2 таких-то bean'а, они участвуют в отношении таком-то (имя взято из ejb-jar.xml), но это отношение не описано в weblogic-cmp-rdbms-jar.xml, а должно быть". Какой там правильный формат на самом деле? ... |
|||
:
Нравится:
Не нравится:
|
|||
05.09.2004, 22:16 |
|
|
start [/forum/topic.php?fid=59&tid=2153772]: |
0ms |
get settings: |
9ms |
get forum list: |
16ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
138ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
38ms |
get tp. blocked users: |
2ms |
others: | 342ms |
total: | 569ms |
0 / 0 |