This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Exception while deploying a statelesssession bean jar file in weblogic 8.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Exception while deploying a statelesssession bean jar file in weblogic 8.1" Watch "Exception while deploying a statelesssession bean jar file in weblogic 8.1" New topic
Author

Exception while deploying a statelesssession bean jar file in weblogic 8.1

madupathi arun
Greenhorn

Joined: Feb 25, 2008
Posts: 23
Exception:weblogic.management.ApplicationException: Prepare failed. ]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: XML document does not appear to contain a properly formed DOCTYPE header. .

can anybody help me on this
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Your deployment descriptor is not written properly. The DOCTYPE headers for all deployment descriptors can be found here.


[My Blog]
All roads lead to JavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Exception while deploying a statelesssession bean jar file in weblogic 8.1