Re: [Resin-interest] How to make this simplest CanDI work ?

2010-03-21 Thread smallufo
After a whole day work (but in vain) , I modified my code : I take off all hibernate-related settings/libraries from persistence.xml and maven dependencies , I just want to first use resin's Amber to test whether CanDI works... This is database settings in resin-web.xml : database

[Resin-interest] Conditionalizing rewrite rules based on file/directory?

2010-03-21 Thread Rick Mann
With my WordPress installation, I need to redirect some kinds of posts to /index.php. I currently have these two rules: forward regexp=[0-9]+/.* target=/index.php/ forward regexp=^/about/? target=/index.php/ The first redirects URIs that match /year/month/post-name The second

[Resin-interest] More Quercus problems (Resin 4.0.4)

2010-03-21 Thread Rick Mann
While Resin 4.0.5 choked on this particular PHP construct everywhere, 4.0.4 chokes on it a bit differently only here (so far). Resin 4.0.5 would get a StackOverflowError trying to parse it, 4.0.4 gets this java.lang.UnsupportedOperationException. The PHP causing the error is: do {

Re: [Resin-interest] 4.0.0 on osx deploy problem

2010-03-21 Thread Jeff Schnitzer
FWIW, Resin on OSX seems to work fine despite the error messages. Jeff On Sat, Mar 20, 2010 at 6:12 AM, Jon Stevens latch...@gmail.com wrote: Yes, I can't remember what the solution was. =( Sorry! jon On Sat, Mar 20, 2010 at 2:16 AM, Rick Mann rm...@latencyzero.com wrote: John, did you

Re: [Resin-interest] 4.0.0 on osx deploy problem

2010-03-21 Thread Rick Mann
Hmm, not for me. It seems to keep restarting (I think, I'm not sure now). I've tried so many resin versions on so many platforms in the last week, it's all a blur. On Mar 21, 2010, at 17:39:13, Jeff Schnitzer wrote: FWIW, Resin on OSX seems to work fine despite the error messages. Jeff

Re: [Resin-interest] How to make this simplest CanDI work ?

2010-03-21 Thread smallufo
I can now pinpoint the error , It's because I declare the PersistenceContextType to PersistenceContextType.EXTENDED !!! I don't know why resin cannot initialize EXTENDED PersistenceContext Maybe caucho should look into the PersistenceContextGenerator.java , create() method try { if