Discussion:
[jboss-user] [JBoss Tools] - Re: Cannot start AS 7.1 Final LogManager error
jaikiran pai
2012-02-09 17:40:09 UTC
Permalink
jaikiran pai [https://community.jboss.org/people/jaikiran] created the discussion

"Re: Cannot start AS 7.1 Final LogManager error"

To view the discussion, visit: https://community.jboss.org/message/715618#715618

--------------------------------------------------------------
Moved to JBoss Tools forum.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/715618#715618]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Max Rydahl Andersen
2012-02-09 18:23:18 UTC
Permalink
Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] created the discussion

"Re: Cannot start AS 7.1 Final LogManager error"

To view the discussion, visit: https://community.jboss.org/message/715632#715632

--------------------------------------------------------------
AS7.1 snapshots have had problems the last week or so.

One being AS7.1 not able to handle spaces - that got fixed today afaik
Another about AS7.1 failing on -logmodule. That got fixed a few days ago.

My last downloaded AS7.1 snapshot works fine for me on OSX so would be good to hear which exact build version of AS7.1 you are tryingout ?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/715632#715632]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Tanya Ruttenberg
2012-02-09 18:25:14 UTC
Permalink
Tanya Ruttenberg [https://community.jboss.org/people/daxxy] created the discussion

"Re: Cannot start AS 7.1 Final LogManager error"

To view the discussion, visit: https://community.jboss.org/message/715633#715633

--------------------------------------------------------------
7.1.0CR1b

I just downloaded it a couple of hours ago
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/715633#715633]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Max Rydahl Andersen
2012-02-09 18:51:42 UTC
Permalink
Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] created the discussion

"Re: Cannot start AS 7.1 Final LogManager error"

To view the discussion, visit: https://community.jboss.org/message/715639#715639

--------------------------------------------------------------
hmm - please open bug at https://jira.jboss.org/jira/browse/JBIDE https://jira.jboss.org/jira/browse/JBIDE with the details and we'll take a look.

7.1.0CR1b definitely starts on osx, linux and at least *some* windows users so need to find what makes you "special" :)
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/715639#715639]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Tanya Ruttenberg
2012-02-09 19:47:24 UTC
Permalink
Tanya Ruttenberg [https://community.jboss.org/people/daxxy] created the discussion

"Re: Cannot start AS 7.1 Final LogManager error"

To view the discussion, visit: https://community.jboss.org/message/715648#715648

--------------------------------------------------------------
Before I open a bug I decided to straighten out my Jboss Tools installation.  I was updating from both the nightly build site and the stable jboss tools site and things got a little confused. So I figured out finally how to install a stable recent version from Eclipse marketplace (yay) and I still have the problem (boo).

If I understand correctly, there are 2 ways to define a log manager. You can either give a "program argument" like this (remember I'm doing this from within eclipse)

    -logmodule org.jboss.logmanager

OR define it in the "VM arguments"

     -Djava.util.logging.manager=org.jboss.logmanager.LogManager

I have tried every combination of those two things, ie neither, just -logmodule, just -Djava.util.logging.manager, both together.  ?

And yet the problem persists.  I would really love to be able to manage my server from within eclipse, but so far it's a no go.
Any other ideas Max, et al?

TDR
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/715648#715648]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Rob Cernich
2012-02-09 19:54:00 UTC
Permalink
Rob Cernich [https://community.jboss.org/people/rcernich] created the discussion

"Re: Cannot start AS 7.1 Final LogManager error"

To view the discussion, visit: https://community.jboss.org/message/715652#715652

--------------------------------------------------------------
I ran into this myself a couple days ago.  Try the following:

Open the launch configuration for the server definition.
Add: -logmodule org.jboss.logmanager to the program arguments before org.jboss.as.standalone

Hope that helps,
Rob
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/715652#715652]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Max Rydahl Andersen
2012-02-09 19:56:22 UTC
Permalink
Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] created the discussion

"Re: Cannot start AS 7.1 Final LogManager error"

To view the discussion, visit: https://community.jboss.org/message/715655#715655

--------------------------------------------------------------
Yes - what Rob said.

Tanya - after your email I checked and yes -logmodule org.jboss.logmanager is the right thing to put there but only in program arguments not vm arguments.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/715655#715655]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Tanya Ruttenberg
2012-02-09 20:01:06 UTC
Permalink
Tanya Ruttenberg [https://community.jboss.org/people/daxxy] created the discussion

"Re: Cannot start AS 7.1 Final LogManager error"

To view the discussion, visit: https://community.jboss.org/message/715657#715657

--------------------------------------------------------------
I actually did play around with the order of the program arguments, but apparently not enough.  What Rob said is exactly what worked.

FTR

-mp "D:/Development2/jboss-as-7.1.0.CR1b/modules" -jaxpmodule javax.xml.jaxp-provider -logmodule org.jboss.logmanager org.jboss.as.standalone -b 0.0.0.0 --server-config=standalone.xml


Thanks Rob and Max!
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/715657#715657]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Marcel Bussien
2012-02-13 16:57:07 UTC
Permalink
Marcel Bussien [https://community.jboss.org/people/bussien] created the discussion

"Re: Cannot start AS 7.1 Final LogManager error"

To view the discussion, visit: https://community.jboss.org/message/716251#716251

--------------------------------------------------------------
maybe its the order of the argument:
-mp "C:/jboss-as-7.1.0.CR1b/modules" -logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone  --server-config=standalone.xml   
my server starts fasts and correct but after a while it 'encountered a problem' (Server JBoss 7.1 Runtime Server failed to start. )
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/716251#716251]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
George Sand
2013-04-22 07:32:05 UTC
Permalink
George Sand [https://community.jboss.org/people/iqgeo1] created the discussion

"Re: Cannot start AS 7.1 Final LogManager error"

To view the discussion, visit: https://community.jboss.org/message/809498#809498

--------------------------------------------------------------
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
[https://community.jboss.org/message/809498#809498]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Shaler Wells
2013-06-23 04:51:51 UTC
Permalink
Shaler Wells [https://community.jboss.org/people/shaler] created the discussion

"Re: Cannot start AS 7.1 Final LogManager error"

To view the discussion, visit: https://community.jboss.org/message/824453#824453

--------------------------------------------------------------
I had this issue after attempting to migrate from geronimo. My layout was an Ear that contained 2 wars. I had all my dependencies defined in the war pom files, and nothing in the ear pom files. I moved all my dependencies to the ear except for a SOA server dependency and an impl project. The dependencies in the war are all marked as provided.
Hope this helps.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/824453#824453]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
avinash kirpekar
2012-04-30 19:38:43 UTC
Permalink
avinash kirpekar [https://community.jboss.org/people/sskirpekar] created the discussion

"Re: Cannot start AS 7.1 Final LogManager error"

To view the discussion, visit: https://community.jboss.org/message/733069#733069

--------------------------------------------------------------
Hi ,
I am also getting the same error ..
The LogManager was not properly installed (you must set the "java.util.logging.manager" system property to "org.jboss.logmanager.LogManager")#

where exactly I need to set
*
-mp "c:/jboss-as-7.1.0.CR1b/modules" -jaxpmodule javax.xml.jaxp-provider -logmodule org.jboss.logmanager org.jboss.as.standalone -b 0.0.0.0 --server-config=standalone.xml
where I will get the launch configuration  ...

i mean where I will see the launch configuration ..
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/733069#733069]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Peter Oxenham
2013-03-12 22:54:12 UTC
Permalink
Peter Oxenham [https://community.jboss.org/people/peterox] created the discussion

"Re: Cannot start AS 7.1 Final LogManager error"

To view the discussion, visit: https://community.jboss.org/message/802228#802228

--------------------------------------------------------------
I had the same problem and found that removing the following VM parameters fixed it for me.

-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=6789
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/802228#802228]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Max Rydahl Andersen
2013-03-13 15:55:18 UTC
Permalink
Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] created the discussion

"Re: Cannot start AS 7.1 Final LogManager error"

To view the discussion, visit: https://community.jboss.org/message/802405#802405

--------------------------------------------------------------
where did you see those ? in jboss tools launch configuration for AS ?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/802405#802405]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Loading...