• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

new to ejb - help needed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi everyone,
iam trying to deploy the helloworld ejb jar on weblogic server. It shows the following exception:
Exception:weblogic.management.ApplicationException: Prepare failed. Task Id = 3 Module: HelloWorld Error: [EJB:011025]The XML parser encountered an error in your deployment descriptor. Please ensure that your DOCTYPE is correct. You may wish to compare your deployment descriptors with the WebLogic Server examples to ensure the format is correct. The error was: The public id, "-//Sun Microsystems, Inc.//DTD EnterpriseJavaBeans 2.0//EN", specified in the XML document is invalid. Use one of the following valid public ids: "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" .
I checked ejb-jar.xml file. It seems to be correct.
Please help...
thanks,
sjetty
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
EnterpriseJavaBeans should be Enterprise JavaBeans.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
It's clearly says that the problem is in u'r xml file. Can u paste u'r xml contents.
Cheers,
Jaya
 
I have always wanted to have a neighbor just like you - Fred Rogers. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic