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 ACCF2100EC for ; Wed, 10 Apr 2013 19:37:17 +0000 (UTC) Received: (qmail 55008 invoked by uid 500); 10 Apr 2013 19:37:17 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 54964 invoked by uid 500); 10 Apr 2013 19:37:17 -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 54841 invoked by uid 99); 10 Apr 2013 19:37:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2013 19:37:17 +0000 Date: Wed, 10 Apr 2013 19:37:17 +0000 (UTC) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DERBY-3110) server hangs after trace on command fails 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-3110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13628156#comment-13628156 ] Rick Hillegas commented on DERBY-3110: -------------------------------------- After syncing with the head of trunk, I see the following warning when I build Derby: [javac] /Users/rh161140/derby/mainline/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/NetworkServerControlApiTest.java:224: warning: [deprecation] toURL() in File has been deprecated [javac] String urlString = file.toURL().toExternalForm(); [javac] ^ [javac] 1 warning The offending line appears to have been added by revision 592111, which is associated with DERBY-3110. > server hangs after trace on command fails > ----------------------------------------- > > Key: DERBY-3110 > URL: https://issues.apache.org/jira/browse/DERBY-3110 > Project: Derby > Issue Type: Bug > Components: Network Server > Affects Versions: 10.3.1.4 > Reporter: Sebb > Assignee: Kathey Marsden > Fix For: 10.3.2.1, 10.4.1.3 > > Attachments: derby-3110_diff2.txt, derby-3110_diff.txt, derby-3110_stat2.txt, derby-3110_stat.txt, derby-3110_test_diff.txt > > > Tried turning on trace: > >networkservercontrol trace on > Invalid reply from network server: Insufficient data. > The server process shows the following stack trace: > access denied (java.io.FilePermission Server58.trace write) > java.security.AccessControlException: access denied (java.io.FilePermission Server58.trace write) > at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269) > at java.security.AccessController.checkPermission(AccessController.java:401) > at java.lang.SecurityManager.checkPermission(SecurityManager.java:524) > at java.lang.SecurityManager.checkWrite(SecurityManager.java:954) > at java.io.FileOutputStream.(FileOutputStream.java:169) > at java.io.FileOutputStream.(FileOutputStream.java:70) > at java.io.FileWriter.(FileWriter.java:46) > at org.apache.derby.impl.drda.DssTrace.startComBufferTrace(Unknown Source) > at org.apache.derby.impl.drda.Session.initTrace(Unknown Source) > at org.apache.derby.impl.drda.Session.setTraceOn(Unknown Source) > at org.apache.derby.impl.drda.NetworkServerControlImpl.setTrace(Unknown Source) > at org.apache.derby.impl.drda.NetworkServerControlImpl.processCommands(Unknown Source) > at org.apache.derby.impl.drda.DRDAConnThread.sessionInitialState(Unknown Source) > at org.apache.derby.impl.drda.DRDAConnThread.run(Unknown Source) > The server now does not respond to ping or shutdown, and has to be killed. > See also DERBY-3103 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira