On Thu, 2010-03-11 at 15:58 +0100, Grégory Joseph wrote: > Actually, using DataSources is support in Jackrabbit since at least JR 1.6 - > the information that was on this page referred to a 3rd party PM which was > quite outdated; i just removed it. > This should tell you how to configure it: > http://wiki.apache.org/jackrabbit/UsingJNDIDataSource
Thats nice, I'll see if I can get this arranged with our hostingprovider. Typical that this doesn't show up on searches, but only the old stuff does. > As for the log messages, they're admittedly worrying, but if you look at the > source of ConnectionRecoveryManager, you'll see that it's "normal". What > happens there is that a query or statement gets executed, fails because the > connection was lost (which is normal, your connection times out after a > while), the connection is refetched by ConnRecMan, and the query gets > reexecuted. This can happen up to 3 times until JackRabbit chokes for real. > Meantime, for every try, the errors are logged, and since MySQL's exception > messages tend to be big, this gets scary. It is good to know it is just complaining and not a serious error. I have just seen the error of the failing connection not errors caused by the connection failure. > Now my question: do you get these when using a DataSource or a direct > connection ? If a DS, how and where did you configure the DS? If a direct > connection, then there's no worry to be had if those are the only exceptions > you get - after the 3 trials, they get thrown up for real (and not just > logged), and at that point, you'd probably see much more exceptions in your > logs. Direct connection, getting just the connection erros, usually after a period of inactivity. Thanks, with this info I can setup a test with a datasource and see if I can get it implemented at our host. Might be a bit tight, the website launch is Monday. -- Rico Jansen ([email protected]) "You call it untidy, I call it LRU ordered" -- Daniel Barlow ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
