Hi, I've been trying to deploy a local bean on jboss-3.2.3 server, but I am getting these messages:
13:48:39,305 WARN [verifier] EJB spec violation:
Bean : Ticket
Section: 9.2.7
Warning: Entity bean's remote interface must extend the javax.ejb.EJBObject interface.
13:48:39,315 WARN [verifier] EJB spec violation:
Bean : Ticket
Method : public abstract void remove() throws RemoveException, EJBException
Section: 9.2.7
Warning: The methods in the remote interface must include java.rmi.RemoteException in their throws clause.
...
here is what my ejb-jar.xml and jboss.xml looks like:
ejb-jar.xml
...
<entity>
<ejb-name>Ticket</ejb-name>
<home>hello.ejb.interfaces.TicketLocalHome</home>
<remote>hello.ejb.interfaces.TicketLocal</remote>
<ejb-class>hello.ejb.entity.TicketBeanCMP</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>false</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>TicketSchema</abstract-schema-name>
...
<session>
<ejb-name>TicketSystem</ejb-name>
...
<ejb-local-ref>
<ejb-ref-name>entity/Ticket</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>hello.interfaces.TicketLocalHome</local-home>
<local>hello.interfaces.TicketLocal</local>
<ejb-link>Ticket</ejb-link>
</ejb-local-ref>
</session>
...
jboss.xml
...
<session>
<ejb-name>TicketSystem</ejb-name>
<jndi-name>ejb/session/TicketSystem</jndi-name>
</session>
<entity>
<ejb-name>Ticket</ejb-name>
<jndi-name>ejb/entity/Ticket</jndi-name>
</entity>
...