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 16:33:06 +0200
Message-ID: <a9mlbr$27a9$1@news6.isdnet.net>


Well, it also worked for me, in fact init_security was incomplete, some lines missing (why and how ? Mystery ...).

Have fun with JAVA.

Yann

kw a écrit dans le message <3CBEB657.7BCAF856_at_nowhere.where>...
>Yes my reinstall succedded.
>I run first ?/javavm/install/rmjvm
>than shutdown, startup
>and ?/javavm/install/initjvm
>
>takes a lot of time but works fine on Linux and HP (9.0.3)
>
>Yann CAUCHARD wrote:
>>
>> 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 - 09:33:06 CDT

Original text of this message

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