JBoss Community

Re: Cannot start AS 7.1 Final LogManager error

created by George Sand in JBoss Tools - View the full discussion

HI

 

I also have the same issue , i configured the jboss server arguments but it still receive this errors:

 

 

"

WARNING: -logmodule is deprecated. Please use the system property 'java.util.logging.manager' or the 'java

WARNING: Failed to load the specified log manager class org.jboss.logmanager.LogManager

Exception in thread "main" java.lang.ExceptionInInitializerError

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

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

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

Caused by: java.lang.IllegalStateException: The LogManager was not properly installed (you must set the "j

        at org.jboss.logmanager.Logger.getLogger(Logger.java:60)

        at org.jboss.logmanager.log4j.BridgeRepositorySelector.<clinit>(BridgeRepositorySelector.java:42)

 

"

 

I am  using jboss-7.1.1 can you help my with the corect settings :

 

My standalone.conf.abt file config i add the line

"

set "JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.snmp.port=6559 -Dcom.sun.management.snmp.acl.file=jre/lib/management/snmp.acl -Dcom.sun.management.snmp.interface=0.0.0.0"

"

 

and on the config file standalone.bat I addes

 

"

"-Dorg.jboss.boot.log.file=%JBOSS_LOG_DIR%\boot.log" ^

"-Dlogging.configuration=file:%JBOSS_CONFIG_DIR%/logging.properties" ^

    -jar "%JBOSS_HOME%\jboss-modules.jar" ^

    -mp "%JBOSS_MODULEPATH%" ^

    -jaxpmodule "javax.xml.jaxp-provider" ^

      -logmodule org.jboss.logmanager ^

     org.jboss.as.standalone ^

    -Djboss.home.dir="%JBOSS_HOME%" ^

     %*

"

 

but nothing can you help me ??

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community