1 Reply Latest reply on May 29, 2003 2:13 PM by Joel Rives

    Undeploy Problem

    Joel Rives Newbie

      I am getting the following error/warning when I undeploy my EAR:

      2003-05-16 15:20:55,800 INFO [org.jboss.management.j2ee.EJBModule] destroy(), remove EJB-Module: jboss.management.local:J2EEApplication=nuschool.ear,J2EEServer=Local,j2eeType=EJBModule,name=nuschool-ejb.jar
      2003-05-16 15:20:55,800 DEBUG [org.jboss.management.j2ee.EJBModule] preDeregister(), parent: jboss.management.local:J2EEServer=Local,j2eeType=J2EEApplication,name=nuschool.ear
      2003-05-16 15:20:55,800 DEBUG [org.jboss.management.j2ee.EJBModule] Remove fake JSR-77 parent Application: jboss.management.local:J2EEServer=Local,j2eeType=J2EEApplication,name=nuschool.ear
      2003-05-16 15:20:55,800 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] UnifiedLoaderRepository removed(false) org.jboss.mx.loading.UnifiedClassLoader3@1deadf0{ url=file:/D:/jboss/jboss-3.2.0_tomcat-4.1.24/server/nuschool/tmp/deploy/server/nuschool/deploy/nuschool.ear/45.nuschool.ear ,addedOrder=31}
      2003-05-16 15:20:55,800 WARN [org.jboss.deployment.DeploymentInfo] Not deleting localUrl, it is null or not a copy: file:/D:/jboss/jboss-3.2.0_tomcat-4.1.24/server/nuschool/tmp/deploy/server/nuschool/deploy/nuschool.ear/45.nuschool.ear-contents/nuschool-ejb.jar
      2003-05-16 15:20:55,800 INFO [org.jboss.deployment.MainDeployer] Undeployed file:/D:/jboss/jboss-3.2.0_tomcat-4.1.24/server/nuschool/tmp/deploy/server/nuschool/deploy/nuschool.ear/45.nuschool.ear-contents/nuschool-ejb.jar
      2003-05-16 15:20:55,800 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] UnifiedLoaderRepository removed(false) org.jboss.mx.loading.UnifiedClassLoader3@1deadf0{ url=file:/D:/jboss/jboss-3.2.0_tomcat-4.1.24/server/nuschool/tmp/deploy/server/nuschool/deploy/nuschool.ear/45.nuschool.ear ,addedOrder=31}
      2003-05-16 15:20:55,810 WARN [org.jboss.deployment.DeploymentInfo] Could not delete directory file:/D:/jboss/jboss-3.2.0_tomcat-4.1.24/server/nuschool/tmp/deploy/server/nuschool/deploy/nuschool.ear/45.nuschool.ear restart will delete it
      2003-05-16 15:20:55,810 INFO [org.jboss.deployment.MainDeployer] Undeployed file:/D:/jboss/jboss-3.2.0_tomcat-4.1.24/server/nuschool/deploy/nuschool.ear

      Additionally, I can not delete the files mentioned in the warnings above due to a sharing violation (Windows 2000).

      I suspect this is what is causing me trouble after I redeploy. The redeploy goes fine but attempts to narrow remote Home references throw a ClassCastException. I think the old versions are hanging around because they did not get undeployed.

      Thanks in advance for any help,
      Joel