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 414697203 for ; Tue, 20 Sep 2011 16:44:31 +0000 (UTC) Received: (qmail 24031 invoked by uid 500); 20 Sep 2011 16:44:31 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 23999 invoked by uid 500); 20 Sep 2011 16:44:31 -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 23988 invoked by uid 99); 20 Sep 2011 16:44:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2011 16:44:31 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2011 16:44:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 73683A41B6 for ; Tue, 20 Sep 2011 16:44:09 +0000 (UTC) Date: Tue, 20 Sep 2011 16:44:09 +0000 (UTC) From: "amrit rathi (JIRA)" To: derby-dev@db.apache.org Message-ID: <1064212901.46701.1316537049469.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1808528909.34694.1316182209087.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DERBY-5417) Unable to start Derby Server 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-5417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108819#comment-13108819 ] amrit rathi commented on DERBY-5417: ------------------------------------ thanks for giving your time, but i resolved the issue by editing the JDK policy file (I know its wrong but i had to find a way). Issue Closed. > Unable to start Derby Server > ---------------------------- > > Key: DERBY-5417 > URL: https://issues.apache.org/jira/browse/DERBY-5417 > Project: Derby > Issue Type: Bug > Components: Build tools, JDBC, Network Server > Affects Versions: 10.8.1.2 > Environment: Windows 7 (and fedora 15), JDK 6, NetBeans 6.8 > Reporter: amrit rathi > Labels: newbie > > The following error message occurs when trying to start the Derby from NetBeans: > Fri Sep 16 19:36:12 IST 2011 : Security manager installed using the Basic server security policy. > Exception in thread "main" java.lang.ExceptionInInitializerError > at com.mysql.jdbc.NonRegisteringDriver.parseURL(NonRegisteringDriver.java:582) > at com.mysql.jdbc.NonRegisteringDriver.acceptsURL(NonRegisteringDriver.java:236) > at java.sql.DriverManager.getDriver(DriverManager.java:253) > at org.apache.derby.impl.drda.NetworkServerControlImpl.startNetworkServer(Unknown Source) > at org.apache.derby.impl.drda.NetworkServerControlImpl.blockingStart(Unknown Source) > at org.apache.derby.impl.drda.NetworkServerControlImpl.executeWork(Unknown Source) > at org.apache.derby.drda.NetworkServerControl.main(Unknown Source) > Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission file.encoding read) > at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374) > at java.security.AccessController.checkPermission(AccessController.java:546) > at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) > at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285) > at java.lang.System.getProperty(System.java:650) > at com.mysql.jdbc.StringUtils.(StringUtils.java:70) > ... 7 more > I posted it in the Bugs Section as I think its actually a bug after trying many versions of Derby right from 10.3 to 10.8, and in all versions i am getting this Error. > Any Help would be appreciated as I am trying to develop an Embedded DB based Java Desktop Application -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira