Microsoft
Software
Hardware
Network
Question : programmatically find WebappsClassLoader in tomcat
I need to load the correct classloader for jpa implementation. that would be the WebappClassLoader in Tomcat. but because my lib class is in the shared lib directory, when I call
getClass().getClassLoader(
)
I got the org.apache.catalina.loader
.StandardC
lassLoader
instead. as a result hibernate provider is not able to find the classes under WEB-INF/classes.
does any one know how to specifically find the WebappClassLoader inside a program?
Answer : programmatically find WebappsClassLoader in tomcat
>>it needs to grab a web app specific class using the correct class loader.
If you mean you want a common lib class to access a specific web app's classes, that can't be done.
Moreover, it shouldn't need to be
Random Solutions
VBA application hangs up at a certain point
Disabling software restriction policy
Gigabit motherboard but only running 100 Mbps on LAN
Network connections and startup speed on new computer
I need to stop, then re-start, a thread in a web service using IIS
Microsoft Access to VB6 MsFlexfrid
Wyse thin client and Citrix display/graphic lag
Windows XP BSOD 0x0000008e (0xc0000005, 0x805c3133, 0x96fc2a48, 0x00000000)
Comparison Netgear ReadyNAS vs. Buffalo Terastation
MS Access Subform not showing