• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem parsing deployment descriptor ejb-jar.xml

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That fixed it.
Thanks thousandfold
 
reply
    Bookmark Topic Watch Topic
  • New Topic