1 Reply Latest reply on Jan 1, 2013 1:35 PM by Peter Johnson

    Error running Jboss 4.2.3 on eclipse juno could not start at localhost

    Mohamed MOFID Newbie

      I have the problem in Windows 7 32bit:

       

      12:26:02,085 INFO  [Server] Starting JBoss (MX MicroKernel)...

      12:26:02,088 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)

      12:26:02,096 INFO  [Server] Home Dir: E:\jboss-4.2.3.GA

      12:26:02,097 INFO  [Server] Home URL: file:/E:/jboss-4.2.3.GA/

      12:26:02,098 INFO  [Server] Patch URL: null

      12:26:02,099 INFO  [Server] Server Name: default

      12:26:02,099 INFO  [Server] Server Home Dir: E:\jboss-4.2.3.GA\server\default

      12:26:02,099 INFO  [Server] Server Home URL: file:/E:/jboss-4.2.3.GA/server/default/

      12:26:02,100 INFO  [Server] Server Log Dir: E:\jboss-4.2.3.GA\server\default\log

      12:26:02,100 INFO  [Server] Server Temp Dir: E:\jboss-4.2.3.GA\server\default\tmp

      12:26:02,101 INFO  [Server] Root Deployment Filename: jboss-service.xml

      12:26:03,378 INFO  [ServerInfo] Java version: 1.7.0_10,Oracle Corporation

      12:26:03,379 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 23.6-b04,Oracle Corporation

      12:26:03,379 INFO  [ServerInfo] OS-System: Windows 7 6.1,x86

      12:26:04,139 INFO  [Server] Core system initialized

      12:26:09,450 ERROR [MainDeployer] Could not create deployment: file:/E:/jboss-4.2.3.GA/server/default/conf/jboss-service.xml

      org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)

                at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)

                at org.jboss.system.ServiceController.install(ServiceController.java:226)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

                at $Proxy4.install(Unknown Source)

                at org.jboss.deployment.SARDeployer.create(SARDeployer.java:251)

                at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)

                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)

                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

                at $Proxy5.deploy(Unknown Source)

                at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)

                at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)

                at org.jboss.Main.boot(Main.java:200)

                at org.jboss.Main$1.run(Main.java:508)

                at java.lang.Thread.run(Unknown Source)

      Caused by: java.lang.reflect.UndeclaredThrowableException

                at org.jboss.system.ServiceCreator.install(ServiceCreator.java:236)

                at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)

                at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)

                ... 36 more

      Caused by: java.lang.Error: ERROR: it turns out the root cause is not always a runtime exception!

                at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBeanServerImpl.java:1295)

                at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1237)

                at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)

                at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)

                at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)

                ... 38 more

      Failed to boot JBoss:

      org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)

                at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)

                at org.jboss.system.ServiceController.install(ServiceController.java:226)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

                at $Proxy4.install(Unknown Source)

                at org.jboss.deployment.SARDeployer.create(SARDeployer.java:251)

                at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)

                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)

                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

                at $Proxy5.deploy(Unknown Source)

                at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)

                at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)

                at org.jboss.Main.boot(Main.java:200)

                at org.jboss.Main$1.run(Main.java:508)

                at java.lang.Thread.run(Unknown Source)

      Caused by: java.lang.reflect.UndeclaredThrowableException

                at org.jboss.system.ServiceCreator.install(ServiceCreator.java:236)

                at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)

                at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)

                ... 36 more

      Caused by: java.lang.Error: ERROR: it turns out the root cause is not always a runtime exception!

                at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBeanServerImpl.java:1295)

                at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1237)

                at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)

                at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)

                at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)

                ... 38 more

      12:26:09,476 INFO  [Server] Runtime shutdown hook called, forceHalt: true

      12:26:09,476 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages

      12:26:09,499 INFO  [Server] Shutdown complete

      Shutdown complete

      Halting VM

       

       

      Could you please help me, i'm stacked there.