我下载了 JBoss 5.1 并解压到
~/jboss/
这样 JBoss 安装到:
~/jboss/jboss-5.1.0.GA/
我使用 jboss/jboss-5.1.0.GA/bin 中的以下命令运行默认部署
./run.sh -c default
当 JBoss 启动时 (http://127.0.0.1:8080/),没有部署 admin-console。日志文件:
jboss/jboss-5.1.0.GA/server/default/log
显示以下信息:
DEPLOYMENTS IN ERROR:
Deployment "vfsfile:/Users/jackwootton/jboss/jboss-5.1.0.GA/server/default/deploy/admin-console.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/Users/jackwootton/jboss/jboss-5.1.0.GA/server/default/tmp/az6n6v-tjilfb-h32fokxn-1-h32fosuo-v/admin-console.war/ deployment failed
Deployment "vfszip:/Users/jackwootton/jboss/jboss-5.1.0.GA/server/default/deploy/quartz-ra.rar/" is in error due to the following reason(s): org.apache.commons.logging.LogConfigurationException: User-specified log class 'org.apache.commons.logging.impl.Log4JLogger' cannot be found or is not useable.
Log4J jar 文件存在于:
jboss/jboss-5.1.0.GA/lib/jboss-logging-log4j.jar
我有三个问题:
我是否正确理解了问题(即管理控制台找不到所需的 Log4j JAR 文件,因此未部署)?
我能做些什么来解决这个问题?
为什么开箱即用的部署首先会出现这个问题?