db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5417) Unable to start Derby Server
Date Mon, 19 Sep 2011 15:55:08 GMT

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

Dag H. Wanvik commented on DERBY-5417:
--------------------------------------

You may want to check which URL is being used by Netbeans if you still want to have it start
the Derby network server. The syntax can be found here:

http://db.apache.org/derby/docs/10.8/adminguide/cadminappsclient.html

Example:

jdbc:derby://localhost:1527/wombat;create=true

> 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

        

Mime
View raw message