I think you have to check twice the relationships settings of your entity beans.
Perhaps you have to check too what is going on in your getter method when no data are returned...
The getter method just returns the value. The bean is stand-alone, so checking the deployment descriptors may not be such a bad idea...
Well, I can't find anything wrong with the descriptor files. It is not possible to validate them though, because jboss.dtd is not updated for version 3.0. The ejb-jar-file looks good.
It can't be too hard getting a CMP test-bean to run (no business logic other than pure get-set).
Anyway, I'll attach the descriptor files and the server-log if anyone want to look at it.
and the code-snippet that makes the thing crash...
ActionHome home = (ActionHome) PortableRemoteObject.narrow(obj, ActionHome.class);
Collection col = home.findAll();
Iterator i = col.iterator();
int highest =0;
Action action = (Action)i.next();
ActionPK pk = (ActionPK)action.getPrimaryKey();
if (pk.getId().intValue() > highest)
highest = pk.getId().intValue();
//System.out.println("action.pk = " + pk.toString());
for (int x=highest; x < highest + 1; x++)
System.out.println("Creating new Action entry with id = " + x);
Action action = home.create(new Integer(x));
action.getDuration(); // <---------- CRASH