Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A880210F48 for ; Mon, 24 Mar 2014 13:33:51 +0000 (UTC) Received: (qmail 96286 invoked by uid 500); 24 Mar 2014 13:33:51 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 96091 invoked by uid 500); 24 Mar 2014 13:33:49 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 95838 invoked by uid 99); 24 Mar 2014 13:33:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2014 13:33:46 +0000 Date: Mon, 24 Mar 2014 13:33:46 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DERBY-6503) Starting network server on a network drive fails with JDK 7 on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-6503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13945008#comment-13945008 ] ASF subversion and git services commented on DERBY-6503: -------------------------------------------------------- Commit 1580845 from [~knutanders] in branch 'code/trunk' [ https://svn.apache.org/r1580845 ] DERBY-6503: Ignore LinkageErrors when loading FilePermissionServiceImpl When attempting to load the class on Java 6, an UnsupportedClassVersionError is (correctly) raised, but it is not among the exceptions that are caught and ignored. Add a catch clause for its superclass LinkageError to handle it. > Starting network server on a network drive fails with JDK 7 on Windows > ---------------------------------------------------------------------- > > Key: DERBY-6503 > URL: https://issues.apache.org/jira/browse/DERBY-6503 > Project: Derby > Issue Type: Bug > Components: Network Server, Services > Affects Versions: 10.10.1.1 > Reporter: Knut Anders Hatlen > Assignee: Knut Anders Hatlen > Fix For: 10.11.0.0 > > Attachments: d6503-1a.diff > > > Starting a network server on a network drive with JDK 7 on Windows fails. The reported exception is a ClassCastException, but the underlying exception is the following: > java.nio.file.AccessDeniedException: \\host\path\derby.log > at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83) > at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) > at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) > at sun.nio.fs.WindowsAclFileAttributeView.setAcl(WindowsAclFileAttributeView.java:221) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > at org.apache.derby.iapi.services.io.FileUtil.limitAccessToOwnerViaACLs(FileUtil.java:897) > at org.apache.derby.iapi.services.io.FileUtil.limitAccessToOwner(FileUtil.java:747) > at org.apache.derby.impl.services.stream.SingleStream.PBmakeFileHPW(SingleStream.java:205) > at org.apache.derby.impl.services.stream.SingleStream.run(SingleStream.java:401) > at org.apache.derby.impl.services.stream.SingleStream.run(SingleStream.java:72) > at java.security.AccessController.doPrivileged(Native Method) > at org.apache.derby.impl.services.stream.SingleStream.makeFileHPW(SingleStream.java:394) > at org.apache.derby.impl.services.stream.SingleStream.createDefaultStream(SingleStream.java:356) > at org.apache.derby.impl.services.stream.SingleStream.makeStream(SingleStream.java:132) > at org.apache.derby.impl.services.stream.SingleStream.boot(SingleStream.java:92) > at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:1991) > at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:334) > at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java:541) > at org.apache.derby.impl.services.monitor.FileMonitor.startModule(FileMonitor.java:44) > at org.apache.derby.iapi.services.monitor.Monitor.startSystemModule(Monitor.java:362) > at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonitor.java:343) > at org.apache.derby.impl.services.monitor.FileMonitor.(FileMonitor.java:58) > at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:285) > at org.apache.derby.iapi.jdbc.JDBCBoot.boot(JDBCBoot.java:67) > at org.apache.derby.jdbc.EmbeddedDriver.boot(EmbeddedDriver.java:199) > at org.apache.derby.jdbc.EmbeddedDriver.(EmbeddedDriver.java:95) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:188) > at org.apache.derby.impl.drda.NetworkServerControlImpl.startNetworkServer(NetworkServerControlImpl.java:1032) > at org.apache.derby.impl.drda.NetworkServerControlImpl.blockingStart(NetworkServerControlImpl.java:732) > at org.apache.derby.impl.drda.NetworkServerControlImpl.executeWork(NetworkServerControlImpl.java:2277) > at org.apache.derby.drda.NetworkServerControl.main(NetworkServerControl.java:353) -- This message was sent by Atlassian JIRA (v6.2#6252)