Window7 下 Eclipse 部署JBOSS 下 The LogManager was not properly installed 问题解决

解决方法
http://theopentutorials.com/tutorials/java-ee/ejb3/how-to-setup-ejb3-development-environment-eclipse-jboss-7-1/

解决方法原文:

I have to tweak a little bit to get is work in Windows 7.

  1. Open Eclipse.
  2. Add Jboss 7.1 Runtime 1 server.
  3. Select the Server and press F3.
  4. Click on Open Launch Config.
  5. Goto VM arguments.
  6. Add the below two entries.
"-Djboss.modules.system.pkgs=org.jboss.byteman,org.jboss.logmanager" "-Djava.util.logging.manager=org.jboss.logmanager.LogManager"

Now select the Classpath TAB

  1. Select User Entries
  2. Click Add External Jars
  3. Select the three jar files

a) jboss-logmanager-1.2.0.GA.jar b) jboss-logmanager-log4j-1.0.0.GA.jar c) log4j-1.2.16.jar

Paths

C:/jboss-as-7.1.1.Final/modules/org/jboss/logmanager/main/jboss-logmanager-1.2.0.GA.jar”
C:/jboss-as-7.1.1.Final/modules/org/jboss/logmanager/log4j/main/jboss-logmanager-log4j-1.0.0.GA.jar”
C:/jboss-as-7.1.1.Final/modules/org/apache/log4j/main/log4j-1.2.16.jar”
This will start the standalone jboss without any issues.

你可能感兴趣的:(问题解决)