[jboss-user] [Beginners Corner] - Re: Cant deply an .ear file into the JBOSS.

chairill do-not-reply at jboss.com
Wed May 6 03:02:19 EDT 2009


"jaikiran" wrote : anonymous wrote : :/usr/jboss/jboss-5.0.0.GA/server/default/deploy/application1.ear/webapp1.war/WEB-INF/classes/META-INF/application.xml
  | 
  | Looks like you have the application.xml at the wrong place (WEB-INF/classes/META-INF/application.xml). The application.xml should be at .ear/META-INF/application.xml
  | 
actually im trying to deploy adf application from jdev11g to jboss5.0.0Ga server.but i'm having a difficulty to do that

i'm using jdeveloper 11g to create the application.xml file. when i created deployment descriptor file its automatically reside there. what happend if i just removed the files? should it work?



everytime i created application.xml files.. i got error below  ..there is something wrong with the .xml files. please help me

anonymous wrote : 
  | *** CONTEXTS IN ERROR: Name -> Error
  | 
  | vfszip:/usr/jboss/jboss-5.0.0.GA/server/default/deploy/application3.ear -> org.xml.sax.SAXException: cvc-complex-type.2.4.b: The content of element 'application' is not complete. One of '{"http://java.sun.com/xml/ns/javaee":display-name, "http://java.sun.com/xml/ns/javaee":icon, "http://java.sun.com/xml/ns/javaee":module}' is expected. @ vfszip:/usr/jboss/jboss-5.0.0.GA/server/default/deploy/application3.ear/ejb1.jar/META-INF/application.xml[4,15]
  | 
  | 


this is the application.xml looks like
anonymous wrote : 
  | <?xml version = '1.0' encoding = 'windows-1252'?>
  | <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5" xmlns="http://java.sun.com/xml/ns/javaee">
  |     <display-name>Model-application</display-name>
  | 
  | 


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228835#4228835

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228835



More information about the jboss-user mailing list