By the way, I was mistaken about -Djboss.platform.mbeanserver by itself. Actually, it gives me an exception as well:
Bootstrap Environment
JBOSS_HOME: /opt/jboss
JAVA: java
JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1109 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djboss.platform.mbeanserver -Djava.net.preferIPv4Stack=true
CLASSPATH: /opt/jboss/bin/run.jar
=========================================================================
12:07:55,173 INFO [ServerImpl] Starting JBoss (Microcontainer)...
12:07:55,173 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048)
12:07:55,174 INFO [ServerImpl] Bootstrap URL: null
12:07:55,174 INFO [ServerImpl] Home Dir: /opt/jboss-5.0.1.GA
12:07:55,174 INFO [ServerImpl] Home URL: file:/opt/jboss-5.0.1.GA/
12:07:55,174 INFO [ServerImpl] Library URL: file:/opt/jboss-5.0.1.GA/lib/
12:07:55,174 INFO [ServerImpl] Patch URL: null
12:07:55,174 INFO [ServerImpl] Common Base URL: file:/opt/jboss-5.0.1.GA/common/
12:07:55,174 INFO [ServerImpl] Common Library URL: file:/opt/jboss-5.0.1.GA/common/lib/
12:07:55,174 INFO [ServerImpl] Server Name: contactsapi
12:07:55,174 INFO [ServerImpl] Server Base Dir: /opt/jboss-5.0.1.GA/server
12:07:55,174 INFO [ServerImpl] Server Base URL: file:/opt/jboss-5.0.1.GA/server/
12:07:55,175 INFO [ServerImpl] Server Config URL: file:/opt/jboss-5.0.1.GA/server/contactsapi/conf/
12:07:55,175 INFO [ServerImpl] Server Home Dir: /opt/jboss-5.0.1.GA/server/contactsapi
12:07:55,175 INFO [ServerImpl] Server Home URL: file:/opt/jboss-5.0.1.GA/server/contactsapi/
12:07:55,175 INFO [ServerImpl] Server Data Dir: /opt/jboss-5.0.1.GA/server/contactsapi/data
12:07:55,175 INFO [ServerImpl] Server Library URL: file:/opt/jboss-5.0.1.GA/server/contactsapi/lib/
12:07:55,175 INFO [ServerImpl] Server Log Dir: /opt/cc/logs
12:07:55,175 INFO [ServerImpl] Server Native Dir: /opt/jboss-5.0.1.GA/server/contactsapi/tmp/native
12:07:55,175 INFO [ServerImpl] Server Temp Dir: /opt/jboss-5.0.1.GA/server/contactsapi/tmp
12:07:55,175 INFO [ServerImpl] Server Temp Deploy Dir: /opt/jboss-5.0.1.GA/server/contactsapi/tmp/deploy
12:07:55,538 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/opt/jboss-5.0.1.GA/server/contactsapi/conf/bootstrap.xml
12:07:55,867 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
12:07:55,868 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
12:07:56,052 INFO [CopyMechanism] VFS temp dir: /opt/jboss-5.0.1.GA/server/contactsapi/tmp
12:07:56,053 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
12:07:56,665 INFO [ServerInfo] Java version: 1.6.0_24,Sun Microsystems Inc.
12:07:56,666 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
12:07:56,667 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 19.1-b02,Sun Microsystems Inc.
12:07:56,668 INFO [ServerInfo] OS-System: Linux 2.6.18-194.17.1.el5,amd64
12:07:56,690 INFO [JMXKernel] Legacy JMX core initialized
12:07:57,095 ERROR [AbstractKernelController] Error installing to Configured: name=Deployers state=Configured
java.lang.Exception: Error calling callback JMXRegistrationAdvice for target context Deployers
at org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:91)
at org.jboss.dependency.plugins.AbstractController.handleLifecycleCallbacks(AbstractController.java:1535)
at org.jboss.dependency.plugins.AbstractController.handleInstallLifecycleCallbacks(AbstractController.java:1500)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:943)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:91)
at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:161)
at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:144)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.management.InstanceNotFoundException: JMImplementation:type=MBeanRegistry
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at org.jboss.system.microcontainer.jmx.ServiceControllerRegistrationLifecycleCallback.install(ServiceControllerRegistrationLifecycleCallback.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300)
at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:286)
at org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:87)
... 18 more
12:07:58,449 ERROR [AbstractKernelController] Error installing to Configured: name=ServiceBindingManager state=Configured
java.lang.Exception: Error calling callback JMXRegistrationAdvice for target context ServiceBindingManager
at org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:91)
at org.jboss.dependency.plugins.AbstractController.handleLifecycleCallbacks(AbstractController.java:1535)
at org.jboss.dependency.plugins.AbstractController.handleInstallLifecycleCallbacks(AbstractController.java:1500)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:943)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:91)
at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:161)
at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:144)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.management.InstanceNotFoundException: JMImplementation:type=MBeanRegistry
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at org.jboss.system.microcontainer.jmx.ServiceControllerRegistrationLifecycleCallback.install(ServiceControllerRegistrationLifecycleCallback.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300)
at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:286)
at org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:87)
... 18 more
Failed to boot JBoss:
java.lang.IllegalStateException: Incompletely deployed:
DEPLOYMENTS IN ERROR:
Deployment "ServiceBindingManager" is in error due to: java.lang.Exception: Error calling callback JMXRegistrationAdvice for target context ServiceBindingManager
Deployment "Deployers" is in error due to: java.lang.Exception: Error calling callback JMXRegistrationAdvice for target context Deployers
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment "StructureModificationChecker" is missing the following dependencies:
Dependency "MainDeployer" (should be in state "Installed", but is actually in state "Instantiated")
Deployment "MainDeployer" is missing the following dependencies:
Dependency "Deployers" (should be in state "Installed", but is actually in state "**ERROR**")
Deployment "FileProfileRepository" is missing the following dependencies:
Dependency "SerializableDeploymentRepositoryFactory" (should be in state "Installed", but is actually in state "Instantiated")
Deployment "ProfileServiceBootstrap" is missing the following dependencies:
Dependency "ProfileService" (should be in state "Installed", but is actually in state "Instantiated")
Dependency "MainDeployer" (should be in state "Installed", but is actually in state "Instantiated")
Deployment "SystemPropertyBinder#1" is missing the following dependencies:
Dependency "ServiceBindingManager" (should be in state "Installed", but is actually in state "**ERROR**")
Deployment "SerializableDeploymentRepositoryFactory" is missing the following dependencies:
Dependency "MainDeployer" (should be in state "Installed", but is actually in state "Instantiated")
Dependency "StructureModificationChecker" (should be in state "Installed", but is actually in state "Described")
Deployment "SystemPropertyBinder" is missing the following dependencies:
Dependency "SystemPropertyBinder#1" (should be in state "Installed", but is actually in state "Described")
Deployment "ProfileService" is missing the following dependencies:
Dependency "FileProfileRepository" (should be in state "Installed", but is actually in state "Instantiated")
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:148)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:662)
12:07:58,990 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
12:07:59,001 INFO [ServerImpl] Shutdown complete
Shutdown complete
Halting VM