
226 Migrating Applications from WebLogic, JBoss and Tomcat to WebSphere V6
ConcreteAccount_0a6cb2fd.java right after we run the PetstoreTest; the error we
receive is as follows:
Exception RemoveException is not compatible with throws clause in
AccountBeanImpl.ejbRemove()ConcreteAccount_0a6cb2fd.java
xPetstore-EJB/ejbModule/xpetstore/domain/signon/ejb line 48
If you open one of those files, you can see that WebSphere generates wrong
method signature for the bean implementation:
public void ejbRemove() throws javax.ejb.RemoveException,
java.rmi.RemoteException {}
While according to the EJB 2.1 specification
(http://java.sun.com/j2ee/1.4/docs/api/javax/ejb/EntityBe ...