Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2007

Tip: Looking for answers? Try searching our database.

deployment error

Thread view: 
gk - 07 Nov 2007 12:35 GMT
getting deployment of   an  EAR file while deploying into weblogic
server.

weblogic.management.DeploymentException: Error while loading
descriptors: Error processing file 'META-INF/application.xml'.
weblogic.xml.process.XMLProcessingException: XML document does not
appear to contain a properly formed DOCTYPE header - with nested
exception: [weblogic.xml.process.ProcessorFactoryException: XML
document does not appear to contain a properly formed DOCTYPE header]
- with nested exception:
[weblogic.xml.process.ProcessorFactoryException: XML document does not
appear to contain a properly formed DOCTYPE header]

here is my
application.xml
----------------
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance" version="1.4"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
 <display-name>MyappApp</display-name>
 <module id="myeclipse.1194433037372">
   <web>
     <web-uri>MyappAppWeb.war</web-uri>
     <context-root>/MyappAppWeb</context-root>
   </web>
 </module>
 <module id="myeclipse.1194433038075">
   <ejb>MyappAppEJB.jar</ejb>
 </module>
</application>

any suggestion to remove the error  ?
Arne Vajhøj - 12 Nov 2007 03:14 GMT
> getting deployment of   an  EAR file while deploying into weblogic
> server.
[quoted text clipped - 30 lines]
>
> any suggestion to remove the error  ?

Try with an 1.3 style:

<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">

Arne


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.