Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

new to ejb - help needed

 
Sumitha Jetty
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EnterpriseJavaBeans should be Enterprise JavaBeans.
 
jaya jaya
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic