2 Replies Latest reply on Oct 14, 2003 5:01 AM by surajmundada

    JBOSS configuration

    surajmundada Newbie

      Hi

      I am not getting clean starting of JBOSS. Can anyone help me out.....I am trying to deploy Trial.ear. Here is the error code....

      14:38:20,249 INFO [MainDeployer] Deployed package: file:/F:/JBoss/jboss-3.2.0_t
      omcat-4.1.24/server/default/deploy/jmx-ejb-adaptor.jar
      14:38:20,249 INFO [MainDeployer] Starting deployment of package: file:/F:/JBoss
      /jboss-3.2.0_tomcat-4.1.24/server/default/deploy/jmx-console.war/
      14:38:20,359 INFO [EmbeddedCatalinaService41] deploy, ctxPath=/jmx-console, war
      Url=file:/F:/JBoss/jboss-3.2.0_tomcat-4.1.24/server/default/deploy/jmx-console.w
      ar/
      14:38:20,374 INFO [Engine] WebappLoader[/jmx-console]: Deploying class reposito
      ries to work directory F:\JBoss\jboss-3.2.0_tomcat-4.1.24\server\default\tmp\dep
      loy\server\default\deploy\work\MainEngine\localhost\jmx-console
      14:38:20,390 INFO [Engine] WebappLoader[/jmx-console]: Deploy class files /WEB-
      INF/classes to F:\JBoss\jboss-3.2.0_tomcat-4.1.24\server\default\deploy\jmx-cons
      ole.war\WEB-INF\classes
      14:38:20,390 INFO [Engine] WebappLoader[/jmx-console]: Deploy JAR /WEB-INF/lib/
      jboss-jmx.jar to F:\JBoss\jboss-3.2.0_tomcat-4.1.24\server\default\deploy\jmx-co
      nsole.war\WEB-INF\lib\jboss-jmx.jar
      14:38:20,999 INFO [Engine] ContextConfig[/jmx-console]: Added certificates -> r
      equest attribute Valve
      14:38:21,202 INFO [EmbeddedCatalinaService41] Using Java2 parent classloader de
      legation: true
      14:38:21,202 INFO [Engine] StandardManager[/jmx-console]: Seeding random number
      generator class java.security.SecureRandom
      14:38:21,202 INFO [Engine] StandardManager[/jmx-console]: Seeding of random num
      ber generator has been completed
      14:38:21,218 INFO [Engine] StandardWrapper[/jmx-console:default]: Loading conta
      iner servlet default
      14:38:21,218 INFO [Engine] StandardWrapper[/jmx-console:invoker]: Loading conta
      iner servlet invoker
      14:38:21,234 INFO [MainDeployer] Deployed package: file:/F:/JBoss/jboss-3.2.0_t
      omcat-4.1.24/server/default/deploy/jmx-console.war/
      14:38:21,265 INFO [MainDeployer] Starting deployment of package: file:/F:/JBoss
      /jboss-3.2.0_tomcat-4.1.24/server/default/deploy/myEar.ear
      14:38:21,265 INFO [EARDeployer] Init J2EE application: file:/F:/JBoss/jboss-3.2
      .0_tomcat-4.1.24/server/default/deploy/myEar.ear
      14:38:21,327 INFO [EmbeddedCatalinaService41] deploy, ctxPath=/Trial, warUrl=fi
      le:/F:/JBoss/jboss-3.2.0_tomcat-4.1.24/server/default/tmp/deploy/server/default/
      deploy/myEar.ear/45.myEar.ear-contents/war-ic.war
      14:38:21,343 INFO [Engine] WebappLoader[/Trial]: Deploying class repositories t
      o work directory F:\JBoss\jboss-3.2.0_tomcat-4.1.24\server\default\tmp\deploy\se
      rver\default\deploy\work\MainEngine\localhost\Trial
      14:38:21,359 INFO [Engine] WebappLoader[/Trial]: Deploy class files /WEB-INF/cl
      asses to F:\JBoss\jboss-3.2.0_tomcat-4.1.24\server\default\tmp\deploy\server\def
      ault\deploy\work\MainEngine\localhost\Trial\WEB-INF\classes
      14:38:21,671 ERROR [Digester] Parse Error at line 2 column 219: Document root el
      ement "web-app", must match DOCTYPE root "null".
      org.xml.sax.SAXParseException: Document root element "web-app", must match DOCTY
      PE root "null".
      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Er
      rorHandlerWrapper.java:232)
      at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.
      java:173)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.
      java:362)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.
      java:296)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.rootElementSpecified(XMLDT
      DValidator.java:2546)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDV
      alidator.java:2850)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidat
      or.java:792)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
      t(XMLDocumentFragmentScannerImpl.java:752)
      at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanR
      ootElementHook(XMLDocumentScannerImpl.java:927)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
      Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1519)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
      LDocumentFragmentScannerImpl.java:333)
      at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardP
      arserConfiguration.java:529)
      at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardP
      arserConfiguration.java:585)
      at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
      ava:1148)
      at org.apache.commons.digester.Digester.parse(Digester.java:1543)
      at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCo
      nfig.java:282)
      at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:63
      9)
      at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
      g.java:243)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
      eSupport.java:166)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
      567)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
      .java:821)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
      7)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)

      at org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(Emb
      eddedCatalinaService41.java:417)
      at org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(Embedd
      edCatalinaService41.java:266)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:35
      7)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:280)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:421)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:200)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
      bstractDeploymentScanner.java:273)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      92)
      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:966)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:392)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:242)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:361)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:268)
      at org.jboss.Main.boot(Main.java:156)
      at org.jboss.Main$1.run(Main.java:394)
      at java.lang.Thread.run(Thread.java:536)
      14:38:22,030 ERROR [Digester] Parse Error at line 2 column 219: Document is inva
      lid: no grammar found.
      org.xml.sax.SAXParseException: Document is invalid: no grammar found.
      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Er
      rorHandlerWrapper.java:232)
      at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.
      java:173)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.
      java:362)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.
      java:296)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDV
      alidator.java:2862)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidat
      or.java:792)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
      t(XMLDocumentFragmentScannerImpl.java:752)
      at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanR
      ootElementHook(XMLDocumentScannerImpl.java:927)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
      Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1519)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
      LDocumentFragmentScannerImpl.java:333)
      at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardP
      arserConfiguration.java:529)
      at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardP
      arserConfiguration.java:585)
      at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
      ava:1148)
      at org.apache.commons.digester.Digester.parse(Digester.java:1543)
      at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCo
      nfig.java:282)
      at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:63
      9)
      at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
      g.java:243)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
      eSupport.java:166)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
      567)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
      .java:821)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
      7)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)

      at org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(Emb
      eddedCatalinaService41.java:417)
      at org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(Embedd
      edCatalinaService41.java:266)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:35
      7)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:280)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:421)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:200)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
      bstractDeploymentScanner.java:273)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      92)
      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:966)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:392)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:242)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:361)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:268)
      at org.jboss.Main.boot(Main.java:156)
      at org.jboss.Main$1.run(Main.java:394)
      at java.lang.Thread.run(Thread.java:536)
      14:38:22,327 INFO [Engine] ContextConfig[/Trial]: Added certificates -> request
      attribute Valve
      14:38:22,530 INFO [EmbeddedCatalinaService41] Using Java2 parent classloader de
      legation: true
      14:38:22,530 INFO [Engine] StandardManager[/Trial]: Seeding random number gener
      ator class java.security.SecureRandom
      14:38:22,530 INFO [Engine] StandardManager[/Trial]: Seeding of random number ge
      nerator has been completed
      14:38:22,546 INFO [Engine] StandardWrapper[/Trial:default]: Loading container s
      ervlet default
      14:38:22,546 INFO [Engine] StandardWrapper[/Trial:invoker]: Loading container s
      ervlet invoker
      14:38:22,593 INFO [MainDeployer] Deployed package: file:/F:/JBoss/jboss-3.2.0_t
      omcat-4.1.24/server/default/deploy/myEar.ear
      14:38:22,593 INFO [URLDeploymentScanner] Started
      14:38:22,640 INFO [MainDeployer] Deployed package: file:/F:/JBoss/jboss-3.2.0_t
      omcat-4.1.24/server/default/conf/jboss-service.xml
      14:38:22,640 INFO [Server] JBoss (MX MicroKernel) [3.2.0 (build: CVSTag=JBoss_3
      _2_0 date=200304110033)] Started in 24s:844ms