[jboss-user] [Installation, Configuration & Deployment] - Unable to start JBOSS

alfia_09 do-not-reply at jboss.com
Sat Feb 24 12:16:24 EST 2007


 i dont understand whats wrong with the jboss in my computer,I have re-installed JBoss thrice,checked all the envireonment variable settings but when i go to the command promt to run JBOSS and type run.bat,it gives the following exceptions.I am also attaching a file which has all the exceptions that gets displayed when i try to start jboss.It was working fine but i dont understand whats wrong with it all of a sudden.


0:48:28,765 INFO  [Server] Starting JBoss (MX MicroKernel)...
0:48:28,765 INFO  [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Bra
ch_4_0 date=200610162339)
0:48:28,812 INFO  [Server] Home Dir: C:\Program Files\jboss-4.0.5.GA
0:48:28,812 INFO  [Server] Home URL: file:/C:/Program Files/jboss-4.0.5.GA/
0:48:28,812 INFO  [Server] Patch URL: null
0:48:28,812 INFO  [Server] Server Name: default
0:48:28,812 INFO  [Server] Server Home Dir: C:\Program Files\jboss-4.0.5.GA\ser
er\default
0:48:28,812 INFO  [Server] Server Home URL: file:/C:/Program Files/jboss-4.0.5.
A/server/default/
0:48:28,812 INFO  [Server] Server Log Dir: C:\Program Files\jboss-4.0.5.GA\serv
r\default\log
0:48:28,812 INFO  [Server] Server Temp Dir: C:\Program Files\jboss-4.0.5.GA\ser
er\default\tmp
0:48:28,812 INFO  [Server] Root Deployment Filename: jboss-service.xml
0:48:29,343 INFO  [ServerInfo] Java version: 1.5.0_09,Sun Microsystems Inc.
0:48:29,343 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_09-b03
Sun Microsystems Inc.
0:48:29,343 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
0:48:31,734 INFO  [Server] Core system initialized
0:48:38,843 INFO  [WebService] Using RMI server codebase: http://D6D64K81:8083/

0:48:38,890 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resour
e:log4j.xml
0:48:45,531 INFO  [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://192.168.1.102:3873/]
0:48:59,890 INFO  [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date=200609291417)
0:49:06,546 INFO  [SnmpAgentService] SNMP agent going active
0:49:19,546 ERROR [MainDeployer] Could not create deployment: file:/C:/Program Files/jboss-4.0.5.GA/server/default/deploy/tc5-cluster.sar/
rg.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(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      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:249)
      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 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:585)
      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)
      
      ..........
      ............
      
      
      
      
      
      caused by: java.lang.reflect.UndeclaredThrowableException
             at org.jboss.system.ServiceCreator.install(ServiceCreator.java:236)
             at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
             at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
             ... 81 more
      caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Layout
             at org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4jFactory.java:140)
             at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:257)
             at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390)
             at org.jboss.cache.TreeCache.(TreeCache.java:151)
             at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
             at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
             at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
             at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
             at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1233)
             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)
      ... 83 more
      
      
      
      java.lang.NoClassDefFoundError: org/apache/log4j/Layout
             at org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4jFactory.java:140)
             at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:257)
             at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390)
             at org.jgroups.conf.ConfiguratorFactory.(ConfiguratorFactory.java:42)
             at org.jgroups.JChannel.(JChannel.java:189)
             at org.jboss.ha.framework.server.ClusterPartition.createService(ClusterPartition.java:289)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
             at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
             at $Proxy0.create(Unknown Source)
             at org.jboss.system.ServiceController.create(ServiceController.java:330)
             at org.jboss.system.ServiceController.create(ServiceController.java:273)
             at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             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.create(Unknown Source)
             at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258)
             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)
      
      
      0:49:21,921 ERROR [MainDeployer] Could not create deployment: file:/C:/Program Files/jboss-4.0.5.GA/server/default/deploy/ejb3-entity-cache-serv
      ce.xml
      rg.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.GeneratedMethodAccessor22.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             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:249)
             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 sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
      ...............
      .............
      ...............
      
      
      
      
      ObjectName: jboss:service=DefaultPartition
       State: FAILED
       Reason: java.lang.NoClassDefFoundError: org/apache/log4j/Layout
       I Depend On:
         jboss:service=Naming
       Depends On Me:
         jboss:service=HASessionState
         jboss:service=HAJNDI
         jboss.cache:service=InvalidationBridge,type=JavaGroups
         jboss.ha:service=HASingletonDeployer
         jboss:service=FarmMember,partition=DefaultPartition


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021679#4021679

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021679



More information about the jboss-user mailing list