[ 
https://issues.apache.org/jira/browse/GEODE-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15671982#comment-15671982
 ] 

Bruce Schuchardt commented on GEODE-373:
----------------------------------------

It was most likely an ACL problem.  I've noticed that IDEs sometimes run as 
Administrator and sometimes as the user.  If the ACLs on the checkout aren't 
set properly this can cause this kind of access violation.  Windows 7 
introduced the ACL-based authorization scheme.

> ProductUseLogJUnitTest testSizeLimit fails with FileNotFoundException on 
> Windows
> --------------------------------------------------------------------------------
>
>                 Key: GEODE-373
>                 URL: https://issues.apache.org/jira/browse/GEODE-373
>             Project: Geode
>          Issue Type: Bug
>    Affects Versions: 1.0.0-incubating
>         Environment: Windows 7 Service Pack 1
>            Reporter: Kirk Lund
>            Assignee: Anthony Baker
>              Labels: Windows
>
> This test fails consistently on Windows for me. It reproduces on the 
> command-line with gradle as well as in Eclipse. Version of Windows is Windows 
> 7 Service Pack 1.
> The stack trace is:
> {noformat}
> com.gemstone.gemfire.distributed.internal.ProductUseLogJUnitTest > 
> testSizeLimit FAILED
> com.gemstone.gemfire.GemFireIOException: Could not open log file 
> "ProductUseLogTest_testSizeLimit.log".
>     at 
> com.gemstone.gemfire.distributed.internal.ProductUseLog.createLogWriter(ProductUseLog.java:113)
>     at 
> com.gemstone.gemfire.distributed.internal.ProductUseLog.clearLog(ProductUseLog.java:104)
>     at 
> com.gemstone.gemfire.distributed.internal.ProductUseLog.log(ProductUseLog.java:71)
>     at 
> com.gemstone.gemfire.distributed.internal.ProductUseLogJUnitTest.testSizeLimit(ProductUseLogJUnitTest.java:65)
> Caused by:
> java.io.FileNotFoundException: ProductUseLogTest_testSizeLimit.log (Access is 
> denied)
>     at java.io.FileOutputStream.open0(Native Method)
>     at java.io.FileOutputStream.open(FileOutputStream.java:270)
>     at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
>     at 
> com.gemstone.gemfire.distributed.internal.ProductUseLog.createLogWriter(ProductUseLog.java:110)
>     ... 3 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to