2 Replies Latest reply on Feb 19, 2007 12:14 PM by Peter Johnson

    CAnnot deploy exploded war

    David Plass Newbie

      I'm running a Tomcat-only install of JBoss 4.0.5GA.
      I cannot deploy an exploded war. I always get "Exception fixing docBase: {0}
      java.util.zip.ZipException: The system cannot find the path specified"
      even with a (nearly) empty war directory - it still gives this message. There are only 3 files: a simple html file (.jsp), WEB-INF/web.xml and WEB-INF/jboss-web.xml.

      Any clues?!

        • 1. Re: CAnnot deploy exploded war
          mailinator Novice

          I have a same problem. My exploded war resides outside jboss's deploy directory and is linked to be deployed in jboss-service.xml

          <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
           <attribute name="URLs">

          I have tried also to put / character at the end (.../selenium-test.war/). Exception disappeared, but war was not deployed.

          • 2. Re: CAnnot deploy exploded war
            Peter Johnson Master

            mailinator, you should have created a new post, not appended to an existing one.

            But to answer your question, set URLs to:


            The key is that any URLs entry ending in '/' is trated as a direcotry and that directory is scanned for things to deploy (both files and exploded directories). Anything that does not end in a '/' must be a file, which means that the war would have to be packaged.