2 Replies Latest reply on Oct 8, 2004 5:03 AM by Bernd Zeitler

    URLDeploymentScanner choking on GIFs and JPEGs

    otisg Newbie


      JBoss 3.2.5, newly installed. I'm having problems deploying my EAR expanded.
      It looks like URLDeploymenScanner is choking on my GIFs and JPEGs, like this:

      18:56:47,662 WARN [JARDeployer] Failed to add deployable jar: file:/opt/wgen-3p/.version/jboss-3.2.5/server/neptune/tmp/deploy/tmp2305833_bh.gif
      java.util.zip.ZipException: error in opening zip file
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)

      So, it looks like I need to tell JBoss not to try to unzip my GIFs and JPEGs. I thought I could do it by adding *.gif and *.jpg to some list of files to filter, but it looks like Filter defined in jboss-service.xml does not take any parameters and has only the default list of files to skip.

      I read

      Maybe this can be done some other way?

      GIFs and JPEGs deployed in an expanded EAR didn't give me any trouble with JBoss 3.2.3.