[jboss-dev] How to fix vfs?

Ales Justin ales.justin at gmail.com
Tue Feb 17 11:56:36 EST 2009


>> This change
>> http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/vfs/trunk/src/main/java/org/jboss/virtual/VFSUtils.java?r1=83684&r2=83683&pathrev=83684
>> and its current usage within the VFS make all that for nothing.
>>
> 
> It was easy to figure out the problem was due to broken vfs paths
> by looking at the error message and then working back through the
> stacktrace:
> 
> java.io.IOException: Child not found /lib/common.jar/
> <snip/>
> at org.jboss.virtual.plugins.registry.DefaultVFSRegistry.findHandler(DefaultVFSRegistry.java:107) 
> at
> org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(DefaultVFSRegistry.java:81) 
> at
> org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(DefaultVFSRegistry.java:119)
> 
> You can even see that adding the / wouldn't be valid if that path was
> the URI/URL because from the previous log statement, it is not unpacked
> and therefore not a directory.
> 
> "
> Searching mapped entities in jar/par:
> vfszip:snipped/ejb3_pkg_scope.jar/lib/common.jar
> "

I don't think this is the problem.

"vfszip:snipped/ejb3_pkg_scope.jar/lib/common.jar" is broken in the 
first place.

lib/common.jar is in .ear not .jar.




More information about the jboss-development mailing list