A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Products
»
Tomcat
Author
How to configure custom class loader ?
tanu dua
Ranch Hand
Joined: Apr 05, 2004
Posts: 145
posted
Aug 07, 2007 03:41:00
0
Hi,
I have created my custom class loader for my web application , but I ma not able to understand how to configure that in
Tomcat
so that when my web application classes are loaded it should be loaded from my custom class loader.
Please help
Thanks
Tanu
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
I like...
posted
Aug 07, 2007 07:09:00
0
As the name 'custom' suggests, it is pretty much up to you how these things should be done.
Have you read:
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
?
Typically, any code that needs to be run when an application is started is triggered from a context listener.
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContextListener.html
Java API
J2EE API
Servlet Spec
JSP Spec
How to ask a question...
Simple Servlet Examples
jsonf
I agree. Here's the link:
http://zeroturnaround.com/jrebel/download
subject: How to configure custom class loader ?
Similar Threads
Problem using custom ClassLoader
NoClassDefFoundError problem with WAR in 8.1
Problem using custom ClassLoader
How can we configure jboss startup script
java.lang.NoClassDefFoundError when trying a basic webservice using Spring WS 2.0.3
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter