2 Replies Latest reply on Jan 19, 2005 11:50 PM by niccolas xu

    JBoss Startup Problem

    Gunjan Gupta Newbie

      I am getting the java.lang.ExceptionInInitializerError error when starting jboss. Can anyone help me out. I am using jboss-4.0.1 on WinXP.
      Thanks in advance.

      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: C:\jboss-4.0.1RC1\bin\\..
      .
      JAVA: C:\Program Files\IBM\Java141\bin\java
      .
      JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
      .
      CLASSPATH: C:\Program Files\IBM\Java141\lib\tools.jar;C:\jboss-4.0.1RC1\bin\\r
      un.jar
      .
      ===============================================================================
      .
      13:47:37,205 INFO [Server] Starting JBoss (MX MicroKernel)...
      13:47:37,205 INFO [Server] Release ID: JBoss [Zion] 4.0.1RC1 (build: CVSTag=JBo
      ss_4_0_1_RC1 date=200411041143)
      13:47:37,205 INFO [Server] Home Dir: C:\jboss-4.0.1RC1
      13:47:37,205 INFO [Server] Home URL: file:/C:/jboss-4.0.1RC1/
      13:47:37,205 INFO [Server] Library URL: file:/C:/jboss-4.0.1RC1/lib/
      13:47:37,205 INFO [Server] Patch URL: null
      13:47:37,205 INFO [Server] Server Name: default
      13:47:37,205 INFO [Server] Server Home Dir: C:\jboss-4.0.1RC1\server\default
      13:47:37,205 INFO [Server] Server Home URL: file:/C:/jboss-4.0.1RC1/server/defa
      ult/
      13:47:37,205 INFO [Server] Server Data Dir: C:\jboss-4.0.1RC1\server\default\da
      ta
      13:47:37,205 INFO [Server] Server Temp Dir: C:\jboss-4.0.1RC1\server\default\tm
      p
      13:47:37,205 INFO [Server] Server Config URL: file:/C:/jboss-4.0.1RC1/server/de
      fault/conf/
      13:47:37,205 INFO [Server] Server Library URL: file:/C:/jboss-4.0.1RC1/server/d
      efault/lib/
      13:47:37,225 INFO [Server] Root Deployment Filename: jboss-service.xml
      13:47:37,235 INFO [Server] Starting General Purpose Architecture (GPA)...
      13:47:37,876 INFO [ServerInfo] Java version: 1.4.1,IBM Corporation
      13:47:37,876 INFO [ServerInfo] Java VM: Classic VM 1.4.1,IBM Corporation
      13:47:37,876 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      13:47:38,517 INFO [Server] Core system initialized
      13:47:41,501 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
      ce:log4j.xml
      13:47:41,591 INFO [WebService] Using RMI server codebase: http://GunjanGupta:80
      83/
      13:47:41,711 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=
      1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server Socket
      Factory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
      13:47:46,658 INFO [Embedded] Catalina naming disabled
      13:47:47,219 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0
      -8080
      13:47:47,259 INFO [Catalina] Initialization processed in 551 ms
      13:47:47,259 INFO [StandardService] Starting service jboss.web
      13:47:47,259 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.2
      8
      13:47:47,279 INFO [StandardHost] XML validation disabled
      13:47:47,399 INFO [Catalina] Server startup in 140 ms
      13:47:47,580 INFO [TomcatDeployer] deploy, ctxPath=/ebxmlrr, warUrl=file:/C:/jb
      oss-4.0.1RC1/server/default/deploy/ebxmlrr-service.sar/ebxmlrr.war/
      13:47:48,551 INFO [STDOUT] Initialized REST
      13:47:48,641 INFO [SAAJServlet] init
      13:47:49,112 INFO [SAAJServlet] init
      13:47:49,322 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/jbos
      s-4.0.1RC1/server/default/tmp/deploy/tmp49245jboss-ws4ee-exp.war/
      13:47:49,793 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/jboss-4.0
      .1RC1/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/
      13:47:50,754 INFO [STDOUT] [ jacorb.home unset! Will use '.' ]
      13:47:50,754 INFO [STDOUT] [ File .\jacorb.properties for configuration jacorb
      not found ]
      13:47:50,944 INFO [interceptors] InterceptorManager started with 2 SIs, 2 CIs a
      nd 4 IORIs
      13:47:51,105 INFO [orb] ORB run
      13:47:51,235 WARN [ServiceController] Problem starting service jboss:service=Co
      rbaNaming
      java.lang.ExceptionInInitializerError
      at javax.rmi.CORBA.Stub.createDelegateIfSpecified(Stub.java:228)
      at at javax.rmi.CORBA.Stub.(Stub.java:70).null(Unknown Sour
      ce)
      at org.jacorb.orb.Delegate.getReference(Unknown Source)
      at org.jacorb.orb.ORB.getReference(Unknown Source)
      at org.jacorb.poa.POA.getReference(Unknown Source)
      at org.jacorb.poa.POA.create_reference_with_id(Unknown Source)
      at org.jboss.iiop.CorbaNamingService.startService(CorbaNamingService.jav
      a:120)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
      upport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
      eanSupport.java:222)
      at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java(Compiled Code))
      at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:144)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java(Compiled Code))

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:891)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:416)
      at org.jboss.system.ServiceController.start(ServiceController.java:438)
      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java(Compiled Code))
      at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:144)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java(Compiled Code))

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java(Compiled Co
      de))
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:944)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:718)
      at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java(Compiled Code))
      at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java(Compiled Code))

      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java(Compiled Code))

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java(Compiled Co
      de))
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:305)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:481)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:204)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
      bstractDeploymentScanner.java:277)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
      upport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
      eanSupport.java:222)
      at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:41)
      at java.lang.reflect.Method.invoke(Method.java:371)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:891)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:416)
      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:41)
      at java.lang.reflect.Method.invoke(Method.java:371)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:175)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:944)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:718)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:702)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:79)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:41)
      at java.lang.reflect.Method.invoke(Method.java:371)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:175)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
      at org.jboss.Main.boot(Main.java:151)
      at org.jboss.Main$1.run(Main.java:405)
      at java.lang.Thread.run(Thread.java:568)
      Caused by: org.omg.CORBA.INITIALIZE: cannot instantiate org.jboss.iiop.SunJDK14I
      sLocalBugFix vmcid: 0x0 minor code: 0 completed: No
      at javax.rmi.CORBA.Util.createDelegateIfSpecified(Util.java:359)
      at at javax.rmi.CORBA.Util.(Util.java:69).null(Unknown Sour
      ce)
      ... 97 more
      13:47:52,326 INFO [RARDeployment] Required license terms exist view the META-IN
      F/ra.xml: file:/C:/jboss-4.0.1RC1/server/default/deploy/jboss-local-jdbc.rar
      13:47:52,667 INFO [RARDeployment] Required license terms exist view the META-IN
      F/ra.xml: file:/C:/jboss-4.0.1RC1/server/default/deploy/jboss-xa-jdbc.rar
      13:47:52,837 INFO [RARDeployment] Required license terms exist view the META-IN
      F/ra.xml: file:/C:/jboss-4.0.1RC1/server/default/deploy/jms/jms-ra.rar
      13:47:53,248 INFO [STDOUT] [Server@22d735a2]: [Thread[hypersonic-default,5,jbos
      s]]: checkRunning(false) entered
      13:47:53,248 INFO [STDOUT] [Server@22d735a2]: [Thread[hypersonic-default,5,jbos
      s]]: checkRunning(false) exited
      13:47:53,248 INFO [STDOUT] [Server@22d735a2]: Startup sequence initiated from m
      ain() method
      13:47:53,248 INFO [STDOUT] [Server@22d735a2]: Loaded properties from [C:\jboss-
      4.0.1RC1\bin\server.properties]
      13:47:53,248 INFO [STDOUT] [Server@22d735a2]: Initiating startup sequence...
      13:47:53,258 INFO [STDOUT] [Server@22d735a2]: Server socket opened successfully
      in 10 ms.
      13:47:53,979 INFO [STDOUT] [Server@22d735a2]: Database [index=0, id=1, db=file:
      C:\jboss-4.0.1RC1\server\default\data\hypersonic\default, alias=] opened sucessf
      ully in 721 ms.
      13:47:53,979 INFO [STDOUT] [Server@22d735a2]: Startup sequence completed in 731
      ms.
      13:47:53,979 INFO [STDOUT] [Server@22d735a2]: 2005-01-19 13:47:53.979 HSQLDB se
      rver 1.7.2 is online
      13:47:53,999 INFO [STDOUT] [Server@22d735a2]: To close normally, connect and ex
      ecute SHUTDOWN SQL
      13:47:53,999 INFO [STDOUT] [Server@22d735a2]: From command line, use [Ctrl]+[C]
      to abort abruptly
      13:47:54,299 INFO [WrapperDataSourceService] Bound connection factory for resou
      rce adapter for ConnectionManager 'jboss.jca:name=DefaultDS,service=DataSourceBi
      nding to JNDI name 'java:DefaultDS'
      13:47:54,660 INFO [ConnectionFactoryBindingService] Bound connection factory fo
      r resource adapter for ConnectionManager 'jboss.jca:name=JmsXA,service=Connectio
      nFactoryBinding to JNDI name 'java:JmsXA'
      13:47:55,100 INFO [A] Bound to JNDI name: queue/A
      13:47:55,100 INFO [B] Bound to JNDI name: queue/B
      13:47:55,110 INFO [C] Bound to JNDI name: queue/C
      13:47:55,110 INFO [D] Bound to JNDI name: queue/D
      13:47:55,110 INFO [ex] Bound to JNDI name: queue/ex
      13:47:55,261 INFO [testTopic] Bound to JNDI name: topic/testTopic
      13:47:55,461 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
      13:47:55,461 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

      13:47:55,471 INFO [testQueue] Bound to JNDI name: queue/testQueue
      13:47:55,471 INFO [DLQ] Bound to JNDI name: queue/DLQ
      13:47:55,621 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.
      0.0:8093
      13:47:55,952 INFO [MailService] Mail Service bound to java:/Mail
      13:47:56,032 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C
      :/jboss-4.0.1RC1/server/default/deploy/jmx-console.war/
      13:47:56,192 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C
      :/jboss-4.0.1RC1/server/default/deploy/management/web-console.war/
      13:47:57,023 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      MBeans waiting for other MBeans:
      ObjectName: jboss:service=CorbaNaming
      state: FAILED
      I Depend On: jboss:service=CorbaORB

      Depends On Me: jboss:service=CorbaTransaction
      java.lang.ExceptionInInitializerError
      ObjectName: jboss:service=CorbaTransaction
      state: CREATED
      I Depend On: jboss:service=TransactionManager
      jboss:service=CorbaORB
      jboss:service=CorbaNaming

      Depends On Me:

      MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
      ObjectName: jboss:service=CorbaNaming
      state: FAILED
      I Depend On: jboss:service=CorbaORB

      Depends On Me: jboss:service=CorbaTransaction
      java.lang.ExceptionInInitializerError

      13:47:57,133 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
      0
      13:47:57,314 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
      13:47:57,314 INFO [JkMain] Jk running ID=0 time=0/30 config=null
      13:47:57,344 INFO [Server] JBoss (MX MicroKernel) [4.0.1RC1 (build: CVSTag=JBos
      s_4_0_1_RC1 date=200411041143)] Started in 19s:848ms