In trying to diagnose performance issues, I noticed some issues with  
my use of custom JSP tags.

I have a set of tags defined in JSPs in WEB-INF/tags. I reference them  
in my JSP with

<%@ taglib prefix="lz" tagdir="/WEB-INF/tags"%>

But I see this in the logs:

[04-01 16:43:35.113] {http--80-0}  FINEST  
(com.caucho.jsp.TagFileManager) com.caucho.jsp.JspParseException: tag  
file '/WEB-INF/tags' must end with .tag or .tagx


I also see complaints about invocation:

[04-01 16:43:33.870] {http--80-0}  FINEST  
(com.caucho.server.webapp.WebApp) real-path /test.jsp -> /export/home/ 
satdb/www/org/satdb/www/test.jsp
[04-01 16:43:33.886] {http--80-0}  INFO (com.caucho.jsp.TldManager)  
Loading .tld files from global classpath
[04-01 16:43:34.248] {http--80-0}  FINE (com.caucho.jsp.PageManager)  
Jsp[] uri:/test.jsp(cp:,app:/export/home/satdb/www/org/satdb/www) -> / 
export/home/satdb/www/org/satdb/www/test.jsp
[04-01 16:43:34.256] {http--80-0}  FINEST  
(com.caucho.loader.DynamicClassLoader) DynamicClassLoader[] adding  
loader SimpleLoader[/export/home/satdb/www/org/satdb/www/WEB-INF/work]
[04-01 16:43:34.270] {http--80-0}  FINE  
(com.caucho.make.ClassDependency) java.lang.ClassNotFoundException:  
_jsp._WEB_22dINF._tags._base__tag in 
EnvironmentClassLoader[web-app:http://default 
]

But it does seem to get invoked in the end.


Also, unrelated to tags, I see this:

[04-01 16:57:15.192] {Thread-6}  FINE  
(com.caucho.loader.JarListLoader) tools.jar does not exist (path=/usr/ 
local/java/versions/jdk1.6.0_12/jre/lib/tools.jar)
[04-01 16:57:15.192] {Thread-6}  FINER  
(com.caucho.loader.DynamicClassLoader)  
DynamicClassLoader[JarLoader[[]]] skipping duplicate URL file:/usr/ 
local/java/versions/jdk1.6.0_12/lib/tools.jar

Now, I think I may have a wonky Java installation. I don't have  
tools.jar in "/usr/local/java/versions/jdk1.6.0_12/jre/lib", but I DO  
have one in "/usr/local/java/versions/jdk1.6.0_12/lib", which the  
second line above says it's skipping.

Anyone know what's up with this?

Thanks!

-- 
Rick



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to