1 Reply Latest reply on Feb 3, 2004 6:20 PM by Luke Taylor

    Dukes Bank Deployment Error

    Jeff Furgal Newbie

      When I attemp to deploy the Dukes BAnk ear file, I get the following error(s) in the jBoss log:

      ---------------------

      16:59:23,839 INFO [MainDeployer] Starting deployment of package: file:/home/furgalj/src/jboss-3.2.3/server/default/deploy/JBossDukesBank.ear
      16:59:23,857 INFO [EARDeployer] Init J2EE application: file:/home/furgalj/src/jboss-3.2.3/server/default/deploy/JBossDukesBank.ear
      16:59:24,487 ERROR [XmlFileLoader] Premature end of file.:-1:-1
      org.xml.sax.SAXParseException: Premature end of file.
      at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:235)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:293)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)
      at org.jboss.deployment.ClientDeployer.create(ClientDeployer.java:104)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      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)
      16:59:24,528 ERROR [MainDeployer] could not create deployment: file:/home/furgalj/src/jboss-3.2.3/server/default/tmp/deploy/tmp42511JBossDukesBank.ear-contents/app-client.jar
      org.jboss.deployment.DeploymentException: Premature end of file.; - nested throwable: (org.xml.sax.SAXParseException: Premature end of file.)

      ------------

      Plus several more nested exceptions that seem to relate to the same problem. When I look inside the ear file, things look OK, but I'm not sure what to look for.