Archive

Archive for the ‘java’ Category

Java and Oracle: ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler

October 6, 2011 Leave a comment

I’m trying to create a Java procedure in Oracle 9.2.0.8 and I’m getting this error:

ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler

This is because JServer has not been loaded. To load it, run this script as SYS:

SYS@prod1> @?/javavm/install/initjvm

And now you can check that is loaded:

SYSTEM@prod1> select comp_id, status from dba_registry;
COMP_ID             STATUS
------------------- ------
CATALOG             VALID
CATPROC             VALID
OWM                 VALID
JAVAVM              VALID

Troubleshooting

If you get this error installing JServer:

[...]
DOC>#######################################################################
DOC>#######################################################################
DOC>  If the following	rmjvm.check_for_rmjvm()  statement results in
DOC>  ORA-00028 it means that the database has not been restarted
DOC>  since the rmjvm script was run.  If so, restart the database and
DOC>  retry this script.
DOC>#######################################################################
DOC>#######################################################################
DOC>*/
call rmjvm.check_for_rmjvm()
     *
ERROR at line 1:
ORA-00028: your session has been killed
ORA-06512: at "SYS.RMJVM", line 447

Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production</pre>

Just follow this steps:

  • Restart DB
  • Remove JVM (executing the rmjvm.sql script)
  • Restart DB
  • Install JVM again

IBM Tivoli dsmj displays gray screen on ubuntu

August 17, 2010 Leave a comment

When I try to restore a file from dsmj I get this gray screen:

dsmj gray screen
The host machine is a Red Hat Enterprise Linux, and my client machine is Ubuntu 10.4.

I found this post that states is a java bug, and  now it works fine! (thanks axel77)

http://adsm.org/forum/showthread.php?17124-dsmj-not-working

Just type this:

export AWT_TOOLKIT=MToolkit
sudo dsmj

Categories: java, linux, tivoli, ubuntu Tags: , , ,