Quantcast

java DB will not start

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

java DB will not start

pinostudente
I have uninstalled and reinstalled netbeans 5 times; but there is no solution to make starting Java DB
if i install netbeans on another pc netbeans will work correctly; but if i install netbeans on the pc that i had complete netbeans projects java DB do not start and the following error message will be displayed.

Wed Feb 20 13:01:30 CET 2013 : Security manager installed using the Basic server security policy.
Exception in thread "main" java.lang.ExceptionInInitializerError
        at com.mysql.jdbc.NonRegisteringDriver.parseURL(NonRegisteringDriver.java:617)
        at com.mysql.jdbc.NonRegisteringDriver.acceptsURL(NonRegisteringDriver.java:265)
        at java.sql.DriverManager.getDriver(DriverManager.java:273)
        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:366)
        at java.security.AccessController.checkPermission(AccessController.java:555)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
        at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1302)
        at java.lang.System.getProperty(System.java:706)
        at com.mysql.jdbc.StringUtils.<clinit>(StringUtils.java:70)
        ... 7 more
here are the glassfish server logs:

Indicatore orario 20-feb-2013 13:06:57.441

Livello di log WARNING




Logger org.glassfish.admingui




Coppie nome-valore _ThreadID=122;_ThreadName=Thread-2;


Numero record 75




ID messaggio Completa messaggio


Cannot create update center Image for C:\Program Files\glassfish-3.1.2.2; Update Center functionality will not be available in Admin Console




org.apache.catalina.connector.Request Coppie nome-valore


_ThreadID=43;_ThreadName=Thread-2;




Numero record 72




ID messaggio PWC4011




Completa messaggio
Unable to set request character encoding to UTF-8 from context , because request parameters have already been read, or ServletRequest.getReader() has already been called

Loading...