By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,264 Members | 1,100 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,264 IT Pros & Developers. It's quick & easy.

Jboss

P: n/a
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.EJBObject 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.RemoteException 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.EJBObject.

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.
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Jeff wrote:
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.EJBObject 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.RemoteException 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.EJBObject.

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.


i think your ejb-jar.xml will be wrong. there is a chance for wrong tags
in class files.
~ Let us linux ~
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.