1 Reply Latest reply on Mar 13, 2004 1:54 PM by dgarratt

    JBoss_IDE Tutorial

    igalvan Newbie

      I am using JBoss 3.23 and Eclipse 2.1.2. I am also running the system locally. I have followed the tutorial carefully and have no errors. My deployment target is /default/deploy and then run debug I get several warnings and one error.
      16:41:20,047 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@13a8eb1
      16:41:23,969 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@c0fc8e
      16:41:28,735 WARN [Heartbeat] Heartbeat disabled
      16:41:44,719 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@152bb15
      48,704 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@8bf135
      16:41:54,126 ERROR [EmbeddedTomcatService] Failed to setup clustering, clustering disabled
      16:41:54,766 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@d88aa2

      Any clue what's happening. Thanks

        • 1. Re: JBoss_IDE Tutorial
          dgarratt Newbie

          I am new to JBoss as well and I got the exact same warnings which turned out to be due to the fact that I had Tomcat 5.x installed and JBoss was expecting Tomcat 4.x. I found the following document/instructions which fixed it for me.

          As it is today JBoss still ships with a Tomcat-4.1.x release as webcontainer but it is possible to build your own JBoss-3.2.3-Tomcat-5.0.x version very easily. Here is how to do it :
          1. Get the JBoss-3.2.3.zip distribution from sourceforge here
          2. Unzip your jboss distribution to a directory which we now call JBOSS_HOME
          3. go to the JBOSS_HOME/docs/examples/tomcat directory
          4. do a ant -buildfile docs/examples/tomcat/build-tc5-config.xml
          and this is what you should see if your JBOSS_HOME would be c:\jboss-3.2.3 :
          Buildfile: build-tc5-config.xml

          [copy] Copying 124 files to C:\jboss-3.2.3\server\tomcat5
          [copy] Copying 30 files to C:\jboss-3.2.3\server\tomcat5\deploy\jbossweb-tomcat50.sar


          So now you have next to minimal, default and all a new server configuration called tomcat5 which you can launch using a run -c tomcat5