NetBeans 6.1 & JBoss 5.0.0CR1 doesn't run
nightnic Jul 22, 2008 11:36 AMHello,
I'm using NetBeans from JDK 5.0 Update 16 bundle and trying to run a web application for JBoss version 5.0.0CR1. The web application is created by wizard and no functionality is added. I try to run it as it is.
When I press run button, IDE builds the project says "Starting JBoss Application Server" and remains in this state indefinitely. Log file of NetBeans contains the following:
Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@1bdd094, cause: org/apache/log4j/LogManager
Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@1c514a7, cause: org/apache/log4j/LogManager
INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: JBoss Application Server
Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@adf14, cause: org/apache/log4j/LogManager
Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@db5354, cause: org/apache/log4j/LogManager
INFO [org.netbeans.modules.j2ee.deployment.impl.ProgressObjectUtil]
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:926)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1201)
at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:245)
[catch] at org.netbeans.modules.j2ee.deployment.impl.ProgressObjectUtil.trackProgressObject(ProgressObjectUtil.java:107)
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._start(ServerInstance.java:1295)
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1251)
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1062)
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(ServerInstance.java:939)
at org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:428)
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:143)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
INFO [global]
org.netbeans.modules.j2ee.deployment.impl.ServerException: Starting JBoss Application Server
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._start(ServerInstance.java:1297)
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1251)
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1062)
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(ServerInstance.java:939)
at org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:428)
[catch] at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:143)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@1eaed4b, cause: org/apache/log4j/LogManager
Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@111735e, cause: org/apache/log4j/LogManager
INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: JBoss Application Server
Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@1f5d5ea, cause: org/apache/log4j/LogManager
Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@c43f00, cause: org/apache/log4j/LogManager
When run outside IDE, JBoss starts ok. In case this error due to incompatible JBoss version, please let me know, which is the latest one which works good with NetBeans 6.1.
Product Version: NetBeans IDE 6.1 (Build 200805300101)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-b02
No other JRE in the system, never was one.