ORA-29516/ORA-04030

I loaded a file I/O class with methods as assignFile, openFile, readln etc. to a Oracle 8i (8.1.5) on a HP-Unix machine and defined a call specification.
During tests with large files (looping through a file of lets say 10MB or 300'000 lines/records, reading each line and storing data to a table) the session crashes!
Mostly an ORA-04030 error (SHARED_POOL_SIZE is set to 70'000'000) or an ORA-29516 ("...Aurora assertion failure: Assertion failure at joetsl.c:307 Unable to initialize thread semaphore") occures.
What could the problem be? I don't know the size of the process memory quota set, could this be too small? Or is there a problem/bug in the garbage collector? Or is there a way to force the garbage collector to free non used memory?...

Some memory settings that might help are outlined in the FAQ at: http://technet.oracle.com/products/oracle8i/htdocs/jserver_faq/index.html#_52_
...and see if that helps track it down.
Other ideas - is this all one giant transaction? If so, is it possible you are running out of rollback space in a really ugly way. Other then that, I can only suggest that you get the smallest test case to reproduce this problem and log it as a bug with support.
take care
John.
Oracle JServer Development Team
null

Similar Messages

  • XML PL/SQL Parser Demo Error ORA-29516

    I'm trying to get the XML Plsql demo to work on the following
    system:
    Sun Solaris 8
    Oracle 8.1.7.0.0 64 bit
    using the $ORACLE_HOME/xdk/plsql/demo files
    I created an oracle user "xmldba" , granted javauserpriv to
    xmldba, granted javasyspriv to xmldba. I have run
    $ORACLE_HOME/xdk/plsql/parser/bin/load.sql. Then I try the
    demo -
    oracle8$ sqlplus xmldba/xmldba
    SQL*Plus: Release 8.1.7.0.0 - Production on Fri Nov 16 11:07:44
    2001
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - 64bit Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - 64bit Production
    SQL> @domsample
    Procedure created.
    No errors.
    SQL> execute domsample
    ('/home/oracle8/app/oracle/product/8.1.7/xdk/plsql/demo','family.
    xml','errors.txt');
    BEGIN domsample
    ('/home/oracle8/app/oracle/product/8.1.7/xdk/plsql/demo','family.
    xml','errors.txt'); END;
    ERROR at line 1:
    ORA-29516: Aurora assertion failure: Assertion failure at
    joncomp.c:127
    jtc_active_clint_init_ncomp_slots(oracle/xml/parser/v2/DTD, 0)
    returned 0
    ORA-06512: at "XMLDBA.XMLPARSERCOVER", line 0
    ORA-06512: at "XMLDBA.XMLPARSER", line 57
    ORA-06512: at "XMLDBA.DOMSAMPLE", line 72
    ORA-06512: at line 1
    Anyone have any ideas on what I might be missing or what could
    cause the problem?
    Thanks,
    Rhea

    These errors were due to not running initjvm etc. I have resolved all the jvm sqlj related problems now .
    I am still seeing resolver errors . Opened a new thread for those errors.
    Please respond on those
    Thanks
    null

  • Generic VM error from ORA-29516

    OS: SunOS 5.9
    Oracle: 9.2.0.7 64bit
    ORA-29516 happened when fire the trigger which will call a Java store procedure.
    This error happened when a Java application call a PL/SQL store procedure from Weblogic side.
    java.sql.SQLException: ORA-29516: Aurora assertion failure: Assertion failure at eoasga.c:1596 EOA runtime assertion failure: eoasga.c:1596
    When I trace the event 29516, I found "Generic VM error", "Fatal embedding system error", "Generic Aurora error", "XRoot of all Java exceptions" in the trace file.

    Hi, Kuassi
    This problem happened when calling a PL/SQL stored procedure from a web page. We use Weblogic as the application server which connects the Oracle DB server by JDBC connection pool. If I execute the same PL/SQL stored procedure manually under SQLPLUS, it was finished successfully. The PL/SQL stored procedure is used to update some tables which is a long transaction. During updating the table, it will fire a trigger which will call a JAVA stored procedure in Oracle JVM to send message to the application server side by socket pool. Finally java application in the application server throws an ORA-29516 exception when the PL/SQL stored procedure is finished. I tried two JDBC driver (920/10g) provided by BEA weblogic. The result is same. The error happened in Oracle JVM.
    Best Regards
    Zhang

  • ORA-29516 Need an urgent help

    Hi Gurus,
    When trying to call dbms_java package i am getting the following error:
    Exception in runStoredProcedure: ORA-29516: Aurora assertion failure: Assertion failure at eoxdebug.c:93
    jonzf_get_zip_message is not yet implemented
    oracle version 10.2.0.1.0
    Please help....
    saby

    Also also, read the metalink note 466315.1.
    Nicolas.Thanks Nicholas....metalink note was very usefull...

  • SDO_MVCLIENT throws occasional Aurora assertion failure error ORA-29516

    Hi folks,
    Occasionally I seem to receive the follow error when using the SDO_MVCLIENT package to run Mapviewer. The problem goes away if I just resubmit the job.
    Warning: ociexecute() [function.ociexecute]: ORA-29516: Aurora assertion failure: Assertion failure at joeintp.c:373 Interpreter hit null Java opcode. ORA-06512: at "MDSYS.SDO_MVCLIENT", line 393 ORA-06512: at "PDZIEMIELA.TW_PHP", line 553 ORA-06512: at line 1 in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\tw.php on line 294
    Line 393 in the package is
    FUNCTION run RETURN VARCHAR2 AS LANGUAGE JAVA NAME 'oracle.lbs.mapclient.SQLMapClient.run() return java.lang.String';
    So I am thinking this has to do with java. Could I have muff the loadjava somehow? I followed all the steps. Any thoughts? This is on a 64 bit Solaris 10 machine. The system has JDK 1.5 in the path but oracle has JDK 1.4 in its directory tree under jdk.
    Thanks!
    Paul

    Also just a note as you don't specify which database version you are running but in 8.1.7 the return buffer does not seem to be managed correctly by the database as once removing a message from the buffer it still remains on the buffer.
    The only work around I've found, so far, is to manipulate Utl_Tcp.Connection.private_bf using utl_raw.
    Under 9i this is not an option as private_bf is non-existant in Utl_Tcp.Connection

  • FRM-40735: WHEN-LIST-ACTIVATED trigger raised unhandled exception ORA-29516

    Hi All,
    The users are facing problem on opening the OAF pages on 11i(11.5.10.2) instance.
    They face this error when they,
    1. Go to System Administrator responsibility.
    2. Open page under Workflow > Administrator Workflow > Status Monitor.
    3. This error pops up at the end of the form page. Below is what the error appearing.
    FRM-40735: WHEN-LIST-ACTIVATED trigger raised unhandled exception ORA-29516
    We are having DB:11.2.0.2.5,Applications:11.5.10.2
    Please suggest in resolving the error.
    Thanks
    Althaf khan

    The users are facing problem on opening the OAF pages on 11i(11.5.10.2) instance.
    They face this error when they,
    1. Go to System Administrator responsibility.
    2. Open page under Workflow > Administrator Workflow > Status Monitor.
    3. This error pops up at the end of the form page. Below is what the error appearing.
    FRM-40735: WHEN-LIST-ACTIVATED trigger raised unhandled exception ORA-29516
    We are having DB:11.2.0.2.5,Applications:11.5.10.2
    Please suggest in resolving the error.Was this working before? If yes, any changes been done recently?
    Can you find any errors in the database log file?
    Do you have any invalid objects?
    What is the complete error message? Any errors in Apache log files (error_log* and access_log*)?
    Thanks,
    Hussein

  • FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-29516

    Hi,
    The users are facing problem on opening the OAF pages on R12 instance.
    They face this error when they,
    1. Go to System Administrator responsibility.
    2. Open page under Workflow > Administrator Workflow > Status Monitor.
    3. This error pops up in the lower half of the form page.
    FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-29516
    However, this error doesn't happen when people make direct login from homepage. Kindly help and suggest what need to be done.
    EBS 12.1.3
    DB 11.2.0.2.0
    Thanks in advance.*
    Holi*

    Can you find any details about the error in Apache log files and the application.log file?Saw two files, error*.log, and access.log. Please suggest if I need to see some other files, I am new to R12 environment.
    error log
    n request for destination: application://forms (no island or jgroup).
    +[Fri Apr  1 09:05:04 2011] [error] [client 10.182.1.5] [ecid: 1301666704:10.10.241.79:3809:0:89,0] mod_oc4j: Failed to find a failover oc4j process for session request for destination: application://forms (no island or jgroup).+
    +[Fri Apr  1 09:05:48 2011] [error] [client 10.182.1.5] [ecid: 1301666748:10.10.241.79:2404:0:299,0] mod_oc4j: Failed to find a failover oc4j process for session request for destination: application://oacore (no island or jgroup).+
    +[Fri Apr  1 11:34:36 2011] [error] [client 10.11.219.90] [ecid: 1301675676:10.10.241.79:2404:0:414,0] File does not exist: /p01/app/applmgr/oappsp1/apps/apps_st/comn/java/classes//+
    +[Fri Apr  1 11:34:38 2011] [error] [client 10.11.219.90] [ecid: 1301675678:10.10.241.79:8458:0:332,0] File does not exist: /p01/app/applmgr/oappsp1/apps/apps_st/comn/java/classes//+
    +[Fri Apr  1 11:40:10 2011] [error] [client 10.11.219.90] [ecid: 1301676010:10.10.241.79:2562:0:467,0] File does not exist: /usr/local/oraapps/tmp/inst/apps/OAPPSP1_c201u334/portal/favicon.ico+
    access log
    +27.0.0.1 - - [01/Apr/2011:23:36:00 -0500] "HEAD /index.html HTTP/1.1" 200 0 0 "-" "-"+
    +127.0.0.1 - - [01/Apr/2011:23:36:20 -0500] "HEAD /index.html HTTP/1.1" 200 0 0 "-" "-"+
    +127.0.0.1 - - [01/Apr/2011:23:36:40 -0500] "HEAD /index.html HTTP/1.1" 200 0 0 "-" "-"+
    +10.32.16.114 - - [01/Apr/2011:23:36:55 -0500] "POST /forms/lservlet;jsessionid=3218513816b7b7e5c75d2c1e812eca1e21eb118fdac1cbb0d8eb1d618ee6ccbb.e3qKbN0Mc3yNe38Lb34KahuTbx10 HTTP/1.1" 200 2 0 "-" "Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_07"+
    +127.0.0.1 - - [01/Apr/2011:23:37:00 -0500] "HEAD /index.html HTTP/1.1" 200 0 0 "-" "-"+127.0.0.1 - - [01/Apr/2011:23:37:20 -0500] "HEAD /index.html HTTP/1.1" 200 0 0 "-" "-"

  • ORA-29516: Ausführung von Aurora .. Assertion failure at eox.c:232

    I am trying to use developer-depoly an to load/deploy some java class to oracle 9.2.0.1.0 on Suse-Linux 8 Java 1.3 platform
    However I got the following error, what am I missing here? (On Windows 2000 is no problem).
    I have the same Problem with Oracle Enterprise Manager Console too!
    What kind of permissions are needed? And, how
    to grant these permissions?
    Invoking loadjava on connection 'Connection1' with arguments:
    -order -resolve -noverify -debug -definer -force -thin -synonym -verbose
    creating : resource connections.xml
    loading : resource connections.xml
    Error while creating resource connections.xml
    ORA-29516: Ausf�hrung von Aurora nicht erfolgreich: Assertion failure at eox.c:232
    Uncaught exception Root of all Java exceptions: java.lang.NullPointerException
    java.sql.SQLException: ORA-29516: Ausf�hrung von Aurora nicht erfolgreich: Assertion failure at eox.c:232
    Uncaught exception Root of all Java exceptions: java.lang.NullPointerException
         void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
              DBError.java:187
         void oracle.jdbc.ttc7.TTIoer.processError()
              TTIoer.java:241
         void oracle.jdbc.ttc7.Oall7.receive()
              Oall7.java:543
         void oracle.jdbc.ttc7.TTC7Protocol.doOall7(byte, byte, int, byte[], oracle.jdbc.dbaccess.DBType[], oracle.jdbc.dbaccess.DBData[], int, oracle.jdbc.dbaccess.DBType[], oracle.jdbc.dbaccess.DBData[], int)
              TTC7Protocol.java:1477
         int oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(oracle.jdbc.dbaccess.DBStatement, byte, byte[], oracle.jdbc.dbaccess.DBDataSet, int, oracle.jdbc.dbaccess.DBDataSet, int)
              TTC7Protocol.java:890
         void oracle.jdbc.driver.OracleStatement.executeNonQuery(boolean)
              OracleStatement.java:2004
         void oracle.jdbc.driver.OracleStatement.doExecuteOther(boolean)
              OracleStatement.java:1924
         void oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout()
              OracleStatement.java:2562
         boolean oracle.jdbc.driver.OracleStatement.execute(java.lang.String)
              OracleStatement.java:1038
         void oracle.aurora.server.tools.loadjava.JdbcOperations.executeDDL(java.lang.String)
              JdbcOperations.java:373
         boolean oracle.aurora.server.tools.loadjava.JdbcOperations.executeDDL(java.lang.String, java.lang.String)
              JdbcOperations.java:358
         boolean oracle.aurora.server.tools.loadjava.SchemaObject.executeDDL(java.lang.String, java.lang.String)
              SchemaObject.java:598
         boolean oracle.aurora.server.tools.loadjava.ClientResourceObject.create()
              ClientResourceObject.java:28
         boolean oracle.aurora.server.tools.loadjava.SchemaObject.process1()
              SchemaObject.java:161
         void oracle.aurora.server.tools.loadjava.LoadJava.add(oracle.aurora.server.tools.loadjava.SchemaObject)
              LoadJava.java:488
         void oracle.aurora.server.tools.loadjava.LoadJava.addObject(int, java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:474
         void oracle.aurora.server.tools.loadjava.LoadJava.add(int, java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:425
         void oracle.aurora.server.tools.loadjava.LoadJava.add(java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:356
         void oracle.aurora.server.tools.loadjava.LoadJava.addJar(java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:633
         void oracle.aurora.server.tools.loadjava.LoadJava.add(int, java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:407
         void oracle.aurora.server.tools.loadjava.LoadJava.add(java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:356
         void oracle.aurora.server.tools.loadjava.LoadJava.add(java.io.InputStream, java.lang.String)
              LoadJava.java:325
         void oracle.aurora.server.tools.loadjava.LoadJava.add(java.io.File)
              LoadJava.java:590
         void oracle.aurora.server.tools.loadjava.LoadJava.processDeferredFiles()
              LoadJava.java:562
         void oracle.aurora.server.tools.loadjava.LoadJava.process()
              LoadJava.java:674
         void oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(java.lang.String, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.lang.String, java.io.PrintWriter)
              OracleLoadjava.java:116
         void oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(java.lang.String, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.net.URL, java.io.PrintWriter)
              OracleLoadjava.java:46
         void oracle.jdevimpl.deploy.OracleDeployer.deploy(java.net.URL, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.lang.String[], java.lang.String, java.io.PrintWriter)
              OracleDeployer.java:97
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.jdeveloper.deploy.sp.StoredProcProfile, java.lang.String, oracle.jdeveloper.model.JProject, java.net.URL, java.io.PrintWriter)
              StoredProcHandler.java:428
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.ide.addin.Context, java.lang.String, java.io.PrintWriter)
              StoredProcHandler.java:315
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.ide.addin.Context, java.lang.String)
              StoredProcHandler.java:257
         void oracle.jdevimpl.deploy.StoredProcProfileDt$3.run()
              StoredProcProfileDt.java:370
    The following operations failed
    resource connections.xml: creation
    oracle.aurora.server.tools.loadjava.ToolsException: Failures occurred during processing
         void oracle.aurora.server.tools.loadjava.LoadJava.process()
              LoadJava.java:700
         void oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(java.lang.String, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.lang.String, java.io.PrintWriter)
              OracleLoadjava.java:116
         void oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(java.lang.String, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.net.URL, java.io.PrintWriter)
              OracleLoadjava.java:46
         void oracle.jdevimpl.deploy.OracleDeployer.deploy(java.net.URL, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.lang.String[], java.lang.String, java.io.PrintWriter)
              OracleDeployer.java:97
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.jdeveloper.deploy.sp.StoredProcProfile, java.lang.String, oracle.jdeveloper.model.JProject, java.net.URL, java.io.PrintWriter)
              StoredProcHandler.java:428
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.ide.addin.Context, java.lang.String, java.io.PrintWriter)
              StoredProcHandler.java:315
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.ide.addin.Context, java.lang.String)
              StoredProcHandler.java:257
         void oracle.jdevimpl.deploy.StoredProcProfileDt$3.run()
              StoredProcProfileDt.java:370
    #### Deployment incomplete. #### 01.12.2003 16:52:19

    I have Oracle-DB Server on Linux and Windows-2000.
    I try to deploy the Java-Function to Oracle-DB with JDevelopr.
    My Email: [email protected]
    Here are my deploy-Preview:
    -user
    <connect string>
    -order
    -resolve
    -noverify
    -debug
    -definer
    -force
    -synonym
    -verbose
    thanks
    MZ

  • ORA-29516: Aurora assertion failure: Assertion failure at eox.c:232

    Hi,
    While exceuting following statement:
    SELECT dbms_java.longname(object_name), status, object_type, owner
    FROM all_objects
    WHERE object_type LIKE '%JAVA%' ;I am getting following error:
    ORA-29516: Aurora assertion failure: Assertion failure at eox.c:232
    I looked into other threads for the resolution but those were closed without providing any reslution.
    Oracle DB Version: Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    Java Version Running on DB server: 1.5
    Can anybody help please?

    try alter system set java_jit_enabled=false otherwise call oracle support

  • Loadjava gives ORA-29516: Assertion failure at eox.c:232

    I was trying to test on the loadjava and Java Stored Procedure capabilities on Oracle 9i Release 2.
    I ran into the following error when I tried to load a number of Oracle jar library files into the database (in order to resolve my class using org.apache.soap packages).
    Error while computing shortname of org/apache/soap/Utils
    ORA-29516: Aurora assertion failure: Assertion failure at eox.c:232
    Uncaught exception Root of all Java exceptions: java.lang.NullPointerException
    ORA-06512: at "SYS.DBMS_JAVA", line 213
    ORA-06512: at line 1
    I ran the following command:
    loadjava -thin -user system/manager@<host>:1521:local -resolve -synonym -verbose -grant public
    D:/jdev9i/soap/lib/soap.jar D:/jdev9i/lib/dms.jar D:/jdev9i/jlib/javax-ssl-1_1.jar
    C:/ora81/lib/servlet.jar D:/jdev9i/jdk/jre/lib/ext/mail.jar
    Does anyone has any idea how I can resolve this problem? Response is appreciated. Thanks!

    I have Oracle-DB Server on Linux and Windows-2000.
    I try to deploy the Java-Function to Oracle-DB with JDevelopr.
    My Email: [email protected]
    Here are my deploy-Preview:
    -user
    <connect string>
    -order
    -resolve
    -noverify
    -debug
    -definer
    -force
    -synonym
    -verbose
    thanks
    MZ

  • ORA-29516 encountered when using LoadJava

    I get ORA-29516 when trying to use the LoadJava command on Linux and Oracle 8.1.6.
    I also have trouble running the initjvm.sql, it seems to always run with errors. Do I need to alter some values in my .ora file? or is there something else that I may try?
    I am trying to run initjvm.sql as sys.
    null

    Actually I have found that I get a ora-3113 error when I try to run the initjvm.sql script. I am trying to run it as SYS, however it hangs after a 20 or so statements and then after a long time, I get the ora-3113 error (i am guessing that oracle is terminating its session).

  • ORA-29516: Bulk load of method failed; insufficient shm-object space

    Hello,
    Just installed 11.2.0.1.0 on CentOS 5.5 64-bit. All dependencies satisfied, installation/linking went without a problem.
    Server has 32GB RAM, using AMM with target set at 29GB, no swapping is occuring.
    No matter what i do when loading Java code (loadjava with JARs or "create and compile java source") I keep getting the error:
    ORA-29516: Error in module Aurora: Assertion failure at joez.c:3311
    Bulk load of method java/lang/Object.<init> failed; insufficient shm-object space
    Checked shm-related kernel params, all seems to be normal:
    # Controls the maximum size of a message, in bytes
    kernel.msgmnb = 65536
    # Controls the default maxmimum size of a mesage queue
    kernel.msgmax = 65536
    # Controls the maximum shared segment size, in bytes
    kernel.shmmax = 68719476736
    # Controls the maximum number of shared memory segments, in pages
    kernel.shmall = 4294967296
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    net.core.rmem_default = 262144
    net.core.rmem_max = 4194304
    net.core.wmem_default = 262144
    net.core.wmem_max = 1048576
    Please help.

    Hi there,
    I've stumbled into exactly the same issue for 11g. After I start the database up and I ran loadjava on an externally
    compiled class (Hello.class in my instance) I got the following error:
    Error while testing for existence of dbms_java.handleMd5
    ORA-29516: Aurora assertion failure: Assertion failure at joez.c:3311
    Bulk load of method java/lang/Object.<init> failed; insufficient shm-object space
    ORA-06512: at "SYS.DBMS_JAVA", line 679
    Error while creating class Hello
    ORA-29516: Aurora assertion failure: Assertion failure at joez.c:3311
    Bulk load of method java/lang/Object.<init> failed; insufficient shm-object space
    ORA-06512: at line 1
    The following operations failed
    class Hello: creation (createFailed)
    exiting : Failures occurred during processing
    After this, I checked the trace file and saw the following error message:
    peshmmap_Create_Memory_Map:
    Map_Length = 4096
    Map_Protection = 7
    Flags = 1
    File_Offset = 0
    mmap failed with error 1
    error message:Operation not permitted
    ORA-04035: unable to allocate 4096 bytes of shared memory in shared object cache "JOXSHM" of size "134217728"
    peshmmap_Create_Memory_Map:
    Map_Length = 4096
    Map_Protection = 7
    Flags = 1
    File_Offset = 0
    mmap failed with error 1
    error message:Operation not permitted
    ORA-04035: unable to allocate 4096 bytes of shared memory in shared object cache "JOXSHM" of size "134217728"
    Assertion failure at joez.c:3311
    Bulk load of method java/lang/Object.<init> failed; insufficient shm-object space
    It seems as though that "JOXSHM" of size "134217728" (which is 128MB) corresponds to the java_pool_size setting in my init.ora file:
    memory_target=1000M
    memory_max_target=2000M
    java_pool_size=128M
    shared_pool_size=256M
    Whenever I change that size it propagates to the trace file. I also picked up that only 592MB of shm memory gets used. My df -h dump:
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda7 39G 34G 4.6G 89% /
    udev 10M 288K 9.8M 3% /dev
    /dev/sda5 63M 43M 21M 69% /boot
    /dev/sda4 59G 45G 11G 81% /mnt/data
    shm 2.0G 592M 1.5G 29% /dev/shm
    The only way in which I could get loadjava to work was to remove java from the database by calling the rmjvm.sql script.
    After this I installed java again by calling the initjvm.sql script. I noticed that after these scripts my shm-memory usage
    increased to about 624MB which is 32MB larger than before:
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda7 39G 34G 4.6G 89% /
    udev 10M 288K 9.8M 3% /dev
    /dev/sda5 63M 43M 21M 69% /boot
    /dev/sda4 59G 45G 11G 81% /mnt/data
    shm 2.0G 624M 1.4G 31% /dev/shm
    However, after I stopped the database and started it again my Java was broken again and calling loadjava produced
    the same error message as before. The shm memory usage would also return to 592MB again. Is there something I
    need to do in terms of persisting the changes that initjvm and rmjvm does to the database? Or is there something else
    wrong that I'm overlooking like the memory management settings or something?
    Regards,
    Wiehann

  • About ora-29516...

    Hello everybody, I have this issue in one node of my RAC 11g. This error appears in alert log with a frequency of 10 seconds. I f anybody knows how to resolve it, it could be great.
    ORACLE_HOME = /opt/oracle/product/11g/db
    System name: Linux
    Node name: server1
    Release: 2.6.16.46-0.12-smp
    Version: #1 SMP Thu May 17 14:00:09 UTC 2007
    Machine: x86_64
    Instance name: rac1
    Redo thread mounted by this instance: 1
    Oracle process number: 198
    Unix process pid: 32700, image: oracle@server1 (m000)
    *** 2010-12-14 08:27:35.914
    *** SESSION ID:(722.432) 2010-12-14 08:27:35.914
    *** CLIENT ID:() 2010-12-14 08:27:35.914
    *** SERVICE NAME:(SYS$BACKGROUND) 2010-12-14 08:27:35.914
    *** MODULE NAME:(MMON_SLAVE) 2010-12-14 08:27:35.914
    *** ACTION NAME:(JAVAVM JIT slave action) 2010-12-14 08:27:35.914
    joez_compile_method beginning compile of method java/lang/StackTraceElement.toString
    joxjitexe0 caught: 29516; Aborting
    joxjitexe1 caught: 29516;
    ORA-29516: Aurora assertion failure: Assertion failure at eoxdebug.c:142
    no method found for function eosize_deep_eobject
    joxjitexe exiting
    Thanks for helping

    29516, 00000, "Aurora assertion failure: %s"
    // *Cause: An internal error occurred in the Aurora module.
    // *Action: Contact Oracle Worldwide Support.do all nodes in cluster pass cluvfy?

  • ORA-29516 on 10g export

    HI
    I'm trying to do an export on a 10g server(Windows Server 2003), but I can't successfully complete the process.
    The error message returns following:
    . exporting synonyms
    EXP-00008: ORACLE error 29516 encountered
    ORA-29516: Aurora assertion failure: Assertion failure at eox.c:317
    Uncaught exception Root of all Java exceptions: java.lang.Error java.io.UnsupportedEncodingException: MS950_HKSCS
    EXP-00000: Export terminated unsuccessfully
    Somebody help, please!

    Hey Joe...
    thanks for your instant reply.
    I already looked at that note before asking here.
    I did everything there but increasing db_block_buffers. I'm not a DBA, so I'll ask one to do that for me.
    But, as far as I know, that catexp stuff is not necessary on 10g. Is that right?
    Another thing,
    If this is a common problem on 8i, why it still occurs on 10g? I didn't find any topic related to 10g.
    Is it possible to occur a misconfiguration on the database (and on exporting process) after the installation of OID?
    Best Regards.
    Diogo

  • ORA-29516 when runing initjvm.sql on Windwos 2k

    When I run initjvm.sql on oracle 8.1.7 with Windows 2000 there is some errors like:
    create or replace java system;
    ORA-29516: Aurora assertion failure: Assertion failure at eox.c:217
    Uncaught exception Root of all Java exceptions: X0
    ORA-06550: line 6, column 21:
    PLS-00201: identifier 'DBA_JAVA_POLICY' must be declared
    ORA-06550: line 6, column 5:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 6, column 12:
    PLS-00320: the declaration of the type of this expression is incomplete or malformed
    ORA-06550: line 11, column 5:
    PL/SQL: SQL Statement ignored
    null

    Actually I have found that I get a ora-3113 error when I try to run the initjvm.sql script. I am trying to run it as SYS, however it hangs after a 20 or so statements and then after a long time, I get the ora-3113 error (i am guessing that oracle is terminating its session).

Maybe you are looking for