4 Replies Latest reply on Oct 27, 2013 3:56 PM by Hlulani Mhlongo

    unable to jboss EAP 6.1 configure on Ubuntu 12.04

    Abhishek Jain Newbie

      Hi

       

      I am beginner to Jboss AS. I want to configure Jboss EAP 6.1 on ubuntu 12.04 LTS Server.

       

      But I am not able to configure. I get error:

       

      appserver@abhiserver:/usr/local/jboss/bin$ ./standalone.sh -Djboss.bind.address=10.125.201.134 -Djboss.bind.address.management=10.125.201.134&

      [1] 2661

      appserver@abhiserver:/usr/local/jboss/bin$ =========================================================================

       

        JBoss Bootstrap Environment

       

        JBOSS_HOME: /usr/local/jboss

       

        JAVA: /usr/local/java/jdk1.7.0_25/bin/java

       

        JAVA_OPTS:  -server -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true

       

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

       

      java.lang.IllegalArgumentException: Failed to instantiate class "org.jboss.logmanager.handlers.PeriodicRotatingFileHandler" for handler "FILE"

              at org.jboss.logmanager.config.AbstractPropertyConfiguration$ConstructAction.validate(AbstractPropertyConfiguration.java:118)

              at org.jboss.logmanager.config.LogContextConfigurationImpl.doPrepare(LogContextConfigurationImpl.java:333)

              at org.jboss.logmanager.config.LogContextConfigurationImpl.prepare(LogContextConfigurationImpl.java:290)

              at org.jboss.logmanager.config.LogContextConfigurationImpl.commit(LogContextConfigurationImpl.java:299)

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

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

              at org.jboss.as.logging.logmanager.ConfigurationPersistence.configure(ConfigurationPersistence.java:128)

              at org.jboss.logmanager.LogManager.readConfiguration(LogManager.java:300)

              at org.jboss.logmanager.LogManager.readConfiguration(LogManager.java:262)

              at java.util.logging.LogManager$2.run(LogManager.java:285)

              at java.util.logging.LogManager$2.run(LogManager.java:283)

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

              at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:283)

              at java.util.logging.LogManager.getLogManager(LogManager.java:265)

              at java.util.logging.Logger.<init>(Logger.java:264)

              at java.util.logging.Logger.<init>(Logger.java:260)

              at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:1317)

              at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:1315)

              at java.util.logging.LogManager$1.run(LogManager.java:196)

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

              at java.util.logging.LogManager.<clinit>(LogManager.java:173)

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

      Caused by: java.lang.reflect.InvocationTargetException

              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

              at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

              at org.jboss.logmanager.config.AbstractPropertyConfiguration$ConstructAction.validate(AbstractPropertyConfiguration.java:116)

              ... 21 more

      Caused by: java.io.FileNotFoundException: /usr/local/jboss/standalone/log/server.log (No such file or directory)

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

              at java.io.FileOutputStream.<init>(FileOutputStream.java:212)

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

              at org.jboss.logmanager.handlers.PeriodicRotatingFileHandler.setFile(PeriodicRotatingFileHandler.java:105)

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

              at org.jboss.logmanager.handlers.FileHandler.<init>(FileHandler.java:122)

              at org.jboss.logmanager.handlers.PeriodicRotatingFileHandler.<init>(PeriodicRotatingFileHandler.java:73)

              ... 26 more

       

      Kindly give me solution for it.