[
https://issues.apache.org/jira/browse/DERBY-5417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107918#comment-13107918
]
Dag H. Wanvik edited comment on DERBY-5417 at 9/19/11 3:47 PM:
---------------------------------------------------------------
Ah, I see now that Netbeans is actually trying to use the MySQL driver, not the
Derby network client driver.
was (Author: dagw):
Ah, I see now that Netbeans is actually trying to start the MySQL network
server, not the Derby network server.
> 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.<clinit>(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