The xml elements must be in the order specified in the dtd. Or turn off dtd validation.
Regards, Adrian On Wed, 2003-08-27 at 16:12, Sasidharan, Manoj wrote: > Hello All, > > I am trying to deploy one of my EJBs (Entity Beans) in JBoss. The deployment > descriptors are generated using JBuilder/Enterprise Wizard for JBoss and > JBuilder8 version 3.. > > Session Beans work fine. > > The error on the console is shown below. > > Could somebody suggest what could be the issue? > > Thanks in advance. > > rgds > MS > > 15:58:35,601 INFO [EjbModule] Creating > 15:58:35,621 INFO [EjbModule] Deploying UserEntity > 15:58:35,671 INFO [EntityContainer] Creating > 15:58:35,671 INFO [EntityInstancePool] Creating > 15:58:35,671 INFO [EntityInstancePool] Created > 15:58:35,681 INFO [EntityContainer] Created > 15:58:35,681 INFO [EjbModule] Created > 15:58:35,701 INFO [EjbModule] Starting > 15:58:35,701 INFO [EntityContainer] Starting > 15:58:36,201 ERROR [XmlFileLoader] XmlFileLoader: File > jar:file:/D:/Downloads/jb > oss-3.2.2RC2/server/default/tmp/deploy/tmp17593user.jar!/META-INF/jbosscmp-j > dbc. > xml process error. Line: 81. Error message: The content of element type > "entity" > must match > "(ejb-name,(datasource,datasource-mapping)?,create-table?,remove-tab > le?,post-table-create?,read-only?,read-time-out?,row-locking?,pk-constraint? > ,rea > d-ahead?,list-cache-max?,fetch-size?,table-name?,cmp-field*,load-groups?,eag > er-l > oad-group?,lazy-load-groups?,query*,unknown-pk?,entity-command?,optimistic-l > ocki > ng?,audit?)". > 15:58:36,201 ERROR [EntityContainer] Starting failed > org.jboss.deployment.DeploymentException: Invalid XML: > file=jar:file:/D:/Downloa > ds/jboss-3.2.2RC2/server/default/tmp/deploy/tmp17593user.jar!/META-INF/jboss > cmp- > jdbc.xml > at > org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:296) > at > org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247) > at > org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.jav > a:219) > at > org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:203) > at > org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXm > lFileLoader.java:74) > at > org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaDat > a(JDBCStoreManager.java:739) > at > org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBC > StoreManager.java:430) > at > org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManage > r.java:372) > at > org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManag > er.java:160) > at > org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340) > at > org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1 > 92) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea > nDispatcher.java:284) > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user