File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

new to ejb - help needed

Sumitha Jetty
Greenhorn

Joined: Jan 05, 2004
Posts: 1
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

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


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

Joined: May 17, 2003
Posts: 8
hi,
It's clearly says that the problem is in u'r xml file. Can u paste u'r xml contents.
Cheers,
Jaya
 
Don't get me started about those stupid light bulbs.
 
subject: new to ejb - help needed
 
Similar Threads
ejb-jar.xml
deployment problem
error in ejb-jar file
Deploying Session Bean
problem deploying simple EJB in weblogic