0 Replies Latest reply on Mar 11, 2004 11:48 AM by Larry Farrar

    Exception Thrown in Deployment of jboss-service.xml - jboss

    Larry Farrar Newbie

      Hi all,
      I am running java 1.4.2 on Solaris x86 with latest patches and trying to get Jboss-3.2.3 to run - Jboss-3.0.2 runs fine. The following error is thrown on startup- don't have a clue as to why this is happening, can't see anything wrong in jboss-service.xml. Can anybody help?

      ================================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /opt/jboss-3.2.3

      JAVA: /opt/j2sdk1.4.2_03/bin/java

      JAVA_OPTS: -server -Dprogram.name=run.sh

      CLASSPATH: /opt/jboss-3.2.3/bin/run.jar:/opt/j2sdk1.4.2_03/lib/tools.jar

      ================================================================================

      07:20:53,932 INFO [Server] Starting JBoss (MX MicroKernel)...
      07:20:53,936 INFO [Server] Release ID: JBoss [WonderLand] 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)
      07:20:53,937 INFO [Server] Home Dir: /opt/jboss-3.2.3
      07:20:53,937 INFO [Server] Home URL: file:/opt/jboss-3.2.3/
      07:20:53,938 INFO [Server] Library URL: file:/opt/jboss-3.2.3/lib/
      07:20:53,941 INFO [Server] Patch URL: null
      07:20:53,941 INFO [Server] Server Name: default
      07:20:53,942 INFO [Server] Server Home Dir: /opt/jboss-3.2.3/server/default
      07:20:53,942 INFO [Server] Server Home URL: file:/opt/jboss-3.2.3/server/default/
      07:20:53,943 INFO [Server] Server Data Dir: /opt/jboss-3.2.3/server/default/data
      07:20:53,943 INFO [Server] Server Temp Dir: /opt/jboss-3.2.3/server/default/tmp
      07:20:53,944 INFO [Server] Server Config URL: file:/opt/jboss-3.2.3/server/default/conf/
      07:20:53,944 INFO [Server] Server Library URL: file:/opt/jboss-3.2.3/server/default/lib/
      07:20:53,945 INFO [Server] Root Deployment Filename: jboss-service.xml
      07:20:53,956 INFO [Server] Starting General Purpose Architecture (GPA)...
      07:20:54,633 INFO [ServerInfo] Java version: 1.4.2_03,Sun Microsystems Inc.
      07:20:54,633 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.4.2_03-b02,Sun Microsystems Inc.
      07:20:54,634 INFO [ServerInfo] OS-System: SunOS 5.8,x86
      07:20:54,716 INFO [ServiceController] Controller MBean online
      07:20:54,939 INFO [MainDeployer] Started jboss.system:service=MainDeployer
      07:20:55,343 INFO [MainDeployer] Adding deployer: org.jboss.deployment.JARDeployer@b2002f
      07:20:55,344 INFO [JARDeployer] Started jboss.system:service=JARDeployer
      07:20:55,440 INFO [MainDeployer] Adding deployer: org.jboss.deployment.SARDeployer@80fa6f
      07:20:55,467 INFO [SARDeployer] Started jboss.system:service=ServiceDeployer
      07:20:55,467 INFO [Server] Core system initialized
      07:20:55,717 INFO [MainDeployer] Starting deployment of package: file:/opt/jboss-3.2.3/server/default/conf/jboss-service.xml
      07:20:57,092 ERROR [MainDeployer] Could not initialise deloyment: file:/opt/jboss-3.2.3/server/default/conf/jboss-service.xml
      org.jboss.deployment.DeploymentException: 0; - nested throwable: (java.lang.ArrayIndexOutOfBoundsException: 0)
      at org.jboss.deployment.SARDeployer.init(SARDeployer.java:151)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
      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:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
      at org.jboss.Main.boot(Main.java:150)
      at org.jboss.Main$1.run(Main.java:395)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
      at org.apache.xerces.dom.DeferredDocumentImpl.createChunk(DeferredDocumentImpl.java:1773)
      at org.apache.xerces.dom.DeferredDocumentImpl.ensureCapacity(DeferredDocumentImpl.java:1677)
      at org.apache.xerces.dom.DeferredDocumentImpl.createNode(DeferredDocumentImpl.java:1697)
      at org.apache.xerces.dom.DeferredDocumentImpl.createDeferredDocument(DeferredDocumentImpl.java:220)
      at org.apache.xerces.parsers.AbstractDOMParser.startDocument(AbstractDOMParser.java:616)
      at org.apache.xerces.impl.XMLNamespaceBinder.startDocument(XMLNamespaceBinder.java:444)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(XMLDTDValidator.java:702)
      at org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(XMLDocumentScannerImpl.java:417)
      at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:822)
      at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:685)
      at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:252)
      at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:503)
      at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:585)
      at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
      at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:221)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)
      at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:505)
      at org.jboss.deployment.SARDeployer.init(SARDeployer.java:115)
      ... 17 more
      07:20:57,611 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      07:20:57,638 INFO [Server] Shutting down all services
      Shutting down
      07:20:57,639 INFO [ServiceController] Stopping 3 services
      07:20:57,641 INFO [SARDeployer] Stopping jboss.system:service=ServiceDeployer
      07:20:57,641 INFO [MainDeployer] Removing deployer: org.jboss.deployment.SARDeployer@80fa6f
      07:20:57,643 INFO [JARDeployer] Stopping jboss.system:service=JARDeployer
      07:20:57,644 INFO [MainDeployer] Stopping jboss.system:service=MainDeployer
      07:20:57,645 INFO [ServiceController] Stopped 3 services
      07:20:57,668 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM