Em sexta-feira, 26 de outubro de 2012 14h44min06s UTC-2, Rodrigo Rosenfeld 
Rosas escreveu:

> Em quarta-feira, 24 de outubro de 2012 21h14min42s UTC-2, Jeremy Evans 
> escreveu:
>
>> On Tuesday, October 23, 2012 3:28:47 PM UTC-7, Jeremy Evans wrote:
>>
>>> The code to check connections for validity has been pushed.  I have the 
>>> extension that automatically checks connections for validity on pool 
>>> checkout written and apparently working based on the integration-level 
>>> tests, but I still need to add documentation and extension-level tests.  I 
>>> expect that the extension will be pushed to the master branch sometime 
>>> tomorrow.
>>>
>>
>> OK, the extension has been pushed up to GitHub, give it a shot and let me 
>> know how it works for you: 
>> https://raw.github.com/jeremyevans/sequel/master/lib/sequel/extensions/connection_validator.rb
>>
>>
> I gave it a try this afternoon but I had some issues using it on JRuby 
> with the jdbc-postgres driver and PG 9.2:
>
> https://github.com/jruby/activerecord-jdbc-adapter/issues/251
>
> So I created another gem for the meanwhile:
>
> https://github.com/rosenfeld/jdbc-postgresql
>
> With the new 9.2 JDBC4 driver I didn't have any issues and your extension 
> is working great!
>
> Amazing job. Thank you very much! We had issues again this morning and I'm 
> hoping the new version we're going to release with your extension should 
> stop the errors from happening. Our partner is really sad about this issue 
> and your work on this extension may save our asses :)
>
> Thank you very much!
>
 
Unfortunately I'm still having troubles when deploying on JRuby :(

When I call Devise's authenticate_user from my controller I get this:

ThreadError Exception: Mutex relocking by same thread

I'm trying to debug into Devise's internal now to understand what is 
happening but it seems that ruby-debug is a bit broken too on JRuby 1.7:

http://jira.codehaus.org/browse/JRUBY-6969

Well, it couldn't be that easy after all :) Wish me luck with my debugging 
session.

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sequel-talk/-/gI5lvrZSn4EJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to