1 Reply Latest reply on Jun 18, 2003 5:04 PM by Larry Wilson

    Access Denied Deploying WAR on XP

    Larry Wilson Newbie

      OK, I must have messed something up because this used to work.... However, I've ground though all of the xml, properties files, etc. and even tried reinstalling, and no luck. The same war deploys successfully (by copying the file) on a Linux installation.

      On my XP (don't ask) local server, when I copy the war to the default deploy directory, I get:

      13:59:47,375 INFO [MainDeployer] Starting deployment of package: file:/C:/Java/jboss-4.0.0DR1/server/default/deploy/imcAdmin.war
      13:59:47,385 ERROR [MainDeployer] Could not make local copy for file:/C:/Java/jboss-4.0.0DR1/server/default/deploy/imcAdmin.war
      java.io.FileNotFoundException: C:\Java\jboss-4.0.0DR1\server\default\tmp\deploy\server\default\deploy\imcAdmin.war\45.imcAdmin.war (Access i
      s denied)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.(FileOutputStream.java:179)
      at java.io.FileOutputStream.(FileOutputStream.java:131)
      at org.jboss.deployment.MainDeployer.copy(MainDeployer.java:1148)
      at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:1102)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:630)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:582)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:558)
      at sun.reflect.GeneratedMethodAccessor23.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:72)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:155)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:172)
      at $Proxy9.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:405)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:529)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:211)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)
      13:59:47,395 INFO [Manager] cloning Manager: org.mortbay.j2ee.session.Manager@df2940
      13:59:47,395 INFO [JBossWebApplicationContext] setDistributableSessionManager org.mortbay.j2ee.session.Manager@7857a5
      13:59:47,395 WARN [jbossweb] WARNING: No MBean for WebApplicationContext[/imcAdmin,file:/C:/Java/jboss-4.0.0DR1/server/default/tmp/deploy/s
      erver/default/deploy/imcAdmin.war/45.imcAdmin.war/]
      13:59:47,506 WARN [jbossweb] WARNING: No WEB-INF/web.xml in file:/C:/Java/jboss-4.0.0DR1/server/default/tmp/deploy/server/default/deploy/im
      cAdmin.war/45.imcAdmin.war/. Serving files and default/dynamic servlets only
      13:59:47,596 INFO [jbossweb] Started WebApplicationContext[/imcAdmin,file:/C:/Java/jboss-4.0.0DR1/server/default/tmp/deploy/server/default/
      deploy/imcAdmin.war/45.imcAdmin.war/]
      13:59:47,606 INFO [jbossweb] successfully deployed file:/C:/Java/jboss-4.0.0DR1/server/default/tmp/deploy/server/default/deploy/imcAdmin.wa
      r/45.imcAdmin.war/ to /imcAdmin
      13:59:47,616 INFO [MainDeployer] Deployed package: file:/C:/Java/jboss-4.0.0DR1/server/default/deploy/imcAdmin.war

      Needless to say my application doesn't load. The default web-console war loads and runs just fine.

      System is XP, using JBoss 4.0DR1, JDK1.4.2. I have recently applied one of the XP security patches. There are no special rights access changes I've made - I have administrator rights on the XP system.

      Anyone have any hunch about what might be broken here?