I have a strange error.
I have downloaded the latest zip version of JBoss, which is supposed to support a few new features
in EJB 3.1 such as the no interface view for session beans. It is the future JBoss 6.0.0 M2 version.
So I have created a stateless session bean with no interface :
And I have also created a Contact entity bean.
I have this JSF managed bean where i call the supprimer() method from my XHTML facelet in my webapp :
I get the following error :
Does anyone have a clue ? I can list the contacts but i cannot modify / delete them.
Thanks for helping.
Well, the first time i display the page, i display the contacts in a datagrid (JSF component), which is filled through a method that is defined in the stateless session bean with no interface.
I do not think the error is JSF related.
The bug has been fixed but will not be available in 6.0.0.M2 (since the deadline for commits to that version has passed). It isn't (yet) available in the AS nightly build. However, you can download this jar from the Maven snapshot repo and follow these steps to get the fix:
1) Download that jar file to some temp location
2) Rename the jar file to jboss-ejb3-nointerface-impl.jar
3) Backup the existing JBOSS_HOME/common/lib/jboss-ejb3-nointerface-impl.jar to some location
4) Overwrite the JBOSS_HOME/common/lib/jboss-ejb3-nointerface-impl.jar with the jar file from step#2
That should get you the fix and help you in continuing with the rest of your nointerface example testing. Let us know if you run into any issues.