Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding EJB 2.0

 
Rohit Suman
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
Is the odering of the tag of ejb-jar.xml validated while an application is deployed.
If not then which case.

Thanks in advance
Rohit Suman
 
Amresh Singh
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Seems order of elements in DD does matter.

I got this error while deploying CMP bean when I put <primkey-field> tag before <cmp-field>. As per DTD, this element should be after <cmp-field>

The XML parser encountered an error in your deployment descriptor. Please ensure that your deployment descriptor corresponds to the format in the DTD. The error was:
Error parsing file 'META-INF/ejb-jar.xml'............


Amresh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic