I have sent a number of posts on an issue I have been experiencing in TC 5 (5.0.19 and now 5.0.24) regarding classloading of TEI classes (one in one or two instances custom tag classes).
Yoav asked me to try and create a WAR with the problem existing within the WAR. I have failed to do this I am afraid. I have however been able to determine a number of additional bits of information:
Problem synopsis:
After a restart of Tomcat (5.0.24) and Apache 2.0.49 (jk2.04) - the first request the the webapp produces the following error more often than not - (however after a refresh this error goes away):
Alternatively, the following error is sometimes thrown (also goes away after a refresh):
org.apache.jasper.JasperException: /doclib/foldermain.jsp(14,0) Unable to load tag handler class "com.platform_basic.security.IfAccessTag" for tag "pb:ifAccess"
1. The problem NEVER occurs when access the webapp directly via Tomcat (the HTTP1.1 connector) - it only occurs when accessing the webapp via Apache and AJP1.3 using mod_jk2.04.
2. The problem is more apprent if the webapp uses frames in its structure (with each frame containing a JSP that accesses the taglib)
3. If I manually classload the TEI classes in an Init servlet that the container loads at startup the errors do not seem to occur.
Is there a difference between some classloader (WebAppClassLoader) initialisation routines if the access is via the Tomcat HTTP connector vs. the AJP JK Connector?
Hope someone has some ideas!
Regards,
Carl
--------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)