[jboss-dev-forums] [Design of POJO Server] - Re: VirtualFile.toURL() returning vfsfile:

bill.burke@jboss.com do-not-reply at jboss.com
Wed Oct 25 17:51:20 EDT 2006


I can only get it to work by doing both the useCaches(false) and pre-reading the stream into a BAIS.  But it boots twice as slow as normal.  I have to do this trick for FileHandlers, JarHandlers, and JarEntry handlers.

I'm really nervous that basing everything on a VFS URL will not work with other VMs.  There's all this funky shit caching going on behind the scenes that I can only get a glimpse at by decompiing Sun specific JDK code.  Some of the problems are hidden within native methods as well.  I got all this to work so far by guessing...



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980856#3980856

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980856



More information about the jboss-dev-forums mailing list