-
1. Re: JBoss 2.4 Jaws.xml bug in Table-mapping
dsundstrom Aug 6, 2002 2:57 PM (in response to thomas_x)My guess is you have the jaws.xml file is not in the META-INF directory (capitalization counts) of your ejb-jar file or the jaws.xml file is doesn't follow the dtd. Did you declare the doctype in the jaws.xml file.
-
2. Re: JBoss 2.4 Jaws.xml bug in Table-mapping
thomas_x Aug 8, 2002 3:17 AM (in response to thomas_x)thanks for your reply !
the jaws.xml is allready in the META-INF directory
here is my Jaws.xml -
3. Re: JBoss 2.4 Jaws.xml bug in Table-mapping
dsundstrom Aug 8, 2002 3:09 PM (in response to thomas_x)It looks right to me but I am not a Jaws expert. Have you tried verifing the file using the Jaws dtd?
-
4. Re: JBoss 2.4 Jaws.xml bug in Table-mapping
thomas_x Aug 9, 2002 3:32 AM (in response to thomas_x)no !
i don't know how to do it ! -
5. Re: JBoss 2.4 Jaws.xml bug in Table-mapping
dsundstrom Aug 9, 2002 1:19 PM (in response to thomas_x)Add this to your jaws.xml file: [pre]
<!DOCTYPE jaws PUBLIC
"-//JBoss//DTD JAWS 2.4//EN"
"http://www.jboss.org/j2ee/dtd/jaws_2_4.dtd">
[/pre] -
6. Re: JBoss 2.4 Jaws.xml bug in Table-mapping
thomas_x Aug 12, 2002 12:15 PM (in response to thomas_x)OK ! When i validate with the dtd i always get the following error !
"The content of element type "entity" must match("ejb-name...." etc. !
but i can't find a failure !!!
is it possible, that the dtd is wrong ? -
7. Re: JBoss 2.4 Jaws.xml bug in Table-mapping
thomas_x Aug 12, 2002 1:03 PM (in response to thomas_x)ok !
now i have validated the jaws file !
everything looks fine in the new file !
but when i deploy the mandant bean, it doesn't create a new table mandantuhu, instead of this it works with the table mandant !
in my standardjaws.xml i also have enabled the create-table feature !
so i think there must be a bug in JBoss 2.4.6
... thanks for your help -
8. Re: JBoss 2.4 Jaws.xml bug in Table-mapping
thomas_x Aug 12, 2002 1:04 PM (in response to thomas_x)sorry ! i forgot the new jaws.xml ! ... here is it
-
9. Re: JBoss 2.4 Jaws.xml bug in Table-mapping
dsundstrom Aug 13, 2002 1:06 AM (in response to thomas_x)> "The content of element type "entity" must
> match("ejb-name...." etc. !
If I remember, this means that Jaws can't find the an entity declared in the ejb-jar.xml file with the same ejb-name. Check the ejb-jar.xml. Also white space matters, so don't put any before or after the name. -
10. Re: JBoss 2.4 Jaws.xml bug in Table-mapping
thomas_x Aug 13, 2002 6:26 AM (in response to thomas_x)... see the last posted jaws.xml !
this file is validated.... no validation error , but doesn't work correct ! -
11. Re: JBoss 2.4 Jaws.xml bug in Table-mapping
dsundstrom Aug 13, 2002 5:26 PM (in response to thomas_x)What I am saying is check you ejb-jar.xml and make sure that every entity you have listed in the jboss.xml you also have listed in the ejb-jar.xml.
-
12. Re: JBoss 2.4 Jaws.xml bug in Table-mapping
thomas_x Aug 19, 2002 3:41 AM (in response to thomas_x)OK !
i have verified all my EntityBeans listed in JAWS.xml have the same name then in the ejb-jar file ! (i made a CaseSenistive Test ! ! )
but the table-mapping does not work !
... in the attachement you can see the ejb-jar and the jaws.xml !