Greetings.
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"
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:357
)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:191
)
org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1318)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1560)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:22
0)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:422)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
07)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
74)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
A number of bits of (?) important info:
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]