My Oracle Support Banner

Messaging Gateway Fails To Start Ora-06522 : can not find libjvm.so (Doc ID 1372747.1)

Last updated on DECEMBER 20, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
Oracle Solaris on SPARC (64-bit)

Symptoms


Oracle Server 11.2.0.x on Solaris

Setup Oracle Messaging Gateway (MGW) as per:

How To Configure Oracle Messaging Gateway Agent on Unix Platforms (Doc ID 212587.1)

At MGW start, getting:

ORA-06520: PL/SQL: Error loading external library
ORA-06522: ld.so.1: extproc: fatal: libjvm.so: open failed: No such file or directory


Testing access to the MGW shared library fails in same way:

SQL> connect / as sysdba
Connected.
SQL> exec mgwi_admin.test_library_access
BEGIN mgwi_admin.test_library_access; END;

*
ERROR at line 1:
ORA-06520: PL/SQL: Error loading external library
ORA-06522: ld.so.1: extproc: fatal: libjvm.so: open failed: No such file or directory
ORA-06512: at "SYS.MGWI_ADMIN", line 784
ORA-06512: at "SYS.MGWI_ADMIN", line 916
ORA-06512: at line 1


Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.