0 Replies Latest reply on Sep 8, 2005 6:52 AM by Roman

    Jboss 3.0.7 jboss-net configuration

    Roman Newbie

      Hi all,
      I think the live is hard after this 48 hours. In my last message I ask for jboss-net.sar problem. Thank you for the answer - I have the example to follow to gain my jboss-net activation. For my target I download jboss-3.0.7_jakarta-tomcat-4.1.24 with Tomcat engine, I transformed my jboss-net.sar file in directory with same name and changed the META-INF/jboss-service.xml - I rapleced jboss.web:service=WebServer

      with jboss.web:service=EmbeddedCatalinaSX
      according the HelloWorld example. After that , when I start my jboss I have this mistake

      13:33:24,141 INFO [MainDeployer] Starting deployment of package: file:/C:/Java/
      jboss-3.0.7_jakarta-tomcat-4.1.24/server/all/deploy/jboss-net.sar/
      13:33:24,188 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment
      .scanner.URLDeploymentScanner$DeployedURL@71faf9fe{ url=file:/C:/Java/jboss-3.0.
      7_jakarta-tomcat-4.1.24/server/all/deploy/jboss-net.sar/, deployedLastModified=0
      }
      org.jboss.deployment.DeploymentException: Exception getting document; - nested t
      hrowable: (org.xml.sax.SAXParseException: Document root element is missing.)
      at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:622)
      at org.jboss.deployment.SARDeployer.init(SARDeployer.java:130)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:679)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
      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:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:435)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDe
      ploymentScanner.java:656)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:507)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
      bstractDeploymentScanner.java:266)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      65)
      at sun.reflect.GeneratedMethodAccessor5.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:517)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:1003)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:413)
      at sun.reflect.GeneratedMethodAccessor4.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:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy2.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:232)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)
      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: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:534)
      Caused by: org.xml.sax.SAXParseException: Document root element is missing.
      at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)
      at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3364)
      at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:668)
      at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
      at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)

      at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl
      .java:185)
      at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:618)
      ... 48 more
      13:33:24,297 INFO [MainDeployer] Starting deployment of package: file:/C:/Java/
      jboss-3.0.7_jakarta-tomcat-4.1.24/server/all/deploy/jbossha-httpsession.sar
      13:33:24,328 INFO [MainDeployer] deployment waiting for deployer: file:/C:/Java
      /jboss-3.0.7_jakarta-tomcat-4.1.24/server/all/tmp/deploy/server/all/deploy/jboss
      ha-httpsession.sar/3.jbossha-httpsession.sar-contents/ClusteredHttpSessionEB.jar

      in the console, the deploy process of jboss-net.sar is failed agin.What can be the reason. Before to change this row in the jboss-service.xml, my JBoss servler work without mistakes, after changes I return the old version of jboss-service.xml with

      jboss.web:service=WebServer

      but the mistake is throwed again. Maybe it's necessary to download the jboss-3.0.7_jakarta-tomcat-4.1.24 JBoss from CVS and to build menually I don't know. The example http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-netGuide.shtml#buildFromSource is for JBOSS-3.0.x_TOMCAT-4.0.x, maybe the version of tomcat is cornerstone. Do you know somebody the answer?