Skip to content

Instantly share code, notes, and snippets.

@jnwelzel
Created March 7, 2014 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnwelzel/9412301 to your computer and use it in GitHub Desktop.
Save jnwelzel/9412301 to your computer and use it in GitHub Desktop.
Workaround for starting Derby network server under JDK 7_u51 and its new security policies
  1. Grab the policy file here
  2. Use the following command $ java -Djava.security.manager -Djava.security.policy=/home/jwelzel/Downloads/1010_server.policy -Dderby.security.port=1527 -Dderby.install.url=file:/home/jwelzel/apps/db-derby-10.10.1.1-bin/lib/ -cp "lib/*" org.apache.derby.drda.NetworkServerControl start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment