[ 
https://issues.apache.org/jira/browse/JCR-1419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572879#action_12572879
 ] 

Jukka Zitting commented on JCR-1419:
------------------------------------

> Not running under Windows

It's actually not an issue about Windows as such, but a problem with spaces in 
paths. I have my m2 repository in C:\Users\Jukka Zitting\.m2\repository, so the 
cmd string breaks. Adding explicit quotes around the classpath fixed the 
problem for me, but I still think the solution is quite fragile.

> external process vs. threaded

I see your point about a "harder connection loss", but from the perspective of 
our code the result is just the same: a JDBC call throws an exception.  I don't 
see how the manner in which the connection is lost could affect the behaviour 
of our code, and so I prefer that we use simplest possible way to introduce 
such a scenario.


> Add test for database auto-reconnection
> ---------------------------------------
>
>                 Key: JCR-1419
>                 URL: https://issues.apache.org/jira/browse/JCR-1419
>             Project: Jackrabbit
>          Issue Type: Test
>          Components: jackrabbit-core, test
>            Reporter: Alexander Klimetschek
>            Assignee: Jukka Zitting
>             Fix For: 1.5
>
>         Attachments: DatabaseConnectionFailureTest.java, 
> jackrabbit-core.test-for-1400.patch
>
>
> Create a unit test for the database auto-reconnect feature (JCR-940).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to