When I try to deploy my CMP bean I get some weird errors.
12:32:09,603 WARN [verifier] EJB spec violation:
Bean : GetIDBean
Section: 9.2.7
Warning: Entity bean's remote interface must extend the
javax.ejb.EJBOb ject interface.
12:32:09,603 WARN [verifier] EJB spec violation:
Bean : GetIDBean
Method : public abstract void setId(Integer)
Section: 9.2.7
Warning: The methods in the remote interface must include
java.rmi.Remote Exception in their throws clause.
(repeats this with about fifty different methods)
This makes absolutely no sense to me because the remote interface is
already extending javax.ejb.EJBOb ject.
I am using xdoclet to generate the deployment decriptors and the
interface files. If I put a session bean in the source folder instead
of CMP bean and deploy that it works like a charm.
12:32:09,603 WARN [verifier] EJB spec violation:
Bean : GetIDBean
Section: 9.2.7
Warning: Entity bean's remote interface must extend the
javax.ejb.EJBOb ject interface.
12:32:09,603 WARN [verifier] EJB spec violation:
Bean : GetIDBean
Method : public abstract void setId(Integer)
Section: 9.2.7
Warning: The methods in the remote interface must include
java.rmi.Remote Exception in their throws clause.
(repeats this with about fifty different methods)
This makes absolutely no sense to me because the remote interface is
already extending javax.ejb.EJBOb ject.
I am using xdoclet to generate the deployment decriptors and the
interface files. If I put a session bean in the source folder instead
of CMP bean and deploy that it works like a charm.
Comment