1 Reply Latest reply on Feb 19, 2006 8:52 PM by brogers

    Problem Deploying FiboApp.ear

    brogers

      I am having trouble deploying the Fibo tutorial. Specifically I am getting the following error:

      00:50:12,354 ERROR [MainDeployer] Could not initialise deployment: file:/usr/local/jboss-4.0.4RC1/server/all/deploy/FiboApp.ear
      org.jboss.deployment.DeploymentException: Invalid XML: file=META-INF/application.xml@6:2; - nested throwable: (org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.)
      


      Here is my application.xml, I cannot see what is wrong, perhaps I am missig something:
      ?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE application PUBLIC
       "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
       "http://java.sun.com/dtd/application_1_3.dtd">
      <application>
       <display-name>Sun Application</display-name>
       <module>
       <ejb>FiboEJB.jar</ejb>
       </module>
       <module>
       <web>
       <web-uri>FiboWeb.war</web-uri>
       <context-root>/fibo</context-root>
       </web>
       </module>
      </application>
      


      Versions:
      Ecliplse: 3.1.1
      JBOSS: 4.0.4RC1
      IDE: 1.5.0

      Thx


        • 1. Re: Problem Deploying FiboApp.ear
          brogers

          I was able to solve my problem

          I found out that my xml file had a blank line at the top. Although I had deleted it and re-deployed I still had the problem .

          It was not unitl I re-ran the packaging and then re-deployed that I was able to deploy the FiboApp.

          Thank you again.