Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Java stored procedure startup help, pleese ...

Re: Java stored procedure startup help, pleese ...

From: Yann CAUCHARD <yann.cauchard_at_spcconsultants.com>
Date: Thu, 18 Apr 2002 12:24:31 +0200
Message-ID: <a9m6nk$1trp$1@news4.isdnet.net>


Hi,

I faced the same problems, and I tried to reinstall JVM.

Unfortunatelly, the reinstall raise the same error where init_security.sql starts to grant permissions to public.

Did your reinstall succedded ?
Does it work now ?

Yann

kw a écrit dans le message <3CBD5E5A.9127A287_at_nowhere.where>...
>When I try to load simple Java stored procedure there is always error
>like (no matter what package name I try to use) :
>
>ERROR at line 2:
>ORA-29536: badly formed source: User has attempted to load a class
>(pl.prokom.test2) into a restricted package. Permission can be granted
>using
>dbms_java.grant_permission(<user>, LoadClassInPackage...
>
>
>and when trying to grant any to my user named JAVA as sys/sysdba
>call dbms_java.grant_permission('JAVA',
>'SYS:oracle.aurora.security.JServerPermission','Lo
>adClassInPackage.*', null)
> *
>BŁĄD w linii 1:
>ORA-29532: wywołanie Javy zatrzymane przez nieprzechwycony wyjątek Javy:
>java.lang.SecurityException: policy table update
>SYS:oracle.aurora.security.JServerPermission, LoadClassInPackage.*
>
>What is wrong, I can't even start to play with java :(((
Received on Thu Apr 18 2002 - 05:24:31 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US