db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4179) bootLock.java fails with missing exception on z/OS with pmz3160sr2ifix-20081021_01(SR2+IZ32776+IZ33456), and Windows Vista
Date Thu, 06 May 2010 22:02:49 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864945#action_12864945
] 

Dag H. Wanvik commented on DERBY-4179:
--------------------------------------

Yes, I am. For phoneME, we don't use DirStorageFactory4, which again uses DirFile4, which
contains the working code for file locking. Cf. the test ca line 1693  in BaseMonitor.java.


DirFile#getExclusiveFileLock which is used instead of DirFile4, always returns NO_FILE_LOCK_SUPPORT.


I tried letting phoneME run with the *4 classes, but Foundation 1.1 [*] seems to lack the
NIO classes necessary, notably the crucial FileChannel.lock method used by DirFile4#getExclusiveFileLock.

On the bright side, I guess dual booting on constrained device is a less likely scenario?

[*] http://java.sun.com/javame/reference/apis/jsr219/

> bootLock.java fails with missing exception on z/OS with  pmz3160sr2ifix-20081021_01(SR2+IZ32776+IZ33456),
and Windows Vista
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4179
>                 URL: https://issues.apache.org/jira/browse/DERBY-4179
>             Project: Derby
>          Issue Type: Bug
>          Components: Store, Test
>    Affects Versions: 10.5.1.1
>         Environment: java version "1.6.0"
> Java(TM) SE Runtime Environment (build pmz3160sr2ifix-20081021_01(SR2+IZ32776+IZ33456))
> IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 z/OS s390-31 jvmmz3160ifx-20081010_24288
(JIT enabled, AOT enabled)
> J9VM - 20081009_024288_bHdSMr
> JIT  - r9_20080721_1330ifx2
> GC   - 20080724_AA)
> JCL  - 20080808_02
> ------------------------------------------
> Also seen on : Vista Ultimate 32 bits under cygwin with Sun JRE 1.6.0_07-b06
>            Reporter: Kathey Marsden
>            Assignee: Dag H. Wanvik
>         Attachments: bootLock.diff, derby-4179-junit-2.diff, derby-4179-junit-2.stat,
derby-4179-junit-3.diff, derby-4179-junit-3.stat, derby-4179-junit.diff, derby-4179-junit.stat,
derby-4179.diff, derby-4179.stat, derbyall_report.txt, storeall_report.txt, sysinfo.txt
>
>
> I saw this diff in store/bootLock.java. I did not see it with the 64bit jvm run on 10.5.1.0
RC1
> *** Start: bootLock jdk1.6.0 storeall:storemore 2009-04-21 19:10:18 ***
> 2,4d1
> < expected exception
> < SQLSTATE(XJ040):
> < SQLSTATE(XSDB6):
> Test Failed.
> *** End:   bootLock jdk1.6.0 storeall:storemore 2009-04-21 19:11:00 ***
> The test passed on rerun when run independently.

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


Mime
View raw message