Tuesday, October 25, 2011

javax.ejb.EJBException: Could not unmarshal method ID

If you are seeing the following error from your EJB then the solution is really simple.

javax.ejb.EJBException: Could not unmarshal method ID; nested exception is:
java.rmi.UnmarshalException: Method not found: 'YOUR_METHOD';

This is because you have written some code but didn't compile or redeployed to your server after compile. So, build/compile your project again and deploy to your server. You'll not see this error again. :-)


get a facebook fan page said...

can you describe this with update post ?
i would be thankfull to you.

Anonymous said...

Unfortunately it's not always that simple. But if I find a solution to my issue I will post back here with it.

Get function name programaticaly - Python

This little piece of code will help you to get the function name programatically. This is very helpful when you are implementing the debug...