aspose file tools*
The moose likes JBoss/WildFly and the fly likes Problem parsing deployment descriptor ejb-jar.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Problem parsing deployment descriptor ejb-jar.xml" Watch "Problem parsing deployment descriptor ejb-jar.xml" New topic
Author

Problem parsing deployment descriptor ejb-jar.xml

Martin Fiskare
Greenhorn

Joined: Jun 24, 2010
Posts: 7
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

Joined: Jul 20, 2005
Posts: 10268
    
168




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




[My Blog] [JavaRanch Journal]
Martin Fiskare
Greenhorn

Joined: Jun 24, 2010
Posts: 7
That fixed it.
Thanks thousandfold
 
 
subject: Problem parsing deployment descriptor ejb-jar.xml