The following comment has been added to this issue:
Author: Marcus Brito
Created: Mon, 10 Mar 2003 5:30 AM
Body:
That is a known issue, and currently can't be fixed easily. You can't have value
objects declared on both sides of a relation. Remove the @ejb.value-object tag from
one side.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-367
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-367
Summary: loading valueobjects in M:N relationship leads to deadloop
Type: Bug
Status: Assigned
Priority: Major
Time Spent: Unknown
Estimate: 0 minutes
Project: XDoclet
Component: EJB Module
Versions:
1.2 Beta 2
Assignee: xdoclet-devel (Use for new issues)
Reporter: Ionel GARDAIS
Created: Mon, 10 Mar 2003 3:34 AM
Updated: Mon, 10 Mar 2003 3:34 AM
Environment: Solaris 8 - JDK 1.4.1_01 - XDoclet 1.2b2 - JBoss3.2.0RC2/Tomcat4.1.18
Dual sparc 550 - 1GB RAM
Description:
When declaring an M:N relationship between 2 beans, the corressponding value objects
are filled in a way that a deadloop occurs.
ex :
Person Bean and Task Bean (a Person can be involved in N Tasks ans a Task can be
shared between M Personns)
when calling getTasks() on a PersonValue or getPersons() on a TaskValue, the loading
of an object make the other side to load objects too and so on.
JBoss warns "Reentrant method call detected" amd stops processing the request,
returning a null value.
If REENTRANT is set to true inside the bean description, no warning is thrown by JBoss
as it apprears to be normal (remember reentrant has been set to true) but a huge
amount of exception are printed to the console and the loading process never ends.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel