-
1. Re: VFS runtime generated class file not loaded
alesj Nov 2, 2012 5:22 PM (in response to debasisj)Temp files are complete impl details, hence I cannot see how it could work.
But you could mount some "virtual" resources via VFS API.
e.g. this is how we switch / modify JPA config files in CapeDwarf:
-
2. Re: VFS runtime generated class file not loaded
debasisj Nov 9, 2012 3:09 AM (in response to alesj)If I create the full path (where the runtime generated classes to be dropped) inside the packaged WAR and deployed it. It works . Could you please explain why it happens?
-
3. Re: VFS runtime generated class file not loaded
alesj Nov 9, 2012 3:53 AM (in response to debasisj)I'm not following what exactly do you do to make it work.
-
4. Re: VFS runtime generated class file not loaded
debasisj Nov 9, 2012 9:34 AM (in response to alesj)WAR exploded into a TMP folder, now our application generates some java files and compiled class files on the fly inside WEB-INF/classes. Now whenever application tries to load those generated classes then it says ClassNotFoundException.
Suppose our class package is: x.y.z and if I create a folder structure like x/y/z inside the WEB-INF/classes in packaged WAR then it works.
How JBOSS 7.1 application class loader works?
Thanks.