ODBC and DB2 bind problems

<p>I am working my way through  the EIS 7.1.24 installationguide [AIX] and have hit a road block with ODBC. </p><p> </p><p>I have set up the odbc.ini file for DB2 and have confirmed thati can conect to the DB2 database through otherapplications.</p><p> </p><p>RECAP</p><p>When I run the follwing command:</p><p><span style=" font-family: CourierNew;">    /essapp/hyperion/common/ODBC/Merant/4.2/lib> ./bind19 db2data</span></p><p> </p><p>I get this reposnse: <span style=" font-family: CourierNew;">    Specified driver could not beloaded./essapp/hyperion/common/ODBC/Merant/4.2/lib ></span></p><p> </p><p>To make sure the driver is good [per Merant site],  I thenran:</p><p><span style=" font-family: CourierNew;">    /essapp/hyperion/common/ODBC/Merant/4.2/bin> ./ivtestlib ARdb219.so</span></p><p> </p><p>Which return this:</p><p><span style=" font-family: CourierNew;">    Load of ARdb219.so successful,qehandle is 0x200C89DC</span></p><p> </p><p><span style=" font-family: Arial;">Here's a view of the odbc.inifile {i had to hide some connection infor per security)</span></p><p> </p><p><span style=" font-family: Courier New;">[ODBC Data Sources]db2data=DB2 Source Data on AIX</span></p><p> </p><p><span style=" font-family: Courier New;">[db2data]Driver=/essapp/hyperion/common/ODBC/Merant/4.2/lib/ARdb219.soIpAddress=IPADDRESS</span></p><p><span style=" font-family: CourierNew;">Database=DATABASE</span></p><p><span style=" font-family: Courier New;">TcpPort=PORT</span></p><p><span style=" font-family: Courier New;">LogonID=USERNAME</span></p><p><span style=" font-family: CourierNew;">Password=PASSWORD</span></p><p><span style=" font-family: Courier New;">Package=</span></p><p><span style=" font-family: CourierNew;">Action=REPLACE</span></p><p><span style=" font-family: CourierNew;">QueryBlockSize=8</span></p><p><span style=" font-family: CourierNew;">CharSubTypeType=SYSTEM_DEFAULT</span></p><p><span style=" font-family: CourierNew;">ConversationType=SINGLE_BYTE</span></p><p><span style=" font-family: CourierNew;">CloseConversation=DEALLOC</span></p><p><span style=" font-family: CourierNew;">UserBufferSize=32</span></p><p><span style=" font-family: CourierNew;">MaximumClients=35</span></p><p><span style=" font-family: CourierNew;">GrantExecute=1</span></p><p><span style=" font-family: CourierNew;">GrantAuthid=PUBLIC</span></p><p><span style=" font-family: Courier New;">OEMANSI=1</span></p><p><span style=" font-family: CourierNew;">DecimalDelimiter=PERIOD</span></p><p><span style=" font-family: CourierNew;">DecimalPrecision=15</span></p><p><span style=" font-family: CourierNew;">StringDelimiter=SINGLE_QUOTE</span></p><p><span style=" font-family: CourierNew;">IsolationLevel=CURSOR_STABILITY</span></p><p><span style=" font-family: CourierNew;">ResourceRelease=DEALLOCATION</span></p><p><span style=" font-family: CourierNew;">DynamicSections=32</span></p><p><span style=" font-family: Courier New;">Trace=0</span></p><p><span style=" font-family: Courier New;">WithHold=0</span></p><p> </p><p>Any help would be much appreciated</p>

Good Day,Does anyone have any steps for Data Integration from external systems to Hyperion System 9.ThanksAzmat Bhatti

Similar Messages

  • 10g Signal Handlers and Dynamic Binding Problems on Mac OS X

    I have the following env vars set up, and it seems the client libs show a deadl\
    ock behavior post installation. SqlPlus exhibits a similar problem with 10g cli\
    ent libs on the Mac, since it simply hangs for 20 secs before returning the pro\
    mpt. I have G4 10.3.4 Mac, and 3.3 (1640) gcc, and still haunted by this probl\
    em...
    ORACLE_HOME=/Users/Oracle/10g/orahome
    ORACLE=ORACLE_HOME/bin
    ORACLE_BASE=/Users/Oracle/10g
    DYLD_LIBRARY_PATH=/Users/Oracle/10g/orahome/lib
    a) ktrace sqlplus user/pass@db
    b) kdump -R | grep sigaction gives:
    885 sqlplus 5.877734 CALL sigaction(0x2,0xbffff500,0xbffff570)
    885 sqlplus 0.001252 RET sigaction 0
    885 sqlplus 0.002032 CALL sigaction(0xd,0xbfff90f0,0xbfff9160)
    885 sqlplus 0.001831 RET sigaction 0
    885 sqlplus 0.001293 CALL sigaction(0x12,0xbfffb6e0,0xbfffb750)
    885 sqlplus 0.001234 RET sigaction 0
    885 sqlplus 0.001551 CALL sigaction(0x12,0xbfffbda0,0xbfffbe10)
    885 sqlplus 0.001401 RET sigaction 0
    885 sqlplus 0.001331 CALL sigaction(0x2,0xbfffd090,0xbfffd100)
    885 sqlplus 0.001333 RET sigaction 0
    This shows a 5.9 sec delay for the first sigaction, and a full response is received some long 20 secs later on the prompt.
    Some feedback from engineering regarding this issue since the 9i release has been:
    "This is a known problem with signal handlers and the lazy binding we have on Mac OS X. A small change to how Oracle library's signal
    handler is installed using _signal_nobind(3) and
    _dyld_lookup_and_bind_fully(3) could help to solve this problem.
    The problem that we are trying to avoid is a possible dead lock from
    code that could be called in a signal handler when the thread that
    gets the signal is in the middle of lazy binding a symbol. So when a
    signal handlers installed the default action is to cause it to be
    bound fully. This is made very expensive by the mismatch of the
    interfaces to signal(3) and segvec(2) like routines which are passed
    an address and the dynamic linker that wants a global symbol name. So the end result is to call the routine _dyld_bind_fully_image_containing_address(3) with the address of the signal handler to be bound. Which binds everything in the image (in this case the Oracle shared library).
    We have had problems like this before. For example: [This is what is
    done in usleep(3)]
    usleep()
    /* code removed for this example */
    setvec(vec, sleepx);
    #ifdef __DYNAMIC__
    _dyld_lookup_and_bind_fully("_usleep", NULL, NULL);
    (void) _sigvec_nobind(SIGALRM, &vec, &ovec);
    #else
    (void) sigvec(SIGALRM, &vec, &ovec);
    #endif
    static void sleepx(int unused)
    ringring = 1;
    The use of _sigvec_nobind(2) (or _signal_nobind(3) ) and the use of
    _dyld_lookup_and_bind_fully(3) will cause just the needed symbols used by the signal handler. "
    It seems this issue hasn't been resolved in the most recent 10g client release.Can anyone shed some light one this issue?
    For better demonstration, here is a series of steps we took here:
    sigaction.c - C file produced by "proc sigaction.pc"
    sigaction.pc - ProC source file
    gcc_sig* - Shell script to compile sigaction.c
    ktrace.sigtest - raw ktrace output from running sigtest
    ktrace.sqlplus - raw ktrace output from running sqlplus
    kdump.sqlplus - output of kdump -R on ktrace.sqlplus
    kdump.sigtest - output of kdump -R on ktrace.sigtest
    sigaction.lis - auxiliary file produced by proc
    1. sigaction.pc:
    #include <stdio.h>
    #include <stdlib.h>
    #include "/Users/oracle/10g/orahome/precomp/public/sqlca.h"
    int main(int argc, char **argv) {
    char user[30], passwd[30], db[40];
    char con_str[100], date[10], *icp;
    strcpy(user, "XXXXXXXX");
    strcpy(passwd, "XXXXXXXX");
    strcpy(db, "db_name");
    sprintf(con_str,"%s/%s@%s",user,passwd,db);
    EXEC SQL CONNECT :con_str;
    EXEC SQL SELECT SYSDATE INTO :date FROM DUAL;
    printf("SYSTEM DATE = %s\n",date);
    EXEC SQL COMMIT RELEASE;
    2. gcc_sig:
    #!/bin/sh
    CFLAGS="-I$ORACLE_HOME/precomp/public -I/usr/include"
    CFLAGS="$CFLAGS -I$ORACLE_HOME/lib -L$ORACLE_HOME/lib"
    ORALIBS="-L$ORACLE_HOME/lib -lclntsh $ORACLE_HOME/lib/nautab.o $ORACLE_HOME/lib/naeet.o"
    CC="gcc -g"
    PROG=$1
    OUTPUT=$2
    $CC $CFLAGS $PROG -o $OUTPUT $ORALIBS
    3. Generate the rest of the output files for your viewing of the results based on the commands provided above.
    Thanks!

    It's a delay, not a deadlock, that originatesfrom the way Oracle
    libraries handle dymaic bindings.to "dynamic" bindings. Maybe prebinding could help ?
    export DYLD_PREBIND_DEBUG=1ronr@[email protected]:/Users/ronr
    sqlplus "/ as sysdba"dyld: sqlplus: prebinding disabled because library: /Users/oracle/product/server/10.1/lib/libsqlplus.dylib got slid
    dyld: in map_image() determined the system shared regions ARE used
    dyld: 2 two-level prebound libraries used out of 5
    Ronald
    http://homepage.mac.com/ik_zelf/oracle/

  • ADFPhaseListener prepareRender and component binding problem

    I´m Using ADF Faces and using the ADFPhaseListener. My BackingBean extends from the PageController class
    and so can use prepareModel(LifecycleContext context) or prepareRender(LifecycleContext context). This works fine so far. The
    event handler methods are called as expected (in my example prepareRender). But I have one question.
    I´m using Component binding in my JSF-Page:
    <af:inputText binding="#{backing_untitled1.inputText1}" id="inputText1">
    Code snippet from my ControllerClass
    public class Untitled1 extends PageController{
    CoreInputText inputText1;
    public void setInputText1(CoreInputText inputText1) {   
    System.out.println("setInputText1");
    this.inputText1 = inputText1;
    public void prepareRender(LifecycleContext context) {
    super.prepareRender(context);
    System.out.println("inside prepareRender");
    I´ve written a second PhaseListener that just print´s out the JSF lifecycle phase numbers for better tracing.
    The first time I call my JSF-Page the following output is generated:
    07/01/03 08:32:38 Before Phase: 1 Source:com.sun.faces.lifecycle.LifecycleImpl@163
    07/01/03 08:32:38 After Phase: 1
    07/01/03 08:32:38 inside prepareRender
    07/01/03 08:32:38 Before Phase: 6 Source:com.sun.faces.lifecycle.LifecycleImpl@163
    07/01/03 08:32:39 setInputText1
    07/01/03 08:32:40 After Phase: 6
    I can see that the prepareRender is called before phase 6. The component binding is done in phase 6. What I would like to
    do is access the component binding in my prepareRender method. But this is not possible as it is null before phase 6.
    Is there a way to create event handling code after the component binding has taken place?
    When I do a postback (second call to the same JSF page) this thing changes
    07/01/03 08:37:23 Before Phase: 1 Source:com.sun.faces.lifecycle.LifecycleImpl@163
    07/01/03 08:37:24 setInputText1
    07/01/03 08:37:24 After Phase: 1
    07/01/03 08:37:24 Before Phase: 2 Source:com.sun.faces.lifecycle.LifecycleImpl@163
    07/01/03 08:37:24 After Phase: 2
    07/01/03 08:37:24 Before Phase: 3 Source:com.sun.faces.lifecycle.LifecycleImpl@163
    07/01/03 08:37:24 After Phase: 3
    07/01/03 08:37:24 Before Phase: 4 Source:com.sun.faces.lifecycle.LifecycleImpl@163
    07/01/03 08:37:24 After Phase: 4
    07/01/03 08:37:24 Before Phase: 5 Source:com.sun.faces.lifecycle.LifecycleImpl@163
    07/01/03 08:37:24 After Phase: 5
    07/01/03 08:37:24 inside prepareRender
    07/01/03 08:37:24 Before Phase: 6 Source:com.sun.faces.lifecycle.LifecycleImpl@163
    07/01/03 08:37:24 After Phase: 6
    Here in my prepareRender method I could access the component binding as it has been initialized in phase 1.
    Thanks in advance
    Rainer

    hi, you can use this way to initially a value:
    public void setInputText1(CoreInputText inputText1) {
    this.inputText1 = inputText1;
    if( !AdfFacesContext.getCurrentInstance().isPostback() ){
    this.inputText1.setValue("somevalue");
    in the RenderModel phase is not possible set value to a component because this one is null, as you have said.. by this way you can do this too:
    public void setInputText1(CoreInputText inputText1) {
    this.inputText1 = inputText1;
    if( !AdfFacesContext.getCurrentInstance().isPostback() ){
    DCIteratorBinding ib = (DCIteratorBinding)Utilidades.resolveExpression("#{bindings.BanksView1Iterator}");
    RowIterator iter = ib.getRowSetIterator();
    Row row = iter.first();
    if (row != null){
    this.inputText1.setValue(row.getAttribute(BanksViewRowImpl.COD));}
    }

  • RCU and DB2 Installation Problems

    If you are recieving the following error when trying to run the RCU against a DB2 version 9.7.2 (this is with Fix Pack 2), here is the solution to the error:
    INCIDENT_ERROR rcu: oracle.sysman.assistants.rcu.backend.action.JavaAction::perform: Failed to execute method: Excepton:
    [OWLS][DB2 JDBC Driver][DB2]OPERANDS OF ARITHMETIC OR COMPARISON OPERATION NOT COMPARABLE
    Apparently there is an issue with how the timestamp is formatted. Change the following value in the database and it will run just fine.
    Set DB2_COMPATIBILITY_VECTOR= FBF
    FBF means all Oracle features minus DATE feature. Specific key word "ORA" means "FFF" in hexadecimal and DATE = "40". FFF-40=FBF

    Good Day,Does anyone have any steps for Data Integration from external systems to Hyperion System 9.ThanksAzmat Bhatti

  • ODBC and XA

    Hi all.
    We are thinking about using ODBC in our tuxedo services to make easy the migration
    between one database and other of a different vendor. We also need to use XA.
    Have some of you information about using ODBC and XA, (conception, problems, ...)
    and how many DB ODBC drivers support it?
    Thx in advance.

    I suspect you're not going to be able to retrieve Spatial data via ODBC. The ODBC protocol doesn't have the capability to request an Object type, so it can't retrieve Spatial. Unfortunately, the ODBC standard doesn't provide any mechanism to reasonably ask for an object or for the ODBC driver to return one.
    Justin

  • Dynamic SQL and Bulk Bind... Interesting Problem !!!

    Hi Forum !!
    I've got a very interesting problem involving Dynamic SQL and Bulk Bind. I really Hope you guys have some suggestions for me...
    Table A contains a column named TX_FORMULA. There are many strings holding expressions like '.3 * 2 + 1.5' or '(3.4 + 2) / .3', all well formed numeric formulas. I want to calculate each formula, finding the number obtained as a result of each calculation.
    I wrote something like this:
    DECLARE
    TYPE T_FormulasNum IS TABLE OF A.TX_FORMULA%TYPE
    INDEX BY BINARY_INTEGER;
    TYPE T_MontoIndicador IS TABLE OF A.MT_NUMBER%TYPE
    INDEX BY BINARY_INTEGER;
    V_FormulasNum T_FormulasNum;
    V_MontoIndicador T_MontoIndicador;
    BEGIN
    SELECT DISTINCT CD_INDICADOR,
    TX_FORMULA_NUMERICA
    BULK COLLECT INTO V_CodIndicador, V_FormulasNum
    FROM A;
    FORALL i IN V_FormulasNum.FIRST..V_FormulasNum.LAST
    EXECUTE IMMEDIATE
    'BEGIN
    :1 := TO_NUMBER(:2);
    END;'
    USING V_FormulasNum(i) RETURNING INTO V_MontoIndicador;
    END;
    But I'm getting the following messages:
    ORA-06550: line 22, column 43:
    PLS-00597: expression 'V_MONTOINDICADOR' in the INTO list is of wrong type
    ORA-06550: line 18, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 18, column 5:
    PLS-00435: DML statement without BULK In-BIND cannot be used inside FORALL
    Any Idea to solve this problem ?
    Thanks in Advance !!

    Hallo,
    many many errors...
    1. You can use FORALL only in DML operators, in your case you must use simple FOR LOOP.
    2. You can use bind variables only in DML- Statements. In other statements you have to use literals (hard parsing).
    3. RETURNING INTO - Clause in appropriate , use instead of OUT variable.
    4. Remark: FOR I IN FIRST..LAST is not fully correct: if you haven't results, you get EXCEPTION NO_DATA_FOUND. Use Instead of 1..tab.count
    This code works.
    DECLARE
    TYPE T_FormulasNum IS TABLE OF VARCHAR2(255)
    INDEX BY BINARY_INTEGER;
    TYPE T_MontoIndicador IS TABLE OF NUMBER
    INDEX BY BINARY_INTEGER;
    V_FormulasNum T_FormulasNum;
    V_MontoIndicador T_MontoIndicador;
    BEGIN
    SELECT DISTINCT CD_INDICATOR,
    TX_FORMULA_NUMERICA
    BULK COLLECT INTO V_MontoIndicador, V_FormulasNum
    FROM A;
    FOR i IN 1..V_FormulasNum.count
    LOOP
    EXECUTE IMMEDIATE
    'BEGIN
    :v_motto := TO_NUMBER('||v_formulasnum(i)||');
    END;'
    USING OUT V_MontoIndicador(i);
    dbms_output.put_line(v_montoindicador(i));
    END LOOP;
    END;You have to read more about bulk- binding and dynamic sql.
    HTH
    Regards
    Dmytro
    Test table
    a
    (cd_indicator number,
    tx_formula_numerica VARCHAR2(255))
    CD_INDICATOR TX_FORMULA_NUMERICA
    2 (5+5)*2
    1 2*3*4
    Message was edited by:
    Dmytro Dekhtyaryuk

  • Jsp and db2 problem

    Hi guys:
    I installed tomcat4, db2 run time client on one red hat 7.2. Everything works fine. My jsp can access db2 database.
    Now I am installing the same thing into another box, red hat 7.2, tomcat4 and db2 run time client.
    I can write a java code to access the db2 database, and I can access db2 table in the command line. Jsp file is running fine. But when I use the jsp code which is working in another red hat box to access the db2 database, it can not go through and it stops in "Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");" statement.
    Does any body have any idea what could be the problem?
    Regards,
    David

    hi,
    could you please send me the jsp-db2 connection code.i am really distressed.i can't find it anywhere..must i install db2 run client. i have only db2 personal edition and the rest( tomcat,jre,jsdk,etc..)
    Thx
    (while tipping my e-mail in registration,i wrote it false)
    My treu e-mail is [email protected]
    please please send me this code....

  • Null values from DB2 cause problems

    Hi,
    I have another problem with database link to DB2 using IBM iSeries Access for Linux on 64 bit OEL5 with Oracle Database gateway and unixODBC 2.2.14.
    DB link works. However, null values from DB2 cause problems. Date columns that are null on db2 return a date '30.11.0002', and character columns that are null return an error ORA-28528: Heterogeneous Services datatype conversion error.
    isql returns correct results.
    How can i fix this? Perhaps set some parameters for data conversion on the gateway?
    Thank you.

    If the driver is not fully ODBC level 3 compliant and misses functions, we're lost. But sometimes the drivers are ODBC level 3 compliant but miss the correct 64bit implementation. In those cases we can tell the gateway to use the 32bit ODBC level 3 standard by setting in the gateway init file:
    HS_FDS_SQLLEN_INTERPRETATION=32

  • Developer 6i and DB2 connectivity.

    I am using Oracle8i with Developer 6i.
    I need to connect to DB2/400 (running under OS/400) from Forms Developer 6i
    i have IBM AS400 Client Access (version : 3, release : 2,
    modification level : 0 ) installed on this machine, which
    is working allright, i have checked it by using datatransfer from
    AS/400.
    the username on DB2 is ORACLE (password is same as username).
    i have created ODBC system data source (named SYSDB2) for OCA connection
    while i connect from sqlplus, it connects with some error messages as
    shown below, however it works allright for querying.
    SQL> CONN ORACLE/ORACLE@ODBC:SYSDB2 ;
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    Server not available or version too low for this feature
    ORA-00022: invalid session id; access denied
    Connected.
    SQL>
    i have run PUPBLD.SQL but had no affect on these messages .
    When i try to create data dictionary views for DB2 from this connection
    by running script (Db4dmbld.sql) it does not create data dictionary.
    its fine till this happens, the real problem is that i am
    unable to connect to db2 by using odbc datasource from forms6i.
    when i try to connect it shows some special characters in a
    message box which can't provide any information.
    please let me know if there is any fix to this problem.
    regards,
    aamir.

    Hi,
    the site where you can find it is http://technet.oracle.com/doc/gateways.htm
    The gateway has no database functions. The gateway provides an interface by which the Oracle server can direct SQL operations to a DB2 database.
    Using a database link, the gateway is identified to the Oracle server. The database link is the same construct used to identify other Oracle server databases.
    Tables on the DB2 server are referenced in SQL as:
    table_name@dblink_name
    or
    owner.table_name@dblink_name
    If you create synonyms or views in the Oracle server database, you can refer to tables on the DB2 server using simple names as though the table is local to the Oracle server.
    When the Oracle server encounters a reference to a table on the DB2 server, the applicable portion of the SQL statement is sent to the gateway for processing. Any host variables associated with the SQL statement are bound to the gateway and, therefore, to the DB2 server.
    The gateway is responsible for sending these SQL statements to the DB2 server for execution and for fielding and returning responses. The responses are data or messages. Any conversions between Oracle datatypes and DB2 datatypes are performed by the gateway. The Oracle server and the application read and process only Oracle datatypes.
    --Samson
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Aamir Muhammad ([email protected]):
    Thanks Samson for you only reply on the
    topic, would you kindly tell me where can i find Oracle's Transaction Gateway for AS/400?
    Inspite all appreciation that i feel for you, What i think is that Gateways are used to establish connections between two databases not between a tool and a database like forms and AS400.<HR></BLOCKQUOTE>
    null

  • Best Practice to Setup an application to work with both oracle and db2 db

    Hi,
    We have an application that currently supports both oracle and db2 databases . It is currently using JPA with eclipselink as backend mechanism and we want to move to ADFBc as our backend . So what is best practice to do this?
    I came across an old post in https://groups.google.com/forum/#!topic/adf-methodology/UlJZSTu14Io that states to create two different model projects to support oracle and db2 .
    Is this still the standard ? Is there a way that we could work around rather than creating multiple projects?
    How do i get the view controller to work with multiple model projects if this is the case?
    Thank you.

    Thanks for the response .
    The problem is i would have the same schema on both the databases (both in oracle and db2) .
    I don't see a scenario where i want both the application model projects at the same time . What i meant is , Application will either be deployed with Oracle DB or DB2 but not with both on a production environment .
    So is there a way where i just change the connection parameters alone rather having two different models ?
    If i have to use two model projects ,  would it be possible say i built the view controller for Oracle , and use it for DB2 if i make sure the BC objects names are similar between model projects and switch just the model jar based on the deployment environment ?
    -Sam

  • Oracle ODBC Driver adds bind variable when browsing whole table in Access

    Hi, we are looking for some reasons why we may see this behavior in the Oracle ODBC driver (10gR2 and 11g) when using Microsoft Access (2003 or 2007)...
    1) Link a table from the Oracle database.
    2) Double-click the newly linked table to "browse" it.
    Oracle sends the following statement to the server:
    {color:#0000ff}select * from linked_table where primary_key = :b1{color}
    It then proceeds to read the entire table.
    If I tell Microsoft Access that there is no primary key, the query gets sent as:
    {color:#0000ff}select * from linked_table{color}
    And the query comes back as soon as the first 100 or so rows are fetched which is quite quickly.
    ADDITIONAL NOTES:
    1) If the table has a primary key or unique constraint, Microsoft Access automatically assigns that as the primary key.
    2) We can stop the behavior in #1 if we wrap a view around it which prevents Access from discovering that information and then it prompts for a primary key definition.
    3) If we use the Microsoft ODBC driver, the bind variable is not added no matter what the primary key defintiion is.
    We're stumped and are looking for solutions and/or workarounds without having to wrap all of our tables in views to hide the fact that there is a primary key.
    Thanks,
    Steve

    Thanks for the response, Greg.
    The specific question I am seeking an answer for (sorry it was not clear on my first message) is this:
    Why does the Oracle driver add the bind variable to the query only when the primary key is defined?
    The Microsoft ODBC driver does not add the bind variable with or without a primary key defined.
    You asked how I traced this statement and what I am doing is launching the query in Access and then using TOAD to view the V$SESSION and V$SQL_TEXT_WITH_NEWLINES views. All I do is change the driver. This is just for a simple browse table (double-click on the table) which should send
    select * from table
    However, whenever I use the Oracle ODBC driver (with a primary key defined) it sends
    select * from table where primary_key = :1
    If I remove the primary key on the table definition, the Oracle driver sends
    select * from table
    What is it about the primary key that could cause that behavior?
    I don't think it is the MDAC/Jet level because this is the conversion to the native SQL statement not the Jet version. I know the Oracle driver has to do that part because you have those workaround options like don't add the RULE hint, etc. That's not part of the Jet engine.
    Hope that helps. I'm just baffled over this one and wish I knew where to go next.

  • Solaris Name Service Cache and Directory Proxy Problem

    We have some Solaris 10 clients ldapcliented to a Directory Proxy Server. After 15 minutes, the Solaris name service cache will fail to communicate to the proxy instance and the proxy instance's readconnectionsrefused attribute will start incrementing.
    At first it seemed we would need to increase the worker-threads and num-bind-limit, but those do not fix the problem.
    At the same time the name-service-cache starts failing, I am still able to query and search the proxy. I have set up a Jmeter test which continues to run and they never fail.
    It seems very consistent that the problem with the name-service-cache occurs every 15 minutes and I am able to reproduce this at the client's site and in my lab. Restarting either the proxy or the name-service-cache clears the problem.
    Has anyone else seen this problem?
    Edited by: 957466 on Sep 6, 2012 9:11 AM

    The idle-timeout on DSEE was set to none, which I believe is the default. I tried setting it to 1200 and 2400 seconds without success.
    h3. get-ldap-data-source-pool-prop
    <pre>
    client-affinity-bind-dn-filters : any
    client-affinity-criteria : connection
    client-affinity-ip-address-filters : any
    client-affinity-policy : write-affinity-after-write
    client-affinity-timeout : 20s
    description : -
    enable-client-affinity : false
    load-balancing-algorithm : proportional
    minimum-total-weight : 100
    proportion : 100
    sample-size : 100
    </pre>
    h3. get-ldap-data-source-prop
    <pre>
    bind-dn : none
    bind-pwd : none
    client-cred-mode : use-client-identity
    connect-timeout : 10s
    description : -
    down-monitoring-interval : inherited
    is-enabled : true
    is-read-only : false
    ldap-address : localhost
    ldap-port : ldap
    ldaps-port : ldaps
    monitoring-bind-dn : none
    monitoring-bind-pwd : none
    monitoring-bind-timeout : 5s
    monitoring-entry-dn : ""
    monitoring-entry-timeout : 5s
    monitoring-inactivity-timeout : 2m
    monitoring-interval : 30s
    monitoring-mode : proactive
    monitoring-retry-count : 3
    monitoring-search-filter : (objectClass=*)
    monitoring-search-scope : base
    num-bind-incr : 10
    num-bind-init : 2
    num-bind-limit : 1024
    num-read-incr : 10
    num-read-init : 2
    num-read-limit : 1024
    num-write-incr : 10
    num-write-init : 2
    num-write-limit : 1024
    proxied-auth-use-v1 : false
    ssl-policy : never
    use-read-connections-for-writes : false
    use-tcp-keep-alive : true
    use-tcp-no-delay : true
    </pre>

  • Time Zone issue with 7.0 and DB2

    Hi,
    We are having a time zone issue with weblogic server 7.0 and DB2 database. I would really appreciate if somebody provides a solution for this issue.
    Our db2 DB is located in PST time zone and weblogic server is located in EST time zone.
    When we access current timestamp from db2, we are getting PST time converted to EST and EST time zone attached with timestamp value.
    I tried to use resultset.getTimeStamp (1,<calendar>), unfortunately this method is not supported in the DB2 driver version I am using.
    We want to get same value as returned by db2 with db2 time zone not weblogic server time zone.
    And also when we add new record with timestamp column through web service, regardless the time zone value sent by web service client ".Net" ,
    Weblogic server converts the java.util.Date value to weblogic time zone and stores in the db.
    For example, client sent 17:00 hours CST, but when it gets stored in db through weblogic ws, weblogic converts 17:00 to 18:00 EST and stores in database as 18:00 hours without any time zone. When we read this value back, we are getting it 18:00 EST only not 17:00 CST.
    This is fine as long as writing and reading by same weblogic server. If another weblogic server instance in PST time zone read this value, it takes as 18:00 PST.
    Due to this our application always shows timestamp hours differently.
    Could some body help me to fix this problem, we are getting this problem in production after we moved our DB2 location to different time zone.
    Thanks
    Balaji

    Hi,
    Check whether document in the link below is of any use for you..
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAGTFTIM/CAGTFTIM.pdf
    Regards
    K.M.Arun

  • WLS 6.1 sp3 and XA and DB2

              Our configuration is:
              WLS 6.1 with sp3 on Solaris and DB2 7.2.7 on AIX running on remote server. Local
              DB2 client is installed on Solaris (LD_LIBRARY_PATH and other DB2 related variables
              are set accordingly).
              In some parts of our system we decided to use message-driven beans to process
              some work off side. In some of them we interact with database and send JMS messages
              to trigger some other MDBs. And we need all these operation to be one unit of
              work. Since we have operation on JMS and DB stores, we were forced to use XA and
              DB2 XA JDBC driver type 2.
              Most of the time things work fine ( always in our dev environment where WLS, DB2
              runs on the same Win2000 box), but rundomly we get JVM to crash on Solaris - like
              once a day or two. We are about to roll out to production but with these crashes
              we are confident about stablity of our app. We found that in most cases (but not
              all) those were related to the situation when DB2 connection were dropped or become
              invalid.
              On BEA website I found the information that WLS does not work in XA mode with
              DB2 7.1, because "APP driver falls back to NET driver". Does this still apply
              to DB2 7.2.7? If yes then I do not understand why Java->JNI call would fall back
              to Java->JNI->Java? Besides on IBM site there is nothing which says that type
              2 driver (so called APP one) requires JDBC client running on the same machine
              as database. If BEA claims that this indeed is the case, then it poses severe
              limitation to XA JDBC driver of IBM. Well, it means it is pretty much useless
              (who runs DB and app server on the same box ?)
              Today we just found new information about additional setting for XA connection
              pools that apply to DB2 and Sybase. For DB2 you need to set KeepXAConnTillTxComplete
              to true in your config.xml. We do not know yet if it is going to make things better
              (any input from BEA?)
              Can we get firm statement answer from BEA whether our configuration is supported
              or if not how we can achieve data/JMS integrity without using DB2 XA driver. Would
              using regular DB2 driver in pseudo-XA mode be a best work around, provided that
              the regular one is stable.
              How precisely WLS behave when it needs to orchestrate distributed transaction
              using pseudo-XA JDBC driver and fully-XA JMS server? In second phase does it first
              as DB to commit and if it succeeds it commits JMS, otherwise it rollbacks everything?
              We are very anxious to get our questions answered please.
              Thanks,
              Waldek
              

    Look for sometime around November. No exact date.
    Eric
    "Dominic Tulley" <[email protected]> wrote in message
    news:[email protected]..
    Thanks Eric,
    you know what I'm going to ask next right?
    Any ideas when SP4 comes out?
    Cheers,
    -Dominic
    "Eric Gross" <[email protected]> wrote in message
    news:[email protected]..
    The next version of Apache that we will support will be 2.0.42/2.0.43
    and
    the module for that will be included in the next Service Pack for6.1(SP4)
    and 7.0(SP2).
    The problem with Apache 2 is that when a new release comes out a newmodule
    needs to be compiled. Most of the time. For 2.0.42/2.0.43 this is notthe
    case.
    Regards,
    Eric
    "Dominic Tulley" <[email protected]> wrote in
    message
    news:3da3f246$[email protected]..
    I'm trying to set this up (initially just apache in front of a single
    WLS
    server but ultimately I want to put it in front of a cluster).
    I've installed Apache 2.0.40.
    I've copied the mod_wl_20.so file into the apache modules folder.
    I've edited the httpd.conf file and added the line:
    LoadModule weblogic_module modules/mod_wl_20.so
    When I run apache -t to check the configuration I get the following:
    C:\Program Files\Apache Group\Apache2\bin>apache -t
    Syntax error on line 173 of C:/Program Files/Apache
    Group/Apache2/conf/httpd.conf:
    Cannot load C:/Program Files/Apache Group/Apache2/modules/mod_wl_20.sointo
    server: The specified procedure could not be found.
    So what's going on here?
    Looking at previous postings it sounds like there's an issue with
    versions
    of apache after 2.0.39 but I can't find a download for that version.Also,
    it sounded like the issues were for WLS 7, not 6.1. Can this work
    with
    2.0.40 or am I wasting my time?
    If I get the mod_wl_20.so from dev2dev I get the "incompatible plugin"
    message that has been mentioned in this group already.
    Any suggestions appreciated,
    -Dominic

  • Install Planning 9.2.1 error on websphere 6.1 and DB2

    hi,all
    I install planning 9.2.1 on websphere6.1 and DB2. after installation, I login to share service , I got "database error"
    but when I use MS SQL Server as the DB, everything is ok. and If I use websphere 5 , the installation is ok.
    but the client's enviroment is websphere6.1 and DB2, is anyone know how to slove the problem? thanks a lot

    Hello dmahalick,
    First of all, Welcome to the Apple Discussion forums!
    One or both of the following links may answer your questions for you:
    http://support.apple.com/kb/TS1929
    http://support.apple.com/kb/HT1585?viewlocale=en_US
    hope that helps,
    littleshoulders

Maybe you are looking for