This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem parsing deployment descriptor ejb-jar.xml

 
Martin Fiskare
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings in the first place.

I sincerely hope that someone can aid me with a problem that's been drinving me insane.

I have your average J2EE5 enterprise application nicely wrapped up in an EAR-File. When I attempt to deploy it on my JBOSS 5.1.0 GA i receive the following error code in my stacktrace reporting that my ejb-jar.xml cannot be deployed because the <ejb>-tag lacks the declaration of the xmlns-attribute, which is obviously there, as you can seen from the code I provide here.

So.. thank you all in advance. Please enlighten me.


Here is my ejb-jar.xml



and that's what I receive from jboss

 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



You don't need the DOCTYPE pointing to the dtd, while using xsd. So remove that DOCTYPE and keep it like:



 
Martin Fiskare
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That fixed it.
Thanks thousandfold
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic