This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 9947
    
161




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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem parsing deployment descriptor ejb-jar.xml
 
Similar Threads
reslove this problem please
How to deploy GWT web application in JBoss?
Problem of dependency injection in jboss
Is it posible to limit the number of instances of EJB in application server ?
Error in Deployement of Ear File