Dear All,
Please solve Jboss5 Problem Regarding VFS(Virtual File System)
My Application Code:-
URL url = getClass().getClassLoader().getResource("com/test/ticketTemplate.tpl");
URLConnection objJarURLConnection = url.openConnection();
URI uri=url.toURI();
File file=new File(uri);
System.out.println("Step 3 ");
fileStream = new FileInputStream(file);
byte[] b = new byte[fileStream.available()];
fileStream.read(b);
above code executing sucessfull Jbos4.0.5Ga whenever we are deployed Jboss5.0.1Ga at the time we will get this error
"URI scheme is not "file""
Server Console:-
19:11:17,296 INFO [STDOUT] vfszip:/E:/jboss-5.0.1.GA/server/all/deploy/T
estFileWeb.war/WEB-INF/classes/com/test/ticketTemplate.tpl
19:11:17,296 INFO [STDOUT] uri:--> /E:/jboss-5.0.1.GA/server/all/deploy/TestFil
eWeb.war/WEB-INF/classes/com/test/ticketTemplate.tpl
Please tell me what'is the Problem aln also explain VFSZIP
Thanks&Regards
Vinaya
19:11:17,296 INFO [STDOUT] Exception URI scheme is not "file"