What is wrong here? I am using JBoss 3.2.2RC3
Thanks
17:14:09,147 INFO [EntityContainer] Starting
17:14:09,538 ERROR [XmlFileLoader] XmlFileLoader: File jar:file:/E:/Programme/JB
oss/server/default/tmp/deploy/tmp31273handel.ear-contents/handel.jar!/META-INF/j
bosscmp-jdbc.xml process error. Line: 44. Error message: Element type "unknown-p
k" must be declared.
17:14:09,558 ERROR [XmlFileLoader] XmlFileLoader: File jar:file:/E:/Programme/JB
oss/server/default/tmp/deploy/tmp31273handel.ear-contents/handel.jar!/META-INF/j
bosscmp-jdbc.xml process error. Line: 45. Error message: Element type "unknown-p
k-class" must be declared.
17:14:09,588 ERROR [XmlFileLoader] XmlFileLoader: File jar:file:/E:/Programme/JB
oss/server/default/tmp/deploy/tmp31273handel.ear-contents/handel.jar!/META-INF/j
bosscmp-jdbc.xml process error. Line: 50. Error message: Element type "auto-incr
ement" must be declared.
17:14:09,618 ERROR [XmlFileLoader] XmlFileLoader: File jar:file:/E:/Programme/JB
oss/server/default/tmp/deploy/tmp31273handel.ear-contents/handel.jar!/META-INF/j
bosscmp-jdbc.xml process error. Line: 52. Error message: Element type "entity-co
mmand" must be declared.
17:14:09,638 ERROR [XmlFileLoader] XmlFileLoader: File jar:file:/E:/Programme/JB
oss/server/default/tmp/deploy/tmp31273handel.ear-contents/handel.jar!/META-INF/j
bosscmp-jdbc.xml process error. Line: 53. Error message: The content of element
type "entity" must match "(ejb-name,(datasource,datasource-mapping)?,create-tabl
e?,remove-table?,read-only?,read-time-out?,row-locking?,pk-constraint?,read-ahea
d?,list-cache-max?,fetch-size?,table-name?,cmp-field*,load-groups?,eager-load-gr
oup?,lazy-load-groups?,query*)".
It says that the line 44 of your jbosscmp-jdbc.xml cannot be validated. Make sure you're creating valid XML documents. Element order is significant (just like the last error says).
-- Juha