Hi Scott,

Thanks for the reply.

Level was "fine" now I have changed it to "finer". 

After this change, no additional information was logged except for some tags 
entire source code was printed out in the log file.

Any guess why resin cannot load already compiled tag class? 

Best Regards
Prasad




--- Scott Ferguson <f...@caucho.com> schrieb am Fr, 27.3.2009:
Von: Scott Ferguson <f...@caucho.com>
Betreff: Re: [Resin-interest] Recompilation of jsp on every request for the 
same page
An: "General Discussion for the Resin application server" 
<resin-interest@caucho.com>
Datum: Freitag, 27. März 2009, 18:46


On Mar 27, 2009, at 4:29 AM, Prasad Chaudhari wrote:
Hi All,

Resin compiles the jsp page and its included tags every time that jsp page is 
clicked. Shouldn't Resin compile the JSP page only after first click?

After the changing the log level of resin to fine it shows following stack 
trace.

[11:43:09.445] {hmux-127.0.0.1:6800-16} 
_jsp._web_22dinf._tags._template.<b>_mainnavigation__tag</b> digest is modified 
(<b>old=-5390068824210296648,new=-1</b>)
[11:43:09.445] {hmux-127.0.0.1:6800-16} java.lang.ClassNotFoundException: 
Can you turn on "fine" or "finer" logging?
That "digest is modified" indicates that Resin can't load the tag class for 
some reason (so the calculated digest is -1).
-- Scott
_jsp._web_22dinf._tags._shop._searchbox__tag in 
EnvironmentClassLoader[web-app:http://
localhost:8080/web]
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1291)
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1269)
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
java.lang.Class.forName0(Native Method)
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
java.lang.Class.forName(Class.java:247)
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
com.caucho.make.ClassDependency.<init>(ClassDependency.java:83)
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
_jsp._web_22dinf._jsp._shop._homepage._homepage__jsp.init(<b>_homepage__jsp.java:693</b>)
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
com.caucho.jsp.JspManager.preload(JspManager.java:320)
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
com.caucho.jsp.JspManager.compile(JspManager.java:218)
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
com.caucho.jsp.JspManager.createPage(JspManager.java:171)
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
com.caucho.jsp.JspManager.createPage(JspManager.java:150)
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
com.caucho.jsp.PageManager.getPage(PageManager.java:307)
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
com.caucho.jsp.PageManager.getPage(PageManager.java:237)
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
com.caucho.jsp.PageManager.getPage(PageManager.java:220)
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
com.caucho.jsp.QServlet.getSubPage(QServlet.java:295)
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
com.caucho.jsp.QServlet.getPage(QServlet.java:210)
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
com.caucho.server.dispatch.PageFilterChain.compilePage(PageFilterChain.java:238)
[11:43:09.445] {hmux-127.0.0.1:6800-16}         at 
com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:145)

Same error as below can be observed for all included tags.

Can experts here tell why this is happening and how can it be fixed.

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

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



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

Reply via email to