Derek: i am having very similar problems to yours. Have you solved the issue yet? I am looking all over the Inet for a clue, but haven't come up with something yet. Please reply if you have a hint. bye!
no solution yet. most posts dealing with this said to make sure the doctype is correct and the cmp-version says 2.x. mine are exactly as required but still the problem remains for me.
Which version are you using?
CMP2.0 is only supported with JBoss3
using JBoss 3. attached are some related files. thanks for your help.
Looks ok to me.
Do you have an old version of the verifier somewhere
in the classpath?
I believe there is an old version included with xdoclet.
I don't have any idea what to look for with regards to the verifier. Can you give me some more details on this.
i did the following:
1) downloaded jboss 3.0.0, and didn't tweak anything at all.
2) i declared my ejb-jar.xml, and jbosscmp-jdbc.xml files
3) created 3 CMP entity beans
4) i know that the DOCTYPE declaration is what it's supposed to be.
i know there shouldn't be any problems with my beans, because they actually GET deployed, except for the WARNING about some methods being ABSTRACT.
please help! thanks in advance
Derek: i just copied and pasted a DOCTYPE declaration that i found somewhere. And it magically worked. The strange thing is that i was pretty sure that my previous declaration was right.
Anyway, do you want me to send you my files, to use as a template?
Yes, please send me your files and I can take a look at them and compare them to mine. Even try and paste your
DOCTYPE into my file. Please use my email on my profile page. Thank you for your help. derek
can you post this code there?
Because, I have this problem too
Looking at the original ejb-jar.xml
posted there is a "new line" between
Enterprise and Beans
I didn't spot that before.
This is probably the problem.
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/j2ee/dtd/ejb-jar_2_0.dtd">
This is good
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
This is bad, because Sun Microsystems, inc.
in inc. "i" is in lowercase.
This bad sample is in JBoss.QuickStart
big big sorry.
Now I review GetStart and there is good sample.