I do a .findByName("xyz") which succeds.
Then any attempt to access the CMP elements of the bean cause an exception of type: java.rmi.NoSuchObjectException with the message
"EJB home methods are not allowed to access CMP or CMR fields: methodName=getLocation"
"Location" is one of the CMP fields, but the exception occurs when I call
.getName().
Note that this is happening when using a remote interface. It may also happen for locals but I've yet to try.
Any advice appreciated!
I forgot: This occurs with 3.1.6 and 3.1.7