Re: [Resin-interest] Redirect or forwarding
I'm doing url-rewriting in code and not in conf. What I do is write some servlet mapping : servlet-mapping url-pattern=/fr/* servlet-name=urlmanager/ servlet-mapping url-pattern=/en/* servlet-name=urlmanager/ In the urlmanager servlet, I'm able to redirect or forward any request based on the current context (request url and application configuration) To redirect : response.sendRedirect(page); To forward : request.getRequestDispatcher(page).forward(request,response); About the choice between forward or redirect, it depends only if you want the browser's url to change or not. This has also an effect on search engine optimization. On 18/08/10 20:52, Francis, Steve (IHG) wrote: I'm not sure if I want a redirect of a forward here. I'll explain. I have a linux host with multpile IP addresses, and therefore, multiple DNS names. I'd like to be able to send requests for a base dns name with nothing after the .com to a specific application. http://hmisupportqa.hiw.com http://hmisupportqa.hiw.com/ to http://hmisupportqa.hiw.com/support/SupportServer and http://hmi-qa.hiw.com http://hmi-qa.hiw.com/ to http://hmi-qa.hiw.com/mqsservlet/ViewHdxMsg and still allow the standard website to be viewed via http://adczlnxhmiqa1.hiw.com http://adczlnxhmiqa1.hiw.com/ What I don't want is a bad url that redirects other valid urls such as http://hmisupportqa.hiw.com/support/DisplayHotelStatus back to the http://hmisupportqa.hiw.com/support/SupportServer as that would break the application. Is this possible? I couldn't really tell from the doc. Thanks, *Steve Francis* *Technical Advisor - zSeries, zLinux, z/OS* IHG Alpharetta Data Center Ph: 770-442-7157 Cell: 770-906-3122 IM: francisihg ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest -- Riccardo Cohen Architecte du Logiciel http://www.architectedulogiciel.fr +33 (0)6.09.83.64.49 Membre du réseau http://www.reflexe-conseil-centre.org ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] Resin 4, maven plugin complains about session-config
Hello, is anybody else using the maven plugin (4.0-SNAPSHOT) for resin? I have three problems right now, but i start with this one: The plugin gets confused by the line session-config in the web.xml: $ mvn -e resin:jspc WEB-INF/web.xml:245: com.caucho.server.webapp.WebApp.createSessionConfig(): java.lang.IllegalStateException: Server is not active in this context EnvironmentClassLoader[web-app:] 243: /servlet-mapping 244: 245: session-config 246: session-timeout30/session-timeout 247: /session-config Removing the lines solves the problem for compiling. The web.xml uses: http://java.sun.com/dtd/web-app_2_3.dtd; Can anybody verify this? -- GMX DSL SOMMER-SPECIAL: Surf Phone Flat 16.000 für nur 19,99 ¿/mtl.!* http://portal.gmx.net/de/go/dsl ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Cookie lifetime
Scott, any insight? Comment from our engineer below. This is resin 3.0 if it makes a difference. For the persistent session, the timeout is based on access time. So each new request resets the timer for the default 30min. Is he referring to the actual session object on the server or the session cookie in the browser? Yes, each new request does reset the timer on the session object on the server, but we are not seeing the expiry date on the cookie being updated. I have tested this on a server using IE8, Firefox 3.6, and the latest Chrome build with Resin running solo and with Apache running as the front end, and the results are the same in all browsers. When setting cookie-max-age in the session-config for the web app, the expiry date/time for the session's persistent cookie does not change on subsequent requests. I also verified that this behavior is exhibited. ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] Forward or Redirect
Ok..so I believe I will use forward, but the question still remains can I have it exact match ONLY if it has nothing following the .com, as in the http://hmisupport.hiw.com because if I forward anything else, the application wouldn't work. The regexp doc isn't clear on what all the special characters mean. Thx, Steve Francis Technical Advisor - zSeries, zLinux, z/OS IHG Alpharetta Data Center Ph: 770-442-7157 Cell: 770-906-3122 IM: francisihg -Original Message- From: resin-interest-boun...@caucho.com [mailto:resin-interest-boun...@caucho.com] On Behalf Of resin-interest-requ...@caucho.com Sent: Thursday, August 19, 2010 10:55 AM To: resin-interest@caucho.com Subject: resin-interest Digest, Vol 50, Issue 20 Send resin-interest mailing list submissions to resin-interest@caucho.com To subscribe or unsubscribe via the World Wide Web, visit http://maillist.caucho.com/mailman/listinfo/resin-interest or, via email, send a message with subject or body 'help' to resin-interest-requ...@caucho.com You can reach the person managing the list at resin-interest-ow...@caucho.com When replying, please edit your Subject line so it is more specific than Re: Contents of resin-interest digest... Today's Topics: 1. Redirect or forwarding (Francis, Steve (IHG)) 2. ConcurrentModificationException when InjectManager.findByName (Wesley Wu) 3. Re: Redirect or forwarding (Riccardo Cohen) 4. JSP error page -- javax.servlet.error.exception not accessible? (Marcin Koziej) 5. Resin 4, maven plugin complains about session-config (Olaf Krische) -- Message: 1 Date: Wed, 18 Aug 2010 14:52:29 -0400 From: Francis, Steve (IHG) steve.fran...@ihg.com Subject: [Resin-interest] Redirect or forwarding To: resin-interest@caucho.com Message-ID: c595e25cd30f3f4192918c5dfe51625901fa6...@hnatld1svrexg09.amer.corp.loca l Content-Type: text/plain; charset=us-ascii I'm not sure if I want a redirect of a forward here. I'll explain. I have a linux host with multpile IP addresses, and therefore, multiple DNS names. I'd like to be able to send requests for a base dns name with nothing after the .com to a specific application. http://hmisupportqa.hiw.com http://hmisupportqa.hiw.com/ to http://hmisupportqa.hiw.com/support/SupportServer http://hmisupportqa.hiw.com/support/SupportServer and http://hmi-qa.hiw.com http://hmi-qa.hiw.com/ to http://hmi-qa.hiw.com/mqsservlet/ViewHdxMsg http://hmi-qa.hiw.com/mqsservlet/ViewHdxMsg and still allow the standard website to be viewed via http://adczlnxhmiqa1.hiw.com http://adczlnxhmiqa1.hiw.com/ What I don't want is a bad url that redirects other valid urls such as http://hmisupportqa.hiw.com/support/DisplayHotelStatus http://hmisupportqa.hiw.com/support/DisplayHotelStatus back to the http://hmisupportqa.hiw.com/support/SupportServer http://hmisupportqa.hiw.com/support/SupportServer as that would break the application. Is this possible? I couldn't really tell from the doc. Thanks, Steve Francis Technical Advisor - zSeries, zLinux, z/OS IHG Alpharetta Data Center Ph: 770-442-7157 Cell: 770-906-3122 IM: francisihg -- next part -- An HTML attachment was scrubbed... URL: http://maillist.caucho.com/pipermail/resin-interest/attachments/20100818 /85d78442/attachment-0001.html -- Message: 2 Date: Thu, 19 Aug 2010 17:20:14 +0800 From: Wesley Wu wumen...@gmail.com Subject: [Resin-interest] ConcurrentModificationException when InjectManager.findByName To: Resin resin-interest@caucho.com Message-ID: aanlktimdjqq7g2mqp23h5i3p0+n4qaki7awgnzjpb...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 Often happened at 30 seconds after appserver start. [10-08-19 17:11:44.378] {server://*:6801-487} java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:977) at java.util.HashMap$KeyIterator.next(HashMap.java:1012) at java.util.HashMap.buildCache(HashMap.java:590) at java.util.HashMap.resize(HashMap.java:576) at java.util.HashMap.addEntry(HashMap.java:939) at java.util.HashMap.put(HashMap.java:477) at com.caucho.config.inject.InjectManager.findByName(InjectManager.java:759 ) at com.caucho.config.inject.InjectManager.getBeans(InjectManager.java:1254) at com.caucho.config.inject.InjectManager.getReferenceFactory(InjectManager .java:1268)
Re: [Resin-interest] ConcurrentModificationException when InjectManager.findByName
This is an error in your JSP/JSTL, not with Resin -- you are trying to modify (add to) a HashMap that you are iterating over. Here is a more detailed explanation: http://forums.sun.com/thread.jspa?threadID=5335803 Aaron On 8/19/2010 4:20 AM, Wesley Wu wrote: Often happened at 30 seconds after appserver start. [10-08-19 17:11:44.378] {server://*:6801-487} java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:977) at java.util.HashMap$KeyIterator.next(HashMap.java:1012) at java.util.HashMap.buildCache(HashMap.java:590) at java.util.HashMap.resize(HashMap.java:576) at java.util.HashMap.addEntry(HashMap.java:939) at java.util.HashMap.put(HashMap.java:477) at com.caucho.config.inject.InjectManager.findByName(InjectManager.java:759) at com.caucho.config.inject.InjectManager.getBeans(InjectManager.java:1254) at com.caucho.config.inject.InjectManager.getReferenceFactory(InjectManager.java:1268) at com.caucho.config.el.CandiElResolver.getValue(CandiElResolver.java:125) at com.caucho.el.EnvironmentLevelELResolver.getValue(EnvironmentLevelELResolver.java:154) at com.caucho.el.EnvironmentELResolver.getValue(EnvironmentELResolver.java:151) at com.caucho.el.StackELResolver.getValue(StackELResolver.java:143) at com.caucho.jsp.InitPageContextImpl.resolveVariable(InitPageContextImpl.java:88) at com.caucho.jsp.PageContextImpl$PageVariableMapper.resolveVariable(PageContextImpl.java:2183) at com.caucho.el.ELParser.parseSimpleTerm(ELParser.java:702) at com.caucho.el.ELParser.parseTerm(ELParser.java:460) at com.caucho.el.ELParser.parseExpr(ELParser.java:231) at com.caucho.el.ELParser.parseInterpolate(ELParser.java:194) at com.caucho.el.ELParser.parse(ELParser.java:113) at com.caucho.jsp.JspUtil.createExpr(JspUtil.java:69) at _jsp._WEB_22dINF._templates._default._home._album._view__jsp.caucho_init(_view__jsp.java:752) at com.caucho.jsp.JspManager.loadPage(JspManager.java:422) at com.caucho.jsp.JspManager.preload(JspManager.java:357) at com.caucho.jsp.JspManager.compile(JspManager.java:236) at com.caucho.jsp.JspManager.createPage(JspManager.java:191) at com.caucho.jsp.JspManager.createPage(JspManager.java:170) at com.caucho.jsp.PageManager.getPage(PageManager.java:339) at com.caucho.jsp.PageManager.getPage(PageManager.java:269) at com.caucho.jsp.PageManager.getPage(PageManager.java:252) at com.caucho.jsp.QServlet.getSubPage(QServlet.java:295) at com.caucho.jsp.QServlet.getPage(QServlet.java:210) at com.caucho.server.dispatch.PageFilterChain.compilePage(PageFilterChain.java:237) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:144) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:287) at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:289) -Wesley ___ 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
Re: [Resin-interest] Cookie lifetime
For the persistent session, the timeout is based on access time. So each new request resets the timer for the default 30min. Is he referring to the actual session object on the server or the session cookie in the browser? Yes, each new request does reset the timer on the session object on the server, but we are not seeing the expiry date on the cookie being updated. It's a session cookie, and as long as it expires on the server the contract established via the cookie becomes invalid as soon as the server 'thinks' cookie is no longer valid. Alex I have tested this on a server using IE8, Firefox 3.6, and the latest Chrome build with Resin running solo and with Apache running as the front end, and the results are the same in all browsers. When setting cookie-max-age in the session-config for the web app, the expiry date/time for the session’s persistent cookie does not change on subsequent requests. I also verified that this behavior is exhibited. ___ 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
Re: [Resin-interest] Forward or Redirect
Francis, Steve (IHG) wrote: Ok..so I believe I will use forward, but the question still remains can I have it exact match ONLY if it has nothing following the .com, as in the http://hmisupport.hiw.com because if I forward anything else, the application wouldn't work. The regexp doc isn't clear on what all the special characters mean. If you use regexp=^/$ you'll exactly match the root. The ^ means only match at the beginning and the $ means only match at the end. So ^/$ matches exactly the root and nothing else. -- Scott Thx, Steve Francis Technical Advisor - zSeries, zLinux, z/OS IHG Alpharetta Data Center Ph: 770-442-7157 Cell: 770-906-3122 IM: francisihg -Original Message- From: resin-interest-boun...@caucho.com [mailto:resin-interest-boun...@caucho.com] On Behalf Of resin-interest-requ...@caucho.com Sent: Thursday, August 19, 2010 10:55 AM To: resin-interest@caucho.com Subject: resin-interest Digest, Vol 50, Issue 20 Send resin-interest mailing list submissions to resin-interest@caucho.com To subscribe or unsubscribe via the World Wide Web, visit http://maillist.caucho.com/mailman/listinfo/resin-interest or, via email, send a message with subject or body 'help' to resin-interest-requ...@caucho.com You can reach the person managing the list at resin-interest-ow...@caucho.com When replying, please edit your Subject line so it is more specific than Re: Contents of resin-interest digest... Today's Topics: 1. Redirect or forwarding (Francis, Steve (IHG)) 2. ConcurrentModificationException whenInjectManager.findByName (Wesley Wu) 3. Re: Redirect or forwarding (Riccardo Cohen) 4. JSP error page -- javax.servlet.error.exception not accessible? (Marcin Koziej) 5. Resin 4,maven plugin complains about session-config (Olaf Krische) -- Message: 1 Date: Wed, 18 Aug 2010 14:52:29 -0400 From: Francis, Steve (IHG) steve.fran...@ihg.com Subject: [Resin-interest] Redirect or forwarding To: resin-interest@caucho.com Message-ID: c595e25cd30f3f4192918c5dfe51625901fa6...@hnatld1svrexg09.amer.corp.loca l Content-Type: text/plain; charset=us-ascii I'm not sure if I want a redirect of a forward here. I'll explain. I have a linux host with multpile IP addresses, and therefore, multiple DNS names. I'd like to be able to send requests for a base dns name with nothing after the .com to a specific application. http://hmisupportqa.hiw.com http://hmisupportqa.hiw.com/ to http://hmisupportqa.hiw.com/support/SupportServer http://hmisupportqa.hiw.com/support/SupportServer and http://hmi-qa.hiw.com http://hmi-qa.hiw.com/ to http://hmi-qa.hiw.com/mqsservlet/ViewHdxMsg http://hmi-qa.hiw.com/mqsservlet/ViewHdxMsg and still allow the standard website to be viewed via http://adczlnxhmiqa1.hiw.com http://adczlnxhmiqa1.hiw.com/ What I don't want is a bad url that redirects other valid urls such as http://hmisupportqa.hiw.com/support/DisplayHotelStatus http://hmisupportqa.hiw.com/support/DisplayHotelStatus back to the http://hmisupportqa.hiw.com/support/SupportServer http://hmisupportqa.hiw.com/support/SupportServer as that would break the application. Is this possible? I couldn't really tell from the doc. Thanks, Steve Francis Technical Advisor - zSeries, zLinux, z/OS IHG Alpharetta Data Center Ph: 770-442-7157 Cell: 770-906-3122 IM: francisihg -- next part -- An HTML attachment was scrubbed... URL: http://maillist.caucho.com/pipermail/resin-interest/attachments/20100818 /85d78442/attachment-0001.html -- Message: 2 Date: Thu, 19 Aug 2010 17:20:14 +0800 From: Wesley Wu wumen...@gmail.com Subject: [Resin-interest] ConcurrentModificationException when InjectManager.findByName To: Resin resin-interest@caucho.com Message-ID: aanlktimdjqq7g2mqp23h5i3p0+n4qaki7awgnzjpb...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 Often happened at 30 seconds after appserver start. [10-08-19 17:11:44.378] {server://*:6801-487} java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:977) at java.util.HashMap$KeyIterator.next(HashMap.java:1012) at java.util.HashMap.buildCache(HashMap.java:590) at java.util.HashMap.resize(HashMap.java:576) at java.util.HashMap.addEntry(HashMap.java:939) at java.util.HashMap.put(HashMap.java:477) at
Re: [Resin-interest] ConcurrentModificationException when InjectManager.findByName
Thanks Scott. Is my code causing this error as Aaron said? -Wesley 2010/8/20 Scott Ferguson f...@caucho.com: Aaron Freeman wrote: This is an error in your JSP/JSTL, not with Resin -- you are trying to modify (add to) a HashMap that you are iterating over. Except it's the Resin code that's modifying the HashMap. It's an easy fix. -- Scott Here is a more detailed explanation: http://forums.sun.com/thread.jspa?threadID=5335803 Aaron On 8/19/2010 4:20 AM, Wesley Wu wrote: Often happened at 30 seconds after appserver start. [10-08-19 17:11:44.378] {server://*:6801-487} java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:977) at java.util.HashMap$KeyIterator.next(HashMap.java:1012) at java.util.HashMap.buildCache(HashMap.java:590) at java.util.HashMap.resize(HashMap.java:576) at java.util.HashMap.addEntry(HashMap.java:939) at java.util.HashMap.put(HashMap.java:477) at com.caucho.config.inject.InjectManager.findByName(InjectManager.java:759) at com.caucho.config.inject.InjectManager.getBeans(InjectManager.java:1254) at com.caucho.config.inject.InjectManager.getReferenceFactory(InjectManager.java:1268) at com.caucho.config.el.CandiElResolver.getValue(CandiElResolver.java:125) at com.caucho.el.EnvironmentLevelELResolver.getValue(EnvironmentLevelELResolver.java:154) at com.caucho.el.EnvironmentELResolver.getValue(EnvironmentELResolver.java:151) at com.caucho.el.StackELResolver.getValue(StackELResolver.java:143) at com.caucho.jsp.InitPageContextImpl.resolveVariable(InitPageContextImpl.java:88) at com.caucho.jsp.PageContextImpl$PageVariableMapper.resolveVariable(PageContextImpl.java:2183) at com.caucho.el.ELParser.parseSimpleTerm(ELParser.java:702) at com.caucho.el.ELParser.parseTerm(ELParser.java:460) at com.caucho.el.ELParser.parseExpr(ELParser.java:231) at com.caucho.el.ELParser.parseInterpolate(ELParser.java:194) at com.caucho.el.ELParser.parse(ELParser.java:113) at com.caucho.jsp.JspUtil.createExpr(JspUtil.java:69) at _jsp._WEB_22dINF._templates._default._home._album._view__jsp.caucho_init(_view__jsp.java:752) at com.caucho.jsp.JspManager.loadPage(JspManager.java:422) at com.caucho.jsp.JspManager.preload(JspManager.java:357) at com.caucho.jsp.JspManager.compile(JspManager.java:236) at com.caucho.jsp.JspManager.createPage(JspManager.java:191) at com.caucho.jsp.JspManager.createPage(JspManager.java:170) at com.caucho.jsp.PageManager.getPage(PageManager.java:339) at com.caucho.jsp.PageManager.getPage(PageManager.java:269) at com.caucho.jsp.PageManager.getPage(PageManager.java:252) at com.caucho.jsp.QServlet.getSubPage(QServlet.java:295) at com.caucho.jsp.QServlet.getPage(QServlet.java:210) at com.caucho.server.dispatch.PageFilterChain.compilePage(PageFilterChain.java:237) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:144) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:287) at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:289) -Wesley ___ resin-interest mailing list resin-interest@caucho.com
Re: [Resin-interest] Possible memory leak in Resin 4.0.9
Hi Scott, I believe I've fixed this issue by adding @ApplicationScoped and @RequestedScoped annotation to my beans. :) Thanks for your efforts. -Wesley 2010/8/18 Wesley Wu wumen...@gmail.com: Hi Scott, Thanks for the checking. Today I double checked the CDI spec and got some new knowledge. Nearly all my beans were not annotated with any scope, so that they should be @Dependent. Some of the beans were created (not injected) in a servlet filter via a static ObjectFactory. I think the beans should be transient but they are NOT. They actually were probably immortal because they were created in a servlet filter (singleton in webapp). And also my ObjectFactory was annotated with @Singleton too, too bad. As a workaround, I may annotated most my beans as @ApplicationScoped or @SessionScoped, because they're all stateless. At least after a bean was annotated as @SessionScoped, the @PreDestroy method was correctly fired when the request ended. This workaround SHOULD address the memory leak problem of my site, though not thoroughly tested. It's my initial thought. Hope you have a full story to tell me, if u've got some time. :) Thanks again. -Wesley ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Possible memory leak in Resin 4.0.9
2010/8/20 Scott Ferguson f...@caucho.com: I still think there's a chance for a Resin leak; I just don't understand where it's coming from. I think so. The same code worked fine (no leak) in Resin 4.0.5. It shouldn't matter what context you're injecting from, as long as you're creating a new top-level CreationalContext. The getReference for a dependent bean shouldn't have any references to it. -- Scott ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Possible memory leak in Resin 4.0.9
Wesley Wu wrote: 2010/8/20 Scott Ferguson f...@caucho.com: I still think there's a chance for a Resin leak; I just don't understand where it's coming from. I think so. The same code worked fine (no leak) in Resin 4.0.5. Do you have access to the eclipse mat program or some other heap analyzer? If you can reproduce the issue, ask Resin to dump the heap (it's in /resin-admin/memory with the jvm heap dump button), and then ask the heap analyzer to trace the leaking memory to root, it would help track down this issue greatly. -- Scott It shouldn't matter what context you're injecting from, as long as you're creating a new top-level CreationalContext. The getReference for a dependent bean shouldn't have any references to it. -- Scott ___ 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] Resin 4, maven plugin can not find resin's own .tld
Hello everyone again :-) I continued to play around with the maven plugin from resin 4 $ mvn -e resin:jspc ... [INFO] com.caucho.jsp.JspLineParseException: A.jsp:1: 'http://java.sun.com/jstl/core' has no matching taglib-uri. Taglibs specified with an absolute URI must either be: 1) specified in the web.xml 2) defined in a jar's .tld in META-INF 3) defined in a .tld in WEB-INF 4) predefined by Resin 1: %@ taglib prefix=c uri=http://java.sun.com/jstl/core% ... 1,2,3) is valid, since i did not add my own jar for the core-tags, i rely on resin for that. So it should be 4), predefined by Resin. But why the plugin can not find it? Running this A.jsp in the Resin Application is no problem, on the other hand. I even checked the downoaded resin.jar, the core tld is there: $ ~/.m2/repository/com/caucho/resin/4.0-SNAPSHOT$ jar tvf resin 4.0-SNAPSHOT.jar | grep core-el.tld I checked the uri of that core-el.tld: urihttp://java.sun.com/jstl/core/uri So this should match properly. Manually i copied then the core-el.ld into the target/app/WEB-INF/ folder as suggested in 3). And this works. The plugin finds it. But only as a work around. Shouldnt the maven plugin also look into the resin.jar for tld? Or should not the TldManager at least know about its own tlds? Pity, the maven plugin is not available as source code. But maybe i am just doing something wrong. :-) -- Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Possible memory leak in Resin 4.0.9
I'll tried to do so. 2010/8/20 Scott Ferguson f...@caucho.com: Wesley Wu wrote: 2010/8/20 Scott Ferguson f...@caucho.com: I still think there's a chance for a Resin leak; I just don't understand where it's coming from. I think so. The same code worked fine (no leak) in Resin 4.0.5. Do you have access to the eclipse mat program or some other heap analyzer? If you can reproduce the issue, ask Resin to dump the heap (it's in /resin-admin/memory with the jvm heap dump button), and then ask the heap analyzer to trace the leaking memory to root, it would help track down this issue greatly. -- Scott It shouldn't matter what context you're injecting from, as long as you're creating a new top-level CreationalContext. The getReference for a dependent bean shouldn't have any references to it. -- Scott ___ 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