I've just moved to JBoss7 for development and am having a lot of difficulty getting this to run in Eclipse Indigo properly. I'm trying to debug a web service, so I am using the standalone-preview.xml configuration file. When I launch from command line, it works fine, but from Eclipse, for some strange reason, JBoss just freezes. I have JBoss AS Tools 3.3.0 M5 installed and have configured the Server runtime environment properly (or so I think). If I click on "Start" it completes its launch cycle properly. However, if I click on "Debug", it freezes with the following stack trace in the Eclipse console window:
12:40:03,017 INFO [org.jboss.modules] JBoss Modules version 1.0.2.GA
12:40:03,454 INFO [org.jboss.msc] JBoss MSC version 1.0.1.GA
12:40:03,563 INFO [org.jboss.as] JBoss AS 7.0.2.Final "Arc" starting
12:40:05,368 WARN [org.jboss.as] No security realm defined for native management service, all access will be unrestricted.
12:40:05,382 INFO [org.jboss.as] creating http management service using network interface (management) port (9990)
12:40:05,385 WARN [org.jboss.as] No security realm defined for http management service, all access will be unrestricted.
12:40:05,405 INFO [org.jboss.as.logging] Removing bootstrap log handlers
12:40:05,443 INFO [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)
12:40:05,478 INFO [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.
12:40:05,544 INFO [org.jboss.as.jacorb] (Controller Boot Thread) Activating JacORB Subsystem
12:40:05,631 INFO [org.jboss.as.naming] (Controller Boot Thread) JBAS011800: Activating Naming Subsystem
12:40:05,647 INFO [org.jboss.as.naming] (MSC service thread 1-5) JBAS011802: Starting Naming Service
12:40:05,657 INFO [org.jboss.as.osgi] (Controller Boot Thread) JBAS011910: Activating OSGi Subsystem
12:40:05,692 INFO [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem
12:40:05,699 INFO [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 3.2.0.Beta2
12:40:05,730 INFO [org.xnio] (MSC service thread 1-2) XNIO Version 3.0.0.Beta3
12:40:05,753 INFO [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.0.0.Beta3
12:40:06,253 INFO [org.jboss.as.webservices] (Controller Boot Thread) Activating WebServices Extension
At this point, it just hangs and does nothing else. The Servers view indicates that it is "Starting", but never gets to the "Started" state. If I try to stop it from within Eclipse, then I get an error message that "Server JBoss 7.0 Runtime Server failed to stop.", and I have to kill the process by hand.
I checked the boot.log or server.log files for any additional hints, but don't see anything else there either.
Can anyone help? Is there something wrong with the standalone-preview.xml configuration file? I'm running on Win 7x64.
I just tried switching my JRE from an IBM JRE shipped with WebSphere to the standard Oracle JRE and it will progress further with Oracle's JRE, but still doesn't complete it's launch. Can anyone explain with the IBM jre would cause it to freeze when launching from Eclipse? Like I said, it runs fine if I launch from command line.