[jboss-jira] [JBoss JIRA] Commented: (JBVFS-147) Cannot read from vfs: protocol URL

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Tue Mar 9 15:21:58 EST 2010


    [ https://jira.jboss.org/jira/browse/JBVFS-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12519049#action_12519049 ] 

Thomas Diesler commented on JBVFS-147:
--------------------------------------

If I don't mount I can't do 

VirtualFile manifest = archive.getChild(JarFile.MANIFEST_NAME);

is there I way that both can be handled transparently?

> Cannot read from vfs: protocol URL
> ----------------------------------
>
>                 Key: JBVFS-147
>                 URL: https://jira.jboss.org/jira/browse/JBVFS-147
>             Project: JBoss VFS
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.0.0.CR3
>            Reporter: Thomas Diesler
>            Assignee: John Bailey
>             Fix For: 3.0.0.CR4
>
>
> Cannot read bytes from vfs: protocol URL
> URL url = new URL("vfs:/home/tdiesler/svn/jboss-osgi/projects/testing/trunk/target/test-libs/example-simple.jar/");
> URLConnection con = (URLConnection)url.openConnection();
> InputStream inputStream = con.getInputStream();
> int read = inputStream.read();
> read is -1

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list