2 Replies Latest reply on Feb 17, 2014 12:50 PM by Wolf-Dieter Fink

    Jboss failed to start

    rayesuke takashi Newbie

      hello,

      when i start jboss server a problem occurs and it failed to start.

      this is what appears on the console:

      Unable to set property fileName on class org.jboss.logmanager.handlers.FileHandler: 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(PropertyConfigurator.java:187)

        at org.jboss.logmanager.PropertyConfigurator.configureHandler(PropertyConfigurator.java:312)

        at org.jboss.logmanager.PropertyConfigurator.configure(PropertyConfigurator.java:128)

        at org.jboss.logmanager.PropertyConfigurator.configure(PropertyConfigurator.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.util.logging.LogManager$2.run(Unknown Source)

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

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

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

        at java.util.logging.Logger.<init>(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-as-7.1.1.Final\jboss-as-7.1.1.Final\standalone\log\boot.log (Le chemin d’accès spécifié est introuvable)

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

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

        at org.jboss.logmanager.handlers.FileHandler.setFile(FileHandler.java:152)

        at org.jboss.logmanager.handlers.FileHandler.setFileName(FileHandler.java:183)

        ... 23 more

      12:45:56,632 Infos [org.jboss.modules] JBoss Modules version 1.1.1.GA

      java.lang.IllegalStateException: JBAS018704: Could not create server data directory: C:\Program Files\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\standalone\data

        at org.jboss.as.server.ServerEnvironment.<init>(ServerEnvironment.java:388)

        at org.jboss.as.server.Main.determineEnvironment(Main.java:242)

        at org.jboss.as.server.Main.main(Main.java:83)

        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.modules.Module.run(Module.java:260)

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