0 Replies Latest reply on Apr 18, 2002 4:53 PM by bvallade

    undeployment of ear directory

      Hello,
      I have successfully deployed an application by placing {application}.ear into the JBoss deploy directory. In the ear directory I have, among other things, a {application}.war directory with all my jsp's etc. I do this so jsp's can be changed without redeployment of the application. When I try to undeploy the application by removing the ear directory (instead of removing an ear file), I get the exception below:

      [INFO,AutoDeployer] Auto undeploy of file:/usr/local/JBoss-2.4.4_Tomcat-4.0.1/jboss/deploy/{application}.ear/
      [ERROR,AutoDeployer] Undeployment failed
      org.jboss.deployment.J2eeDeploymentException: The application " Default" has not been deployed.
      at org.jboss.deployment.J2eeDeployer.undeploy(J2eeDeployer.java:279)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.AutoDeployer.undeploy(AutoDeployer.java:415)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java(Compiled Code))
      at java.lang.Thread.run(Thread.java:498)

      Does anyone know why this occurs? How to resolve it?
      Thanks,
      Brandon