File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes new to ejb -  help needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "new to ejb -  help needed" Watch "new to ejb -  help needed" New topic

new to ejb - help needed

Sumitha Jetty

Joined: Jan 05, 2004
Posts: 1
hi everyone,
iam trying to deploy the helloworld ejb jar on weblogic server. It shows the following exception: 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...
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
EnterpriseJavaBeans should be Enterprise JavaBeans.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
jaya jaya

Joined: May 17, 2003
Posts: 8
It's clearly says that the problem is in u'r xml file. Can u paste u'r xml contents.
I agree. Here's the link:
subject: new to ejb - help needed
It's not a secret anymore!