2 Replies Latest reply on Sep 17, 2014 9:19 AM by pns41j

    Accidentally tmp files moved

    pns41j

      Hi all,

      I have jboss-as 7.2. Accidentally, the tmps files was moved without stoping the service. I restablish the tmp files but now, the server is failing to start.

      I apreciate any advice to solve the problem.

      thanks in advance!

       

       

      ===console.log===

      [0m09:46:20,064 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.0.CR1
      [0m [0m09:46:20,356 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA
      [0m [0m09:46:20,466 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015899: JBoss AS 7.2.0.Final "Janus" starting
      [0m [31m09:46:20,693 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment-mount-provider: org.jboss.msc.service.StartException in service jboss.deployment-mount-provider: JBAS015843: Failed to create temp file provider
      at org.jboss.as.server.deployment.DeploymentMountProvider$Factory$ServerDeploymentRepositoryImpl.start(DeploymentMountProvider.java:111) [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_37]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_37]
      at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_37]

      [0m

        • 1. Re: Accidentally tmp files moved
          wdfink

          What directory did you removed?

          In general you can stop the server and delete standalone/tmp or domain/tmp and restart the server. The directories should be build again.

          Also if you have no H2 local database and you do not need transaction recovery or ejb-timer persistence you can delete the data directory as well.

           

          The server should be able to start without problems then.

          1 of 1 people found this helpful
          • 2. Re: Accidentally tmp files moved
            pns41j

            I moved all the content of tmp directory.

            Finally, the problem has been solved:

            1. stoping the service

            2. putting the content of tmp directory againg and using chmod  770 -R  ./tmp

            3. starting jboss

            Thanks Wolf-Dieter!