0 Replies Latest reply on Aug 9, 2002 8:08 AM by tanya

    JBoss3 with separate Tomcat

    tanya

      I have downloaded "jboss-3.0.1RC1_tomcat-4.0.4". It is working fine. Now I have already configured Tomcat at a separate place. I want JBoss to integrate with this separate Tomcat not with the embedded catalina. I have made a change in the "..\jboss-3.0.1RC1_tomcat-4.0.4\server\default\deploy\tomcat4-service.xml" as follows...

      <!DOCTYPE server [
      <!ENTITY catalina.home "../catalina">
      ]>

      changed to

      <!DOCTYPE server [
      <!ENTITY catalina.home "%CATALINA_HOME%">
      ]>

      CATALINA_HOME is also specified in the environment variables table.

      Now when I start the JBoss, following error occurs...

      17:12:40,508 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy/jbossmq-destinations-service.xml
      INFO [MainDeployer] Starting deployment of package: file:/D:/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy/tomcat4-service.xml
      ERROR [SARDeployer] Problem in init
      org.jboss.deployment.DeploymentException: Exception getting document; - nested throwable: (org.xml.sax.SAXParseException: Next character must be ";" terminating reference to parameter entity "CATALINA_HOME".)
      at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:625)

      Can anyone explain it?

      Thanks,
      Tanya