CORBA: Using IOR with Aurora Visibroker in Oracle Database

My problem is about Oracle CORBA session oriented:
I would like to store an IOR in an Oracle Database in order to use it
when I need the object associated but,
If I have the IOR of an object instantiated from a class placed in the
Name Service Context of an Oracle Database, this IOR is valid out of
its session if the session has finished (if this is not the case, can I have
an infinity session)? In order to use this object
must I always authenticate by user and password before or can I use
the object directly after call stringtoIOR?
I am using CORBA implementation (Aurora) of Oracle 8i.
Thank you very much and excuse my English.
null

Even If create table manually in the Oracle Database using varchar2 but still when i copy the data query mysql database it shows spaces in the value column.

Similar Messages

  • Help me please--CORBA: Using IOR with Aurora Visibroker in Oracle Database

    My problem is about Oracle CORBA session oriented:
    I would like to store an IOR in an Oracle Database in order to use it
    when I need the object associated but,
    If I have the IOR of an object instantiated from a class placed in the
    Name Service Context of an Oracle Database, this IOR is valid out of
    its session if the session has finished (if this is not the case, can I have
    an infinity session)? In order to use this object
    must I always authenticate by user and password before or can I use
    the object directly after call stringtoIOR?
    I am using CORBA implementation (Aurora) of Oracle 8i.
    Thank you very much and excuse my English.

    Even If create table manually in the Oracle Database using varchar2 but still when i copy the data query mysql database it shows spaces in the value column.

  • CORBA: Using IOR with Aurora Visibroker

    The problem is about Oracle CORBA session oriented:
    I would like to store an IOR in an Oracle Database in order to use it
    when I need the object associated but,
    If I have the IOR of an object instantiated from a class placed in the
    Name Service Context of an Oracle Database, this IOR is valid out of
    its session if the session has finished (if this is not the case, can I have
    an infinity session)? In order to use this object
    must I always authenticate by user and password before or can I use
    the object directly after call stringtoIOR?
    I am using CORBA implementation (Aurora) of Oracle 8i.
    Thank you very much and excuse my English.

    No one responded to this post but I came across the solution that I will share in case anyone else needs this in the future. Although I think it's a bug in the VisiBroker code that shouldn't allow this, the problem seemed to be with OSAgent. Upon the recommendation from someone else, I started OSAgent before running JWS and everything worked appropriately. Not familiar enough with VisiBroker to know why this settled the memory leak and infinite loop issue, but it did.

  • Problem with Character Set in Oracle database 10g

    Hi,
    I tried to import one tablespace into test server. Source server with Oracle 8i and Target server with Oracle database 10g. The error I get is
    Import: Release 10.2.0.1.0 - Production on Thu Aug 3 00:20:49 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Username: sys as sysdba
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V08.01.07 via conventional path
    About to import transportable tablespace(s) metadata...
    import done in WE8DEC character set and AL16UTF16 NCHAR character set
    export server uses WE8DEC NCHAR character set (possible ncharset conversion)
    . importing SYS's objects into SYS
    . importing SYS's objects into SYS
    IMP-00017: following statement failed with ORACLE error 19736:
    "BEGIN sys.dbms_plugts.beginImport ('8.1.7.4.0',2,'2',NULL,'NULL',67051,25"
    "51,2); END;"
    IMP-00003: ORACLE error 19736 encountered
    ORA-19736: can not plug a tablespace into a database using a different national character set
    ORA-06512: at "SYS.DBMS_PLUGTS", line 2386
    ORA-06512: at "SYS.DBMS_PLUGTS", line 1946
    ORA-06512: at line 1
    IMP-00000: Import terminated unsuccessfully
    PLZ somebody help in geting resolve this. Has anybody seen this error before.

    The solution to this problem is described in MetaLink note #211920.1. But this note is published with LIMITED access as it involves using a hidden parameter.
    You can get access to the note through Oracle Support only.
    The problem itself is solved generically, if the source database is at least 10.1.0.3 and the target database is 10.2
    -- Sergiusz

  • Issues with loadjava utility on oracle database 10.2.0.4.0

    Hi all
    Hoping if this is a known issue, am approaching you here .. We have an oracle database in 10.2.0.4.0 version. This database functionality of Websphere Process Server, a product from IBM. In the course we are expected to load a JAR file for a one schema and it fails for some reason with ORA - 07445 errors. I happen to set out SGA_MAX_SIZE and SGA_TARGET at 1024 MB and JAVA_POOL_SIZE at 768MB to allow this loadjava command to run successfully. I also happen to set the LD_LIBRARY_PATH as $ORACLE_HOME/lib on this solaris 10 machine. Below is the command and the error message we are receiving. Please do advice us if this is a known issue or guide us to any information which might help us resolve this issue while we continue searching for a solution.. Many thanks in advance.
    Regards!
    Sarat
    loadjava -user BPCDB/[email protected]:1521:WPSDB -resolve /opt/IBMProc/WebSphere/ProcServer/lib/bpcodbutil.jar -thin -schema BPCDB
    Error while testing for existence of dbms_java.handleMd5
    No more data to read from socket
    Error while testing for existence of "BPCDB".JAVA$CLASS$MD5$TABLE
    OALL8 is in an inconsistent state
    Error while testing for existence of "BPCDB".JAVA$CLASS$MD5$TABLE
    OALL8 is in an inconsistent state
    Error while creating "BPCDB".JAVA$CLASS$MD5$TABLE
    No more data to read from socket
    Error while getting old MD5 of META-INF/MANIFEST.MF
    Io exception: Broken pipe
    Error while testing for existence of "BPCDB".CREATE$JAVA$LOB$TABLE
    Closed Connection
    Error while testing for existence of "BPCDB".CREATE$JAVA$LOB$TABLE
    Closed Connection
    Error while creating "BPCDB".CREATE$JAVA$LOB$TABLE
    Closed Connection
    Error while getLoadLOB BPCDB
    Closed Connection
    Error while deleting MD5 of META-INF/MANIFEST.MF
    Closed Connection
    Error while getting old MD5 of com/ibm/bpe/observer/dbutil/TimestampUtil
    Closed Connection
    Error while processing com/ibm/bpe/observer/dbutil/TimestampUtil
    Exception java.lang.NullPointerException
    Error while deleting MD5 of META-INF/MANIFEST.MF
    Closed Connection
    Error while getShortFromLongnameStmt
    Closed Connection
    Error while processing class BPCDB.com/ibm/bpe/observer/dbutil/TimestampUtil
    Exception java.lang.NullPointerException
    Error while getShortFromLongnameStmt
    Closed Connection
    Exception in thread "main" java.lang.NullPointerException
    at oracle.aurora.server.tools.loadjava.ClientSchemaObject.getShortname(C
    lientSchemaObject.java:65)
    at oracle.aurora.server.tools.loadjava.ClientSchemaObject.status(ClientS
    chemaObject.java:91)
    at oracle.aurora.server.tools.loadjava.SchemaObject.failure(SchemaObject
    .java:799)
    at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:85
    1)
    at oracle.aurora.server.tools.loadjava.LoadJava.command(LoadJava.java:25
    1)
    at oracle.aurora.server.tools.loadjava.LoadJavaMain.run(LoadJavaMain.jav
    a:103)
    at oracle.aurora.server.tools.loadjava.LoadJavaMain.main(LoadJavaMain.ja
    va:28)
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    ORA-07445 is an untrapped exception, an error, in Oracle's own code.
    Open an SR at metalink and update an RDA along with your description of what happened.

  • Inserting Current Date with time stamp in oracle database

    Hi Experts,
                     I want to insert the current Date and time stamp in a field in the Oracle Database Table.
    I am able to insert date but i am not able to insert the date with time stamp. Any Suggestions??
    Thanks
    Naveen

    Naveen,
    Do you want to get current date (from sysdate) with a specific format or transform a value containing a date/time value to insert it in ORACLE ?
    Usually, you insert current datetimestamp in a date field using this :
    TO_DATE(sysdate,'dd/mm/yyyy hh:mi:ss')
    you may have to tweak the format pattern ('dd/mm....') according to your needs
    if you want to transform a date, use something like this:
    TO_DATE(your_date,your_format)
    but make sure your format is compliant with your date, ie
    TO_DATE('31/12/2008','MM/DD/YYYY') could raise error (litteral does not match) cuz ORACLE can't recognize 31 as a month pattern
    Chris

  • How to protect password with pdf file in oracle database

    hiiii,,,,i have a form in 6i where i am sending pdf file(by running report) to the other clients in the network,,now my requirement is that i want to protect a password with this pdf file whenevr i run new report ,,wat should i do..
    plz help
    lovely sethi

    [email protected] wrote:
    hiiii,,,,i have a form in 6i where i am sending pdf file(by running report) to the
    other clients in the network,,now my requirement is that i want to protect a
    password with this pdf file whenevr i run new report ,,wat should i do..Why not just rely on OS security withing the server? If you email it to a
    particular individual, then it's protected as far as you trust that individual
    anyway!
    Those who are in the dba group on the server can get at the data
    in any case.
    I just don't see the point in trying to do what you're asking - unless
    I've missed something?
    BTW, you haven't mentioned OS or db version (see .sig).
    Paul...
    lovely sethi--
    When asking database related questions, please give other posters
    some clues, like OS (with version), version of Oracle being used and DDL.
    Other trivia such as CPU, RAM + Disk configuration might also be useful.
    The exact text and/or number of error messages is useful (!= "it didn't work!"). Thanks.
    Furthermore, as a courtesy to those who spend time analysing and attempting to help,
    please do not top post and do try to trim your replies!

  • Using JDBC Adapter posting data from Oracle database to Falt file????

    Hi All,
      By using JDBC adapter, for now I have to connect to Oracle Database and then get the employee information from the Employee Table and post it to the flat file, can you please help me out the complete procedure...
    Thanks in advance
    Andy

    Hi Andy,
    have a look at the help for configuring a JDBC Sender adapter: http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    It mentions all the settings you'll need to make e.g. the connection URL as posted above.
    And it also lists how an XML file looks like that contains the query results according to the SQL Select statement in the adapter.
    <resultset>
    <row>
    <column-name1>column-value</ column-name1>
    <column-name2>column-value</ column-name2>
    <column-name3>column-value</ column-name3>
    </row>
    <row>
    <column-name1>column-value</ column-name1>
    <column-name2>column-value</ column-name2>
    <column-name3>column-value</ column-name3>
    </row>
    </resultset>
    So you have to create a datatype, message type and message interface to match this structure (of course you'll need to substitute column-name1 etc. with the column names in your select statement).
    Now if you want to create a flat file from that, you have to create an XML representation of that flat file and use the content conversion in the receiver file adapter as defined here: http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Regards
    Christine

  • Help using C# application to connect to oracle database

    I'm new to database.
    I'm developing a C# GUI application in visual studio 2008 that is suppose to interact with oracle. After researching and trying out several sample codes, nothing works and I'm in desperate need of some help/advice/suggestions.
    The simplest example I'm trying is to just get a button to run a simple SQL query. The code is:
    private void button1_Click(object sender, EventArgs e)
    string oradb = "Data Source=acme.gatech.edu;User Id=gtg880f;Password=******;";
    OracleConnection conn = new OracleConnection(oradb); // C#
    conn.Open();
    OracleCommand cmd = new OracleCommand();
    cmd.Connection = conn;
    cmd.CommandText = "select Location_Name from warehouse where Location_name = 'atlanta'";
    cmd.CommandType = CommandType.Text;
    OracleDataReader dr = cmd.ExecuteReader();
    dr.Read();
    label1.Text = dr.GetString(0);
    conn.Dispose();
    I've installed many many version of oracle database and have included the Oracle.Data.Access under reference.
    If I use putty and connect to acme.gatech.edu via port 22, I can type sqlplus / and run the query "elect Location_Name from warehouse where Location_name = 'atlanta'" and it'll work.
    After some research, some say that if I can connect via sqlplus that means i can connect to the database but what do i need to implement to enable my c# code in visual studio to be able to do that.
    I did a search on the forum but found nothing that matches this. In essence, I'm not sure what/how to specify such that I can connect to the acme.gatech.edu server and run sql commands.
    Thanks,
    Oky Sabeni

    There're two ways you can get data in and out of database using .NET
    #1 System.Data.OracleClient namespace - it's .NET avail out of the box
    #2 Oracle.DataAccess.Client - aka "ODP.NET"
                   Download: http://www.oracle.com/technology/software/tech/windows/odpnet/index.html
    Or download Beta because as of today it's the only version which supports .NET "TransactionScope" (I just tested seems like still it is NOT working Re: 10g Express + ODP.NET (version 2.111.6.20) > support TransactionScope? http://www.oracle.com/technology/software/tech/windows/odpnet/index1110710beta.html
    QuickStart: http://www.installationwiki.org/ODP.NET_Getting_Started_Guide
    Also there's a doc under Start menu>Programs>Oracle - OraOdac11g_BETA_home>Application Development>"Oracle Data Provider for .NET Developer's Guide"
    It's worth reading just scroll down quick for code fragment.
    Anyway here's two small examples:
    Example 1: System.Data.OracleClient (Using library from M$)
              * First you'll need to add reference to "System.Data.OracleClient".
              IDbFactory oDbFactory = DbProviderFactories.GetFactory("System.Data.OracleClient");
              IDbConnection oConn = oDbFactory.CreateConnection();
              oConn.ConnectionString = "Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort))(CONNECT_DATA=(SERVICE_NAME=MyOracleSID)));User Id=myUsername;Password=myPassword;";
              // Or ...
              oConn = new System.Data.OracleClient.OracleConnection("Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort))(CONNECT_DATA=(SERVICE_NAME=MyOracleSID)));User Id=myUsername;Password=myPassword;");
         Example 2: ODP.NET from Oracle
              IDbFactory oDbFactory = DbProviderFactories.GetFactory("Oracle.DataAccess.Client");
              IDbConnection oConn = oDbFactory.CreateConnection();
              oConn.ConnectionString = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=MyOracleSID)));User Id=myUsername;Password=myPassword;";
              // Or ...
              oConn = new Oracle.DataAccess.Client.OracleConnection("Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=MyOracleSID)));User Id=myUsername;Password=myPassword;");
    string strSQL = "... SQL statement...";
              int nPersonId = 0;
              string strFirstName = null;
              Person oPerson = null;
              string strSQL = "SELECT Id FROM PERSON";
              oCmd = oConn.CreateCommand();
              oCmd.CommandText = strSQL;
              oCmd.CommandType = System.Data.CommandType.Text;
              IDataReader oRdr = oCmd.ExecuteReader();
              while (oRdr.Read())
                   if (!Convert.IsDBNull(oRdr["Id"]))
                        nPersonId = (int) oRdr["Id"];
                   if (!Convert.IsDBNull(oRdr["FirstName"]))
                        strFirstName = (string)oRdr["FirstName"];
                   oPerson.Id = nPersonId;
                   oPerson.FirstName = strFirstName;
    Example CREATE TABLE:
              DECLARE
              count_item int;
              BEGIN
                   SELECT count(1) into count_item FROM user_sequences WHERE sequence_name = 'AUDITLOGSEQUENCE';
                   IF count_item > 0 THEN
                        begin
                        dbms_output.put_line('drop sequence AUDITLOGSEQUENCE');
                        EXECUTE IMMEDIATE ('DROP SEQUENCE AUDITLOGSEQUENCE');
                        end;
                   ELSE
                        dbms_output.put_line('no need to drop AUDITLOGSEQUENCE');
                   END IF;
                   EXECUTE IMMEDIATE 'CREATE SEQUENCE AUDITLOGSEQUENCE
                        MINVALUE 1
                        MAXVALUE 999999999999999999999999999
                        START WITH 1
                        INCREMENT BY 1
                        CACHE 20';
                   dbms_output.put_line('AUDITLOGSEQUENCE created');
                   SELECT count(1) into count_item FROM user_tables WHERE table_name = 'LOG';
                   IF count_item > 0 THEN
                        begin
                        dbms_output.put_line('drop table LOG');
                        EXECUTE IMMEDIATE ('DROP TABLE LOG');
                        end;
                   ELSE
                        dbms_output.put_line('no need to drop table LOG');
                   END IF;
                   EXECUTE IMMEDIATE '
                        CREATE TABLE LOG (
                             Id numeric(19,0) NOT NULL,
                             CreateDate timestamp default sysdate NOT NULL,
                             Thread varchar (510) NULL,
                             LogLevel varchar (100) NULL,
                             Logger varchar (510) NULL,
                             Message varchar (4000) NULL,
                             InnerException varchar (4000) NULL,
                             CONSTRAINT PK_LOG PRIMARY KEY (Id)
                   COMMIT;
                   dbms_output.put_line('table LOG created');
                   dbms_output.put_line('setup complete');
              EXCEPTION
                   WHEN OTHERS THEN
                        dbms_output.put_line('*** setup exception detected! ***');
                        dbms_output.put_line('error code: ' || sqlcode);
                        dbms_output.put_line('stack trace: ' || dbms_utility.format_error_backtrace);
                        RAISE_APPLICATION_ERROR(-20000, 'AuditTrail.oracle.tables.sql - install failed');
              END;
         Before running script, make sure your account has permission (unless you're using SYS account of course). You'd probably need to know how to create user and granther right:
              CREATE USER dev IDENTIFIED BY "devacc_@";
              GRANT CREATE SESSION TO DEV;
              GRANT DBA TO DEV;
         Here's how you can run PL\SQL scripts in Oracle
         SQL*Plus: Release 10.2.0.1.0 - Production on Mon Apr 6 14:10:05 2009
              Copyright (c) 1982, 2005, Oracle. All rights reserved.
              SQL> connect devvvy/"somepwd"
              Connected.
              SQL> set serveroutput on
              SQL> @C:\dev\UnitTest\Util\Command\sql\Oracle\SetupSchema\xxxxx.oracle.tables.sql
              1125 /
              SQL> @C:\dev\Util\Command\sql\Oracle\SetupSchema\xxxxx.oracle.tables.data.only.sql
              560 /
              PL/SQL procedure successfully completed.
              SQL> @C:\dev\Util\Command\sql\Oracle\SetupSchema\AuditTrail.oracle.tables.sql
              54 /
              PL/SQL procedure successfully completed.
              SQL> COMMIT;
         Remeber however:
              (a) SQL*Plus does not like "&" in your SQL script. Do comment or string containing "&" should be taken out.
              (b) password should not contain "@" because it's a special character in "CONNECT" command.
                   Alternative, download TOAD for Oracle - http://www.toadsoft.com/toad_oracle.htm
              (c) After command, type "/" next line to get command executed.
              (d) remember to COMMIT
    REF for Oracle:
         Oracle Official doc: http://www.oracle.com/pls/db111/portal.portal_db?selected=1&frame=
         Oracle 11g configuration Guide: http://www.thegeekstuff.com/2008/10/oracle-11g-step-by-step-installation-guide-with-screenshots/
         ODAC/ODP.NET QuickStart: http://www.installationwiki.org/ODP.NET_Getting_Started_Guide
         ODP.NET versioning scheme: http://download.oracle.com/docs/html/E10927_01/InstallVersioningScheme.htm
         SQLPlus basic: http://download.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25108/xedev_sqlplus.htm#CJAGGHGE
         PL\SQL:
              Cheat sheet: http://en.wikibooks.org/wiki/Oracle_Programming/SQL_Cheatsheet
              Reference:
                   http://www.rocket99.com/techref/oracle_plsql.html
                   http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14261/toc.htm
              EXECUTE IMMEDIATE, DROP/CREATE TABLE: http://www.java2s.com/Code/Oracle/PL-SQL/Callexecuteimmediatetodroptablecreatetableandinsertdata.htm
              Exception handling: http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/07_errs.htm
              Named Block syntax: http://www.java2s.com/Tutorial/Oracle/0440__PL-SQL-Statements/Thestructureofanamedblock.htm
              CREATE PROCEDURE: http://it.toolbox.com/blogs/oracle-guide/learn-plsql-procedures-and-functions-13030
         Oracle DataType: http://www.ss64.com/orasyntax/datatypes.html
                             http://www.adp-gmbh.ch/ora/misc/datatypes/index.html
         Oracle Sequence and Create table: http://www.java2s.com/Tutorial/Oracle/0100__Sequences/Usingasequencetopopulateatablescolumn.htm

  • BPM Studio-Issue with Creating External Resources - Oracle Database RAC

    Hi All,
    This must be an easy fix and hope you guys have an answer to it. I was having no issues connecting to a single instance database as the parameter Host = "xxx.111.200.10" for a SQL Database Oracle 10,11 driver is pointing to a single instance and the SID = "yyyyy". TNS Name entry is as below...
    xyz =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.111.200.10)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = yyyyy)
    However we have upgrade our oracle database and it is in a RAC with load balancing hence the TNS Name entry looks like this.
    xyz =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abcdh-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = abcdi-vip)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = yyyy.abcd.com)
    Any combination using "xyz", "abcdh-vip" , "abcdi-vip" etc is erroring and I am getting the following error:
    [BEA][Oracle JDBC Driver]Error establishing socket. Unknown host: abcdh-vip
    java.sql.SQLException: [BEA][Oracle JDBC Driver]Error establishing socket. Unknown host: abcdh-vip
         at albpm.jdbc.base.BaseExceptions.createException(Unknown Source)
         at albpm.jdbc.base.BaseExceptions.getException(Unknown Source)
         at albpm.jdbc.oracle.OracleImplConnection.makeConnectionHelper(Unknown Source)
         at albpm.jdbc.oracle.OracleImplConnection.makeConnection(Unknown Source)
         at albpm.jdbc.oracle.OracleImplConnection.connectAndAuthenticate(Unknown Source)
         at albpm.jdbc.oracle.OracleImplConnection.open(Unknown Source)
         at albpm.jdbc.base.BaseConnection.connect(Unknown Source)
         at albpm.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)
         at albpm.jdbc.base.BaseConnection.open(Unknown Source)
         at albpm.jdbc.base.BaseDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.connector.impl.DriverManagerHack.getConnection(DriverManagerHack.java:49)
         at fuego.connector.impl.BaseJDBCConnector.createJDBConnection(BaseJDBCConnector.java:205)
         at fuego.jdbc.FaultTolerantConnection.createConnection(FaultTolerantConnection.java:917)
         at fuego.jdbc.FaultTolerantConnection.getConnection(FaultTolerantConnection.java:871)
         at fuego.jdbc.FaultTolerantConnection.getMetaData(FaultTolerantConnection.java:163)
         at fuego.sqlintrospector.BrowserPanel.populateTree(BrowserPanel.java:220)
         at fuego.ui.wizards.ui.CheckTreeBrowser$1.construct(CheckTreeBrowser.java:63)
         at fuego.ui.SwingWorker$2.run(SwingWorker.java:39)
         at java.lang.Thread.run(Unknown Source)
    Any help would be highly appreciated.
    Regards,

    Hi,
    Sure you've probably tried this but here goes...
    Use the Oracle Driver that comes with Oracle BPM to integrate with RAC.
    To integrate to Oracle RAC, you're typically given something like this by the DBA.
    jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = atwood-vip.int.westgroup.com)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = kenwood-vip.int.westgroup.com)(PORT = 1521)) ) (CONNECT_DATA = (Service_name = bpms_pot_dev.int.westgroup.com) (SERVER = DEDICATED) ) )
    When defining the External Resource for Oracle RAC check the “Advanced” checkbox (not the tab) and insert this text into the “Database” field:
    //atwood-vip.int.westgroup.com:1521;ServiceName=bpms_pot_dev.int.westgroup.com;LoadBalancing=true;AlternateServers=(kenwood-vip.int.westgroup.com:1521)
    Hope this helps,
    Dan

  • Error while using TXDataSource with Weblogic 6.1 & Oracle 8.1.6

    Hi,
    I am using Weblogic 6.1 and Oracle 8.1.6.
    I have configured JDBC XA Connection Pool with Oracle thin driver. These are my settings...
    Connection Pool:
    Name - myXAPool
    URL - jdbc:oracle:thin:@myServer:1521:myDb
    DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
    TXDataSource:
    Name - myXADS
    JNDIName - myXADS
    PoolName - myXAPool
    I get the following error when I try to lookup the datasource. I am not sure where the problem is as I have configured Connection Pool and TXDataSource as mentioned in the documentation.
    java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has occured in the transaction branch start() failed on resource 'myXAPool' Unexpected error during start for XAResource 'myXAPool': null
    It would be really great if you can help me out.
    Thanks in Advance,
    Sudhir.

    Hi Sudhir,
    If you do not know if upgrade or not, have a look here :
    http://e-docs.bea.com/wls/docs61/notes/bugfixes2.html
    Note that at the end of June SP3 will be released...
    Sergi
    "Sudhir Babu" <[email protected]> wrote:
    >
    Hi Sergi,
    Thanks a lot for the class file, I figured out what the problem was. Actually
    the
    database version I was working with was 8.0.6.0. The Oracle driver doesn't
    work with
    this but the JDriver worked. This is the output of running CheckDriver..
    DatabaseProductName : Oracle
    DatabaseProductVersion : Oracle8 Enterprise Edition Release 8.0.6.0.0 -
    Production
    With the Partitioning and Objects options
    PL/SQL Release 8.0.6.0.0 - Production
    DriverName : Oracle JDBC driver
    DriverVersion : 8.1.7.1.0
    Then I tried on using the Oracle Driver on another instance which has the
    version
    8.1.7.1.0 and it worked. The JDriver and Oracle driver both work with this
    database.
    The output of CheckDriver for this Oracle instance is..
    DatabaseProductName : Oracle
    DatabaseProductVersion : Oracle8i Enterprise Edition Release 8.1.7.1.0 -
    Production
    With the Partitioning option
    JServer Release 8.1.7.1.0 - Production
    DriverName : Oracle JDBC driver
    DriverVersion : 8.1.7.0.0
    By the way I am working on WLS 6.1 SP1. What is the advantage of SP2 ? Should
    I upgrade
    Thanks once again,
    Sudhir.
    "Sergi Vaz" <[email protected]> wrote:
    Hi Sudhir ,
    JDriver works well, you can work with it.
    Just for curiosity, can you run the class I attached using the "exact"classpath
    of your WL instance (with Oracle drivers in front of weblogic.jar) ? What
    is the
    output ?
    On which platform are you running your WLSP2 ?
    Thanks
    Sergi
    "Sudhir Babu" <[email protected]> wrote:
    Hi Sergi,
    I just checked the things you mentioned. The connection pool starts correctly
    without
    any errors. I also made sure SELECT previlege was granted to DBA_PENDING_TRANSACTIONS.
    I do have the JAVA_XA package installed and it has EXECUTE permission
    to
    PUBLIC.
    I actually tried using the Weblogic JDriver (weblogic.jdbc.oci.xa.XADataSource)
    and
    it works perfect without any issue. The only consideration is that itis
    a Type 2
    Driver and needs to have the Oracle Client installed. But right now Ido
    have it
    installed on the same machine.
    Do you know any known issues with Weblogic JDriver. Do you think it'sa
    good idea
    to go with it ?
    Thanks,
    Sudhir.
    "Sergi Vaz" <[email protected]> wrote:
    Hi Sudhir,
    does your connection pool start correctly ?
    Check the setup of your Oracle server too:
    1) grant select on DBA_PENDING_TRANSACTIONS table to PUBLIC
    2) package JAVA_XA installed (with grant execute to PUBLIC)
    Sergi
    "Sudhir Babu" <[email protected]> wrote:
    Hi Sergi,
    Thanks for the response. I downloaded the driver for 8.1.7 from Oraclesite
    and put
    it in classpath in front of weblogic.jar. I still get the same problem.
    Is there
    another location where we can download the Oracle driver with the bug
    fixed
    Regards, Sudhir.
    "Sergi Vaz" <[email protected]> wrote:
    Hi Sudhir,
    I think you are using Oracle JDBC drivers 8.1.6.
    They have a bug, they do not accept a foreign XID.
    Use 8.1.7 or higher to solve this problem.
    Sergi
    Sudhir Babu <[email protected]> wrote:
    Hi,
    I am using Weblogic 6.1 and Oracle 8.1.6.
    I have configured JDBC XA Connection Pool with Oracle thin driver.
    These
    are my settings...
    Connection Pool:
    Name - myXAPool
    URL - jdbc:oracle:thin:@myServer:1521:myDb
    DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
    TXDataSource:
    Name - myXADS
    JNDIName - myXADS
    PoolName - myXAPool
    I get the following error when I try to lookup the datasource. I amnot
    sure where the problem is as I have configured Connection Pool and
    TXDataSource
    as mentioned in the documentation.
    java.sql.SQLException: XA error: XAER_RMERR : A resource manager errorhas
    occured in the transaction branch start() failed on resource 'myXAPool'
    Unexpected error during start for XAResource 'myXAPool': null
    It would be really great if you can help me out.
    Thanks in Advance,
    Sudhir.

  • Can I use JDeveloper 10.1.2 in Oracle database 9.2.0.6?????

    Hi everyone. I have a web service client stub developed in JDeveloper 10.1.2. The service works well in Oracle 10g R1 (10.1.0.2.0) and Oracle 10g R2 (10.2.0.1.0). Im trying to get it working also in Oracle 9.2.0.6.
    It has installed java version "1.2.2.15", which compare to the others I think it's pretty old. (other have java 1.4)
    My question is, deploying the same client stub generated for the other databases will work? What JDeveloper version is the right one to use? I've been trying with JDeveloper 9.0.4.0 but I haven't been able to find some of the jar files it asks.
    Thanks for everything,
    JP

    Satya (guest) wrote:
    : Hi,
    : Release notes of Jdeveloper2.0 says it supports JDK switching
    : from Default/internal 1.1.6 to 1.0.2 etc. My question is, can I
    : switch it to the latest version 1.2.x
    : Thanks and Regards,
    : Satya
    Yes, JDeveloper 2.0 will support JDK Switching.
    To currently use the latest JFC, you must include the latest
    JFC library into JDeveloper. Also, some components may not
    show up appropriately in the desiger.
    All these issues will be fixed before the official release.
    null

  • Unable to work with ODAC, VS2008 and Oracle Database 10g XE

    I have downloaded and installed ODAC 11.1.0.6.21. I have followed the instructions in the 2 Day + .Net Developer's Guide (Chapter 3 - Building a Simple .NET Application Using ODP.NET) until I got to adding reference: when I added the Oracle.DataAccess 2.111.6.20, I observed that the new Refererence did not appear in Solution Explorer as described in the Guide.
    However I continued with the steps until I got to the testing phase, ran the form and entered Hr for User Id, Hr for Password and XE for data Source as I am running Oracle 10g XE. I got this error with every attempt: ORA-12154: TNS:could not resolve the connect identifier specified.
    From Server Explorer however, I can connect and see Schema Objects but when I right click Packages for eg, to create a procedure that uses a Ref Cursor I see only Refresh and Properties in the corresponding context menu, no New Package link!
    What could be the cause of all these?
    1. Is XE my correct Data Source?
    2. Why is the new Reference not visible in my solution explorer?
    3. Is my VS2008 or ODAC not configured/Installed Correctly?

    The tnsnames.ora file seem to be auto configured. However I tried updating it with Notepad when I changed my computer name to no avail. I had to revert back to my old computer name.
    This is the content of my tnsnames.ora:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = obinna)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Please if there is any clause that need to be changed point it out for me.
    Thanks for your reply.

  • A Problem with accessing to a Oracle Database

    When i try to obtain data from the a database in an Oracle Server, i cannot obtain the data fromthe server, I made the same using the example with LoanBean using the derby client, but I cannot do the same with Oracle.
    The result of this is:
    java.lang.NullPointerException
    and the code:
    if (rightName.equals(user.getText() && (rightPass.equals(pass.getText()))
    Please, help me.

    Hi Ivan,
    Are you sure that is't Oracle problem? How code you specified is related to Oracle?
    Find out which of variables is null. It cab be easily done with operators like
    info("rightName="+rightName);
    before operator you specify.
    Another way is to use debugger.
    Thanks, Misha
    (Creator team)

  • NCHAR issue with oracle database using JDBC adapter

    Hi,
    We have a requirement to develop an XI interface from FTP server(File adapter) to oracle database using JDBC adapter. In the oracle database table few fields are of type NCHAR/NVARCHAR. when we try to insert the character(A,B,c..) values into oracle table fields of type NCHAR/NVARCHAR, we are getting the following error message in the JDBC adapter audit log. IF we pass the numeric value to the same field, then we are able to insert the records successfully.
    Unable to execute statement for table or stored procedure. 'IPCSDD_DOWNLOAD_PROCESS' (Structure 'StatementName1') due to java.sql.SQLException: ORA-00904: "P": invalid identifier
    2010-10-19 22:29:59 Error JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'IPCSDD_DOWNLOAD_PROCESS' (structure 'StatementName1'): java.sql.SQLException: ORA-00904: "P": invalid identifier
    2010-10-19 22:29:59 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'IPCSDD_DOWNLOAD_PROCESS' (structure 'StatementName1'): java.sql.SQLException: ORA-00904: "P": invalid identifier
    Please find the system information below.
    Oracle version- 10.2.4
    XI version - 3.0/ service pack 19
    JDBC driver- oracle.jdbc.driver.OracleDriver
    Please suggest.
    Thanks,
    Venkata
    Edited by: Venkata Narayana  Eepuri on Oct 21, 2010 12:10 AM

    Dear Venkata Narayana,
    Concerning the error, kindly go through the following note :
    731 - Collective note: ORA-00904
    follow the recommendations mentioned in that and please check if that helps.
    Best Regards
    Nishwanth

Maybe you are looking for