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 field
I forgot: This occurs with 3.1.6 and 3.1.7
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872247#3872247
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872247
---
Th
Ok,
Quick comment. The locatin ield is a BLOB type. It works flawlessly in BEA's Weblogic.
I'm actually trying to port this code to JBoss & Websphere. Both have their issues!
Many thanks for the reply. Any suggestions are welcome. I'll check to see if the BLOB
issue is the cause.
Maybe BEA goe
The problem still persists. I've tried to set the sql-type to BLOB and the jdbc-type
to BLOB but that does not seem to make a difference.
Is there some kind of a problem with BLOB oriented data types and ejbql comparisons?
View the original post :
http://www.jboss.org/index.html?module=bb&op=vi
ivanlc: Thanks for the suggestion regarding removal of AS. Unfortunately it didn't
make a difference.
Raist_Majere: Here is my deployment descriptor. Many thanks for
your interest.
http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
Generated by XDoclet
Can anyone point out what must be quite obvious:
This is an error message from the console concerning the failure to
parse a query. What's wrong with the query? Note that there is a CMP
field called 'location'. with a getter and a setter. The problem seems
to be syntactic..?
...
Caused by: org.jb