Oracle 11g on IBM-AIX 5.3 LPAR with VIO-server

Hi
We are researching the implementation of Oracle RAC 11g on an IBM LPAR solution running IBM AIX 5.3 TL06
These LPAR's use a VIO-server for I/O access.
Now the one document says VIO isn't supported for Oracle RAC, the other document says it is, and jet another states it is only supported for use with ASM
Can someone point me to a site with actual support information and/or can anyone tell me if RAC actually works on a LPAR with a VIO-server
Thanks in Advance

IBM AIX 5.3 VIO is currently supported for all Oracle products, database and/or ERP including certain RAC Configurations as documented in Metalink certify.
Check metalink note 282036.1
If You want to use RAC, then 10.2.0.3 RAC or higher must be used and only the Oracle Automatic Storage Management (ASM) feature is approved for Oracle RAC and VIOS configurations.
No other restrictions.
In Your case You can use 11g RAC with VIO, but don't forget that ASM should be used as well.

Similar Messages

  • Running test.rdf in oracle 10g and ibm aix 5L

    Hi,
    I am trying to run a demo test.rdf from the browser. This is in Oracle 10g and IBM AIX 5L.The report server is in-process server.
    The url is
    http://ipaddr:7778/reports/rwservlet?server=rep_igtewfux01&report=test.rdf&userid=dbuserid/dbpwd@asdb&desformat=PDF&destype=cache
    Engine rwEng-0 crashes all the time. Below is a part of the exception . Please help.
    [2005/8/26 6:19:14:20] Debug 50103 (JobManager:updateJobStatus): Finished updating job: 98
    [2005/8/26 6:20:9:64] Exception 50125 (org.omg.CORBA.TRANSIENT: vmcid: 0x0 minor code: 0 completed: No
         at com.inprise.vbroker.orb.DelegateImpl.verifyConnection(DelegateImpl.java(Compiled Code))
         at com.inprise.vbroker.orb.DelegateImpl.is_local(DelegateImpl.java(Compiled Code))
         at org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java(Compiled Code))
         at oracle.reports.engine._EngineClassStub.run(_EngineClassStub.java:147)
         at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:784)
         at oracle.reports.server.JobManager.runJobLocal(JobManager.java:1557)
         at oracle.reports.server.JobManager.dispatch(JobManager.java:896)
         at oracle.reports.server.ConnectionImpl.runJob(ConnectionImpl.java:1166)
         at oracle.reports.client.ReportRunner.dispatchReport(ReportRunner.java:287)
         at oracle.reports.rwclient.RWReportRunner.dispatchReport(RWReportRunner.java:86)
         at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1627)
         at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1481)
         at oracle.reports.rwclient.RWClient.doGet(RWClient.java:349)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:568)
    ): Internal error org.omg.CORBA.TRANSIENT: vmcid: 0x0 minor code: 0 completed: No
    [2005/8/26 6:20:9:64] Info 56029 (EngineManager:shutdownEngine): Shutting down engine rwEng-0
    [2005/8/26 6:20:9:66] Exception 50125 (org.omg.CORBA.OBJECT_NOT_EXIST: vmcid: 0x0 minor code: 0 completed: No
         at com.inprise.vbroker.ProtocolEngine.PortfolioImpl.getConnector(PortfolioImpl.java(Compiled Code))
         at com.inprise.vbroker.ProtocolEngine.ManagerImpl.getConnector(ManagerImpl.java(Inlined Compiled Code))
         at com.inprise.vbroker.orb.DelegateImpl._bind(DelegateImpl.java(Compiled Code))
         at com.inprise.vbroker.orb.DelegateImpl.verifyConnection(DelegateImpl.java(Compiled Code))
         at com.inprise.vbroker.orb.DelegateImpl.is_local(DelegateImpl.java(Compiled Code))
         at org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java(Compiled Code))
         at oracle.reports.engine._EngineClassStub.shutdown(_EngineClassStub.java:341)
         at oracle.reports.server.EngineManager.shutdownEngine(EngineManager.java:1216)
         at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:826)
         at oracle.reports.server.JobManager.runJobLocal(JobManager.java:1557)
         at oracle.reports.server.JobManager.dispatch(JobManager.java:896)
         at oracle.reports.server.ConnectionImpl.runJob(ConnectionImpl.java:1166)
         at oracle.reports.client.ReportRunner.dispatchReport(ReportRunner.java:287)
         at oracle.reports.rwclient.RWReportRunner.dispatchReport(RWReportRunner.java:86)
         at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1627)
         at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1481)
         at oracle.reports.rwclient.RWClient.doGet(RWClient.java:349)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:568)
    ): Internal error org.omg.CORBA.OBJECT_NOT_EXIST: vmcid: 0x0 minor code: 0 completed: No
    [2005/8/26 6:20:9:66] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Shutdown
    [2005/8/26 6:20:9:66] Info 56047 (EngineManager:remove): Reports Server shut down engine rwEng-0
    [2005/8/26 6:20:9:66] State 56016 (JobManager:updateJobStatus): Job 98 status is: Terminated with error:
    REP-56048: Engine rwEng-0 crashed, job Id: 98
    [2005/8/26 6:20:9:66] Debug 50103 (JobManager:notifyWaitingJobs): Master job 98 notify its duplicated jobs.
    [2005/8/26 6:20:9:66] Debug 50103 (JobManager:updateJobStatus): Finished updating job: 98
    [2005/8/26 6:20:9:67] Exception 56048 (): Engine rwEng-0 crashed, job Id: 98
    exception oracle.reports.RWException {
    oracle.reports.RWError[] errorChain={struct oracle.reports.RWError {
    int errorCode=56048,
    java.lang.String errorString="Engine rwEng-0 crashed, job Id: 98",
    java.lang.String moduleName="REP"
         at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:861)
         at oracle.reports.server.JobManager.runJobLocal(JobManager.java:1557)
         at oracle.reports.server.JobManager.dispatch(JobManager.java:896)
         at oracle.reports.server.ConnectionImpl.runJob(ConnectionImpl.java:1166)
         at oracle.reports.client.ReportRunner.dispatchReport(ReportRunner.java:287)
         at oracle.reports.rwclient.RWReportRunner.dispatchReport(RWReportRunner.java:86)
         at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1627)
         at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1481)
         at oracle.reports.rwclient.RWClient.doGet(RWClient.java:349)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:568)

    mmmh. Did you compared the select count(*) from your_table; in the two cases.
    If the result is not good and nobody has deleted rows between migration and your test, you migration need to be replayed.
    Which migration did you select, Transportable database or exp/imp...?
    Edited by: Dba Z on 16 août 2009 08:56

  • Returning 250 rows with 1000 Values in "IN" Clause Oracle 10g On IBM AIX !!

    Hi,
    Recently we have done the OS migration of Oracle 10g Server from Windows Server to IBM AIX. Everything is fine, But today we came across one crucial bug in the code, i.e In the Select Query, though we're expecting 1000 rows with 1000 values in "IN" Clause , It's returning Only 250 rows. Where as it's returning 1000 rows in Windows Environment with 1000 values in "IN" Clause. I have browsed throgh Google for the resolution but failed to get that.
    This is something like,
    In Oracle 10g On windows :-
    select * from emp
    where dept_id in (1,2,3,...................1000);
    Assuming there  are the dept_id values in Emp table from 1 ... 1000, It's returning 1000 rows.
    In Oracle 10g On IBM AIX ,
    select * from emp
    where dept_id in (1,2,3,...................1000);
    Assuming there  are the dept_id values in Emp table from 1 ... 1000, It's returning 250 rows. Pls help me, what could be the reason for this. and what needs to be checked to fix this.
    Pls suggest !!!
    Raja

    mmmh. Did you compared the select count(*) from your_table; in the two cases.
    If the result is not good and nobody has deleted rows between migration and your test, you migration need to be replayed.
    Which migration did you select, Transportable database or exp/imp...?
    Edited by: Dba Z on 16 août 2009 08:56

  • Tns problem with Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools

    I installed the full
    Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools for Visual Studio
    now I am at the good old "[ORA-12154: TNS:could not resolve the connect identifier specified]" error.
    I copied the same tnsnames.ora as used on the db server
    onto the client "C:\Oracle\product\11.1.0\client_2\Network\Admin".
    The host name is right since a normal ping works. TNSping is not available.
    but I get the [ORA-12154: TNS:could not resolve the connect identifier specified] error.
    The listener is running and the instance as well since it all works on the source server.
    I tried it with
    SET path=c:\oracle\product\11.1.0\client_2\bin
    but tnsping is still not recognized.
    sqlplus works on the other hand when I set it to
    SET path=c:\oracle\product\11.1.0\client_2\
    what is going on...

    hey
    u can post your query here, and i think everyone here is to share opinion so do not hesitate to do so and please try to google before posting here,
    and we know no one is expert like some people saying 'boring questions' you just try to overcome your problem and you will definitly get your problem solved .
    some mpeople ar still there who answeres hopeless questions and say nothing about them but when a fresher askin a qustion is not tolarated by them they think everyone is born DBA here
    they always tend to discouraging people here on forums,and i think they are vvolunteers to reduce crowd here on forums, inspite of there experience and people respect them they can not control their anger
    so please post you tns here, i think there are ways to ask people to google and search docs first, but not like this
    thanks and regards
    VD
    Edited by: vikrant dixit on Jun 29, 2009 4:33 AM

  • Oracle 11g instation in AIX 6.3

    Please can any one instruct how to install oracle 11g in AIX 6.3, do we need do install RPM like in Linux instalation,please provide a guide for this

    Hi;
    Please can any one instruct how to install oracle 11g in AIX 6.3, do we need do install RPM like in Linux instalation,please provide a guide for thisUpper sharing which is by oracle forum user can answer your questions. In addition to their post please review:
    Minimum Software Versions and Patches Required to Support Oracle Products on IBM Power Systems [ID 282036.1]
    Regard
    Helios

  • Errors while copying File Oracle 11G installation on AIX 5L

    Hi,
    I just try to install oralce 11g on my AIX 5l machine. All requirements has been checked and are done.
    While installation I get many Errors like "File not find:"
    /oracle/SID/..../applications/WFMLRSVCApp.ear , wfjvlsnr.csh, wfmgrstop.csh ..etc.
    I am Installing fresh Oracle 11G.What could be the problem?
    Could you please give me some hints.
    Many Thanks
    Mete

    Make sure you unzip both zipfiles into the SAME directory, e.g.:
    cd /<whatever>
    $ unzip aix.ppc64_11gR1_database_1of2.zip
    $ unzip aix.ppc64_11gR1_database_2of2.zip
    $ cd database
    $ ./runInstaller
    Werner

  • Rootpre.sh with Oracle 11G Installation  on AIX 6.1

    We are upgrading to Oracle 11G from Oracle 10.2.0.4 on AIX 6.1 and ECC6.
    We are running Oracle 10G and SAP application while installing 11G
    Oracle binaries (obviously in a new oracle 11G home) , while
    installing Oracle 11G binaries we have to run rootpre.sh , Just
    wondering if we have to shut down existinig oracle 10G while running rootpre.sh for
    11G.
    Based on the above answer,we need to plan the upgrade as this
    will decide the length of downtime with Oracle upgrade, your reply will
    be highly appreciated.
    Thanks,
    Al Mamun

    Hello Al Mamun,
    Check the upgrade guide:
    http://service.sap.com/instguides
    > Database Upgrades
    > Oracle
    > Upgrade to Oracle Database 11g Release 2 (11.2): UNIX
    Also, the following notes may be helpful:
    [1431797    Oracle 11.2.0: Troubleshooting the Database Upgrade|http://service.sap.com/sap/support/notes/1431797]
    [1431800    Oracle 11.2.0: Central Technical Note|http://service.sap.com/sap/support/notes/1431800]
    [1431793    Oracle 11.2.0: Upgrade Scripts|http://service.sap.com/sap/support/notes/1431793]
    [1431798    Oracle 11.2.0: Database Parameter Settings|http://service.sap.com/sap/support/notes/1431798]
    Regards,
    Eduardo Rezende

  • Oracle Reports for IBM Aix

    I try to download Oracle Reports (6i, 9 or 10) for Unix IBM AIX but I don't find any link. Where can I find it ? Thanks

    Here ?
    http://www.oracle.com/technology/software/products/ias/htdocs/101202.html
    Nicolas.

  • Trying to install Oracle 11G R1 on AIX 6

    While trying to start the installation on the AIX server am receiving the below message and the installation Stops and never continues.
    can anyone help...
    Module=/crmdb/OraInstall2011-03-01_04-17-10PM/jdk/jre/bin/libj9jit23.so
    Module_base_address=090000000337F000
    Target=2_30_20070131_11312_BHdSMr (AIX 6.1)
    CPU=ppc64 (16 logical CPUs) (0x80000000 RAM)
    JVMDUMP006I Processing Dump Event "gpf", detail "" - Please Wait.
    JVMDUMP007I JVM Requesting System Dump using '/crmdb/core.20110301.161715.7733330.dmp'
    JVMDUMP010I System Dump written to /crmdb/core.20110301.161715.7733330.dmp
    JVMDUMP007I JVM Requesting Snap Dump using '/crmdb/Snap0001.20110301.161715.7733330.trc'
    JVMDUMP010I Snap Dump written to /crmdb/Snap0001.20110301.161715.7733330.trc
    JVMDUMP007I JVM Requesting Java Dump using '/crmdb/javacore.20110301.161715.7733330.txt'
    JVMDUMP012E Error in Java Dump: /crmdb/javacore.20110301.161715.7733330.txt
    JVMDUMP013I Processed Dump Event "gpf", detail "".

    Goodnight,
    I have the same mistake I did the export of JAVA_COMPILER = NONE and I generate this error, you can help me to install Oracle 11.1 on AIX 6.1 ... Thanks
    Starting Oracle Universal Installer...
    Checking Temp space: must be greater than 190 MB. Actual 1513 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 32768 MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 1
    6777216 Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-03-29_08
    -53-12PM. Please wait ...Mar 29, 2011 8:53:36 PM java.util.prefs.FileSystemPrefe
    rences$2 run
    WARNING: java.io.IOException: The file access permissions do not allow the speci
    fied action.
    Exception in thread "Timer-0" java.lang.SecurityException: Could not lock User p
    refs. Lock file access denied.
    at java.util.prefs.FileSystemPreferences.checkLockFile0ErrorCode(FileSys
    temPreferences.java:956)
    at java.util.prefs.FileSystemPreferences.lockFile(FileSystemPreferences.
    java:945)
    at java.util.prefs.FileSystemPreferences.sync(FileSystemPreferences.java
    :751)
    at java.util.prefs.FileSystemPreferences.flush(FileSystemPreferences.jav
    a:844)
    at java.util.prefs.FileSystemPreferences.syncWorld(FileSystemPreferences
    .java:488)
    at java.util.prefs.FileSystemPreferences.access$1200(FileSystemPreferenc
    es.java:61)
    at java.util.prefs.FileSystemPreferences$4.run(FileSystemPreferences.jav
    a:447)
    at java.util.TimerThread.mainLoop(Timer.java:527)
    at java.util.TimerThread.run(Timer.java:477)
    Mar 29, 2011 8:54:29 PM java.util.prefs.FileSystemPreferences$3 run
    INFO: Created system preferences directory in java.home.
    Oracle Universal Installer, Version 11.1.0.6.0 Production
    Copyright (C) 1999, 2007, Oracle. All rights reserved.
    Unhandled exception
    Type=Segmentation error vmState=0x00000000
    J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Sig
    nal_Code=00000033
    Handler1=09001000A056FC78 Handler2=09001000A0567538
    R0=000000011075CBE4 R1=0FFFFFFFFFFFBE40 R2=0000000000000006 R3=0000000000000001
    R4=0000000111AE96A8 R5=0000000111AE96B8 R6=0000000111AE95E8 R7=0000000111AE95E8
    R8=0000000000000008 R9=0000000111AE96B8 R10=0700000000613CC0 R11=0900000002831C3
    8
    R12=0000000110EE32D8 R13=00000001100138A0 R14=0000000111AE96E8 R15=00000001100A4
    000
    R16=0000000110F892F0 R17=0000000113197068 R18=09001000A05733B0 R19=0000000000000
    02A
    R20=000000011202FC98 R21=0000000111AE97E0 R22=00000001100A4080 R23=0000000000000
    000
    R24=0000000113226500 R25=0000000113226500 R26=070000000060C398 R27=0000000000000
    000
    R28=0000000000000031 R29=0000000000000000 R30=0700000000798C68 R31=0000000000000
    000
    IAR=0900000002831C38 LR=000000011075D42C MSR=A00000000000D032 CTR=0900000002831C
    38
    CR=8258584420000004 FPSCR=8200200000000000 XER=2000000482002000
    FPR0 4024000000000000 (f: 0.000000, d: 1.000000e+01)
    FPR1 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR2 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR3 3fee666660000000 (f: 1610612736.000000, d: 9.500000e-01)
    FPR4 4530000000000000 (f: 0.000000, d: 1.934281e+25)
    FPR5 3fbc28f5c28f5c29 (f: 3264175104.000000, d: 1.100000e-01)
    FPR6 000000000000ffff (f: 65535.000000, d: 3.237859e-319)
    FPR7 0000000082004000 (f: 2181054464.000000, d: 1.077584e-314)
    FPR8 8000000000000000 (f: 0.000000, d: -0.000000e+00)
    FPR9 4040874000000000 (f: 0.000000, d: 3.305664e+01)
    FPR10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR11 3fee666660000000 (f: 1610612736.000000, d: 9.500000e-01)
    FPR12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR13 400c1599a0000000 (f: 2684354560.000000, d: 3.510547e+00)
    FPR14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR16 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR17 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR18 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR19 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR20 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR21 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR22 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR23 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR24 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR25 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR26 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR27 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR28 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR29 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR30 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    FPR31 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    Module=/tmp/OraInstall2011-03-29_08-53-12PM/jdk/jre/bin/libj9jit23.so
    Module_base_address=0900000002807000
    Target=2_30_20070131_11312_BHdSMr (AIX 6.1)
    CPU=ppc64 (24 logical CPUs) (0xf80000000 RAM)
    JVMDUMP006I Processing Dump Event "gpf", detail "" - Please Wait.
    JVMDUMP007I JVM Requesting System Dump using '/tmp/core.20110329.205434.4915342.
    dmp'
    JVMDUMP010I System Dump written to /tmp/core.20110329.205434.4915342.dmp
    JVMDUMP007I JVM Requesting Snap Dump using '/tmp/Snap0001.20110329.205434.491534
    2.trc'
    JVMDUMP010I Snap Dump written to /tmp/Snap0001.20110329.205434.4915342.trc
    JVMDUMP007I JVM Requesting Java Dump using '/tmp/javacore.20110329.205434.491534
    2.txt'
    JVMDUMP010I Java Dump written to /tmp/javacore.20110329.205434.4915342.txt
    JVMDUMP013I Processed Dump Event "gpf", detail "".

  • Oracle 11g AQ : problem enqueue user-defined type with varchar2 attribute

    Hello.
    I have a problem enqueuing a user-defined type to the queue on Oracle 10g.
    I'm using jdbc driver (ojdbc5.jar, version 11.1.0.6.0) as they provide oracle.jdbc.aq package.
    The type is following:
    CREATE OR REPLACE TYPE FIXED_T5 AS OBJECT
    (id integer,
    label varchar2(100),
    code integer,
    today date
    )I have created a java class for this type with jpub utility supplied with oracle 11g client package:
    jpub -user=scott/tger -url=jdbc:oracle:thin:@host:sid-sql=FIXED_T5:ru.invito.FixedType -compile=falseIt generated FixedType.java and FixedTypeRef.java files. Don't understand why i need the latter (FixedTypeRef).
    Then in test app:
    package ru.invito;
    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.sql.SQLException;
    import java.sql.Timestamp;
    import java.util.Date;
    import java.util.Properties;
    import java.util.UUID;
    import junit.framework.TestCase;
    import oracle.jdbc.aq.AQAgent;
    import oracle.jdbc.aq.AQEnqueueOptions;
    import oracle.jdbc.aq.AQFactory;
    import oracle.jdbc.aq.AQMessage;
    import oracle.jdbc.aq.AQMessageProperties;
    import oracle.jdbc.aq.AQEnqueueOptions.DeliveryMode;
    import oracle.jdbc.aq.AQEnqueueOptions.VisibilityOption;
    import oracle.jdbc.driver.OracleConnection;
    import oracle.jdbc.driver.OracleDriver;
    import oracle.sql.Datum;
    import oracle.sql.STRUCT;
    import oracle.sql.StructDescriptor;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    public class AqTest extends TestCase {
         protected Log logger = LogFactory.getLog(getClass());
         public void testEnqueue() throws Exception {
              OracleDriver dr = new OracleDriver();
              Properties prop = new Properties();
              prop.setProperty("user", Config.USERNAME);
              prop.setProperty("password", Config.PASSWORD);
              OracleConnection connection = (OracleConnection) dr.connect(Config.JDBC_URL, prop);
              assertNotNull(connection);
              connection.setAutoCommit(false);
              enqueueMessage(connection, "INVITO.FIXED_T5Q", null);
              connection.commit();
         private void enqueueMessage(OracleConnection conn, String queueName, AQAgent[] recipients) throws SQLException,
                   IOException {
              logger.debug("----------- Enqueue start ------------");
              AQMessageProperties props = makeProps(queueName);
              AQMessage mesg = AQFactory.createAQMessage(props);
              String msqText = String.format("Hello, %s!", queueName);
              FixedType data = createData(36, msqText);
              Datum d = data.toDatum(conn);
              STRUCT s = (STRUCT) d;
              debugStruct("s", s);
              String toIdStr = byteBufferToHexString(s.getDescriptor().getOracleTypeADT().getTOID(), 20);
              logger.debug("s.toIdStr: " + toIdStr);
              StructDescriptor sd = StructDescriptor.createDescriptor("INVITO.FIXED_T5", conn);
              logger.debug("sd.toXMLString(): " + sd.toXMLString());
              mesg.setPayload(s);
              AQEnqueueOptions opt = makeEnqueueOptions();
              logger.debug("sending............");
              // execute the actual enqueue operation:
              conn.enqueue(queueName, opt, mesg);
              debugMessageId(mesg);
              logger.debug("----------- Enqueue done ------------");
         private void debugMessageId(AQMessage mesg) throws SQLException {
              byte[] mesgId = mesg.getMessageId();
              if (mesgId == null) {
                   throw new IllegalStateException("message id is NULL");
              String mesgIdStr = byteBufferToHexString(mesgId, 20);
              logger.debug("Message ID from enqueue call: " + mesgIdStr);
          * @return
          * @throws SQLException
         private FixedType createData(int ID, String label) throws SQLException {
              FixedType data = new FixedType();
              data._struct.setNChar(1);// initializes the flag for 'label' field
              data.setId(ID);
              data.setLabel(label);
              data.setCode(1);
              Date today = new Date();
              data.setToday(new Timestamp(today.getTime()));
              return data;
          * @param string
          * @param s
          * @throws SQLException
         private void debugStruct(String string, STRUCT s) throws SQLException {
              logger.debug(s + ".debugString(): " + s.debugString());
              logger.debug(s + "s.dump(): " + s.dump());
          * @return
          * @throws SQLException
         private AQAgent makeAgent() throws SQLException {
              AQAgent ag = AQFactory.createAQAgent();
              ag.setName("AQ_TEST");
              String agentAddress = null;
              try {
                   agentAddress = InetAddress.getLocalHost().getHostAddress();
              catch (UnknownHostException e) {
                   logger.error("cannot resolve localhost ip address. will not set it as AQ Agent address");
                   agentAddress = "NA";
              ag.setAddress(agentAddress);
              return ag;
         private AQMessageProperties makeProps(String queueName) throws SQLException {
              final String EXCEPTION_Q_TEMPLATE = "AQ$_%sT_E";
              final int DEFAULT_DELAY = 0;
              final int DEFAULT_EXPIRATION = -1;
              final int DEFAULT_PRIORITY = 0;
              AQMessageProperties propeties = AQFactory.createAQMessageProperties();
              propeties.setCorrelation(UUID.randomUUID().toString());
              propeties.setDelay(DEFAULT_DELAY);
              propeties.setExceptionQueue(String.format(EXCEPTION_Q_TEMPLATE, queueName));
              propeties.setExpiration(DEFAULT_EXPIRATION);
              propeties.setPriority(DEFAULT_PRIORITY);
              // propeties.setRecipientList(null);//should not set
              propeties.setSender(makeAgent());
              return propeties;
          * @return
          * @throws SQLException
         private AQEnqueueOptions makeEnqueueOptions() throws SQLException {
              AQEnqueueOptions opt = new AQEnqueueOptions();
              opt.setRetrieveMessageId(true);
              // these are the default settings (if none specified)
              opt.setDeliveryMode(DeliveryMode.PERSISTENT);
              opt.setTransformation(null);
              opt.setVisibility(VisibilityOption.ON_COMMIT);
              return opt;
          * Form the AQ reference
          * @param buffer
          * @param maxNbOfBytes
          * @return
         private static final String byteBufferToHexString(byte[] buffer, int maxNbOfBytes) {
              if (buffer == null)
                   return null;
              int offset = 0;
              StringBuffer sb = new StringBuffer();
              while (offset < buffer.length && offset < maxNbOfBytes) {
                   String hexrep = Integer.toHexString((int) buffer[offset] & 0xFF);
                   if (hexrep.length() == 1)
                        hexrep = "0" + hexrep;
                   sb.append(hexrep);
                   offset++;
              String ret = sb.toString();
              return ret;
    }The output is following:
    [main] 2008-07-03 19:09:49,863 DEBUG [ru.invito.AqTest] - ----------- Enqueue start ------------
    [main] 2008-07-03 19:09:50,348 DEBUG [ru.invito.AqTest] - [email protected](): name = INVITO.FIXED_T5 length = 4 attribute[0] = 36 attribute[1] = Hell
    o, INVITO.FIXED_T5Q! attribute[2] = 1 attribute[3] = 2008-07-03 19:09:49.0
    [main] 2008-07-03 19:09:50,363 DEBUG [ru.invito.AqTest] - [email protected](): name = INVITO.FIXED_T5
    length = 4
    ID = 36
    LABEL = Hello, INVITO.FIXED_T5Q!
    CODE = 1
    TODAY = 2008-07-03 19:09:49.0
    [main] 2008-07-03 19:09:50,363 DEBUG [ru.invito.AqTest] - s.toIdStr: 507ccce5b6e9f572e040007f01007203
    [main] 2008-07-03 19:09:50,363 DEBUG [ru.invito.AqTest] - sd.toXMLString(): <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <StructDescriptor sqlName="INVITO.FIXED_T5" >
      <OracleTypeADT sqlName="INVITO.FIXED_T5"  typecode="0" tds_version="1"
               is_embedded="false" is_top_level="true" is_upt="false" finalType="true" subtype="false">
        <attributes>
          <attribute name="ID"  type="INTEGER" >
            <OracleType typecode="2" />
          </attribute>
          <attribute name="LABEL"  type="VARCHAR2" >
            <OracleType typecode="12" />
          </attribute>
          <attribute name="CODE"  type="INTEGER" >
            <OracleType typecode="2" />
          </attribute>
          <attribute name="TODAY"  type="DATE" >
            <OracleType typecode="0" />
          </attribute>
        </attributes>
      </OracleTypeADT>
    </StructDescriptor>
    [main] 2008-07-03 19:09:50,379 DEBUG [ru.invito.AqTest] - sending............
    [main] 2008-07-03 19:09:50,395 DEBUG [ru.invito.AqTest] - Message ID from enqueue call: 511ff143bd4fa536e040007f01003192
    [main] 2008-07-03 19:09:50,395 DEBUG [ru.invito.AqTest] - ----------- Enqueue done ------------But when dequeueing the 'label' attribute is lost:
    DECLARE
    dequeue_options     DBMS_AQ.dequeue_options_t;
    message_properties  DBMS_AQ.message_properties_t;
    message_handle      RAW(16);
    message             fixed_t5;
    BEGIN
      dequeue_options.navigation := DBMS_AQ.FIRST_MESSAGE;
      DBMS_AQ.DEQUEUE(
         queue_name          =>     'fixed_t5q',
         dequeue_options     =>     dequeue_options,
         message_properties  =>     message_properties,
         payload             =>     message,
         msgid               =>     message_handle);
      DBMS_OUTPUT.PUT_LINE('ID   : '||message.id);
      DBMS_OUTPUT.PUT_LINE('Label: '||message.label);
      DBMS_OUTPUT.PUT_LINE('Code : '||message.code);
      DBMS_OUTPUT.PUT_LINE('Today: '||message.today);
      COMMIT;
    END;
    ID   : 36
    Label:
    Code : 1
    Today: 03.07.08
    Could anyone tell me what is wrong with the setup/code?
    Why 'label' not saved in queue, though i saw it is not empty in STRUCT?

    Thank you for the reply!
    I have enqueued:
    [main] 2008-07-04 15:30:30,639 DEBUG [ru.invito.UserDefinedTypeAqTest$1] - [email protected](): name = INVITO.FIXED_T5
    length = 4
    ID = 41
    LABEL = Hello, INVITO.FIXED_T5Q!
    CODE = 1
    TODAY = 2008-07-04 15:30:30.0and in table (select * from FIXED_T5QT) the 'label' is blank:
    Q_NAME     FIXED_T5Q
    MSGID     51310809B5EA3728E040007F01000C79
    CORRID     b8f38fd3-4fa6-4e0f-85d1-2440d02d655e
    PRIORITY     0
    STATE     0
    DELAY     
    EXPIRATION     
    TIME_MANAGER_INFO     
    LOCAL_ORDER_NO     0
    CHAIN_NO     0
    CSCN     0
    DSCN     0
    ENQ_TIME     04.07.2008 15:28:44
    ENQ_UID     INVITO
    ENQ_TID                       4012
    DEQ_TIME     
    DEQ_UID     
    DEQ_TID     
    RETRY_COUNT     0
    EXCEPTION_QSCHEMA     AQ$_INVITO
    EXCEPTION_QUEUE     FIXED_T5QT_E
    STEP_NO     0
    RECIPIENT_KEY     0
    DEQUEUE_MSGID     
    SENDER_NAME     AQ_TEST
    SENDER_ADDRESS     10.1.1.137
    SENDER_PROTOCOL     
    USER_DATA.ID     41
    USER_DATA.LABEL     
    USER_DATA.CODE     1
    USER_DATA.TODAY     04.07.2008 15:30:30I must point to a strange thing: when the FixedType instance is created (via new operator) and then the setLabel("....") called as:
    FixedType data = new FixedType();
    // hack: proper initialization for 'label' field
    data._struct.setNChar(1);
    data.setId(ID);
    data.setLabel(label);
    data.setCode(1);
    Date today = new Date();
    data.setToday(new Timestamp(today.getTime()));
    Datum d = data.toDatum(connection);
    STRUCT s = (STRUCT) d;
    logger.debug(s + ".debugString(): " + s.debugString());
    logger.debug(s + ".dump(): " + s.dump());and if i comment line (data._struct.setNChar(1);) the debug messages for created STRUCT also shows empty value for label.
    But if i explicitly call data._struct.setNChar(1) then debug contains the label i defined in call to the setLabel method.

  • Oracle 11g 11.1.0.6.0 Standard with Reports 10g . Intranet possible?

    Friends,
    I have Oracle 11g Standard edition and Reports 10g in Win XP. How can I publish my reports in Intranet?
    Kindly guide me
    -mathews

    The reports generated by Reports Builder 10g
    -mathews

  • Steps to Install oracle 11g client 32 Bit,64 Bit in a single server

    Hi,
    I have a requirement to Install Both "Oracle Client 11.2.0.2 Win32" and "Oracle Client 11.2.0.2 Win64" on a single server.
    Please provide the step by step instruction for the above requirement.
    Environment
    Windows Server 2008 R2 64Bit.
    Thanks
    Sambit

    Just use separate base directories e.g.
    c:\32bit\oracle and
    c:\64bit\oracle
    Install the 32-bit client first, then the 64-bit client. The order should not matter.
    WINDOWS: Install Oracle Client 11.2 32-bit and 64-bit on Same System Overwrites Programs Menu Entry [ID 1243374.1]
    How To Install Both 32-bit and 64-bit ODP, OLEDB, And ODBC Oracle Software on 64-bit Windows [ID 795602.1]
    HTH
    Srini

  • Oracle 11g upgrade in AIX 6.1 with HACMP

    Hi Friends,
    As i have two Power Servers running in AIX 6.1 with oracle 10g in HACMP in which SAP application is running.
    The one is standalone Database and other is central Instance.
    I have done the 11g upgrades successfully in my DEV and QAS servers which are non-cluster Environment.
    Now i want to do the same upgrade in PRD which is in HACMP.
    Please let me know what are the areas should i concentrate specially for cluster environment servers.
    Thanks,
    Hari

    DB Filesystems
    Filesystem GB blocks Free %Used Iused %Iused Mounted on
    /dev/hd4 4.00 2.62 35% 15438 3% /
    /dev/hd2 8.00 5.03 38% 57744 5% /usr
    /dev/hd9var 4.00 2.85 29% 10914 2% /var
    /dev/hd3 4.00 3.50 13% 2575 1% /tmp
    /dev/fwdump 1.00 1.00 1% 13 1% /var/adm/ras/platform
    /dev/hd1 1.00 1.00 1% 6 1% /home
    /dev/hd11admin 0.25 0.25 1% 107 1% /admin
    /proc - - - - - /proc
    /dev/hd10opt 1.00 0.58 43% 9040 7% /opt
    /dev/livedump 0.25 0.25 1% 7 1% /var/adm/ras/livedump
    /dev/lv_oracle 2.00 1.86 8% 21 1% /oracle
    /dev/lv_ora_pip 2.00 2.00 1% 80 1% /oracle/PIP
    /dev/lv_usr_sap 2.00 1.92 5% 78 1% /usr/sap
    /dev/lv_sapmnt 2.00 0.62 70% 978 1% /sapmnt
    /dev/dumplv 95.00 32.80 66% 26790 1% /dump
    /dev/saparchlv 2.00 1.99 1% 57 1% /home/pipadm
    /dev/lv_pip_64 10.00 5.73 43% 18988 2% /oracle/PIP/102_64
    /dev/lv_mirlogA 1.00 0.61 40% 6 1% /oracle/PIP/mirrlogA
    /dev/lv_mirlogB 1.00 0.61 40% 6 1% /oracle/PIP/mirrlogB
    /dev/lv_oraarch 200.00 121.48 40% 433 1% /oracle/PIP/oraarch
    /dev/lv_oralogA 1.00 0.59 41% 8 1% /oracle/PIP/origlogA
    /dev/lv_oralogB 1.00 0.59 41% 8 1% /oracle/PIP/origlogB
    /dev/fslv01 2.00 1.97 2% 102 1% /oracle/PIP/saparch
    /dev/lv_sapbkp 5.00 5.00 1% 40 1% /oracle/PIP/sapbackup
    /dev/lv_sapchk 5.00 5.00 1% 80 1% /oracle/PIP/sapcheck
    /dev/lv_data1 200.00 86.26 57% 30 1% /oracle/PIP/sapdata1
    /dev/lv_data2 200.00 84.92 58% 26 1% /oracle/PIP/sapdata2
    /dev/lv_data3 200.00 84.92 58% 26 1% /oracle/PIP/sapdata3
    /dev/lv_data4 200.00 84.92 58% 26 1% /oracle/PIP/sapdata4
    /dev/lv_data5 200.00 84.92 58% 26 1% /oracle/PIP/sapdata5
    /dev/lv_data6 200.00 84.92 58% 26 1% /oracle/PIP/sapdata6
    /dev/lv_data7 200.00 84.92 58% 26 1% /oracle/PIP/sapdata7
    /dev/lv_data8 200.00 84.93 58% 26 1% /oracle/PIP/sapdata8
    /dev/lv_saporg 20.00 20.00 1% 7 1% /oracle/PIP/sapreorg
    /dev/saptrance 5.00 4.92 2% 588 1% /oracle/PIP/saptrace
    /dev/lv_inventry 2.00 1.99 1% 55 1% /oracle/oraInventory
    /dev/lv_102_64 10.00 5.05 50% 11044 1% /oracle/stage/102_64
    CI
    /dev/hd4 4.00 1.99 51% 14429 3% /
    /dev/hd2 8.00 5.01 38% 57680 5% /usr
    /dev/hd9var 4.00 3.38 16% 10936 2% /var
    /dev/hd3 4.00 3.82 5% 1362 1% /tmp
    /dev/fwdump 1.00 1.00 1% 18 1% /var/adm/ras/platform
    /dev/hd1 1.00 1.00 1% 55 1% /home
    /dev/hd11admin 0.25 0.25 1% 5 1% /admin
    /proc - - - - - /proc
    /dev/hd10opt 1.00 0.58 42% 9024 7% /opt
    /dev/livedump 0.25 0.25 1% 8 1% /var/adm/ras/livedump
    /dev/lv_oracle 2.00 2.00 1% 9 1% /oracle
    /dev/lv_ora_pip 2.00 2.00 1% 52 1% /oracle/PIP
    /dev/lv_usr_sap 10.00 10.00 1% 17 1% /usr/sap
    /dev/lv_client 2.00 1.86 8% 16 1% /oracle/client
    /dev/lv_smnt_pip 10.00 2.20 78% 114142 18% /sapmnt/PIP
    /dev/lv_sap_pip 10.00 8.10 19% 1577 1% /usr/sap/PIP
    /dev/lv_sap_cms 5.00 5.00 1% 8 1% /usr/sap/ccms
    root@pagedb:/ $ su - orapip
    pagedb:orapip 1> echo $ORACLE_HOME
    /oracle/PIP/102_64
    i have upgraded successfully in my DEV and QAS.
    So can i go with the same procedure as i went with non-cluster Env.
    Thanks

  • Database link from Oracle 11g (64 bit) to MySQL over UnixODBC with dg4odbc

    Hello,
    I want to connect to a MySQL Database from Oracle over a database link, but i get always the Error Message ORA-28528: Heterogeneous Services datatype conversion error .
    In the forum or internet I can't find a solution for my problem, so I try now to post this problem.
    Here a detailed description of the problem:
    I use a Oracle 11.1.0.7.0 64bit database which is running on a redhat linux 5.3 64bit.
    I want to connect to a MySql Database 5.0, which is running on a redhat linux 5.2 32bit over unixODBC.
    The configuration from the ODBC seems to be good, because with isql on the ora server I can connect and query all data correct from the MySQL database.
    Also the tsnnames.ora and listener.ora should be configured correctly. The tnsping works also fine.
    But when i try to catch the data over SQLPlus with the database link I always get the error ORA-28528.
    If I try to select just one column it works, but the returned data are incomplete or truncated.
    the version of my libs:
    between mysql and odbc I use libmyodbc3.so version 3.51.12-2.2 (I also tried the version 5, but with them I get a segmentation fault error on isql).
    between odbc and dg4odbc I use libodbc.so version 2.2.11-7.1
    Has anybody a solution or hint for me?
    Many Thanks in advance,
    best regards from Austria
    Manuel
    Edited by: user11243186 on 09.06.2009 02:59

    kdgmanu wrote:
    Hello,
    I always get the error ORA-28528.
    If I try to select just one column it works, but the returned data are incomplete or truncated.
    maybe you are facing bug 6772397, so do a search on metalink for bug 6772397
    >
    Has anybody a solution or hint for me?you could also see the following notes 554409.1 and 603801.1
    Many Thanks in advance,
    best regards from Austriacheers from Zagreb

  • Oracle RAC 11g R2 on AIX

    Hello All,
    I am new to RAC installations. I want to install Oracle RAC 11g R2 on an AIX server.
    Please can you provide me a link with the detailed and easy steps to follow and install Oracle 11g R2 on AIX.
    i am cheking the Oracle Installation guide, but it is not easy and it does not include the detailed steps; for ex what to add to the hosts file..
    any more simple guide/link ?
    Regards,

    Hi,
    I am new to RAC installations. I want to install Oracle RAC 11g R2 on an AIX server.
    Please can you provide me a link with the detailed and easy steps to follow and install Oracle 11g R2 on AIX.
    i am cheking the Oracle Installation guide, but it is not easy and it does not include the detailed steps; for ex what to add to the hosts file..
    any more simple guide/link ?Pl Refer MOS tech notes:
    *RAC Assurance Support Team: RAC Starter Kit and Best Practices (AIX) [ID 811293.1]*
    *Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) [ID 169706.1]*
    *Master Note for Automatic Storage Management (ASM) [ID 1187723.1]*
    *Can We Install 10gr2/11gr2 on AIX 64-bit OS When Running in 32bit Kernel Mode [ID 956449.1]*
    *Master Note for Real Application Clusters (RAC) Oracle Clusterware and Oracle Grid Infrastructure [ID 1096952.1]*
    Also refer:
    http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/toc.htm
    http://download.oracle.com/docs/cd/E11882_01/install.112/e17214/toc.htm
    http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP101176
    Re: 11gR2 RAC installation in AIX help urgent...!!!!
    Hope helps :)
    thanks,
    X A H E E R

Maybe you are looking for

  • How to get the number of the row added to tabular form by the AddRow()

    using 4.0. User clicks an Add button which calls a javascript function that gets a couple page item values, inserts a row (addRow(), and updates columns in that newly inserted row with the values from the page items. This works fine if I hard code th

  • How do I get my tabs back in safari on iPad

    Hi, originally every time I went into Safari all my tabs stayed open and there were hundreds of them. I searched the forum and it advised to go to the safari home page, click on private, then delete all tabs, then click on private again. But now if I

  • How to create a dvd from iPhoto11

    I've created a book using iPhoto 11 (v9.5) and want to create of the book using idvd 7.1.2.  The share menu in iphoto no longer has the option to export to idvd.  Any assistance would be appreciated. I'm using Mavericks Thanks

  • Doubt in sql loader regarding TOM's reply

    Hi, My question is at the last line. But u need to go through this to understand my problem. Hi Tom, I want to load some input files delimited by Text into Oracle database. Can you please help me out in this. I know one way of doing it is using SQLLO

  • [Cisco ACS 5.2] Windows XP - EAP-TLS error

    Hi, We used RADIATOR with Cisco WLC and Cisco AP in our WiFi architecture. We just replaced RADIATOR with Cisco ACS 5.2 . Few computers with Windows XP SP3 have this error : 11514 Unexpectedly received empty TLS message; treating as a rejection by th