0 Replies Latest reply on Feb 13, 2002 11:15 AM by Jason Robertson

    Deploy/Undeploy Error

    Jason Robertson Newbie

      I had a problem in my ejb-jar.xml file that was causing my EJB deployment to fail (I forgot package names when defining my local/local-home/ejb-class values). This is, of course, expected to fail, but then I couldn't undeploy by removing my jar file or overwriting it. To try again I had to shut down and restart JBoss.

      The following error appears on the console about once a second after removing or overwriting the jar file:

      11:11:10,187 INFO [MainDeployer] Undeploy di file:/C:/web/jboss-20010207/jboss-
      all/build/output/jboss-3.0.0DR1/deploy/MyEJBs.jar
      11:11:10,203 ERROR [MainDeployer] Undeployment failed: file:/C:/web/jboss-200102
      07/jboss-all/build/output/jboss-3.0.0DR1/deploy/MyEJBs.jar
      org.jboss.deployment.DeploymentException: URL not deployed
      at org.jboss.ejb.EJBDeployer.undeploy(EJBDeployer.java:470)
      at org.jboss.ejb.EJBDeployer.undeploy(EJBDeployer.java:459)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:320)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:273)
      at org.jboss.deployment.MainDeployer.run(MainDeployer.java:242)
      at java.lang.Thread.run(Thread.java:484)