[
https://issues.apache.org/jira/browse/DERBY-4179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863222#action_12863222
]
Dag H. Wanvik commented on DERBY-4179:
--------------------------------------
Ok, the test framework starts bootLock in a subdirectory (different from the
cwd when the test is started), so the forked
process (bootLock1), will have the wrong CLASSPATH: since it consists of
relative paths to the jars, i.e. relative to the directory in which the test is
*started*, not relative to the created subdirectory, the forked subprocess will
fail, leaving the way open for bootLock to open wombat without seeing it
already opened/locked. No dual boot is really happening :)
As far as I can see, this is a test bug, not a product bug, at least in the
incarnation I am seeing.
> 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
> 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
> Attachments: bootLock.diff, 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.