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
Is there a way to provide a range of values to the decode feature of SQL Query?
iSCSI Performance Tuning
Convert PDF into Excel spreadsheet
MPP microsoft project plan. How can i open a file created in ver 2010 in MPP 2003 or 2007.
Sun Certified Developer for Java Web Services 5 - Study guide/suggestions
New Hire Workflow in WSS
How can you search e-mail within Outlook 2010 and not use the index?
Installing SSL certifcate on exchange 2010
creating user defined services on windows 7
Airport Code with reverse geo coding with google maps api