0 Replies Latest reply on Jan 6, 2012 2:23 PM by manolakis

    Unable to set property pattern on class PatternFormatter

    manolakis Newbie

      Hi guys,

       

      I am trying to run JBoss for the first time and I am getting the following error:

      ./standalone.sh

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

       

       

        JBoss Bootstrap Environment

       

       

        JBOSS_HOME: /Users/student/Desktop/jboss-as-7.1.0.CR1b

       

       

        JAVA: java

       

       

        JAVA_OPTS: -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true

       

       

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

       

       

      Unable to set property pattern on class org.jboss.logmanager.formatters.PatternFormatter: java.lang.reflect.InvocationTargetException

                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.logmanager.PropertyConfigurator.configureProperties(PropertyConfigurator.java:187)

                at org.jboss.logmanager.PropertyConfigurator.configureFormatter(PropertyConfigurator.java:360)

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

                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(LogManager.java:266)

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

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

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

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

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

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

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

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

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

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

      Caused by: java.lang.NullPointerException

                at java.util.TimeZone.parseCustomTimeZone(TimeZone.java:767)

                at java.util.TimeZone.getTimeZone(TimeZone.java:471)

                at java.util.TimeZone.setDefaultZone(TimeZone.java:576)

                at java.util.TimeZone.getDefaultRef(TimeZone.java:533)

                at java.util.TimeZone.getDefault(TimeZone.java:520)

                at org.jboss.logmanager.formatters.FormatStringParser.getSteps(FormatStringParser.java:68)

                at org.jboss.logmanager.formatters.PatternFormatter.setPattern(PatternFormatter.java:63)

       

       

      Does anybody know what it is and what i have to do to fix it?