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
Block access to a single website - Software Resttriction Policies
Deploy RemoteApp MSI using GPO
Preserving MS Word settings
Getting IIS7 to Show Friendly Error Messages in ASP
find button
APEX custom user password edit
How can i assign an admin to Joomla installation
Outlook business Card
msoutlook 2007 data file do not compress
Transport-level error / (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)