File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes JBoss3.0 can't support EJB2.0? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss3.0 can Watch "JBoss3.0 can New topic

JBoss3.0 can't support EJB2.0?

frankie huang

Joined: Dec 17, 2002
Posts: 18
when i place a local interface in the .jar file, it report error.
meka toka
Ranch Hand

Joined: Dec 11, 2002
Posts: 75
When are you getting the error ? while running the client ? compiling the client ?
Meka Toka

Thanks<br />MekaToka<br />SCJP 1.4
Mag Hoehme
Ranch Hand

Joined: Apr 07, 2002
Posts: 194
Hi Frankie,
if you want to make use of CMP, check your ejb-jar.xml: The DOCTYPE tag must refer to the correct DTD - check the versions and the exact spelling (dots, slashes, etc.). Secondly, the tag <cmp-version>2.x</cmp-version> must be there. Make sure you didn't cut and paste an earlier version from somewhere. Here is an example ejb-jar.xml containing the corrections I missed in such a case:

Hope this helps.
[ January 08, 2003: Message edited by: Mag Hoehme ]

frankie huang

Joined: Dec 17, 2002
Posts: 18
Thank you very much! got you.
subject: JBoss3.0 can't support EJB2.0?
It's not a secret anymore!