1 Reply Latest reply on Feb 25, 2005 9:04 AM by teclis

    re - Deployment failing

    Greg Lloyd Newbie

      I am using myeclipse as a developement tool and I am not sure if this has to do with Jboss or MyEclipse, but I figured I would start here.

      When ever I redeploy my application, using myeclipse, I get the following error message and the deployment fails. This forces me to stop and restart the server, very annoying. Any help would be appreciated.

      16:08:07,912 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.0.1RC2/server/default/deploy/TATrackerEAR.ear/
      16:08:07,912 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss-4.0.1RC2/server/default/deploy/TATrackerEAR.ear/
      org.jboss.deployment.DeploymentException: url file:/C:/jboss-4.0.1RC2/server/default/deploy/TATrackerEAR.ear/TATrackerWAR.war could not be opened, does it exist?
      at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:175)
      at org.jboss.deployment.EARDeployer.init(EARDeployer.java:236)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:175)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)

        • 1. Re: re - Deployment failing
          teclis Newbie

          Hi,

          I am having the same problem under JBoss 3.2.6

          I try to deploy a war file on the running server and I get the same error

          2005-02-25 15:01:26,815 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@9605439e{ url=file:/C:/jboss-3.2.6/server/default/deploy/pblink.war, deployedLastModified=0 }
          org.jboss.deployment.DeploymentException: url file:/C:/jboss-3.2.6/server/default/deploy/pblink.war could not be opened, does it exist?
           at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:173)
           at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:603)
           at sun.reflect.GeneratedMethodAccessor18.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)
          2005-02-25 15:01:26,815 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/jboss-3.2.6/server/default/deploy/pblink.war -> file:/C:/jboss-3.2.6/server/default/deploy/pblink.war
          


          If I start the JBoss server with the war in the deploy directory, it works fine, but hot deployment fails.

          For information, I am using the "default" configuration of JBoss.

          Does somebody has any idea to solve that problem ?

          Thanks in advance

          Olivier