java.security.AccessControlException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.security.AccessControlException: access denied (java.net.SocketPermission miniserver resolve)] at org.apache.derby.impl.jdbc.authentication. JNDIAuthenticationSchemeBase.getLoginSQLException(Unknown Source) at org.apache.derby.impl.jdbc.authentication.LDAPAuthentication SchemeImpl.authenticateUser(Unknown Source) This means that a) you are running with the Java security manager enabled, and b) you need to add a missing SocketPermission to the derby.jar codebare in a policy file, cf. http://db.apache.org/derby/docs/10.7/adminguide/tadminnetservrun.html http://db.apache.org/derby/docs/10.7/adminguide/tadminnetservcustom.html You can temporarily run the Derby server without the security manager enabled (to test the LDAP), by starting the server with the -noSecurityManager option, cf. http://db.apache.org/derby/docs/10.7/adminguide/tadminnetservopen.html Thanks, Dag at org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase. authenticate(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.checkUserCredentials (Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source) at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source) at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source) at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source) at org.apache.derby.impl.drda.Database.makeConnection(Unknown Source)
    No Bugmate found.