7 Replies Latest reply on May 22, 2009 8:41 AM by Ronald van Kuijk

    Could not make local copy for file: root/server/server/jbpm/

    Sanjay Kumar Newbie

      Hello everybody,

      I m getting following exception.when i m trying to start the server .I m using JBPM 3.2.2.

      13:24:30,296 ERROR [MainDeployer] Could not make local copy for file:/F:/JBPM/jbpm-jpdl-suite-3.2.2_2/jbpm-jpdl-3.2.2/server/server/jbpm/conf/jboss-service.xml
      java.io.IOException: Access is denied
      at java.io.WinNTFileSystem.createFileExclusively(Native Method)
      at java.io.File.checkAndCreate(File.java:1345)
      at java.io.File.createTempFile(File.java:1434)
      at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:1167)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:840)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:464)
      at java.lang.Thread.run(Thread.java:595)
      13:24:30,328 ERROR [MainDeployer] Could not initialise deployment: file:/F:/JBPM/jbpm-jpdl-suite-3.2.2_2/jbpm-jpdl-3.2.2/server/server/jbpm/conf/jboss-service.x
      ml
      org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml for archive jboss-service.xml
      at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:616)
      at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:464)
      at java.lang.Thread.run(Thread.java:595)
      Failed to boot JBoss:
      org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml for archive jboss-service.xml
      at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:616)
      at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:464)
      at java.lang.Thread.run(Thread.java:595)
      13:24:30,390 INFO [Server] Runtime shutdown hook called, forceHalt: true
      13:24:30,406 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      13:24:30,406 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM
      Press any key to continue . . .


      if anybody have idae about it please tell me.
      Thanks

        • 1. Re: Could not make local copy for file: root/server/server/j
          Ronald van Kuijk Master

          this is a JBoss AS issue. please ask in their forum

          • 2. Re: Could not make local copy for file of jboss-service.xml
            sdfgsdg gsg Newbie

            org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml

            at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:580)

            at org.jboss.deployment.SARDeployer.init(SARDeployer.java:164)

            at org.jboss.deployment.MainDeployer.init(MainDeployer.java:843)

            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)

            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)

            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:597)

            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)

            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)

            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)

            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)

            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)

            at $Proxy5.deploy(Unknown Source)

            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)

            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)

            at org.jboss.Main.boot(Main.java:187)

            at org.jboss.Main$1.run(Main.java:438)

            at java.lang.Thread.run(Thread.java:619)

            18:01:28,906 INFO [Server] Core system initialized

            18:01:28,935 ERROR [MainDeployer] Could not make local copy for file:/home/jboss/jboss-4.0.3SP1/server/default/conf/jboss-service.xml

            java.io.IOException: Permission denied

            at java.io.UnixFileSystem.createFileExclusively(Native Method)

            at java.io.File.checkAndCreate(File.java:1704)

            at java.io.File.createTempFile(File.java:1793)

            at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:1149)

            at org.jboss.deployment.MainDeployer.init(MainDeployer.java:822)

            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)

            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)

            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:597)

            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)

            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)

            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)

            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)

            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)

            at $Proxy5.deploy(Unknown Source)

            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)

            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)

            at org.jboss.Main.boot(Main.java:187)

            at org.jboss.Main$1.run(Main.java:438)

            at java.lang.Thread.run(Thread.java:619)

            18:01:28,948 ERROR [MainDeployer] Could not initialise deployment: file:/home/jboss/jboss-4.0.3SP1/server/default/conf/jboss-service.xml

            org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml

            at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:580)

            at org.jboss.deployment.SARDeployer.init(SARDeployer.java:164)

            at org.jboss.deployment.MainDeployer.init(MainDeployer.java:843)

            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)

            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)

            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:597)

            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)

            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)

            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)

            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)

            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)

            at $Proxy5.deploy(Unknown Source)

            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)

            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)

            at org.jboss.Main.boot(Main.java:187)

            at org.jboss.Main$1.run(Main.java:438)

            at java.lang.Thread.run(Thread.java:619)

            18:01:29,062 INFO [Server] Runtime shutdown hook called, forceHalt: true

            18:01:29,063 INFO [Server] JBoss SHUTDOWN: Undeploying all packages

            Shutting down

            18:01:29,079 INFO [Server] Shutdown complete

            Shutdown complete

            Halting VM

            • 4. Re: Could not make local copy for file: root/server/server/j
              Bredoux Yohann Newbie

              Hi,

              I just had the same problem.
              To fix it I verified the owner and group for the directory JBOSS_HOME\server\default\tmp\deploy which is the default target temp directory. It appeared that this directory had root as its owner and group while I was logged with a non administrative account.

              I changed the rights according to my account and it works fine.

              • 5. Re: Could not make local copy for file: root/server/server/j
                Chetan Saxena Newbie

                Same here.

                Even i had the same problem. It was for sure a Permissions issue.
                As soon as i reset the permission, everything came back to normal.....

                • 6. I too have same problem -Permission denied!
                  K Palani Newbie

                  i changed the file permission, after that also i am getting the same --- any idea

                  thank & regard's

                  Pal.