I get the "This collection is a read-only" when i try add a CMP Entity bean to a cmr relation. This code used to work great in jboss 3.0.6.
The code goes like:
Collection metaDataCol = newNode.getMetadata();
MetaDataLocal mtl = metaDataHome.create(...);
metaDataCol.add(mtl);
and here i get an EJBException with "This collection is a read-only" message.
Is it a jboss error? Can anyone help on how to bypass the problem?
I am using JBoss 3.2.1 with Sun j2 sdk 1.4.2 on windows 2000 Server.