Results 1 to 2 of 2

Thread: install jvm in oracle 9i

  1. #1
    Join Date
    Apr 2006
    Posts
    1

    install jvm in oracle 9i

    hi
    plz help me, i got this error when i wanted to install jvm in oracle 9i,

    i tried this script as sysdba
    @%ORACLE_HOME%\javavm\install\initjvm.sql

    <p>
    Package created.

    Warning: Package Body created with compilation errors.
    call initjvmaux.drp('drop table java$rmjvm$aux')
    *
    ERROR at line 1:
    ORA-04068: existing state of packages has been discarded
    ORA-04063: package body "SAMIHA.INITJVMAUX" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1
    <p>
    call initjvmaux.drp('drop table java$rmjvm$aux2')
    *
    ERROR at line 1:
    ORA-04068: existing state of packages has been discarded
    ORA-04063: package body "SAMIHA.INITJVMAUX" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1
    <p>
    call initjvmaux.drp('drop index java$rmjvm$auxi')
    *
    ERROR at line 1:
    ORA-04068: existing state of packages has been discarded
    ORA-04063: package body "SAMIHA.INITJVMAUX" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1
    <p>
    call initjvmaux.drp('drop index java$rmjvm$auxi2')
    *
    ERROR at line 1:
    ORA-04068: existing state of packages has been discarded
    ORA-04063: package body "SAMIHA.INITJVMAUX" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1

  2. #2
    Join Date
    Oct 2005
    Posts
    2,557
    Need to learn the difference between roles and users. First clue would be all the references to SAMIHA.INITJVMAUX. SAMIHA is the owner for the database's Java objects?? Sys should be the user running initjvm, not samiha. Samiha may have sysdba role, but having the role is not the same as being a specific user.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •