Re: [Resin-interest] Memory leak - in Resin?

2009-03-30 Thread Mattias Jiderhamn
Just tried a new idea: I subclassed EnvironmentClassLoader within the Resin sources and compiled into resin.jar. There is still a leak (in contrast to when I subclassed EnvironmentClassLoader within my own application). Conclusion: The classloader that loads the (Environment)ClassLoader class is

Re: [Resin-interest] Memory leak - in Resin?

2009-03-30 Thread Mattias Jiderhamn
After drawing the conclusion below, it isn't very far away to realize it probably has to do with some static (i.e. class loader specific) member of EnvironmentClassLoader. And just as I thought, the heart of the problem is private static EnvironmentLocalArrayListAddLoaderListener

Re: [Resin-interest] Recompilation of jsp on every request for the same page

2009-03-30 Thread Scott Ferguson
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

Re: [Resin-interest] resin-admin in 3.2.1. Pro feature only?

2009-03-30 Thread Scott Ferguson
On Mar 29, 2009, at 2:38 PM, Rick Mann wrote: Hi. When I first installed resin on my new machine, I could swear I had access to resin-admin. Now, it just gives me 404 errors. Near as I can tell it's configured. resin-admin is in both open source and pro. It has a specific web- app in the

Re: [Resin-interest] all my requested are limited with 3.2.1

2009-03-30 Thread Scott Ferguson
On Mar 28, 2009, at 5:21 PM, Riccardo Cohen wrote: Hello I have a problem with all my ejb requests in resin pro 3.2.1 When I execute this : Query hqr=m_manager.createQuery(select h from Adluser h order by h.id); hqr.setFirstResult(numstart); hqr.setMaxResults(numcnt); I have the

Re: [Resin-interest] 3.2.1 on Mac OS X/Darwin?

2009-03-30 Thread Rick Mann
On Mar 29, 2009, at 16:34:27, Riccardo Cohen wrote: I compiled the pro and open source version of resin321 on macos 10.5.6 last week and it worked with no problem on java 1.5 Any reason to use java 1.6 ? I tried switching back to Java 1.5, and continue to get the same errors. I wonder

Re: [Resin-interest] Why must we define beans in xml?

2009-03-30 Thread Jeff Schnitzer
Thanks... you're absolutely right. Works great. Jeff On Thu, Mar 26, 2009 at 9:40 AM, Scott Ferguson f...@caucho.com wrote: On Mar 25, 2009, at 7:27 PM, Jeff Schnitzer wrote: Is there a compelling reason why we must define our beans and services in resin-web.xml?  Will this continue to be

Re: [Resin-interest] 3.2.1 on Mac OS X/Darwin?

2009-03-30 Thread Emil Ong
On Mon, Mar 30, 2009 at 02:12:24PM -0700, Rick Mann wrote: On Mar 29, 2009, at 16:34:27, Riccardo Cohen wrote: I compiled the pro and open source version of resin321 on macos 10.5.6 last week and it worked with no problem on java 1.5 Any reason to use java 1.6 ? I tried switching

[Resin-interest] MBean Registration

2009-03-30 Thread Scott Hernandez
Is there an annotation based way to register Management Beans? I know I can do this in XML, but is there an annotation, or interface that will work the same way? resource mbean-name=subetha:name=Cleanup type=org.subethamail.core.admin.CleanupBean

[Resin-interest] Amber (JPA) Table Indexes

2009-03-30 Thread Scott Hernandez
Is there a way to hint to Amber that a column should be indexed? For example we will be doing a lot of queries like this: Select u from User where u.isActive == true ... And it would be nice if the isActive column is indexed. Thanks in advance, Scott

Re: [Resin-interest] Using Hibernate as EntityManager in Resin 4

2009-03-30 Thread Scott Hernandez
Well, I have configured a test app to use hibernate and I have a few problems (and a bit of success): I was able to get the same code working from a servlet, but when trying to get data I get an exception when running from a @Service (in the @PostConstruct method): [21:26:06.430] {main}