[jboss-jira] [JBoss JIRA] Assigned: (JBMICROCONT-155) java.io.IOException: No context factory for vfsfile
Scott M Stark (JIRA)
jira-events at lists.jboss.org
Sat Nov 3 12:18:44 EDT 2007
[ http://jira.jboss.com/jira/browse/JBMICROCONT-155?page=all ]
Scott M Stark reassigned JBMICROCONT-155:
-----------------------------------------
Assignee: Ales Justin (was: Scott M Stark)
> java.io.IOException: No context factory for vfsfile
> ---------------------------------------------------
>
> Key: JBMICROCONT-155
> URL: http://jira.jboss.com/jira/browse/JBMICROCONT-155
> Project: JBoss MicroContainer
> Issue Type: Bug
> Components: VFS
> Affects Versions: JBossMC_2_0_0 Beta3
> Reporter: Scott M Stark
> Assigned To: Ales Justin
> Fix For: JBossMC-2.0.0.CR1
>
>
> The following org.jboss.test.virtual.test.FileVFSUnitTestCase:
> /**
> * Test that one can go from a file uri to VirtualFile and obtain the
> * same VirtualFile using VirtualFile vfsfile uri
> * @throws Exception
> */
> public void testVFSFileURIFactory()
> throws Exception
> {
> URL rootURL = getClass().getProtectionDomain().getCodeSource().getLocation();
> VFS rootVFS0 = VFS.getVFS(rootURL.toURI());
> VirtualFile root0 = rootVFS0.getRoot();
> VFS rootVFS1 = VFS.getVFS(root0.toURI());
> VirtualFile root1 = rootVFS1.getRoot();
> assertEquals(root0, root1);
> }
> fails with:
> java.io.IOException: No context factory for vfsfile:/home/svn/JBossMC/vfs/target/test-classes/
> at org.jboss.virtual.VFS.getVFS(VFS.java:83)
> at org.jboss.test.virtual.test.FileVFSUnitTestCase.testVFSFileURIFactory(FileVFSUnitTestCase.java:104)
> The VFSContextFactory uri mappings need to be updated to include the vfs* forms of the known handlers.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list