Hello ! reporting pb with @jboss:subscriber name.
having the following tag in my MDB: * @jboss:subscriber name="admin" password="admin" subscription-id="EqpTL1Subscriber" I get the below attached exception from ejbdoclet task at XML validation. when I look at the generated jboss.xml it is correct (as far as deployment goes): <message-driven> <ejb-name>EqpTL1Subscriber</ejb-name> <destination-jndi-name>topic/TL1EventTopic</destination-jndi-name> <configuration-name>Standard Message Driven Bean</configuration-name> <mdb-user>admin</mdb-user> <mdb-passwd>admin</mdb-passwd> <mdb-subscription-id>EqpTL1Subscriber</mdb-subscription-id> </message-driven> but it seems that the code generates an order that is not agreeable with the schema at validation time: configuration-name should be after the mdb declaration (and is not in the generated XML). any case, the parser should not rely on any location order for validation. I solved the problem by turning off (ejbdoclet) jboss XML validation yet would like to be able to have generic build.xml and so have the generation 2 always happen. let me know if need me 2 enter JIRA defect. thanx. seb. [ejbdoclet] Running <jboss/> [ejbdoclet] Generating jboss.xml. [ejbdoclet] org.xml.sax.SAXParseException: The content of element type "message-driven" must match "(ejb-name,destination-jndi-name,mdb-user?,mdb-passwd?,mdb-client-id?,mdb-subscription-id?,configuration-name?,security-proxy?,ejb-ref*,resource-ref*,resource-env-ref*)". [ejbdoclet] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [ejbdoclet] at xdoclet.util.XmlValidator.doValidate(XmlValidator.java:220) [ejbdoclet] at xdoclet.util.XmlValidator.validate(XmlValidator.java:189) [ejbdoclet] at xdoclet.XmlSubTask.engineFinished(XmlSubTask.java:240) [ejbdoclet] at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:561) [ejbdoclet] at xdoclet.TemplateSubTask.startProcessForAll(TemplateSubTask.java:614) [ejbdoclet] at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:595) [ejbdoclet] at xdoclet.XmlSubTask.startProcess(XmlSubTask.java:196) [ejbdoclet] at xdoclet.modules.jboss.ejb.JBossSubTask.execute(JBossSubTask.java:306) [ejbdoclet] at xdoclet.XDocletMain.start(XDocletMain.java:46) [ejbdoclet] at xdoclet.DocletTask.start(DocletTask.java:458) [ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:68) [ejbdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166) [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:319) [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309) [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336) [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [ejbdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1250) [ejbdoclet] at org.apache.tools.ant.Main.runBuild(Main.java:610) [ejbdoclet] at org.apache.tools.ant.Main.start(Main.java:196) [ejbdoclet] at org.apache.tools.ant.Main.main(Main.java:235) the jboss version I use is 3.0.3 and the build task is the following: <jboss version="3.0" unauthenticatedPrincipal="nobody" xmlencoding="UTF-8" preferredrelationmapping="relation-table" destdir="${thisdd.dir}" validatexml="true" typemapping="PostgreSQL 7.2" datasource="java:/PostgresDS" /> ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user