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.
thanks for your reply !
the jaws.xml is allready in the META-INF directory
here is my Jaws.xml
It looks right to me but I am not a Jaws expert. Have you tried verifing the file using the Jaws dtd?
i don't know how to do it !
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 ?
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
sorry ! i forgot the new jaws.xml ! ... here is it
> "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.
... see the last posted jaws.xml !
this file is validated.... no validation error , but doesn't work correct !
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.
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 !