RE: How to use custom classloader to load my own app classes in tomcat?
> From: Chinmoy Chakraborty [mailto:cch...@gmail.com] > Subject: Re: How to use custom classloader to load my own app classes > in tomcat? > > how to tell tomcat to use my custom classloader to load > classes of my app? Read the doc: http://tomcat.apache.org/tomcat-6.0-doc/config/loader.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: How to use custom classloader to load my own app classes in tomcat?
Thanks a lot for your reply. This is what I want: I have a webapplication and I want to load the classes of my app (../WEB-INF/classes & ../WEB-INF/lib) using my own classloader. Now I have my own classloader. My question is, how to tell tomcat to use my custom classloader to load classes of my app? can you please elaborate your point [2] i.e. Write code in web app to use your custom classloader? could you please give me an example? hope i have made clear about what i want to achieve. Chinmoy On Thu, Jan 21, 2010 at 5:58 PM, Peter Crowther wrote: > 2010/1/21 Chinmoy Chakraborty > > > How I can use my own custom classloader to load my own app classes inside > > webapp? Please share some ideas. > > > > 1) Write custom classloader. > 2) Write code in web app to use your custom classloader. > > Sorry... if you want us to help you, I think you'll need to provide more > information about what you're trying to achieve. > > - Peter >
Re: How to use custom classloader to load my own app classes in tomcat?
2010/1/21 Chinmoy Chakraborty > How I can use my own custom classloader to load my own app classes inside > webapp? Please share some ideas. > > 1) Write custom classloader. 2) Write code in web app to use your custom classloader. Sorry... if you want us to help you, I think you'll need to provide more information about what you're trying to achieve. - Peter
How to use custom classloader to load my own app classes in tomcat?
Hi All, How I can use my own custom classloader to load my own app classes inside webapp? Please share some ideas. Chinmoy