2 Replies Latest reply on Feb 22, 2012 4:30 AM by jaspar

    JBoss AS 7.1.0 fails to start

    jaspar Newbie

      Heyho community,

       

      I'm currently facing problems trying to start JBoss AS 7.1.0 on my Windows 7 machine.

       

      The server's output on startup is as follows:

       

       

      Calling "C:\Program Files\JBoss\7.1.0\bin\standalone.conf.bat"

      ===============================================================================

       

       

        JBoss Bootstrap Environment

       

       

        JBOSS_HOME: C:\Program Files\JBoss\7.1.0

       

       

        JAVA: C:\Program Files\Java\jre7\bin\java

       

       

        JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx51

      2M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.se

      rver.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.war

      ning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.c

      onfig=standalone.xml

       

       

      ===============================================================================

       

       

      Unable to set property fileName on class org.jboss.logmanager.handlers.FileHandl

      er: java.lang.reflect.InvocationTargetException

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

              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

              at java.lang.reflect.Method.invoke(Unknown Source)

              at org.jboss.logmanager.PropertyConfigurator.configureProperties(Propert

      yConfigurator.java:187)

              at org.jboss.logmanager.PropertyConfigurator.configureHandler(PropertyCo

      nfigurator.java:312)

              at org.jboss.logmanager.PropertyConfigurator.configure(PropertyConfigura

      tor.java:128)

              at org.jboss.logmanager.PropertyConfigurator.configure(PropertyConfigura

      tor.java:86)

              at org.jboss.logmanager.LogManager.readConfiguration(LogManager.java:246

      )

              at org.jboss.logmanager.LogManager.readConfiguration(LogManager.java:231

      )

              at java.util.logging.LogManager$2.run(Unknown Source)

              at java.security.AccessController.doPrivileged(Native Method)

              at java.util.logging.LogManager.readPrimordialConfiguration(Unknown Sour

      ce)

              at java.util.logging.LogManager.getLogManager(Unknown Source)

              at java.util.logging.Logger.<init>(Unknown Source)

              at java.util.logging.LogManager$RootLogger.<init>(Unknown Source)

              at java.util.logging.LogManager$RootLogger.<init>(Unknown Source)

              at java.util.logging.LogManager$1.run(Unknown Source)

              at java.security.AccessController.doPrivileged(Native Method)

              at java.util.logging.LogManager.<clinit>(Unknown Source)

              at org.jboss.modules.Main.main(Main.java:275)

      Caused by: java.io.FileNotFoundException: C:\Program Files\JBoss\7.1.0\standalon

      e\log\boot.log (Das System kann den angegebenen Pfad nicht finden)

              at java.io.FileOutputStream.open(Native Method)

              at java.io.FileOutputStream.<init>(Unknown Source)

              at org.jboss.logmanager.handlers.FileHandler.setFile(FileHandler.java:15

      2)

              at org.jboss.logmanager.handlers.FileHandler.setFileName(FileHandler.jav

      a:183)

              ... 21 more

      09:53:43,580 Information [org.jboss.modules] JBoss Modules version 1.1.1.GA

      09:53:44,032 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

      09:53:44,094 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder" sta

      rting

      09:53:44,110 ERROR [org.jboss.msc.service.fail] MSC00001: Failed to start servic

      e jboss.as: org.jboss.msc.service.StartException in service jboss.as: Failed to

      start service

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont

      rollerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt

      .jar:1.7.0_03]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [r

      t.jar:1.7.0_03]

              at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_03]

      Caused by: java.lang.IllegalStateException: JBAS014920: Cannot create directory

      C:\Program Files\JBoss\7.1.0\standalone\data\content

              at org.jboss.as.repository.ContentRepository$Factory$ContentRepositoryIm

      pl.<init>(ContentRepository.java:127)

              at org.jboss.as.repository.ContentRepository$Factory.addService(ContentR

      epository.java:97)

              at org.jboss.as.server.ApplicationServerService.start(ApplicationServerS

      ervice.java:134) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se

      rviceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont

      rollerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

              ... 3 more

       

       

      09:53:44,125 ERROR [stderr] java.util.concurrent.ExecutionException: Operation f

      ailed

      09:53:44,125 ERROR [stderr]     at org.jboss.threads.AsyncFutureTask.operationFa

      iled(AsyncFutureTask.java:74)

      09:53:44,125 ERROR [stderr]     at org.jboss.threads.AsyncFutureTask.get(AsyncFu

      tureTask.java:268)

      09:53:44,125 ERROR [stderr]     at org.jboss.as.server.Main.main(Main.java:98)

      09:53:44,125 ERROR [stderr]     at sun.reflect.NativeMethodAccessorImpl.invoke0(

      Native Method)

      09:53:44,125 ERROR [stderr]     at sun.reflect.NativeMethodAccessorImpl.invoke(U

      nknown Source)

      09:53:44,141 ERROR [stderr]     at sun.reflect.DelegatingMethodAccessorImpl.invo

      ke(Unknown Source)

      09:53:44,141 ERROR [stderr]     at java.lang.reflect.Method.invoke(Unknown Sourc

      e)

      09:53:44,141 ERROR [stderr]     at org.jboss.modules.Module.run(Module.java:260)

       

       

      09:53:44,141 ERROR [stderr]     at org.jboss.modules.Main.main(Main.java:291)

      09:53:44,141 ERROR [stderr] Caused by: org.jboss.msc.service.StartException in s

      ervice jboss.as: Failed to start service

      09:53:44,141 ERROR [stderr]     at org.jboss.msc.service.ServiceControllerImpl$S

      tartTask.run(ServiceControllerImpl.java:1767)

      09:53:44,141 ERROR [stderr]     at java.util.concurrent.ThreadPoolExecutor.runWo

      rker(Unknown Source)

      09:53:44,141 ERROR [stderr]     at java.util.concurrent.ThreadPoolExecutor$Worke

      r.run(Unknown Source)

      09:53:44,141 ERROR [stderr]     at java.lang.Thread.run(Unknown Source)

      09:53:44,141 ERROR [stderr] Caused by: java.lang.IllegalStateException: JBAS0149

      20: Cannot create directory C:\Program Files\JBoss\7.1.0\standalone\data\content

       

       

      09:53:44,141 ERROR [stderr]     at org.jboss.as.repository.ContentRepository$Fac

      tory$ContentRepositoryImpl.<init>(ContentRepository.java:127)

      09:53:44,141 ERROR [stderr]     at org.jboss.as.repository.ContentRepository$Fac

      tory.addService(ContentRepository.java:97)

      09:53:44,141 ERROR [stderr]     at org.jboss.as.server.ApplicationServerService.

      start(ApplicationServerService.java:134)

      09:53:44,141 ERROR [stderr]     at org.jboss.msc.service.ServiceControllerImpl$S

      tartTask.startService(ServiceControllerImpl.java:1811)

      09:53:44,141 ERROR [stderr]     at org.jboss.msc.service.ServiceControllerImpl$S

      tartTask.run(ServiceControllerImpl.java:1746)

      09:53:44,141 ERROR [stderr]     ... 3 more

       

       

       

      Any help is highly appreciated.

       

      Regards

      Jaspar