Oracle -- ConnectInit.

Hi All, 
For setting session items on a Oracle session, we are using ConnectInit method of BO system. 
This method works perfectly with ODBC drivers but is posing some issues when used with Oracle driver. 
BO has released a fix for this with Patch ID:38,977,350 or ADAPT00605690.  Can you please let me know how we can get this patch?  Also is there a Linux Version of this patch? 
Thanks,
Tony

Just an FYI . 
This issue was addressed with a patch in XI R2.  Upgrading to 3.0 corrected it. 
Thanks,
Tony

Similar Messages

  • Problem in establishing connectin to Oracle Database using TOMCAT-APACHE

    Hello can anyone help me i can't establish a coonection to Oracle Database eventhough i have set everything in my server.XML...
    I manage to connect to ACCES database but not Oracle... help me... here is the resource portion in my server.xml
    <!-- My Forum Context - Access Database-->
    <Context path="/forum" docBase="forum" debug="0" reloadable="true">
    <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_forum_log." suffix=".txt" timestamp="true"/>
    <Resource name="jdbc/forumDb" auth="Container" type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/forumDb">
    <parameter><name>user</name><value></value></parameter>
    <parameter><name>password</name><value></value></parameter>
    <parameter><name>driverClassName</name><value>sun.jdbc.odbc.JdbcOdbcDriver</value></parameter>
    <parameter><name>driverName</name><value>jdbc:odbc:forumDb</value></parameter>
    </ResourceParams>     
    </Context>
    <!-- PMOD Context - Oracle -->
    <Context path="/pmod" docBase="pmod" debug="0" reloadable="true">
    <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_pmod_log." suffix=".txt" timestamp="true"/>     
    <Environment name="maxExemptions" type="java.lang.Integer" value="15"/>
    <Parameter name="context.param.name" value="context.param.value" override="false"/>          
    <Resource name="jdbc/pmodDb" auth="Container" type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/pmodDb">
    <parameter><name>user</name><value>pmod_owner</value></parameter>
    <parameter><name>password</name><value>pmod_owner</value></parameter>
    <parameter><name>driverClassName</name><value>oracle.jdbc.driver.OracleDriver</value></parameter>     
    <parameter><name>driverName</name><value>jdbc:oracle:thin:@192.9.200.2:1521:PMOD</value></parameter>
    </ResourceParams>     
    </Context>
    can anyone help... thanks...
    sharil

    hello....
    here is how i do it if i use access, i just set in my server.xml as bellow....
    <!-- PMOD Context -->
    <Context path="/pmod" docBase="pmod" debug="0" reloadable="true">
    <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_pmod_log." suffix=".txt" timestamp="true"/>
    <Ejb name="ejb/User" type="Session" home="pmod.user.UserHome" remote="pmod.user.User"/>
    <Environment name="maxExemptions" type="java.lang.Integer" value="15"/>
    <Parameter name="context.param.name" value="context.param.value" override="false"/>
                   <Resource name="jdbc/pmodDb" auth="SERVLET" type="javax.sql.DataSource"/>
                   <ResourceParams name="jdbc/pmodDb">
                   <parameter><name>user</name><value></value></parameter>
                   <parameter><name>password</name><value></value></parameter>
    <parameter><name>driverClassName</name><value>sun.jdbc.odbc.JdbcOdbcDriver</value></parameter>
              <parameter><name>driverName</name><value>jdbc:odbc:pmodDb</value></parameter>
    </ResourceParams>     
    </Context>
    later i would call from my servlet as follows
    InitialContext initCtx = new InitialContext ();
    DataSource ds = (DataSource)initCtx.lookup ("java:comp/env/jdbc/pmodDb");
    conn = ds.getConnection();
    then i can establish connection to my database... but now i change to oracle and my server.xml i configure as follows
    <!-- PMOD Context -->
    <Context path="/pmod" docBase="pmod" debug="0" reloadable="true">
              <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_pmod_log." suffix=".txt" timestamp="true"/>     
    <Environment name="maxExemptions" type="java.lang.Integer" value="15"/>
    <Parameter name="context.param.name" value="context.param.value" override="false"/>          
              <Resource name="jdbc/pmodDb" auth="Container" type="javax.sql.DataSource"/>
              <ResourceParams name="jdbc/pmodDb">
                   <parameter><name>user</name><value>pmod_owner</value></parameter>
                   <parameter><name>password</name><value>pmod_owner</value></parameter>                
                   <parameter><name>driverClassName</name><value>oracle.jdbc.driver.OracleDriver</value></parameter>     
                   <parameter><name>driverName</name><value>jdbc:oracle:thin:@192.9.200.2:1521:PMOD</value></parameter>
    </ResourceParams>     
    </Context>
    and i call from my servlet like before ...
    InitialContext initCtx = new InitialContext ();
    DataSource ds = (DataSource)initCtx.lookup ("java:comp/env/jdbc/pmodDb");
    conn = ds.getConnection();
    the datasource would return null in other word i cannot find the database
    however if i tried to establish connection directly,
    String u1 = "pmod_owner";
    String p1 ="pmod_owner";
    String path = "jdbc:oracle:thin:@192.9.200.2:1521:PMOD";
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    conn = DriverManager.getConnection( path, u1, p1 );
    i can talk with the database....
    so if anyone out there can help me to point me where did i go wrong?
    fyi: i have put a lib which contains oracle jdbc driver called classes12.zip in my c:\tomcat\common\lib\
    thank you

  • Connectin to oracle db at localhost

    hello
    i use ado to connect oracle 10 g database at localhost ... i use oracle's provider...
    what is the technology for conection to db on localhost -network, shared memory, local procedure call ?
    please help

    I think it's shared memory and the Oracle name for this is bequeath:
    >
    If the client and database exist on the same computer, then a client connection can be passed directly to a dedicated server process without going through the listener. This is known as a bequeath protocol. The application initiating the session spawns a dedicated server process for the connection request. This happens automatically if the application used to start the database is on the same computer as the database.
    >
    (from http://download.oracle.com/docs/cd/E11882_01/network.112/e10836/concepts.htm#NETAG185=)

  • Default ConnectInit settings in BO univers Designer

    I have set up a connection in BO univers designer to include the connecInit parameter for auditing the BO users.
    The settings for the parameter is this:
    begin set_id('@BOUSER'); Commit; end;
    this works fine and the audit in oracle is perfect.
    But since we have ca 20 diferent universes, and since we have ca 20 diferent usergroups with 20 diferent connection, and more to come... I was hoping there was a way to sett this parameter as a default.
    for eksampel when you create a new connection i BO this ConnectInit parameter is set automatically. This way it wont be forgot when creating a new connection.
    Is is possible to set the ConnectInit parameter as a default on the connections in BO?
    Regards
    Pål Risberg

    Hi Rishit,
    I am trying to achieve the same as you, but it seems like text variables in restricted key figures do not work. I am using BO XI3.1 SP3 and SAP BW 7.01 SP6.
    A work-around for me has been to use the "user response" function in webi to create a webi variable that holds the dynamic text title. If the user inputs Jan 2010, I change the input to a date using the "user response" and "ToDate" functions in the webi variable editor. After changing the input to a date I use the RelativeDate to extract 1 month (e.g. 25 days) from the user input. Then I have both Jan 2010 and Dec 2010 as webi variables to use as headers for my restricted key figures.
    The formulas can easily become a little long, but by tweaking the user response string, you should be able to get dynamic headings by using webi functionality. But be aware that you need one webi variable for each dynamic heading if you use this method.
    Let me know if it works or if I can help more:-)
    Best regards,
    Morten

  • Oracle.ldap.util - Add User to Group

    Hi,
    I am using the Subscriber to create a new User in the OID.
    ( User usr = subscriber.createUser(.....) )
    Also I am getting a reference to the main group of the application.
    Group appPublic = subscriber.getGroup(getCtx(), Util.IDTYPE_SIMPLE,"APP_PUBLIC" ,null);
    Now I need to make the User "usr"member of the Group appPublic.
    Can anyone help me find out how to do this?
    I have read the User a Group API Reference but I can't find how to do this.
    Any help would be really appreciated.

    I have solved this problem using the metalink Note:277775.1
    ------- cut here -------
    import oracle.ldap.util.*;
    import oracle.ldap.util.jndi.*;
    import javax.naming.NamingException;
    import javax.naming.directory.*;
    import java.io.*;
    import java.util.*;
    public class AddUserToGroup
    final static String ldapServerName = "mlc2.acme.org";
    final static String ldapServerPort = "3060";
    final static String rootdn = "cn=orcladmin";
    final static String rootpass = "welcome1";
    final static String user_name = "cn=john.doe,cn=users,dc=acme,dc=org";
    final static String group_name = "cn=mynewgroup,dc=acme,dc=org";
    public static void main(String argv[]) throws NamingException
    // Create the connectin to the ldap server
    InitialDirContext ctx = ConnectionUtil.getDefaultDirCtx(ldapServerName,
    ldapServerPort,
    rootdn,
    rootpass);
    // Add the user to the group
    try {
    Group mygroup = new Group(Util.IDTYPE_DN,group_name);;
    mygroup.addUniquemember(ctx, user_name);
    catch (UtilException e) {
    e.printStackTrace();
    ------- end cut --------

  • Web Logic 6.1 JDBC Pooling with the Oracle Thin Driver

    Hi,
    We're slowly getting through a WebLogic 4.5.1 to 6.1 conversion for a small application
    at my company. Initially, we had trouble getting the Oracle thin driver working.
    We've finally cracked this nut. Now we're trying to get pooling working, and
    cannot find an example of doing this with the Oracle thin driver.
    Would anyone be able to provide:
    1. the portion of the config.xml that pertains to building a connection pool using
    the Oracle thin driver
    2. the two lines of code for loading the driver and getting a connection from
    this pool
    i.e.
    Driver d = (Driver)Class.forName("weblogic.jdbc.pool.Driver").newInstance();
    Connection c = d.connect("jdbc:weblogic:pool:myPool", null);
    Thanks very much!
    Jeff Ryan
    The Hartford

    "Jeff Ryan" <[email protected]> wrote:
    >
    1. the portion of the config.xml that pertains to building a connection
    pool using
    the Oracle thin driver
    You don't usually edit the config.xml unless it is absolutely necessar. Instead,
    you can config the pool in the GUI admin console, quite easily. After you successfully
    configed the pool in the console, it is written into the config.xml file for you.
    Only thing special when config the pool is the name of the driver and the url.
    url: jdbc:oracle:thin@dbhost:dbport:dbinstance
    driver: oracle.jdbc.driver.OracleDriver
    If you prefer, you can also config the pool from the command line. It is detailed
    in the "Weblogic Server Command-line Interface Reference".
    2. the two lines of code for loading the driver and getting a connection
    from
    this pool
    i.e.
    Driver d = (Driver)Class.forName("weblogic.jdbc.pool.Driver").newInstance();
    Connection c = d.connect("jdbc:weblogic:pool:myPool", null);
    Again, you don't use the connection directly. Instead, you use "Data Source".
    Data source in weblogic is just a connection object factory associated with a
    JNDI name. You can therefore lookup the data source with the JNDI name and from
    the data source object, you get the connectin object. No need to explicitly load
    the driver class.
    There are plenty of example codes available in the weblogic examples installed
    with 6.1, that uses the data source.
    Charles

  • Oracle and  WebSphere Portal

    I have Oracle 10g (10.2.0.1) running on Windows 2003 Server R2, and as client WebSphere Portal ,WS use a pool of connection. When I shutdown and start up Oracle Server I see that Listener in Database Control have 4.000 Connectin for Minute. Can someboy if it is normal ?
    What can I test ?

    I have Oracle 10g (10.2.0.1) running on Windows 2003 Server R2, and as client WebSphere Portal ,WS use a pool of connection.
    When I shutdown and start up Oracle Server I see that Listener in Database Control have 4.000 Connectin for Minute.
    Can someboy if it is normal ?Ask the folks who configured WebSphere Portal how big is the Connection Pool.
    What can I test ?Test how long it takes to log into the application.

  • OUT Params in Procedure. Oracle 9

    I am new to PL/SQl, and im doing an asp .net site connectin to oracle using ODP
    I have written an procedure to take in Params and add a record to a DB, however I now want to use an OUT Param which will return a value to detemine whether the record already exists, this is my procedure, as you can see i have added an INOUT var called pv_exists, i want to check for the input records in my DB, is they exist i want the pv_exists to return a Zero to be site, any ideeas, im at a loss?
    CREATE OR REPLACE PROCEDURE HR_USER."SP_ADDPR" (pv_prtype varchar2, pv_team number,pv_year varchar2, pv_month varchar2, pv_alert date, pv_exists IN OUT number )
    IS
    pv_rowCount number;
    pv_tblid number;
    pv_text number;
    BEGIN
    select Count(*) Into pv_rowCount from TBLPR;
    if pv_rowCount > 0 then
    select Max(ID) + 1 into pv_tblid from TBLPR;
    Insert into TBLPR(id,PRType,PRTeamid,PRYEAR,PRMONTH,PRALERTDATE) Values (pv_tblid,pv_prtype,pv_team,pv_year,pv_month,pv_alert);
    else
    Insert into TBLPR(id,PRType,PRTeamid,PRYEAR,PRMONTH,PRALERTDATE) Values (1,pv_prtype,pv_team,pv_year,pv_month,pv_alert);
    end if;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    NULL;
    WHEN OTHERS THEN
    RAISE;
    END sp_AddPR;

    Cheer up, Hughesie
    create table tblpr(id          number(10)   not null
                      ,prtype      varchar2(10) not null
                      ,prteamid    varchar2(10) not null
                      ,pryear      number(4)    not null
                      ,prmonth     varchar2(12) not null
                      ,pralertdate date         not null
                      ,constraint tblpr_pk primary key (id));
    /* Not sure about the natural key, but use this to tell "if record exists" */
    create unique index tblrpr_ux1 on tblpr(prtype, prteamid);             
    create sequence tblpr_id_seq;
    create or replace package tblpr_te
    as
       subtype tblpr_rt is tblpr%rowtype;  
       subtype prtype_t is tblpr.prtype%type;
       subtype prteamid_t is tblpr.prteamid%type;
       subtype pryear_t is tblpr.pryear%type;
       subtype prmonth_t is tblpr.prmonth%type;
       subtype pralertdate_t is tblpr.pralertdate%type;
       procedure add(po_exists out pls_integer
                    ,pi_prtype in  prtype_t 
                    ,pi_team   in  prteamid_t
                    ,pi_year   in  pryear_t
                    ,pi_month  in  prmonth_t
                    ,pi_alert  in  pralertdate_t);
    end tblpr_te;
    create or replace package body tblpr_te
    as
       procedure add(po_exists out pls_integer
                    ,pi_prtype in  prtype_t 
                    ,pi_team   in  prteamid_t
                    ,pi_year   in  pryear_t
                    ,pi_month  in  prmonth_t
                    ,pi_alert  in  pralertdate_t)
       is
       begin
          insert into tblpr(id
                           ,prtype
                           ,prteamid
                           ,pryear
                           ,prmonth
                           ,pralertdate)
                   values (tblpr_id_seq.nextval
                          ,pi_prtype
                          ,pi_team
                          ,pi_year
                          ,pi_month
                          ,pi_alert);
          po_exists := 0;
       exception
       when dup_val_on_index
       then
          po_exists := 1;
       end add;   
    end tblpr_te;
    select * from tblpr;
    set serveroutput on
    declare
      l_exists pls_integer;
    begin
       tblpr_te.add(l_exists, 'A_Type', 'Some_Team', 2008, 'January', sysdate +12);
       commit;  
       dbms_output.put_line('l_exists: ' || l_exists);
    end;
    select * from tblpr;
    drop package tblpr_te;
    drop sequence tblpr_id_seq;
    drop table tblpr purge
    /Regards
    Peter

  • Maximum Connections Oracle can provide

    I have this query, how many maximum connections does oracle provide to any applications server.
    I am aware that the number of connections are configurable. But i wanted to know the maximum number of connections after which there is a possibilty of oracle to crash, or after these particular number connectins oracle wont support any more connections.
    Please help me with this, as im in desperate need of a solution.
    Thanx for your time.
    Nikhil

    There is no functional limit to the number of connections Oracle can support. There may be some internal limit (i.e. session ID may be an integer, which would limit you to 4 billion connections on a 32-bit system) but I've never heard of anyone actually hitting such a limit. In reality, you will be constrained by your hardware long before you are constrained by Oracle.
    Unfortunately, estimating how many connections your particular hardware can support is not trivial. It depends, obviously, on your hardware, but it also depends on your application and on how your database is configured-- shared server vs. dedicated server would be the largest factor here.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Maximum Conncetions Oracle can provide

    I have this query, how many maximum connections does oracle provide to any applications server.
    I am aware that the number of connections are configurable. But i wanted to know the maximum number of connections after which there is a possibilty of oracle to crash, or after these particular number connectins oracle wont support any more connections.
    Please help me with this, as im in desperate need of a solution.

    There is no functional limit to the number of connections Oracle can support. There may be some internal limit (i.e. session ID may be an integer, which would limit you to 4 billion connections on a 32-bit system) but I've never heard of anyone actually hitting such a limit. In reality, you will be constrained by your hardware long before you are constrained by Oracle.
    Unfortunately, estimating how many connections your particular hardware can support is not trivial. It depends, obviously, on your hardware, but it also depends on your application and on how your database is configured-- shared server vs. dedicated server would be the largest factor here.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Error while invoking a WS-Security secured web service from Oracle BPEL..

    Hi ,
    We are facing some error while invoking a WS-Security secured web service from our BPEL Process on the windows platform(SOA 10.1.3.3.0).
    For the BPEL process we are following the same steps as given in an AMIS blog : - [http://technology.amis.nl/blog/1607/how-to-call-a-ws-security-secured-web-service-from-oracle-bpel]
    but sttill,after deploying it and passing values in it,we are getting the following error on the console :-
    &ldquo;Header [http://schemas.xmlsoap.org/ws/2004/08/addressing:Action] for ultimate recipient is required but not present in the message&rdquo;
    Any pointers in this regard will be highly appreciated.
    Thanks,
    Saurabh

    Hi James,
    Thanks for the quick reply.
    We've tried to call that web service from an HTML designed in Visual Studios with the same username and password and its working fine.
    But on the BPEL console, we are getting the error as mentioned.
    Also if you can tell me how to set the user name and password in the header of the parter link.I could not find how to do it.
    Thanks,
    Saurabh

  • Error while running a customize report in oracle ebs

    Hi ..
    can anybody suggest how to solve the follwing error while running a customize report in oracle ebs?
    XXIFMS: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    Current system time is 03-JUN-2011 11:09:24
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_DATE_FROM='2010/04/01 00:00:00'
    P_DATE_TO='2011/06/03 00:00:00'
    Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    stat_low = 9
    stat_high = 0
    emsg:was terminated by signal 9
    ld.so.1: rwrun: fatal: librw.so: open failed: No such file or directory
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program was terminated by signal 9
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 1068011.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 1068011 on node D0005 at 03-JUN-2011 11:09:24.
    Post-processing of request 1068011 failed at 03-JUN-2011 11:09:24 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 03-JUN-2011 11:09:24

    Please post the details of the application release, database version and OS.
    Is the issue with this specific concurrent program?
    Can you find any errors in the CM/OPP log files?
    Please see if these docs help.
    On R12.1.1/Solaris Platform While Generating Oracle Reports Files Failed With Error " ld.so.1: rwconverter: fatal: librw.so: open failed: No such file or directory [ID 1067786.1]
    Apps UPG Fail With Error Ld.So.1: Rwserver: Fatal: Librw.So [ID 961222.1]
    Thanks,
    Hussein

  • HELP! Can not install Oracle 8.1.5 w/ RedHat 6.1!

    I can not get Oracle 8.1.5 to install onto Linux RedHat 6.1. The
    Oracle installation script generates several errors. I have
    tried several attempts, using different options, but they all
    generate errors.
    Please help. The Oracle Installation scripts appear to be very
    buggy... or perhaps they are incompatible with the standard
    RedHat 6.1 release. Either way, it is very frustrating.
    I have documented one of my (failed) installation attempts below.
    Does anyone have any words of wisdom?
    I am installing Oracle onto a Dell Latitude CPi PC w/ 128MB RAM,
    a 366MHz Pentium II, and RedHat 6.1 (using the standard Linux
    2.2.12-2 kernel). RedHat was installed using the standard "Gnome
    Workstation" configuration.
    The Oralce CD is labeled:
    "Oralce 8i Enterprise Edition
    Release 8.1.5
    for Linux
    (c) Oracle Corporation 1999"
    I got this CD about one week ago at Oracle OpenWorld '99 in Los
    Angeles... it should be their "latest & greatest" version so far.
    1. Pre-Installation and ./runInstall
    I created an "oracle" Unix account w/ groups "oinstall" (the
    primary group) and "dba" (a secondary group).
    I created directories /u01 through /u04, belonging to oracle.
    I setup .cshrc and sourced it, containing:
    umask 022
    setenv DISPLAY `hostname`:0
    xhost +
    setenv ORACLE_BASE /u01/app/oracle
    setenv ORACLE_HOME ${ORACLE_BASE}/product/8.1.5
    setenv ORACLE_SID cprtest
    setenv PATH ${ORACLE_HOME}/bin:${PATH}
    setenv LD_LIBRARY_PATH ${ORACLE_HOME}/lib
    setenv NLS_LANG US7ASCII
    I downloaded jre116_v5 and installed to /usr/local/jre.
    Finally, I executed (from the "oracle" Unix account):
    cd /mnt/cdrom
    ./runInstall
    Problem: I got the error (from ./runInstall):
    Initializing Java Virtual Machine from /usr/local/jre/bin/jre.
    Please wait...
    Error in CreateOUIProcess(): -1
    : Bad address
    Workaround: Executed the following commands instead:
    cd /mnt/cdrom/install/linux
    ./runIns.sh
    3. runIns.sh and root.sh
    I selected the following options (from ./runIns.sh):
    Source: /mnt/cdrom/stage/products.jar
    Destination: /u01/app/oracle/product/8.1.5
    Oracle 8i Enterprise Edition 8.1.5.0.0
    Typical (585MB)
    Installable Components: Oralce Intelligent Agent 8.1.5.0.0
    Global Database Name: cprtest.parkrussell.com
    SID: cprtest
    Directory for Database Files: /u02
    Then (when instructed by ./runIns.sh), I attempted to execute
    (from the
    "root" Unix account):
    cd /u01/app/oracle/product/8.1.5
    ./root.sh
    Problem: I got the error:
    "bash: ./root.sh: Permission denied"
    The execute bit was not set.
    Workaround: I executed:
    chmod a+x root.sh
    ./root.sh
    5. Configuration Tools
    The Oracle Installer (./runIns.sh) attempted to execute:
    A. Net8 Configuration Agent
    B. Oracle Database Configuration Agent
    Problem: The "Oracle Database Configuration Agent" failed with
    the following error message:
    "One or more tools have failed. It is recommended but not
    required that these tools succeed for this installation.
    You can now select these tools, read its details to examine
    why they have failed, fix those problems, and retry them.
    Or, you can click "Next" to continue."
    When I selected the "Oracle Database Configuration Agent" for
    more info, I got the following additional details (as the cause
    of the error):
    "A required command line argument is missing."
    The log file
    "/u01/app/oracle/oraInventory/logs/installActions.log" recorded:
    "Command which is being spawned is /usr/local/jre/bin/jre
    -Duser.dir=/u01/app/oracle/product/8.1.5/assistants/dbca/jlib
    -classpath
    /usr/local/jre/lib/rt.jar:/u01/app/oracle/product/8.1.5/jlib/ewt-3_1_10.jar:/u01/app/oracle/produc
    /8.1.5/jlib/share-1_0_6.jar:/u01/app/oracle/product/8.1.5/assistants/dbca/jlib/DBAssist.jar:/u01/a
    p/oracle/product/8.1.5/assistants/jlib/jnls.jar:/u01/app/oracle/product/8.1.5/assistants/jlib/ACC.
    AR:/u01/app/oracle/product/8.1.5/jlib/help-3_0_7.jar:/u01/app/oracle/product/8.1.5/jlib/oracle_ice
    4_03_3.jar:/u01/app/oracle/product/8.1.5/jlib/HotJavaBean.jar:/u01/app/oracle/product/8.1.5/jlib/n
    tcfg.jar:/usr/local/jre/lib/i18n.jar
    DBCreateWizard /createtype seed /numusers NO_VALUE /apptype
    NO_VALUE /cartridges NO_VALUE /options NO_VALUE /demos NO_VALUE
    /seedloc NO_VALUE /sid cprtest /orahome
    /u01/app/oracle/product/8.1.5 /orabase /u01/app/oracle /dbloc
    /u02 /clususer NO_VALUE /cluspswd NO_VALUE /nodeinfo NO_VALUE
    /gdbName cprtest.parkrussell.com
    Invalid Exit Code. The following result code will be used for
    configuration tool: 1
    Configuration tool Oracle Database Configuration Assistant
    failed"
    Workaround: There is obviously nothing I can do to fix this
    problem. It appears to be an internal bug in ./runIns.sh.
    Therefore, I selected "Next" and executed "dbassist" directly.
    6. dbassist
    I executed:
    dbassist
    Problem: I got the following error:
    "JNLS Execution:oracle.ntpg.jnls.JNLSException
    Unable to find any National Character Sets. Please
    check your Oracle installation."
    Workaround: Press "OK" and ignore the error.
    7. dbassist (cont.)
    I selected the following options:
    Create database
    Typical
    Copy existing database files from the CD
    Global Database Name: cprtest.parkrussell.com
    SID: cprtest
    Problem: I got the following error:
    "CD-ROM drive not detected on this system.
    Database not created."
    (Note: I've been running the installation scripts from the
    CDROM drive this entire time. "df" shows the CDROM drive
    mounted on /mnt/cdrom. "ls /mnt/cdrom" works too.)
    Workaround: Abort (which generated the additional error: "Unable
    to create database. DBCA-00003: No CD-ROM drive detected.") and
    run dbassist again, this time using different parameters.
    8. dbassist, again
    I executed "dbassist" again and selected the following options:
    Create database
    Typical
    Create new database files
    Hybrid
    Concurrently connected users: 5
    Options: Oralce interMedia, Oralce JServer, and iM demos
    Global Database Name: cprtest2.parkrussell.com
    SID: cprtest2
    Create database now
    Problem: I got the following error:
    "ORA-01012: not logged on"
    Workaround: Try, try again.
    9. dbassist, one last time
    Executed "dbassist" once more and selected the following options:
    Create database
    Typical
    Create new database files
    Hybrid
    Concurrently connected users: 5
    Options: Oralce interMedia, Oralce JServer, and interMedia
    demos
    Global Database Name: cprtest3.parkrussell.com
    SID: cprtest3
    Output creation script
    Then, I executed (from the "oracle" Unix account):
    cd /u01/app/oracle/product/8.1.5/install
    setenv ORACLE_SID cprtest3
    ./sqlcprtest3.sh
    Problem: I got the following output:
    "Oracle Server Manager Release 3.1.5.0.0 - Production
    (c) Copyright 1997, Oracle Corporation. All Rights Reserved.
    Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
    With the Partitioning and Java options
    PL/SQL Release 8.1.5.0.0 - Production
    SVRMGR> SVRMGR> Connected.
    SVRMGR> ORACLE instance started.
    ORA-01012: not logged on
    SVRMGR> 2> 3> 4> 5> 6> 7>
    8> 9> CREATE DATABASE "cprtest3"
    ORA-01012: not logged on
    SVRMGR> Disconnected."
    Workaround: Beats me.
    10. sqlplus
    I attempted to execute sqlplus, but got the following error
    message:
    "/u01/app/oracle/product/8.1.5/bin/sqlplus: Permission denied."
    The execute bit was not set.
    Workaround: I executed:
    chmod a+x /u01/app/oracle/product/8.1.5/bin/sqlplus
    sqlplus
    I gave up for now... there were just too many things wrong with
    this installation, starting with the very first command I was
    supposed to execute (./runInstaller).
    I can't fathom why Oracle's installation script has so many bugs.
    Am I just doing something terribly wrong?
    Please help.
    null

    I'm using enlightenment version 0.15.5-41, which is more recent
    than the 0.15.5-37 version (containing the Oracle installer
    patch) that you recommended. Unfortunately, it fails when using
    this version.
    I also tried installing Oracle using twm, with enlightenment
    disabled. This didn't help either.
    Furthermore, the errors that I'm encountering in the OUI are
    not just toward the end of the installation. They happen from
    the very beginning, right after I enter "./runInstall", and
    continue every step of the way.
    Calvin Mitchell (guest) wrote:
    : Check out my thread: "Assistants Failure Toward end of Oracle
    : Install" to see where i've gone with this.
    : if your running Enlightenment as your window manager you need
    to
    : upgrade to 0.15.5-37, that will solve the OUI error.
    : Let me know if you solve any of your problems.
    : Chris Russell (guest) wrote:
    : : I can not get Oracle 8.1.5 to install onto Linux RedHat 6.1.
    : The
    : : Oracle installation script generates several errors. I have
    : : tried several attempts, using different options, but they all
    : : generate errors.
    : : Please help. The Oracle Installation scripts appear to be
    very
    : : buggy... or perhaps they are incompatible with the standard
    : : RedHat 6.1 release. Either way, it is very frustrating.
    : : I have documented one of my (failed) installation attempts
    : below.
    : : Does anyone have any words of wisdom?
    : : I am installing Oracle onto a Dell Latitude CPi PC w/ 128MB
    : RAM,
    : : a 366MHz Pentium II, and RedHat 6.1 (using the standard Linux
    : : 2.2.12-2 kernel). RedHat was installed using the standard
    : "Gnome
    : : Workstation" configuration.
    : : The Oralce CD is labeled:
    : : "Oralce 8i Enterprise Edition
    : : Release 8.1.5
    : : for Linux
    : : (c) Oracle Corporation 1999"
    : : I got this CD about one week ago at Oracle OpenWorld '99 in
    Los
    : : Angeles... it should be their "latest & greatest" version so
    : far.
    : : 1. Pre-Installation and ./runInstall
    : : I created an "oracle" Unix account w/ groups "oinstall" (the
    : : primary group) and "dba" (a secondary group).
    : : I created directories /u01 through /u04, belonging to oracle.
    : : I setup .cshrc and sourced it, containing:
    : : umask 022
    : : setenv DISPLAY `hostname`:0
    : : xhost +
    : : setenv ORACLE_BASE /u01/app/oracle
    : : setenv ORACLE_HOME ${ORACLE_BASE}/product/8.1.5
    : : setenv ORACLE_SID cprtest
    : : setenv PATH ${ORACLE_HOME}/bin:${PATH}
    : : setenv LD_LIBRARY_PATH ${ORACLE_HOME}/lib
    : : setenv NLS_LANG US7ASCII
    : : I downloaded jre116_v5 and installed to /usr/local/jre.
    : : Finally, I executed (from the "oracle" Unix account):
    : : cd /mnt/cdrom
    : : ./runInstall
    : : Problem: I got the error (from ./runInstall):
    : : Initializing Java Virtual Machine from
    : /usr/local/jre/bin/jre.
    : : Please wait...
    : : Error in CreateOUIProcess(): -1
    : : : Bad address
    : : Workaround: Executed the following commands instead:
    : : cd /mnt/cdrom/install/linux
    : : ./runIns.sh
    : : 3. runIns.sh and root.sh
    : : I selected the following options (from ./runIns.sh):
    : : Source: /mnt/cdrom/stage/products.jar
    : : Destination: /u01/app/oracle/product/8.1.5
    : : Oracle 8i Enterprise Edition 8.1.5.0.0
    : : Typical (585MB)
    : : Installable Components: Oralce Intelligent Agent 8.1.5.0.0
    : : Global Database Name: cprtest.parkrussell.com
    : : SID: cprtest
    : : Directory for Database Files: /u02
    : : Then (when instructed by ./runIns.sh), I attempted to execute
    : : (from the
    : : "root" Unix account):
    : : cd /u01/app/oracle/product/8.1.5
    : : ./root.sh
    : : Problem: I got the error:
    : : "bash: ./root.sh: Permission denied"
    : : The execute bit was not set.
    : : Workaround: I executed:
    : : chmod a+x root.sh
    : : ./root.sh
    : : 5. Configuration Tools
    : : The Oracle Installer (./runIns.sh) attempted to execute:
    : : A. Net8 Configuration Agent
    : : B. Oracle Database Configuration Agent
    : : Problem: The "Oracle Database Configuration Agent" failed
    with
    : : the following error message:
    : : "One or more tools have failed. It is recommended but not
    : : required that these tools succeed for this installation.
    : : You can now select these tools, read its details to
    examine
    : : why they have failed, fix those problems, and retry them.
    : : Or, you can click "Next" to continue."
    : : When I selected the "Oracle Database Configuration Agent" for
    : : more info, I got the following additional details (as the
    cause
    : : of the error):
    : : "A required command line argument is missing."
    : : The log file
    : : "/u01/app/oracle/oraInventory/logs/installActions.log"
    : recorded:
    : : "Command which is being spawned is /usr/local/jre/bin/jre
    : : -Duser.dir=/u01/app/oracle/product/8.1.5/assistants/dbca/jlib
    : : -classpath
    /usr/local/jre/lib/rt.jar:/u01/app/oracle/product/8.1.5/jlib/ewt-
    : 3_1_10.jar:/u01/app/oracle/product/8.1.5/jlib/share-
    1_0_6.jar:/u01/app/oracle/product/8.1.5/assistants/dbca/jlib/DBAs
    sist.jar:/u01/app/oracle/product/8.1.5/assistants/jlib/jnls.jar:/
    u01/app/oracle/product/8.1.5/assistants/jlib/ACC.JAR:/u01/app/ora
    : cle/product/8.1.5/jlib/help-
    : 3_0_7.jar:/u01/app/oracle/product/8.1.5/jlib/oracle_ice-
    4_03_3.jar:/u01/app/oracle/product/8.1.5/jlib/HotJavaBean.jar:/u0
    1/app/oracle/product/8.1.5/jlib/netcfg.jar:/usr/local/jre/lib/i18
    : n.jar
    : : DBCreateWizard /createtype seed /numusers NO_VALUE /apptype
    : : NO_VALUE /cartridges NO_VALUE /options NO_VALUE /demos
    NO_VALUE
    : : /seedloc NO_VALUE /sid cprtest /orahome
    : : /u01/app/oracle/product/8.1.5 /orabase /u01/app/oracle /dbloc
    : : /u02 /clususer NO_VALUE /cluspswd NO_VALUE /nodeinfo NO_VALUE
    : : /gdbName cprtest.parkrussell.com
    : : Invalid Exit Code. The following result code will be used
    for
    : : configuration tool: 1
    : : Configuration tool Oracle Database Configuration Assistant
    : : failed"
    : : Workaround: There is obviously nothing I can do to fix this
    : : problem. It appears to be an internal bug in ./runIns.sh.
    : : Therefore, I selected "Next" and executed "dbassist"
    directly.
    : : 6. dbassist
    : : I executed:
    : : dbassist
    : : Problem: I got the following error:
    : : "JNLS Execution:oracle.ntpg.jnls.JNLSException
    : : Unable to find any National Character Sets. Please
    : : check your Oracle installation."
    : : Workaround: Press "OK" and ignore the error.
    : : 7. dbassist (cont.)
    : : I selected the following options:
    : : Create database
    : : Typical
    : : Copy existing database files from the CD
    : : Global Database Name: cprtest.parkrussell.com
    : : SID: cprtest
    : : Problem: I got the following error:
    : : "CD-ROM drive not detected on this system.
    : : Database not created."
    : : (Note: I've been running the installation scripts from the
    : : CDROM drive this entire time. "df" shows the CDROM drive
    : : mounted on /mnt/cdrom. "ls /mnt/cdrom" works too.)
    : : Workaround: Abort (which generated the additional error:
    : "Unable
    : : to create database. DBCA-00003: No CD-ROM drive detected.")
    : and
    : : run dbassist again, this time using different parameters.
    : : 8. dbassist, again
    : : I executed "dbassist" again and selected the following
    options:
    : : Create database
    : : Typical
    : : Create new database files
    : : Hybrid
    : : Concurrently connected users: 5
    : : Options: Oralce interMedia, Oralce JServer, and iM demos
    : : Global Database Name: cprtest2.parkrussell.com
    : : SID: cprtest2
    : : Create database now
    : : Problem: I got the following error:
    : : "ORA-01012: not logged on"
    : : Workaround: Try, try again.
    : : 9. dbassist, one last time
    : : Executed "dbassist" once more and selected the following
    : options:
    : : Create database
    : : Typical
    : : Create new database files
    : : Hybrid
    : : Concurrently connected users: 5
    : : Options: Oralce interMedia, Oralce JServer, and interMedia
    : : demos
    : : Global Database Name: cprtest3.parkrussell.com
    : : SID: cprtest3
    : : Output creation script
    : : Then, I executed (from the "oracle" Unix account):
    : : cd /u01/app/oracle/product/8.1.5/install
    : : setenv ORACLE_SID cprtest3
    : : ./sqlcprtest3.sh
    : : Problem: I got the following output:
    : : "Oracle Server Manager Release 3.1.5.0.0 - Production
    : : (c) Copyright 1997, Oracle Corporation. All Rights
    Reserved.
    : : Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
    : : With the Partitioning and Java options
    : : PL/SQL Release 8.1.5.0.0 - Production
    : : SVRMGR> SVRMGR> Connected.
    : : SVRMGR> ORACLE instance started.
    : : ORA-01012: not logged on
    : : SVRMGR> 2> 3> 4> 5> 6> 7>
    : : 8> 9> CREATE DATABASE "cprtest3"
    : : ORA-01012: not logged on
    : : SVRMGR> Disconnected."
    : : Workaround: Beats me.
    : : 10. sqlplus
    : : I attempted to execute sqlplus, but got the following error
    : : message:
    : : "/u01/app/oracle/product/8.1.5/bin/sqlplus: Permission
    : denied."
    : : The execute bit was not set.
    : : Workaround: I executed:
    : : chmod a+x /u01/app/oracle/product/8.1.5/bin/sqlplus
    : : sqlplus
    : : I gave up for now... there were just too many things wrong
    with
    : : this installation, starting with the very first command I was
    : : supposed to execute (./runInstaller).
    : : I can't fathom why Oracle's installation script has so many
    : bugs.
    : : Am I just doing something terribly wrong?
    : : Please help.
    null

  • Logical operators in Oracle select query

    Hello all,
    Can i use logical operators in oracle select queries?
    for 1 and 0 =0 ; 1 or 0 =0
    if i have two fileds in a table COL1 have a value of 1010 and COL2 have a value of 0001.
    Is there any way to use select col1 or col2 from table? where or is a logical operator?
    Regards,

    Hi,
    NB wrote:
    Hello all,
    Can i use logical operators in oracle select queries?Sure; Oracle has the logical operators AND, NOT and OR. All the comparison operators, including >, >=, = !=, EXISTS, IN, IS NULL, LIKE and REGEXP_LIKE are really logical operators, since they return logical values. You can use them in SELECT statements, and other places, too.
    for 1 and 0 =0 ; 1 or 0 =0
    if i have two fileds in a table COL1 have a value of 1010 and COL2 have a value of 0001.It's unclear what you want. Maybe you'd be interested in the BITAND function:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/functions014.htm#sthref1080
    BITAND is the only logical function that I know of. Many other functions, especially numberical fucntions such as MOD, have applications in logic.
    Is there any way to use select col1 or col2 from table? where or is a logical operator?Whenever you have a question, please post a little sample data (CREATE TABLE and INSERT statements), and also post the results you want from that data.
    Explain how you get those results from that data.
    Always say which version of Oracle you're using.

  • Strange scenario,Oracle can not display the data in mysql correctly

    I use Heterogeneous Service+ODBC to achieve "oracle access mysql"(any other method?),and now i find Oracle can not display the data in mysql correctly:
    -------mysql------------
    mysql> create table tst(id int,name varchar(10));
    Query OK, 0 rows affected (0.00 sec)
    mysql> insert into tst values(1,'a');
    Query OK, 1 row affected (0.00 sec)
    mysql> select * from tst;
    ------------+
    | id | name |
    ------------+
    | 1 | a |
    ------------+
    1 row in set (0.00 sec)
    mysql> show create table tst\G
    *************************** 1. row ***************************
    Table: tst
    Create Table: CREATE TABLE `tst` (
    `id` int(11) DEFAULT NULL,
    `name` varchar(10) DEFAULT NULL
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8
    1 row in set (0.00 sec)
    -------------oracle ------------------
    SQL> select count(*) from "tst"@mysql;
    COUNT(*)
    49
    SQL> select * from "tst"@mysql;
    id
    1
    SQL> desc "tst"@mysql;
    Name Null? Type
    id NUMBER(10)

    You can make the following query on the result page:
    "select * from the_table where movietitle = ? and cinema = ?"
    then you set movietitle and cinema to those which the user selected. If the resultset contains more than 0 rows, that means the movie is available.
    Below is the sample code, it assumes you have a connection to the database:
    PreparedStatement stat = myConnection.prepareStatement("select * from the_table where movietitle = ? and cinema = ?");
    stat.setString(1, usersMovieTitleSelection);
    stat.setString(2, usersCinemaSelection);
    ResultSet res = stat.executeQuery();
    if (res.next()) {
    out.print("The movie is available");
    } else {
    out.print("The movie is not available");
    }Now just add that to your JSP page. Enjoy ! =)

Maybe you are looking for