-- grant required Permissions to java_deploy call dbms_java.grant_permission('JAVA_DEPLOY', 'SYS:oracle.aurora.security.JServerPermission', 'LoadClassInPackage.oracle.aurora.deploy.*', null); call dbms_java.grant_permission('JAVA_DEPLOY', 'SYS:oracle.aurora.security.JServerPermission', 'Deploy', null); call dbms_java.grant_permission( 'JAVA_DEPLOY', 'SYS:java.io.FilePermission', 'javavm/admin/*', 'write' ); call dbms_java.grant_permission( 'JAVA_DEPLOY', 'SYS:java.io.FilePermission', 'javavm/deploy/*', 'read' ); call dbms_java.grant_permission( 'JAVA_DEPLOY', 'SYS:java.io.FilePermission', 'bin/chmod', 'execute' ); call dbms_java.grant_permission( 'JAVA_DEPLOY', 'SYS:java.lang.RuntimePermission', 'writeFileDescriptor', '' ); call dbms_java.grant_permission( 'JAVA_DEPLOY', 'SYS:java.lang.RuntimePermission', 'readFileDescriptor', '' );