I'm pretty new to JBoss and I'm trying to get a simple Entity bean to work. I have MS SQL Server 2000 as datasource and use CMP for my bean.
I can call ejbEcreate and the data is written to the database. I can also call findByPrimaryKey to get the remote (I've tried local interfaces as well) interface.
as soon as I call a method on the bean using the remote interface, I get the following message:
ERROR [STDERR] javax.ejb.EJBException: null; CausedByException is:
Method is not a known CMP field accessor, CMR field accessor, or ejbSelect method: methodName=ejbActivate
This also pops up when I create a new bean in the db. (even though the data is written to the db)
If I set the trans attribute to "Required" on all ejb methods, the message above is preceeded by a
ERROR [LogInterceptor] TransactionRolledbackLocalException, causedBy:
java.rmi.NoSuchObjectException: Method is not a known...
I've tried a lot of things but I can't solve this on my own. Please give me some hints.