How can i load Java system classes? [message #366737] |
Fri, 17 November 2000 10:31 |
Marina Kerbel
Messages: 7 Registered: September 1998
|
Junior Member |
|
|
Hello,
Our 8.1.5 database was replaced with 8.1.6 database. After that the Java creation commands stopped working.
Example:
create or replace and compile java source named "MyJavaMethods"
*
ERROR at line 1:
ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler
It appears that new database does not have Java system classes loaded. I would greatly appreciate any information on how to load them. Thanks.
Marina
|
|
|
|
Re: How can i load Java system classes? [message #366743 is a reply to message #366737] |
Mon, 20 November 2000 14:09 |
Marina Kerbel
Messages: 7 Registered: September 1998
|
Junior Member |
|
|
Thank you very much for this info.
I ran the initjvm.sql scripts and it loaded system classes. However, it apparently did not give users privileges to create their own java sources or classes. (I was getting warning message that the program was
created with compilation errors every time I try to use 'create java source', but 'show error' gave 'no errors.')
To solve the problem, in addition to initjvm.sql I ran few other scripts: init_http.sql, init_namespace.sql, init_orb.sql, init_security.sql. I also changed java_pool_size to 20 MB (the default size was 0). Now
everything seems to work fine. Thanks.
|
|
|