"Throwing OutOfMemory: class allocation" error on Linux x86-64

Hi.
My system is:
4 Intel Xeon processors, 24GB RAM
OS: Fedora Core 8 2.6.23.1-42.fc8
JRockit: 4.0.1 Mission Control for 1.6.0
I try to run Apache Tomcat (via jsvc and using APR) using JRockit JVM and I get the following error: "Throwing OutOfMemory: class allocation, 766248 loaded, 768K footprint in check_alloc (classalloc.c:213) 268 bytes requested." (multiple times) and then JVM crashes.
I use following config options for JVM: -Xms3000m -Xmx4000m -Xns:800m -XXkeepAreaRatio:20 -XXgcThreads:4 -XXcompressedRefs:enable=false -XX:+UseStringCache -Xgc:gencon -Xverbose:gc -Xverbosetimestamp
I also tried to run it with different heap sizes (more than 4GB) and without -XXcompressedRefs option specified (in which case JRockit used compressed references supporting heap size up to 32GB) but nothing helps - there is the same error every time.
I suspect that it has something to do with heap size though because when I run it on different machine with only 2GB of RAM and heap size set accordingly then it runs ok. I also need it to have plenty of heap space available because it is under heavy load.
Do you have any idea what can cause such a behaviour? I'm sure that I'm not exhausting available native memory (there is 24GB on that machine and normally there is 9-12GB used by applications, mainly Oracle DB Server, and the rest is cached by OS). Also Tomcat runs ok on Sun's JVM (meaning there is no OutOfMemory errors but there are some other issues which I hoped to resolve partly by using JRockit).

I also thought the syntax of -XXcompressedRefs is as you wrote but in the newest JRockit version it's -XXcompressedRefs:enable=false (I found out the hard way, having to spend some time on searching it :) ). The syntax -XXcompressedRefs:false doesn't work in this version. If you're wondering if it has desirable effect: it has. As a proof, here is a snippet from log file:
"[memory ][Thu Sep 23 12:51:16 2010][28083] Running with 64 bit heap and uncompressed references.
[memory ][Thu Sep 23 12:51:16 2010][28083] GC mode: Garbage collection optimized for short pausetimes, strategy: Generational Concurrent Mark & Sweep."
About the post I didn't read this one but few on the same topic telling the same thing.
I will try later running it with -Xverbose:class later (I can't do it right away as it is a production environment I have trouble with).
The curious thing though is that on the second machine it runs ok with smaller heap size (software is identical, loads the same number of classes). So I wonder what is the way to make it work with larger heap (because I'm sure it will need it) - all the posts about this say that I should decrease heap size. Also in Sun JVMs there is an option to set PermGen size. I realize that there is no such thing in JRockit but maybe there is some setting related to memory used for storing loaded classes?
Thanks for any suggestions.
Edited by: user1562668 on Sep 23, 2010 2:46 PM

Similar Messages

  • Error when trying to install 9.2.0.4 for Linux x86

    I downloaded oracle 9.2.0.4 for Linux x86 from here:
    http://www.oracle.com/technology/software/products/oracle9i/htdocs/linuxsoft.html
    When I did the necessary extractions, and then ran the runInstaller, I get the following java error:
    [oracle@zeus Disk1]$ Initializing Java Virtual Machine from /tmp/OraInstall2006-08-15_11-27-09AM/jre/bin/java. Please wait...
    Error occurred during initialization of VM
    Unable to load native library: /tmp/OraInstall2006-08-15_11-27-09AM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
    I'm logged on to the server as the oracle user. Is this the correct version for Oracle for Linux x86.
    Here's what I get from uname -a:
    [oracle@zeus]$ uname -a
    Linux zeus 2.4.21-40.ELsmp #1 SMP Thu Feb 2 22:22:39 EST 2006 i686 i686 i386
    GNU/Linux
    I have installed Oracle 10g successfully on this server as well.

    Installation howto you can find on http://www.puschitz.com
    Try use "Search" function before you create new topic. This one was discussed many times.

  • Whlile calling a Stored Procedure which is written in the Sql Server  from JSp java throws OutOfmemory error- Server used is Tomcat. Even after increasing the heap size the error has come

    while Using Tomcat it will throw out of memory for 50000 records and the weblogic throws Out of memory error for 2 lakshs records, and the Ibm server throws
    Out of memory error for 1 laksh records

    while Using Tomcat it will throw out of memory for 50000 records and the weblogic throws Out of memory error for 2 lakshs records, and the Ibm server throws
    Out of memory error for 1 laksh records

  • OBIEE 11.1.7 installation error in Linux

    Hi All
    My colleague is installing 11.1.1.7.0 on Linux x86-64 (Red Hat Enterprise 6).
    Once done, we will be applying the patch to make it 11.1.17.1.
    Could any one please help us in fixing the below details
    Error details.
    /cs/psoft/obiee_installer/bishiphome/Disk1/install/linux64
    [pshr@gbl20037360 linux64]$ export DISPLAY=166.15.133.89:0.0
    [pshr@gbl20037360 linux64]$ ./runInstaller
    Starting Oracle Universal Installer...
    Checking Temp space: must be greater than 1536 MB.   Actual 1814 MB    Passed
    Checking swap space: must be greater than 500 MB.   Actual 3986 MB    Passed
    Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
    Some requirement checks failed. You must fulfill these requirements before
    continuing with the installation,
    Continue? (y/n) [n] y
    >>> Ignoring required pre-requisite failures. Continuing...
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-01-25_11-36-23AM. Please wait ...[pshr@gbl20037360 linux64]$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '166.15.133.89:0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52)
    at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:155)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
    at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:89)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at java.awt.Toolkit$2.run(Toolkit.java:834)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:826)
           at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source)
    at com.jgoodies.looks.LookUtils.<clinit>(Unknown Source)
    at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:122)
    at oracle.as.install.engine.modules.presentation.ui.common.dialogs.SpecifyInventoryDirectoryDialog.showDialog(SpecifyInventoryDirectoryDialog.java:703)
    at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:555)

    you need to have the x window to be able to launch the installer in GUI, you can use cygwin tool for your installation in GUI mode or else you can run the installer in silent mode

  • Java.lang.UnsatisfiedLinkError: ../linux-x86-suse/lib/libmicrowindowsawt.so

    Hi,
    I just downloaded "j2me_pbp-1_0_2-src.zip" from http://www.sun.com/software/communitysource/j2me/pbp/download.xml and also downloaded "microwin-sun-11_jun_2002.tar.gz" .After I maked them, and want to test a demo case I found a error. Any one who know the reason?
    Thanks!
    [huw@jupiter linux-x86-suse]$ ./bin/cvm -classpath "./test.zip" PBPDemoFrame
    java.lang.UnsatisfiedLinkError: /home/huw/j2me_pbp-1_0_2-src/basis/build/linux-x86-suse/lib/libmicrowindowsawt.so
    at java.lang.ClassLoader$NativeLibrary.load(Ljava/lang/String;)V(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Ljava/lang/Class;Ljava/lang/String;ZZ)Ljava/lang/Object;(Unknown Source)
    at java.lang.ClassLoader.loadLibrary0(Ljava/lang/Class;Ljava/io/File;Z)Ljava/lang/Object;(Unknown Source)
    at java.lang.ClassLoader.loadLibraryInternal(Ljava/lang/Class;Ljava/lang/String;ZZ)Ljava/lang/Object;(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Ljava/lang/Class;Ljava/lang/String;)V(Unknown Source)
    at java.lang.System.loadLibrary(Ljava/lang/String;)V(Unknown Source)
    at sun.security.action.LoadLibraryAction.run()Ljava/lang/Object;(Unknown Source)
    at java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;(Unknown Source)
    at java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;(Unknown Source)
    at java.awt.MWGraphicsEnvironment.<init>()V(Unknown Source)
    at java.awt.MWToolkit.<init>()V(Unknown Source)
    at java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
            at java.lang.Class.newInstance()Ljava/lang/Object;(Unknown Source)
            at java.awt.Toolkit$1.run()Ljava/lang/Object;(Unknown Source)
            at java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;(Unknown Source)
            at java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;(Unknown Source)
            at java.awt.Toolkit.getDefaultToolkit()Ljava/awt/Toolkit;(Unknown Source)
            at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment()Ljava/awt/GraphicsEnvironment;(Unknown Source)
            at java.awt.Window.<init>(Ljava/awt/GraphicsConfiguration;)V(Unknown Source)
            at java.awt.Frame.<init>(Ljava/lang/String;Ljava/awt/GraphicsConfiguration;)V(Unknown Source)
            at java.awt.Frame.<init>()V(Unknown Source)
            at PBPDemoFrame.<init>([Ljava/lang/String;)V(Unknown Source)
            at PBPDemoFrame.main([Ljava/lang/String;)V(Unknown Source)
            at java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
            at sun.misc.CVM.runMain()V(Unknown Source)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    A late reply,
    I can not help you but do you have the PBP 1.0 you mentioned above, because I can not download it it anywere. The PBP 1.1 is not problem to get.
    It seems SUN removed the download from there site.
    Robert

  • Targetdataline.stop() causes memory alloc error

    Hi,
    Im trying to run a Thread that records Audio when I press a button. I have no problem starting the thread, but I cannot seem to stop it without receiving memory alloc errors. Im try to stop is using targetdataline.stop followed by targetdataline.close .
    I am running Java SE 6 version 1.6.0_29-b11-402, on Mac OS X (I am also using Netbeans IDE 7.1)
    java(20704,0x1100ec000) malloc: *** error for object 0x2f6a6f72706c2e68: pointer being freed was not allocated
    *** set a breakpoint in malloc_error_break to debug
    Java Result: 134
    public AudioThread(String fileName) throws LineUnavailableException {
    soundFile = new File(fileName+ ".wav");
    audioFormat = new AudioFormat(8000.0F, 16, 1, true, false);
    dataLineInfo = new DataLine.Info(TargetDataLine.class,audioFormat);
    targetDataLine = (TargetDataLine) AudioSystem.getLine(dataLineInfo);
    audioInputStream = new AudioInputStream(targetDataLine);
    targetDataLine.open(audioFormat);
    @Override
    public void run(){
    try {
    AudioSystem.write(audioInputStream, Type.WAVE, soundFile);
    catch (IOException ex) {
    Logger.getLogger(AudioThread.class.getName()).log(Level.SEVERE, null, ex);
    public void startThread() throws LineUnavailableException {
    targetDataLine.start();
    super.start();
    public void stopThread() throws IOException{
    targetDataLine.stop();
    targetDataLine.close();
    Thanks,
    Lucas

    It seems to happen after the close() .
    I tried moving the targetdataline.close() at the end of run() function (after the AudioSystem.write() ), but no such luck.
    public void run(){
    try {
    AudioSystem.write(audioInputStream, Type.WAVE, soundFile);
    catch (IOException ex) {
    Logger.getLogger(AudioThread.class.getName()).log(Level.SEVERE, null, ex);
    targetDataLine.close();
    public void stopThread() throws IOException{
    targetDataLine.stop();
    ...

  • Crystal Report throws Unexpected Database Connector error

    Hi,<br>
    <br>
    We are using Crystal report 2008 CR4E API to implement the crystal report in our application. We use the below code to reset the report data source with our application data source. It works fine for most of the simple queries. But if the query contains any function defined in the SELECT Clause it throws Unexpected Database Connector error. As per the log and analysis we believe the root cause of the exception is it consider that function as column in the table and throws the SQL Exception that "function is Invalid Identifier". Could you please help in resolving this issue?
    <br><br>
    Code:<br><br>
         Tables tables = clientDoc.getDatabaseController().getDatabase().getTables(); <br>
                for(int i = 0;i < tables.size();i++){<br>
                    origTable = tables.getTable(i);<br>
                    if (tableName == null || origTable.getName().equals(tableName)) {<br>
                        newTable = (ITable)origTable.clone(true);<br>
                        newTable.setQualifiedName(origTable.getAlias());<br>
                        connectionInfo = newTable.getConnectionInfo();<br>
                        propertyBag = new PropertyBag();<br>
                        propertyBag.put("Trusted_Connection", params.trustedCon);<br>
                        propertyBag.put("Server Type", params.serverType);<br>
                        propertyBag.put("Use JDBC", params.useJdbc);<br><br>
                        propertyBag.put("Database DLL",params.databaseDLL);<br>
                        propertyBag.put("Connection URL", params.connectionURL);<br>
                        propertyBag.put("Database Class Name", params.dbClassName);<br>
                        connectionInfo.setAttributes(propertyBag);<br>
                        connectionInfo.setUserName(params.userName);<br>
                        connectionInfo.setPassword(params.password);<br>
                        clientDoc.getDatabaseController().setTableLocation(origTable, newTable); // Exception is thrown here<br>
              }                    <br>
         }     <br>
    <br>
    SQL Query : <br><br>
    Select empno, Fun_getEmpAddress(empno) from employee where empno = ?<br><br><br>
    Error Log:<br><br>
    2011-04-26 16:30:41.926 89022900 CrystalReportParms_jsp._jspService(368) Error while generating crystal report<br>
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2285)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2305)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:737)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)<br>
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)<br>
         at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)<br>
         at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)<br>
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)<br>
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)<br>
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)<br>
         at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)<br>
         at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:108)<br>
         at com.crystaldecisions.sdk.occa.report.application.b0.if(SourceFile:148)<br>
         at com.crystaldecisions.sdk.occa.report.application.b0.b(SourceFile:95)<br>
         at com.crystaldecisions.sdk.occa.report.application.bb.int(SourceFile:96)<br>
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:151)<br>
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2159)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:543)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:3898)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setTableLocation(SourceFile:2906)<br>
         at com.mysystems.myapp.common.CRJavaHelper.changeDataSource(CRJavaHelper.java:157)<br>
         at com.mysystems.myapp.common.CrystalReport.print(CrystalReport.java:202)<br>
         at org.apache.jsp.english.CrystalReportParms_jsp._jspService(CrystalReportParms_jsp.java:368)<br>
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)<br>
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)<br>
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
         at com.mysystems.myapp.common.MyServletFilter.doFilter(MyServletFilter.java:107)<br>
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br>
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br>
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br>
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br>
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br>
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br>
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)<br>
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)<br>
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)<br>
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)<br>
         at java.lang.Thread.run(Thread.java:595)<br>
    Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error<br>
         at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2958)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.z3(SourceFile:944)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.bL(SourceFile:533)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.zM(SourceFile:245)<br>
         at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:776)<br>
         at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:2234)<br>
         at com.crystaldecisions.reports.queryengine.Table.if(SourceFile:2161)<br>
         at com.crystaldecisions.reports.queryengine.Table.try(SourceFile:1525)<br>
         at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:568)<br>
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2405)<br>
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)<br>
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)<br>
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)<br>
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)<br>
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1167)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)<br>
         ... 47 more<br>
    Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Unexpected database connector error<br>
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)<br>
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)<br>
         at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2953)<br>
         ... 63 more<br>
    Caused by: java.sql.SQLException: ORA-00904: "Fun_getEmpAddress": invalid identifier<br>
    <br>
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)<br>
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)<br>
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)<br>
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:622)<br>
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:111)<br>
         at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:350)<br>
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:895)<br>
         at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:382)<br>
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:985)<br>
         at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1515)<br>
         ... 66 more<br>

    i'm also getting the same error when i'm trying to call stored procedure (that will fetch the result set and populate the report) through the query in the report-viewer.jsp. The result set is fetched i.e. when i print the result set it shows on tomcat but it is not getting passed to Table object to populate the report. However when i try to give the query explicitly in the form of SELECT statements, it works fine i.e. i can view the report in the browser. But giving query in the form of SELECT is a very naive way and is ok if u have too less reports not requiring too many joins, thats why i was using stored procedure. Any help would be appreciated.

  • Oracle 10g R 10.2 for Linux x86-64 - /proc/sys/vm/disable_cap_mlock problem

    Hi All,
    During installation - Oracle Database Configuration Assistance, I have got below error and thus I stuck. As per Metalink note 293988.1, this will be resolved if I do [root@localhos]# echo 1 > /proc/sys/vm/disable_cap_mlock . But problem is when I do this because I dont have /proc/sys/vm/disable_cap_mlock file in my system, it giving ¨bash: /proc/sys/vm/disable_cap_mlock: No such file or directory¨ error. So I am unable to get rid of this error. I also set SELinux Default and Current mode as permissible and rebooted it.
    No use, Its giving same error.
    ORA-27125: Unable to create shared memory segment.
    DB Details_
    Oracle 10g Release 2 (10.2) for Linux x86-64
    Choosen Basic Installation
    OS Details:_
    *[root@localhost vm]# uname -rm*
    2.6.32-100.0.19.el5 x86_64
    *[root@localhost vm]# uname -a*
    Linux localhost.localdomain 2.6.32-100.0.19.el5 #1 SMP Fri Sep 17 17:51:41 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
    *[root@localhost etc]# cat /etc/redhat-release*
    Red Hat Enterprise Linux Server release 5.5 (Tikanga)
    *[root@localhost etc]# make -v*
    GNU Make 3.81
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.
    This program built for x86_64-redhat-linux-gnu
    This is bugging me since last two days. Any help would be appreciated.
    Thanks in advance.
    Regards,
    Mahi

    From what I can gather form your post, the ORA-27125: Unable to create shared memory segment is probably the result of:
    a) not enough physical memory available.
    b) /dev/shm not configured properly.
    c) kernel parameters are not set according to Oracle requirements.
    Since this is happening during the installation of Oracle I suggest to check the SHMMAX kernel parameter. This is all mentioned in the pre-installation steps. Oracle 11g will actually check these kernel parameters prior to installing. Not sure about 10g now, which you are trying to install.
    The most common, easiest way to prepare the system for Oracle RDBMS is to install the "oracle-validated" package. If you don't have access to ULN, you can setup public yum.
    http://public-yum.oracle.com/ Then you can simply type as the root user: yum install oracle-validated
    Edited by: waldorfm on Nov 3, 2010 1:18 PM

  • License for cross-compilation for solaris 10 sparc on Linux x86

    I'd like to do cross-compilation for solaris 10 sparc on Linux x86 using gcc (for linux). To do that, I have to copy libraries (/lib/64) and includes (/usr/include) from a sparc machine to my linux machine.
    The compilation will be run on about (up to) 50 Linux machines (by various developers). We also have 3 solaris-10-SPARC machines.
    I wonder if Solaris license allows me to copy the includes and libs to perform compilation elsewhere.
    I also checked "OTN License Agreement for Oracle Solaris", but it looks like Oracle allows for installing "the programs" on up to 3 machines, but I need it on 50.
    Thanks for any suggestions or redirections to a proper place where I can get an answer.
    Marek

    When installing Solaris 10 01/06 on a Dell 1850 I receive an error message during the install saying "no disk found". I assume that the drive/controller is not recognized. The Dell 1850 is listed under the HCL for Solaris 10 10/06. I don't believe I can use the Solaris(TM) Device Driver for the LSI MegaRAID Adapter floppy with 1/06. I don�t have any other Solaris boxes up so I can�t build a jump start server. Any suggestions?

  • EM Cloud 12c Management Agent Software for linux x86

    Hello folks
    I need to acquire Management Agent Software for linux x86 using offline mode. I followed steps described in online documentation of Oracle Cloud Control 12c, section "4.2.3.2 Acquiring Management Agent Software in Offline Mode"
    I downloaded the catalog file p9348486_112000_Generic.zip, but when I executed import_update_catalog as follow:
    /em12c/oms12cr3/oms/bin/emcli import_update_catalog -file=/app/em12c/swlib/p9348486_112000_Generic.zip -omslocal
    this error apears:
    "Internal error while validating catalog file format: error in opening zip file"
    thanks in advance

    --> $/AGENT_INST/bin/emctl stop agent
    If agent does not shutdown gracefully then kill all agent background processes by first grepping for agent perl and java processes only
    --> Move your existing target.xml file
    mv target.xml target.xml.old
    --> Create an empty targets.xml file under /AGENT_INST/sysman/emd with the below content
    <Targets>
    </Targets>
    --> Start the agent
    $AGENT_INST/bin/emctl start agent
    This starts agent but without any targets populated in targets.xml
    To discover targets perform agent resynchronization operation from console
    Regards
    Krishnan

  • Oracle 10g Release 2 (10.2) for Linux x86-64

    Hi All,
    During installation - Oracle Database Configuration Assistance, I have got below error and thus I stuck. As per Metalink note 293988.1, this will be resolved if I do [root@localhos]# echo 1 > /proc/sys/vm/disable_cap_mlock . But problem is when I do this because I dont have /proc/sys/vm/disable_cap_mlock file in my system, it giving ¨bash: /proc/sys/vm/disable_cap_mlock: No such file or directory¨ error. So I am unable to get rid of this error. I also set SELinux Default and Current mode as permissible and rebooted it.
    No use, Its giving same error.
    ORA-27125: Unable to create shared memory segment.
    DB Details_
    Oracle 10g Release 2 (10.2) for Linux x86-64
    Choosen Basic Installation
    OS Details:_
    *[root@localhost vm]# uname -rm*
    2.6.32-100.0.19.el5 x86_64
    *[root@localhost vm]# uname -a*
    Linux localhost.localdomain 2.6.32-100.0.19.el5 #1 SMP Fri Sep 17 17:51:41 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
    *[root@localhost etc]# cat /etc/redhat-release*
    Red Hat Enterprise Linux Server release 5.5 (Tikanga)
    *[root@localhost etc]# make -v*
    GNU Make 3.81
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.
    This program built for x86_64-redhat-linux-gnu
    This is bugging me since last two days. Any help would be appreciated.
    Thanks in advance.
    Regards,
    Mahi

    Trust me I verified installtion guide and release notes atleast 20 times. I never had luck witht any thing. I was wondering how come edelivery.oracle.com packages (both Linux 64 bit Linux with upgrade to Unbreakable and Oracle 10g db version) is not workign for me. Finally below trick to the installed file could make my installation work(Ref link http://www.oracle-base.com/articles/10g/OracleDB10gInstallationOnFedora2.php) . In this I am setting DISABLE_HUGETLBFS to value 1. My only doubt is, does this have any impact on performance? Can some one relay on such tweeking for prod installtions? Ofcourse I am yet to go for commercial. At present I dont have ULN or metalink authorised access.
    cd $ORACLE_HOME/bin
    mv oracle oracle.bin
    cat >oracle <<"EOF"
    #!/bin/bash
    export DISABLE_HUGETLBFS=1
    exec $ORACLE_HOME/bin/oracle.bin $@
    EOF
    chmod +x oracle
    Edited by: TechMahi.com on Nov 7, 2010 10:15 PM

  • 10g R2 on Linux x86

    Can someone tell me if the current DB 10g R2 on Linux x86 download
    has a <emctl dbconsole error> when installing it ?
    The copy of 10g DB R2 that I have has this error and it is from JAN 2008.
    Could I down load another copy from the web site with out this error ?
    ~ Thanks

    This is the error and I want to do a new 10g install and would like to know if
    the oracle web Oracle 10g R2 database for Linux x86 still has this error and is
    this download still not going to install ?
    Timezone mismatch: The agentTZRegion value (US/Eastern) in
    /oracle/product/10g/10.2.0/db_1/oracleb.ridge.aps.org_oratest/sysman/config/emd.
    properties
    does not match the current environment TZ setting(US/Eastern).
    The dbconsole cannot run with this mismatch.
    If US/Eastern is the correct timezone, set your timezone environment variable to US/Eastern and repeat the
    'emctl start dbconsole' operation.
    If US/Eastern is not the correct timezone, make sure that the timezone in your environment is correct, and then run the
    following command in your local Oracle Home: 'emctl resetTZ agent'
    ~ Thanks

  • 10g1 Linux x86 silent install  orapwd remote_login_passwordfile  ORA-01031

    I have completed a silent install of 10g1 EE on Linux x86 followed by emca on command line, executed orapwd to create orapwdSID file in $ORACLE_home/dbs with password for sys, set remote_login_passwordfile =EXCLUSIVE, am able to sqlplus connect / as sysdba on the server, but still get ORA-01031 insufficient privileges when logging in through OEM.
    I have read an awful lot of posts about this. I am not in a position to use a DBCA GUI installation.
    Any thoughts?
    Peter

    there is no line in my sqlnet.ora for sqlnet.authentication_services
    I added your suggestion
    sqlnet.authentication_services= (none)
    still got error 01031
    but did find that I had named the orapwd file incorrectly as orapwd<sid> instead of orapw<sid>
    I also found that trying to register a sys password containing an @ seemed to confuse the orapwd utility no matter whether I enclosed it in double quotes or not
    so my workaround was to alter user sys identified by dummypassword
    and then run orapwd using dummypassword
    finally alter user sys identified by "mydesiredp@sswd" using doublequotes to escape the @
    which successfully updates the orapw<sid> file
    thanks for your help and suggestion
    Peter

  • Forms compilation Errors under Linux

    Hello,
    I have a main form called Tbdoctrk.fmb.
    This forms compiles and runs perfectly through Oracle 9i iDS.
    When transfering the fmb file under Linux, and attempting to recompile using the f90genm.sh utility, I get the following compilation errors:
    FRM-18108: Failed to load the following objects.
    FRM-30436: Parent window not specified for canvas.View Canvas H_TOOLBAR
    FRM-30041: Position of item places it off of canvas.
    Item: BUTTON_HELP
    Block: VARIABLE
    Form: TBDOCTRK
    FRM: Unable to adjust form for output.
    ====
    I noticed that most of the object that failed to load (1 data block object, 1 canvas and a number of property classes and visual attributes) are contained in a file called TOOLBAR.fmb.
    The TOOLBAR.fmb file compiles without errors under Linux/WIndows + is located in the same folder as the Tbdoctrk.fmb file.
    1) How can I resolve this issue ?
    PT
    PS: I tried renaming the fmb files to upper/lower case without success.

    Hello,
    My main form called Tbdoctrk.fmb in turn calls a form called Pre_bord.fmb in a Program Unit.
    Most but not all Class and Value Attributes are included in a file called toolbar.fmb. I did not find any specific reference to the toolbar.fmb file.
    However, at compile time, I find that those objects are not loaded.
    1) In what part of the main form Tbdoctrk.fmb should I find any such reference to the toolbar.fmb file ?
    2) How should I create those symbolic links under Linux ?
    PT

  • DAC 10.1.3.4.1 Server on Windows (64 bit) and Linux x86 (64 bit)?

    Hi Friends,
    Please confirm wheteher Oracle Business Intelligence Data Warehouse Administration Console 10.1.3.4.1 Server is supported on
    Windows (64 bit) and Linux x86 (64 bit)
    Because from edelivery.oracle.com i could see the downloads only for windows and Linux and not specified as 32/64 - bit
    so will it mean that the same dump is used for both 32 and 64 bit
    1) Oracle Business Intelligence Data Warehouse Administration Console 10.1.3.4.1 for Microsoft Windows (V16377-01)
    can the above dump is used for both 32 and 64 bit windows?
    2) Oracle Business Intelligence Data Warehouse Administration Console 10.1.3.4.1 for Linux x86 (V16378-01)
    can the above dump is used for both 32 and 64 bit Linux?
    The reason is because for OBIA 7.9.6.3 configuration both the Informatica Power Centre and DAC Server should co-exist
    and i could see seperate installer for 32 and 64 bit for both Windows and Linux whereas i couldn't see it for DAC Server
    Please confirm .
    Regards,
    DB

    It is supported on both platforms. With Linux however, if you have any issues you can to install in a windows environment, then copy over the folder structure. Also, you can possibly run into issues running the setup.exe on 64bit windows. When you open the install directory, go to dac/disk1/install and run the executable for win32. win64bit can return an error where it says it cannot create certain temp directories. It is a known java bug you can find in the support website.
    Edited by: user12838563 on Jul 13, 2011 11:35 PM

Maybe you are looking for