Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6117

IOException in VFS while undeploying a Seam example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBossAS-5.0.0.GA
    • JBossAS-5.0.0.CR2
    • Deployers
    • None
    • Workaround Exists
    • Hide

      Adding proper jboss-structure.xml to top META-INF fixes this, as it will make a temp copy,
      hence it will still find it on undeploy.

      <structure>
      <context modification="temp">
      <path name=""/>
      <metaDataPath>
      <path name="META-INF"/>
      </metaDataPath>
      <classpath>
      <path name="lib" suffixes=".jar"/>
      </classpath>
      </context>
      ...
      </structure>

      Show
      Adding proper jboss-structure.xml to top META-INF fixes this, as it will make a temp copy, hence it will still find it on undeploy. https://www.jboss.org/community/docs/DOC-13178 <structure> <context modification="temp"> <path name=""/> <metaDataPath> <path name="META-INF"/> </metaDataPath> <classpath> <path name="lib" suffixes=".jar"/> </classpath> </context> ... </structure>

    Description

      The exception below is thrown multiple times when attempting to undeploy the seam wicket example from AS 5 CR2.

      To reproduce download and/or build the latest Seam 2.1.0 (trunk) release. Navigate to rhe $SEAM/examples/wicket directory and type "ant archive". Then deploy $SEAM/examples/wicket/dist/jboss-seam-wicket-booking.ear to AS 5. Then attempt to undeploy the example by deleting the EAR file. You should see the exception below.

      Caused by: java.io.IOException: Child not found jboss-seam-wicket-booking.ear/lib/wicket.jar/org/apache/wicket/Application.properties for FileHandler@21707409[path context=file:/jboss/projects/seam/2.1.0.GA/jboss-5.0.0.CR2/server/default/deploy/ real=file:/jboss/projects/seam/2.1.0.GA/jboss-5.0.0.CR2/server/default/deploy/]
      at org.jboss.virtual.VFS.findChild(VFS.java:211)
      at org.jboss.virtual.plugins.vfs.VirtualFileURLConnection.resolveCachedVirtualFile(VirtualFileURLConnection.java:122)
      at org.jboss.virtual.plugins.vfs.VirtualFileURLConnection.getVirtualFile(VirtualFileURLConnection.java:144)
      at org.jboss.virtual.plugins.vfs.VirtualFileURLConnection.getLastModified(VirtualFileURLConnection.java:89)
      ... 4 more

      Attachments

        Activity

          People

            ajustin@redhat.com Ales Justin
            jbalunas@redhat.com Jay Balunas
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: