We have rolled back to Resin 3.1.8 and recompilation on every request does not happen. So this bug could be related to 3.2.x versions.
Regards Prasad --- Prasad Chaudhari <[email protected]> schrieb am Di, 31.3.2009: Von: Prasad Chaudhari <[email protected]> Betreff: Re: [Resin-interest] Recompilation of jsp on every request for the same page An: "General Discussion for the Resin application server" <[email protected]> Datum: Dienstag, 31. März 2009, 3:24 I do not see it as a permissions issue. I use windows XP and resin can write to that directory as it everytime compiles classes(jsps and tags) to the directory (work). I have tried it with Resin 3.2.1 as well, same result. Some additional info. Resin is configured so that document-directory is a different location than resin home. Please see below the lines from resin.xml <web-app id="/web" document-directory="D:/work/branches/web-projects/target/project-name" startup-mode="automatic"> Best Regards Prasad --- Scott Ferguson <[email protected]> schrieb am Mo, 30.3.2009: Von: Scott Ferguson <[email protected]> Betreff: Re: [Resin-interest] Recompilation of jsp on every request for the same page An: "General Discussion for the Resin application server" <[email protected]> Datum: Montag, 30. März 2009, 12:17 On Mar 30, 2009, at 1:18 AM, Prasad Chaudhari wrote: 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? Can you double check all the permissions, including all the parent directory permissions? The -1 implies that Resin can't load the class at all. -- Scott Best Regards Prasad --- Scott Ferguson <[email protected]> schrieb am Fr, 27.3.2009: Von: Scott Ferguson <[email protected]> Betreff: Re: [Resin-interest] Recompilation of jsp on every request for the same page An: "General Discussion for the Resin application server" <[email protected]> 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 [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest
_______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest
