• 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

DeploymentDescriptor parse error

 
Ranch Hand
Posts: 681
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When parsing my DeploymentDescriptor ejb-jar.xml I get the following error.
org.xml.sax.SAXParseException:
Element type "local-home" is not declared in the dtd or schema.
within the ejb-jar.xml
I have the following code
<local-home>
request.RequestDataManagerLocalHome
</local-home>
Is it complaining because it cant find it, or can find it and does not recognise it.
Thanks for any help.
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you sure you are using a DTD for EJB 2.0 ?
Peter
 
Tony Evans
Ranch Hand
Posts: 681
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Pete, I was indeed using the wrong DD it was set to i.i instead of 2.
I was using an old DD Header.
Cheers TE
 
reply
    Bookmark Topic Watch Topic
  • New Topic