tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Schönhaber <tomcat-us...@list-post.mks-mail.de>
Subject How to make Tomcat 6.0.x load system classes from .class files?
Date Fri, 16 May 2008 13:31:08 GMT
Hi,

I just fiddled around with the source of
org.apache.jasper.compiler.Validator
I dimly remember that in Tomcat 5.x, after editing and rebuilding some
of Tomcat's classes, I just needed to drop the resulting .class file at
some special location and it was loaded instead of the .class file in
Tomcat's JARs.
After reading
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html#Class%20Loader%20Definitions
especially
> All unpacked classes and resources in $CATALINA_HOME/lib, as well as
> classes and resources in JAR files are made visible through this
> class loader.
it seems to me this should still be possible.
So I created $CATALINA_HOME/lib/org/apache/jasper/compiler and copied
the Validator* class files there. But AFAICT they are ignored by Tomcat.
I also preceded the value of common.loader in catalina.properties with
another directory where I put another copy of the class files. But they
are not picked up by Tomcat either.

What am I doing wrong?

Regards
  mks

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message