[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-10-07 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12763113#action_12763113 ] Rick Hillegas commented on DERBY-700: - Thanks Kathey and Myrna. The release note looks

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-09-24 Thread Knut Anders Hatlen (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12759061#action_12759061 ] Knut Anders Hatlen commented on DERBY-700: -- I think 10.1 is supposed to work with

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-09-02 Thread Mamta A. Satoor (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12750601#action_12750601 ] Mamta A. Satoor commented on DERBY-700: --- Rick, I was wondering if you knew the

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-19 Thread Knut Anders Hatlen (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744938#action_12744938 ] Knut Anders Hatlen commented on DERBY-700: -- ManagementMBeanTest started failing in

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-19 Thread Knut Anders Hatlen (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744946#action_12744946 ] Knut Anders Hatlen commented on DERBY-700: -- I noticed this in the new test

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-19 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12745098#action_12745098 ] Rick Hillegas commented on DERBY-700: - Committted derby-700-02-aa-testCleanup.diff at

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-19 Thread Myrna van Lunteren (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12745229#action_12745229 ] Myrna van Lunteren commented on DERBY-700: -- I backported the change to

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-18 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744479#action_12744479 ] Rick Hillegas commented on DERBY-700: - The tests ran cleanly for me except for an error

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-18 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744548#action_12744548 ] Rick Hillegas commented on DERBY-700: - Committed

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-18 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744557#action_12744557 ] Rick Hillegas commented on DERBY-700: - Ported 805448 from trunk to 10.5 branch at

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-18 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744593#action_12744593 ] Rick Hillegas commented on DERBY-700: - Ported 805448 from trunk to 10.3 branch at

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-18 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744592#action_12744592 ] Rick Hillegas commented on DERBY-700: - Ported 805448 from trunk to 10.4 branch at

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-18 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744657#action_12744657 ] Rick Hillegas commented on DERBY-700: - At this point I have ported the patch to all

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-14 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12743395#action_12743395 ] Rick Hillegas commented on DERBY-700: - Thanks, Mike. I will add that comment. I will

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-14 Thread Kathey Marsden (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12743447#action_12743447 ] Kathey Marsden commented on DERBY-700: -- There was a test in the earlier patches that

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-07 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12740552#action_12740552 ] Rick Hillegas commented on DERBY-700: - Hi Kathey. I'm now aware of a spec clarification

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-07 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12740588#action_12740588 ] Rick Hillegas commented on DERBY-700: - I have confirmed the following with Alan Bateman,

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-07 Thread Kathey Marsden (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12740623#action_12740623 ] Kathey Marsden commented on DERBY-700: -- This is indeed excellent news. I tried on SuSE

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-07 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12740635#action_12740635 ] Rick Hillegas commented on DERBY-700: - Hi Kathey. The bug id is 6332756. See

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-07 Thread Kathey Marsden (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12740641#action_12740641 ] Kathey Marsden commented on DERBY-700: -- Thanks Rick for the reference. Was there

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-07 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12740660#action_12740660 ] Rick Hillegas commented on DERBY-700: - Was there consideration given to bakcporting the

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-07 Thread Kathey Marsden (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12740669#action_12740669 ] Kathey Marsden commented on DERBY-700: -- If for 1.5 the property default is the current

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux and Mac OS X

2009-08-07 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12740673#action_12740673 ] Rick Hillegas commented on DERBY-700: - I think it's a good idea to clean up how we

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2009-05-06 Thread Kathey Marsden (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12706621#action_12706621 ] Kathey Marsden commented on DERBY-700: -- I did some testing with the thread name idea

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2009-03-22 Thread Kathey Marsden (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12688145#action_12688145 ] Kathey Marsden commented on DERBY-700: -- I have been thinking about this issue and

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-06-29 Thread Daniel John Debrunner (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509163 ] Daniel John Debrunner commented on DERBY-700: - With the changes made for DERBY-2737 it might be wise to

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-06-19 Thread Kathey Marsden (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506228 ] Kathey Marsden commented on DERBY-700: -- Dan asked: Could the problem (needing to expand) with the

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-06-18 Thread Kathey Marsden (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505957 ] Kathey Marsden commented on DERBY-700: -- I am working to move the intraJVM lock into StorageFile,

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-06-18 Thread Kathey Marsden (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505976 ] Kathey Marsden commented on DERBY-700: -- If I try to keep the interface the same and incorporate the intrajvm

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-06-18 Thread Daniel John Debrunner (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505980 ] Daniel John Debrunner commented on DERBY-700: - Could the problem (needing to expand) with the

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-06-15 Thread Kathey Marsden (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505310 ] Kathey Marsden commented on DERBY-700: -- Dan, based on what Suresh said, does the solution to add a new call,

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-06-15 Thread Daniel John Debrunner (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505330 ] Daniel John Debrunner commented on DERBY-700: - Thanks Suresh, that was very useful. The piece of missing

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-06-14 Thread Daniel John Debrunner (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504735 ] Daniel John Debrunner commented on DERBY-700: - Couple of minor additonal comments: - The code would be

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-06-14 Thread Daniel John Debrunner (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504721 ] Daniel John Debrunner commented on DERBY-700: - Note I'm reviewing the patch called;

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-06-14 Thread Daniel John Debrunner (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504902 ] Daniel John Debrunner commented on DERBY-700: - Simple question is why is a new method needed on

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-06-14 Thread Suresh Thalamati (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504943 ] Suresh Thalamati commented on DERBY-700: I agree with Dan, getLockedFile() is confusing and should not be

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-06-13 Thread Kathey Marsden (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504352 ] Kathey Marsden commented on DERBY-700: -- Thanks Dan for the comment. getExclusiveLock() and getLockedFile() are

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-06-13 Thread Daniel John Debrunner (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504446 ] Daniel John Debrunner commented on DERBY-700: - I think there is a lock file per open file. I will change

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-06-13 Thread Daniel John Debrunner (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504471 ] Daniel John Debrunner commented on DERBY-700: - -1 on this patch (now applied as 547042 547046): The

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-06-12 Thread Kathey Marsden (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503950 ] Kathey Marsden commented on DERBY-700: -- I have been unable to figure out exactly what the permission issue is

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-06-12 Thread Daniel John Debrunner (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503967 ] Daniel John Debrunner commented on DERBY-700: - From a very quick look at the code two things jumped out

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-06-08 Thread Kathey Marsden (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502848 ] Kathey Marsden commented on DERBY-700: -- Run without security manager the test passes with jars. So I will try

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-05-25 Thread Kathey Marsden (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499134 ] Kathey Marsden commented on DERBY-700: -- Suresh said 2) Currently dataDirectory path string is is used for

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-05-25 Thread Daniel John Debrunner (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499137 ] Daniel John Debrunner commented on DERBY-700: - The issue with the path is that the canonical path would

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-05-22 Thread Kathey Marsden (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498037 ] Kathey Marsden commented on DERBY-700: -- Thanks Suresh for the patch! I was wondering, why do we need

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-05-22 Thread Suresh Thalamati (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498050 ] Suresh Thalamati commented on DERBY-700: [ Show ยป ] Kathey Marsden [22/May/07 03:22 PM] Thanks Suresh for the

Re: [jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-04-05 Thread Mike Matrigali
Overall I prefer your proposal to mine, assuming it works. Have you had a chance to prototype this on a non-windows system? I couldn't find a problem in the pseudo-code from reading it. My concerns are: 1) Can we count on class finalizers? What, if any situations are there that should have

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-03-28 Thread Suresh Thalamati (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484998 ] Suresh Thalamati commented on DERBY-700: Thanks a lot for summarizing the problems and possible solutions

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-03-27 Thread Suresh Thalamati (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484550 ] Suresh Thalamati commented on DERBY-700: While reading comments for this issue yet again, noticed Rick

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-03-27 Thread Daniel John Debrunner (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484565 ] Daniel John Debrunner commented on DERBY-700: - if you alluding to this comment: rick One Derby object

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-03-27 Thread Suresh Thalamati (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484586 ] Suresh Thalamati commented on DERBY-700: Thanks for confirming , Dan. I was referring to the commnet you

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-03-23 Thread Suresh Thalamati (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12483798 ] Suresh Thalamati commented on DERBY-700: There does not seem to be any way to get process id info that can

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2007-03-21 Thread Suresh Thalamati (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482927 ] Suresh Thalamati commented on DERBY-700: I took a quick looks at fixes for LUCENE-305 and LUCENE-635 ,

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2006-08-02 Thread Rick Hillegas (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-700?page=comments#action_12425259 ] Rick Hillegas commented on DERBY-700: - Where can Derby store VM-global state? It has been pointed out that System properties are an awkward kind of VM-global

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2006-08-01 Thread Daniel John Debrunner (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-700?page=comments#action_12424948 ] Daniel John Debrunner commented on DERBY-700: - Using system properties will require that every user running with the security manager grant a new

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2006-08-01 Thread Daniel John Debrunner (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-700?page=comments#action_12424951 ] Daniel John Debrunner commented on DERBY-700: - LUCENE-305 and LUCENE-635 may be worth looking at, lucene is re-factoring their locking (similar

Re: [jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2006-01-25 Thread Suresh Thalamati
I think pid's are unique at a given moment, so using the process id might work if Java provides a way to get a PID of process. But I am not so sure how to generate such a unique id store it in system property/any where else without hitting classical race condition problems. I don't think it

Re: [jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2006-01-25 Thread Bryan Pendleton
Mike Matrigali wrote: 2) determine if the existing lock is false, ie. the creating process exited without cleaning up the lock file. Is the reason that this is hard because File.deleteOnExit() is not reliable? thanks, bryan

Re: [jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2006-01-25 Thread Mike Matrigali
yes, I believe it does not work if you kill the JVM. I think it also did not work if you call System.exit(), but I am don't remember that exactly. At least that use to be the case. Bryan Pendleton wrote: Mike Matrigali wrote: 2) determine if the existing lock is false, ie. the creating

Re: [jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2006-01-25 Thread Suresh Thalamati
In addition to that, there is also a jvm bug related to this call, which can lead to memory leaks. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4513817 I had too much fun tracking that leak a while ago. -suresh Mike Matrigali wrote: yes, I believe it does not work if you kill the JVM.

Re: [jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2006-01-24 Thread Mike Matrigali
For the generic 2 JVM problem we considered a process id scheme, but gave up when we could not find encough pure java support. There are actually 2 issues: 1) enforce the lock 2) determine if the existing lock is false, ie. the creating process exited without cleaning up the lock file. Until

Re: [jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2006-01-22 Thread Bryan Pendleton
Suresh Thalamati wrote: Any ideas to fix this problem ? What if you included some additional information in the lock files, and then changed the locking algorithm so that it considered more than just the presence or absence of the lock file, and whether it could be locked successfully or not.

Re: [jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2006-01-21 Thread Mike Matrigali
Do you happen to know why it works on windows? Is the file lock behavior different, or is the old windows-only locking method automatically kicking in? Suresh Thalamati (JIRA) wrote: [ http://issues.apache.org/jira/browse/DERBY-700?page=comments#action_12363492 ] Suresh Thalamati

Re: [jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2006-01-21 Thread Suresh Thalamati
On windows old lock mechanism(if a file is open, it can not be deleted until it is closed..) is used always to prevent the dual boot of the same database, that is why it works fine even with multiple class loaders. Java File lock mechanism is used only on systems where one can delete the

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2006-01-20 Thread Suresh Thalamati (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-700?page=comments#action_12363492 ] Suresh Thalamati commented on DERBY-700: After doing bit of testing realized checking for OverlappingFileLockException does not work. This exception is reliable

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2006-01-19 Thread Suresh Thalamati (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-700?page=comments#action_12363295 ] Suresh Thalamati commented on DERBY-700: Hi Kathy , I am attempting to fix this bug, just realized I may not be able to add the repro in jira into the functional

[jira] Commented: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux

2005-11-10 Thread Suresh Thalamati (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-700?page=comments#action_12357312 ] Suresh Thalamati commented on DERBY-700: My guess is , currently Derby seems to catch the IO exception and turn it into a readonly db , when file lock fails with