[jboss-user] [EJB 3.0] - Re: Unable to deploy a simple MDB with SwiftMQ on JBOSS 5

PeterJ do-not-reply at jboss.com
Tue Jul 15 11:19:59 EDT 2008


Are you sure you posted the correct ejb-jar.xml file? The error is:

Caused by: org.xml.sax.SAXException: cvc-datatype-valid.1.2.1: 'queue/SimpleMessageEJB' is not a valid value for 'NMTOKEN'. @ vfszip
:/D:/win32app/jboss-5.0.0.CR1/server/default/deploy/simplemdb.ear/simplemdb-ejb.jar/META-INF/ejb-jar.xml[8,50]

But line 8 if the file reads:

      <ejb-name>SimpleMessageEJB</ejb-name>

and that line is only 44 chars long. Look at the exact file in the error message (D:/win32app/jboss-5.0.0.CR1/server/default/deploy/simplemdb.ear/simplemdb-ejb.jar/META-INF/ejb-jar
.xml), line 8 probably reads:

      <ejb-name>queue/SimpleMessageEJB</ejb-name>

which is not a valid EJB name.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164526#4164526

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164526



More information about the jboss-user mailing list