Tuesday, November 05, 2013

DB12c - ORA-29548

Last Post, I have updated java to version 7 on 12c Database. After that, I have recreated new database!
SQL> select dbms_java.get_jdk_version() from dual;
select dbms_java.get_jdk_version() from dual
                                        *
ERROR at line 1:
ORA-29548: Java system class reported: release of classes.bin in the database
does not match that of the oracle executable
Umm! I should check My Oracle Software in this ORACLE_HOME. BTW, fixed it.
SQL> @?/javavm/install/update_javavm_db.sql
SQL> SET FEEDBACK 1
SQL> SET NUMWIDTH 10
SQL> SET LINESIZE 80
SQL> SET TRIMSPOOL ON
SQL> SET TAB OFF
SQL> SET PAGESIZE 100
SQL>
SQL> -- If Java is installed, do CJS.
SQL>
SQL> -- If CJS can deal with the SROs inconsistent with the new JDK,
SQL> -- the drop_sros() call here can be removed.
SQL> call initjvmaux.drop_sros();
Call completed.
SQL>
SQL> create or replace java system;
  2  /
Java created.
SQL>
SQL> update dependency$
  2    set p_timestamp=(select stime from obj$ where obj#=p_obj#)
  3    where (select stime from obj$ where obj#=p_obj#)!=p_timestamp and
  4          (select type# from obj$ where obj#=p_obj#)=29  and
  5          (select owner# from obj$ where obj#=p_obj#)=0;
0 rows updated.
SQL>
SQL>
SQL>  select dbms_java.get_jdk_version() from dual;
DBMS_JAVA.GET_JDK_VERSION()
--------------------------------------------------------------------------------
1.7 
1 row selected. 
No Idea ...I should not do like this. Maybe, my software has something wrong.
Note: Any database that you create using this ORACLE_HOME later, will have the JDK version set to JDK 7. 


3 comments:

Marcelo Ochoa said...

Hi:
I got some time this message in my PDB testing OLS on 12c, but the message is removed after shutdown/startup.
This seem to be an error connected with some OS resources such as file-descriptors.
Best regards, Marcelo.

Surachart Opun said...

Thank You.

I still refer to my last post. I upgrade JAVA on 12c SW to be version 7.

Oracle Applications DBA said...

Please follow MOS note 2149046.1 for resolution