0 Replies Latest reply on Dec 23, 2005 6:52 AM by Rajesh Chande

    WARN  [WebappClassLoader] Failed to open JAR

    Rajesh Chande Newbie

      Hello,

      I have installed jboss 4.0.2 both on windows and solaris 8, running fine. I have also deployed WAR and EAR application, they are also running fine.

      For hot deployment, I have used remote files instead of deploying files in the "deploy" directory.

      The conf/jboss-service.xml looks like:


      deploy/,
      file://c:/das/dist/das.war,
      file://c:/das/dist/das-ds.xml


      The applications are redeployed without any issues.

      But when i issue a shutdown OR ctrl-c on the server, i get the following error:

      Note: This below error does not exist at all while shutting down the servefr, if I deploy my EAR / WAR in the default "deploy" directory.

      ###############################
      16:33:02,351 WARN [WebappClassLoader] Failed to open JAR
      java.util.zip.ZipException: The system cannot find the file specified
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.(ZipFile.java:112)
      at java.util.jar.JarFile.(JarFile.java:127)
      at java.util.jar.JarFile.(JarFile.java:92)
      at org.apache.catalina.loader.WebappClassLoader.openJARs(WebappClassLoad
      er.java:1544)
      at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(Web
      appClassLoader.java:1763)
      at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
      ClassLoader.java:1570)
      at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
      der.java:850)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
      der.java:1299)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
      der.java:1181)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
      at org.apache.commons.collections.FastHashMap.keySet(Unknown Source)
      at org.apache.struts.action.ActionServlet.destroyDataSources(ActionServl
      et.java:769)
      at org.apache.struts.action.ActionServlet.destroy(ActionServlet.java:431
      )
      at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:
      1316)
      at org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java:16
      51)
      at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java
      :892)
      at org.apache.catalina.core.StandardContext.removeChild(StandardContext.
      java:3035)
      at org.apache.catalina.startup.ContextConfig.stop(ContextConfig.java:108
      3)

      ###############################

      Can anyone help me on resolving these issue?

      Thanks,
      Rajesh.