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

IOException: unknown protocol: vfsfile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBossAS-5.0.0.Beta2
    • None
    • None
    • None
    • Hide

      Set this system property

      <sysproperty key="java.protocol.handler.pkgs" value="org.jboss.virtual.protocol"/>

      Show
      Set this system property <sysproperty key="java.protocol.handler.pkgs" value="org.jboss.virtual.protocol"/>

    Description

      All webservice tests fail because of

      Caused by: java.io.IOException: unknown protocol: vfsfile
      at java.net.URL.readObject(URL.java:1217)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
      at org.jboss.ws.core.jaxrpc.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:112)

      An application client is bound into JNDI. At lookup time and object is deserialized that contains a URL property with the vfsfile protocol. It seems that the JNDI layer is not aware of the URLStreamHandlerFactory

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            tdiesler@redhat.com Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: