Hi,

> I know the name of the interfaces and by default I have a wrong version of 
> these interfaces in my WEB-INF/classes/ path.

Don't have a wrong version by default, that's a bad practice.

> I tried to load theses interfaces using a URLClassLoader unsuccessfully.
> I also tried to replace the .class in WEB-INF/classes/, but the problem is 
> that the webapp is reloading itself.

Turn off the reloadable property of your webapp by adding reloadable="false" to
the context definition.  If you do want to dynamically load classes, just use
Class.forName("my.class.name").

> Any idea about how to do that?

See above.

> Is Tomcat able to load classes without reloading the whole webapp or 
> restarting ?

Yes, read the documentation on Class.forName and the context reloadable
property.  Once you've done that and/or tried the above, please post further
questions to the tomcat-user mailing list.  This list is for Tomcat's internal
development discussions.  (You're of course welcome to hang around and chat
here, but only about topics that related to Tomcat's own internal development)
Thank you ;)

Yoav

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to