1 Reply Latest reply on Nov 28, 2003 4:18 AM by Godfrey Nang'oma

    WARNING messages on hot-deploy

    montia Newbie

      Hi,

      I'm using JBOSS 3.2.1. I've noticed that every time I deploy or redeploy one of my .ear files the following WARNINGs appear in my Eclipse 2.1.1 Console:

      14:16:49,434 WARN [DeploymentInfo] Not deleting localUrl, it is null or not a copy: file:/C:/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/ALIASApp.ear/33.ALIASApp.ear-contents/ALIASWeb.war

      14:16:49,845 WARN [DeploymentInfo] Not deleting localUrl, it is null or not a copy: file:/C:/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/ALIASApp.ear/33.ALIASApp.ear-contents/ALIASEJB.jar

      14:16:49,875 WARN [DeploymentInfo] Could not delete directory file:/C:/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/ALIASApp.ear/33.ALIASApp.ear restart will delete it

      14:17:04,356 WARN [jbossweb] WARNING: Can't reuse C:\DOCUME~1\MyUser\LOCALS~1\Temp\Jetty_0_0_0_0_8080__gwl, using C:\DOCUME~1\MyUser\LOCALS~1\Temp\Jetty_0_0_0_0_8080__gwl_59911

      Needless to say, during one day of testing I accumulate lots and lots of folders in my Temp directory:
      Jetty_0_0_0_0_8080__gwl_38422
      Jetty_0_0_0_0_8080__gwl_38423
      Jetty_0_0_0_0_8080__gwl_38424
      Jetty_0_0_0_0_8080__gwl_38425
      etc...

      Does anyone know why this happens and what can I do to fix it? Is this happening at all in JBoss 3.2.2?

      Thank you,
      Montia

        • 1. Re: WARNING messages on hot-deploy
          Godfrey Nang'oma Newbie

          Hello Montia,
          I had similar problem when using JBOSS 3.2.1. As a result of this problem, I always ended up getting ClassCast Exception when my servlet tries to use EJB (entity bean).
          I do not know if you are having the same Class Cast Exception, I guess it depends on what you are doing.

          My work around was to restart JBOSS. Then I decided to upgrade to 3.2.2. Since then, I am happy JBOSS user. Hot deployment is working like a charm.

          I suggest, you try 3.2.2

          Good luck.

          Godfrey