I've just figured out the problem. I'm using a client class to access local interfaces. Jboss is running in it's own JVM (my client was running in a window).
Sorry for the inconvinience.
I'm just having the same error. I could deploy an Entity Bean. But when it comes to execute the "create" or "findByPrimaryKey" method, a NullPointerException is raised. Can you please explain how you figured out this problem.
P.S: Here is the stack trace
at $Proxy0.findByPrimaryKey(Unknown Source)
You are trying to get a local interface from a different VM. Local Interfaces and the Clients have to be in same VM. Try accessing the local home thru a servlet instead. That shud work properly. If you need to access the local interface from an external VM, make the interface remote as well as local and access the remote interface.
Yes, you're right. The concept is very simple but it seens that it catch me up.
I finally figured out the problem thanks to your help!