Uploaded image for project: 'JBoss VFS'
  1. JBoss VFS
  2. JBVFS-187

AbstractVirtualFileHandler log message: "No such existing handler, falling back to old root + path" is too strict

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 2.2.3.GA
    • 2.2.0.GA, 2.2.0.SP1, 2.2.1.GA
    • Release
    • None
    • Hide

      Deploy and then undeploy an exploded WAR that uses a context listener which needs to load a class as the context shuts down.

      Show
      Deploy and then undeploy an exploded WAR that uses a context listener which needs to load a class as the context shuts down.

      This is to strict, it should be INFO or even less.
      What we're trying to do here is get a real (non-temp) URL, for that we use original handler.
      And then try to get a child off this old handler, where since removed, is null.
      So we try our best to re-ceate the original url - hence warning.
      This can occur in normal operations such as when using a jboss-structure.xml:
      <structure>
      <context modification="temp">
      <path name=""/>
      <metaDataPath>
      <path name="WEB-INF"/>
      </metaDataPath>
      <classpath>
      <path name="WEB-INF/classes"/>
      <path name="WEB-INF/lib" suffixes=".jar"/>
      </classpath>
      </context>
      </structure>
      And if you deploy an exploded deployment and then remove it from the deploy directory triggering a undeploy will cause the warning.
      22:20:08,625 WARN [AbstractVirtualFileHandler] No such existing handler, falling back to old root + path: vfszip:/home/applications/servers/eap/jboss-eap-5.1.2/jboss-as/server/default/deploy/springtest3.2.war/WEB-INF/lib/spring-web-3.2.0.M2.jar/org/springframework/web/context/ContextCleanupListener.class

              rhn-support-csams Christopher Sams
              rhn-support-csams Christopher Sams
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: