deployment error

G

gk

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 ?
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

gk said:
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 ?

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top