1 Reply Latest reply on Mar 17, 2005 12:51 PM by fabrefumi

    deploy of FiboApp.ear

    fabrefumi

      Hello to all,

      Trying to deploy FiboApp.ear from Eclipse with JBOSS eclipse IDE this error has appeared.

      Other forum topic argues that its possible that application.xml was wrong, but I did'nt find wrong anything.

      Someone can help me.¿?

      Thanks in advance.


      17:31:36,689 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-3.2.6/server/default/deploy/FiboApp.ear
      17:31:36,721 ERROR [XmlFileLoader] Premature end of file.:-1:-1
      org.xml.sax.SAXParseException: Premature end of file.
      at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:293)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)
      at org.jboss.deployment.EARDeployer.init(EARDeployer.java:123)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
      at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)

        • 1. Re: deploy of FiboApp.ear
          fabrefumi

          hello

          I fixed it!, if you rename the FiboApp.ear to zip and unzip, I observe that application.xml was empty. After that I revise all paths of the packaging and i have executed another time the run xdoclet and run packaging. this solve it.

          after that i see that the debug shows another issue, he didn't find the *.war, i go back from the tutorial where you choose the .war location, that didn't exist before, now i choose the fli from the file chooser another time, and all works fine!

          I expect to help you!