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.

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值