Bonjour,
Aprés avoir galéré pour installer la JVM sur une 8I, je me trouve confronté à une erreur lors de la création d'une fonction. Erreur qui est la même si je passe pas loadjava. ( je ne suis pas dba! ) Cette erreur vous parle t-elle ?
SQL> select * from v$version ;
BANNER
----------------------------------------------------------------
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
PL/SQL Release 8.1.7.0.0 - Production
CORE 8.1.7.0.0 Production
TNS for 32-bit Windows: Version 8.1.7.0.0 - Production
NLSRTL Version 3.4.1.0.0 - ProductionSQL> CREATE OR REPLACE JAVA SOURCE NAMED "TestJVM" AS
2 public class TestJVM {
3 static public String Msg(String test){
4 return "Hello " + test;
CREATE OR REPLACE JAVA SOURCE NAMED "TestJVM" AS
*
ERROR à la ligne 1 :
ORA-29536: source incorrecte : java.security.AccessControlException: the Permission
(java.util.PropertyPermission line.separator read) has not been granted by
dbms_java.grant_permission to SchemaProtectionDomain(SYSTEM|PolicyTableProxy(SYSTEM))
Merci.Oracle Error :: ORA-29536
badly formed source: string
Cause
An attempt was made to create a Java source object with text that could not be parsed adequately to determine the class(es) defined by it.
Action
Correct errors in source.
CDLT.
Partager