The following simple example starts the Derby Network Server on the command line with insecure remote JMX management and monitoring enabled, using an Oracle JDK 6 or later JVM. Password authentication over SSL is enabled by default, but here these security features are disabled, to keep the example simple.
java -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -jar $DERBY_HOME/lib/derbyrun.jar server start
When you start the Network Server from the command line, it automatically installs a security manager using a basic default security policy, unless you specify the -noSecurityManager option. You may need to customize this policy to make it suit your needs. See Fine-grained authorization using a security policy for details.