Hi all,
After waiting for the jboss support to response, (no one did), I out of desperation
looked at the jboss code. The class in question is
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge
This class has a method called loadRelations which throws the above exception as
follows:
public void loadRelations(Collection values)
{
if(isLoaded)
throw new EJBException("CMR field value is already loaded");
}
I noticed that this exception is thrown when the relation is already loaded. So, I
experimented with the following change:
public void loadRelations(Collection values)
{
if(isLoaded)
return;
}
Instead of throwing exception, I just return. I ran my stress test again and it ran
like a charm without a problem.
I hope that the CMP team can have a look at this and let me know if this will have any
serious side effects. So far, I have not some across any.
I know this is a bad thing to do (changing server code). But I pretty much tried every
other way possible....
HG
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851457#3851457
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851457
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user