1 Reply Latest reply on Oct 24, 2002 2:29 AM by Adrian Brock

    Exceptions launching jboss3.0.3 w/jetty (repost)

    George Joseph Newbie

      Apologies to all if this is a duplicate. I got logged out of the forum when I clicked on "Post Message" button and the original post didn't show up.

      I would very much appreciate if anybody could tell me why I get the following exceptions when I launch jboss3.0.3 with jetty:

      Thanks in advance.

      - George


      17:18:07,713 INFO [MainDeployer] Deployed package: file:/D:/nextance/configs/370base/jboss3/server/default/deploy/http-invoker.sar/
      17:18:07,713 INFO [MainDeployer] Starting deployment of package: file:/D:/nextance/configs/370base/jboss3/server/default/deploy/jbossweb.sar/
      17:18:08,431 INFO [jbossweb] Registered jboss.web:Jetty=0
      17:18:08,478 INFO [jbossweb] Registered jboss.web:Code=0
      17:18:08,494 INFO [jbossweb] Registered jboss.web:Log=0
      17:18:08,510 INFO [jbossweb] Registered jboss.web:Log=0,sink=0
      17:18:08,525 INFO [JettyService] Creating
      17:18:08,791 WARN [jbossweb] WARNING: ERROR@null line:2 col:129 : org.xml.sax.SAXParseException: Document root element "server", must match DOCTYPE root "Configure".
      17:18:08,791 WARN [jbossweb] WARNING: ERROR@null line:2 col:129 : org.xml.sax.SAXParseException: Element type "server" must be declared.
      17:18:08,806 WARN [jbossweb] WARNING: ERROR@null line:10 col:80 : org.xml.sax.SAXParseException: Element type "mbean" must be declared.
      17:18:08,822 WARN [jbossweb] WARNING: ERROR@null line:24 col:34 : org.xml.sax.SAXParseException: Element type "attribute" must be declared.
      17:18:08,838 WARN [jbossweb] WARNING: ERROR@null line:31 col:51 : org.xml.sax.SAXParseException: Element type "attribute" must be declared.
      17:18:08,853 WARN [jbossweb] WARNING: ERROR@null line:41 col:44 : org.xml.sax.SAXParseException: Element type "attribute" must be declared.
      17:18:08,885 WARN [jbossweb] WARNING: ERROR@null line:220 col:44 : org.xml.sax.SAXParseException: Element type "attribute" must be declared.
      17:18:08,885 ERROR [jbossweb] problem configuring Jetty:
      org.xml.sax.SAXParseException: Document root element "server", must match DOCTYPE root "Configure".
      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
      at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.rootElementSpecified(Unknown Source)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
      at org.mortbay.xml.XmlParser.parse(XmlParser.java:127)
      at org.mortbay.xml.XmlConfiguration.(XmlConfiguration.java:140)
      at org.jboss.jetty.Jetty.setXMLConfiguration(Jetty.java:354)
      at org.jboss.jetty.Jetty.setConfigurationElement(Jetty.java:328)
      at org.jboss.jetty.JettyService.createService(JettyService.java:165)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:136)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      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:517)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      at $Proxy6.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:315)
      at org.jboss.system.ServiceController.create(ServiceController.java:243)
      at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      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:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.create(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:217)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:755)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
      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:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:427)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:648)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:499)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:261)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      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:517)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:397)
      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      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:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:564)
      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:517)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
      at org.jboss.Main.boot(Main.java:148)
      at org.jboss.Main$1.run(Main.java:381)
      at java.lang.Thread.run(Thread.java:536)
      17:18:09,228 INFO [JettyService] Created
      17:18:09,244 INFO [JettyService] Starting
      17:18:09,244 INFO [MainDeployer] Adding deployer: org.jboss.jetty.JettyService@6214f5
      17:18:09,244 INFO [MainDeployer] Starting deployment of package: file:/D:/nextance/configs/370base/jboss3/server/default/deploy/http-invoker.sar/invoker.war/
      17:18:09,603 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=0,context=/invoker
      17:18:13,213 INFO [jbossweb] Checking Resource aliases