Re: [Resin-interest] config should be initializedbeforeany singleton beans

2008-04-22 Thread wesley
Thanks for your great work. It's a shame that Webbeans spec team has little respect of Resin. I've googled for "webbeans resin" and found only 1060 results, really shamed. I'll introduce resin's webbeans implementation to everyone I have influence on in China. -Wesley - Original Message --

Re: [Resin-interest] Blank Welcome Pages

2008-04-22 Thread Charles Lyons
This occurs from startup (first request for the resource) onwards and always results in 404 for the entire time the container is up (and, frequently, even after restarting too). Charles. On Apr 22 2008, Scott Ferguson wrote: >Just to check, but this occurs only on startup or at least the firs

Re: [Resin-interest] ActiveMQ connection timeout issue

2008-04-22 Thread wesley
Thanks for your fast and kindly response. As a temporarily workaround, I recompiled the ConnectionPool source, setting _maxActiveTime and _maxPoolTime to 720 hours and repacked it into resin.jar. - Original Message - From: Scott Ferguson To: General Discussion for the Resin applica

Re: [Resin-interest] Blank Welcome Pages

2008-04-22 Thread Scott Ferguson
Just to check, but this occurs only on startup or at least the first time the /index.html is accessed, not at a later time? -- Scott On Apr 20, 2008, at 8:30 AM, Charles Lyons wrote: >> /caucho-status would show the current mapping in mod_caucho. That >> would be the place to look. > > At the

Re: [Resin-interest] config should be initialized beforeany singleton beans

2008-04-22 Thread Scott Ferguson
On Apr 22, 2008, at 10:51 AM, wesley wrote: > So singleton beans will also got a lazy load after DataSource, right? It should, but the logic is sufficiently complicated that there might be a case that's not working. The current code basically has three phases: 1. configuration and class-e

Re: [Resin-interest] config should be initialized beforeany singleton beans

2008-04-22 Thread wesley
So singleton beans will also got a lazy load after DataSource, right? Thanks, Scott. ps. Do you have time to look at my previous post about how to config jca connection pool max-active-time? - Original Message - From: "Scott Ferguson" <[EMAIL PROTECTED]> To: "General Discussion for the

Re: [Resin-interest] ActiveMQ connection timeout issue

2008-04-22 Thread Scott Ferguson
On Apr 20, 2008, at 9:30 AM, wesley wrote: I'm using ActiveMQ(v5.1) jca adapter in Resin 3.1 snapshot0331. In my topic producer I manually create a JmsSesion and JmsConnection using JmsFactory and send a TextMessage, then close the connection explicitly. In my message driven bean I did not

Re: [Resin-interest] Remote debugging Resin 3.1

2008-04-22 Thread Scott Ferguson
On Apr 22, 2008, at 12:13 AM, Mattias Jiderhamn wrote: > Right! That is a good tip. > However, tags inside a causes the exception > below. > Seems really strange to me! > > server-root\conf\resin.conf:57: 'jvm-arg' is an unknown property > of > 'com.caucho.server.cluster.Server'. > > 55

Re: [Resin-interest] config should be initialized before any singleton beans

2008-04-22 Thread Scott Ferguson
On Apr 22, 2008, at 2:45 AM, wesley wrote: > Hi Scott, > > I'm upgrading snap080331 to snap080417. I found my hibernate > persistence unit not > working, with no jta-data-source configured. > I added 080417 src into my project and traced for a while and found > the reason. This is something

[Resin-interest] config should be initialized before any singleton beans

2008-04-22 Thread wesley
Hi Scott, I'm upgrading snap080331 to snap080417. I found my hibernate persistence unit not working, with no jta-data-source configured. I added 080417 src into my project and traced for a while and found the reason. I put an breakpoint at com.caucho.naming.Jndi.bindImpl(...) line:91 and r

Re: [Resin-interest] Remote debugging Resin 3.1

2008-04-22 Thread Mattias Jiderhamn
Andrew Fritz wrote (2008-04-18 16:37): > I am using remote debugging (and profiling also) with IntelliJ. I > assume it is tool agnostic. Here are the relevant JVM args from my > server.conf file: > > -Xdebug > -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9080 > > > > ... I just have