Ionel,
I don't think you are allowed to do this. CMR relationships can only be 
between beans in the same JAR/EAR.
Ciao,
Jonathan O'Connor
XCOM Dublin





Ionel Gardais <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
26.06.2003 09:27
Please respond to xdoclet-user

 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        [Xdoclet-user] [ SOS ] ejb ref is hell (prayer to the xdoclet 
gurus)


Hi,

Does anybody succeed in working with ejb external reference AND CMR ?

My problem is that one of my CMR field is a bean from an external bean.

For my beans to compile with the external reference, I need to include 
the external beans' source inside my own beans source tree (if I don't, 
I get a "file not found" from Xdoclet saying it didn't find the source 
for the referenced beans)

Unfortunatly, the source of the external beans are processed by the 
deploymentdescriptor and the jboss tasks : this leads to an error when I 
deploy my bean package because JBoss says that the referenced beans JNDI 
name already exists.

I didn't find any ways to exclude the imported external bean source from 
these tasks so they shouldn't be processed.

Does the fact that I use this external bean reference as a CMR field can 
affect XDoclet ? (managing a CMR by two different datasources)

Please help I am really stuck with this and this block my whole project.
Thanks a lot,
ionel



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user





-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to