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