1 Reply Latest reply on Mar 2, 2004 1:04 AM by bwinspur

    Stale Servlets Block Deployment

    bwinspur

      Hi,

      I've been having stale servlet problems, i.e. the war I deployed a couple
      of days ago executes and new deploys are ignored. Reboot JBoss did not
      fix it, re-installing JBoss did.

      The war was unpacked into jboss, .../tmp/deploy/ but its classes were not loaded.

      The startup console log has the following warning lines.

      09:28:26,843 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@719f1f
      09:28:28,406 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@37d490
      09:28:30,515 WARN [Heartbeat] Heartbeat disabled
      09:28:34,609 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@75c744
      09:28:35,703 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@f9104a
      09:28:36,625 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@1cd3dd7
      09:28:38,234 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@84f566

      The warnings are associated with Tomcat, where my problems show up.

      1. What do these lines mean, and how do I get them to go away?

      2. Although re-install solved the above major problem of stale code
      blocking out new code, I still have to restart jboss for a deploy to
      take effect. Is this normal, or is there a way to hot-deploy,
      without re-booting JBoss ?

      Bill.

      ===============================
      FYI, I deploy by copying a war file into default/deploy/,
      and my environment is as follows:

      10:03:02,062 INFO [ServerInfo] Java version: 1.4.2_02,Sun Microsystems Inc.
      10:03:02,062 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_02-b03,Sun Microsystems Inc.
      10:03:02,062 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      ===============================

        • 1. Re: Stale Servlets Block Deployment
          bwinspur

          I have decided to rework this note, and to post it in the installation fourm.

          I think the problem is more precisely described as a classloading problem, i.e. a 'stale classes', rather than a 'stale servlets' problem, and the classloader-related warnings I get on startup of the unchanged 3.2.3 download are reasonably categorized as an installation problem.