While creating MViews in oracle 9i database connecting to table in an orac

Hi all,.
While creating MViews in oracle 9i database connecting to table in an oracle 11g database....
Eg : create materilized view testmview as select * from testtable@db_linkname
ORA-03113: end-of-file on communication channel
any idea
Regards,
Shiju

There would be a trace file written on the 11g database server. Please review the trace file.
Your 9.2 environment must be running 9.2.0.4 or higher. The 9.2.0.4 is the minimum patchset level required for it to be supported connecting to an 11g (11.1 or 11.2) database.
See "Client / Server / Interoperability Support Between Different Oracle Versions [ID 207303.1]" on support.oracle.com
Hemant K Chitale

Similar Messages

  • Error while creating materialized view which using database link

    Helo!
    I'm getting error "ORA-00942: table or view does not exist" when I want to create materialized view.
    Details:
    1. On destination database I create a database link:
    CREATE DATABASE LINK SDATABASE
    CONNECT TO MYUSER
    IDENTIFIED BY MYUSERPASS
    USING 'ORCL';
    => Command "SELECT * FROM TABLE1@SDATABASE" returns data normally!
    2. On source database I create MATERIALIZED VIEW LOG:
    CREATE MATERIALIZED VIEW LOG
    ON TABLE1
    WITH PRIMARY KEY
    INCLUDING NEW VALUES;
    3. Now, when I want to create MATERIALIZED VIEW on destination database:
    CREATE MATERIALIZED VIEW TABLE1
    REFRESH FAST
    START WITH SYSDATE
    NEXT SYSDATE + 1/1440
    WITH PRIMARY KEY
    AS SELECT * FROM TABLE1@SDATABASE;
    ...I get error "ORA-00942: table or view does not exist"!
    How is that possible if command "SELECT * FROM TABLE1@SDATABASE" returns data normally?
    Thanks,
    Voranc

    And, I'm using Oracle 10g.
    Voranc

  • Error while creating application on Oracle IPM

    While trying to create an application on Oracle Imaging and Process Management (IPM) the following error is encountered-
    Event generated by user 'IPM_SystemServiceUser' at host 'CIS'. Cannot create application. Unable to execute service method 'ipmConfigureApplicationProfiles'. Null pointer is dereferenced. [ Details ]
    An error has occurred. The stack trace below shows more information.
    *!csUserEventMessage,IPM_SystemServiceUser,CIS!$!csIpmCannotCreateApp!csUnableToExecMethod,ipmConfigureApplicationProfiles!syNullPointerException*
    intradoc.common.ServiceException: !csIpmCannotCreateApp!csUnableToExecMethod,ipmConfigureApplicationProfiles
    **ScriptStack IPM_CREATE_APPLICATION*
    *3:ipmConfigureApplicationProfiles,**no captured values***
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
    at intradoc.server.Service.buildServiceException(Service.java:2260)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2254)
    at intradoc.server.Service.createServiceException(Service.java:2249)
    at intradoc.server.Service.doCodeEx(Service.java:584)
    at intradoc.server.Service.doCode(Service.java:505)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:477)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
    at intradoc.server.Service.executeActions(Service.java:458)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
    at intradoc.server.Service.doRequest(Service.java:1890)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
    at oracle.imaging.intradoc.MetaDataUtils.addOptionValue(MetaDataUtils.java:123)
    at oracle.imaging.intradoc.IpmRepositoryProfileUtils.createOrUpdateApplicationProfile(IpmRepositoryProfileUtils.java:765)
    at oracle.imaging.intradoc.IpmApplicationService.ipmConfigureApplicationProfiles(IpmApplicationService.java:478)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    at intradoc.server.Service.doCodeEx(Service.java:550)
    ... 15 more
    The component IpmRepository is enabled.
    The following is the configuration used while creating the application on IPM
    Application Security -weblogic
    Document Security - Administrators (group)
    Storage policy-
    Document storage - Database AAArule (custom file storage rule)
    Supporting content storage - Database AAArule (custom file storage rule)
    No workflow configuration defined
    Have tried creating application with other security groups and filesystem storage but the error persists

    Hi,
    There seems to issues in the profiles which being created in UCM.
    Can you check the Trigger Field which has been configured for the profiles ? If the trigger field has been configured as Type, can you change it to any of the other custom defined Information fields and then create the application.
    To access the Trigger Fields navigate to the WCC web console, Administration --> Admin Applets --> Config Manager --> Profiles --> Trigger Field.
    Thanks
    Aditya

  • Programm change in Oracle ADF database connection

    Hello!
    Our company uses an application implemented in Oracle Forms. We have about 2500 users. Each user works with a database using Oracle c your login / password.
    We want to migrate to Oracle ADF. But the concept of Oracle ADF - under a single user connection.
    But the position of the database administrators - do not use OracleInternetDirectory (LDAP), does not create users in WebLogic. :(
    In our company, users are created in the database Oracle. Users are database role.
    Our idea is to send in an application ADF user name and password. Safety is solved at the database level.
    Can I do this:
    1. When the application starts to change the ADF database connection to a user username / password?
    2. Can there be problems in the future?
    3. Are there any examples?
    Please help
    Vasily (sorry for bad english)/
    Edited by: user10711272 on 16-Jan-2012 08:43

    Hi,
    You can create a custom authentication provider in WLS that uses a JAAS Login Module that attempts to connect to the database for authentication pupose. The application itself would run with a JDBC Data Source, so that you only use the database account to authenticate the user and get his/her database roles as authorization groups. I have a sample for this on my to-do list but so far hadn't the time to get to it. So yes, you don't need OID or LDAp to manage users but could keep going using the database
    Frank

  • Creating new Data Source Error - Database connection Failed

    Successfully installed and configured 11.1.1.3.0. Planning and Essbase dev.
    Went to Workspace > Administer > Classing Planning Administration > Manage Data Sources > Create Data Source.
    Entered all info about the application database , etc. Getting error "The database connection failed" (I was able to connect with no problem during the install)
    SQL server 2005 is on the same physical server.
    The diagnostic tool shows database connection passed for planning. A new database was created for the new application.
    The server event viewer shows these errors.
    "Login failed for user 'xxx-hyperion'. The user is not associated with a trusted SQL Server connection."
    Group Policy Error "The client-side extension could not apply computer policy settings for 'Default Domain Policy {xxx}' because it failed with error code '0x80070003 The system cannot find the path specified.' See trace file for more details. "
    The Group Policy client-side extension Group Policy Services failed to execute. Please look for any errors reported earlier by that extension.
    Any help is appreciated.

    Datasource for the application.
    I have created a sql db for this planning application (my datasource). See my first message for more details.
    When you create a new planning application, you need to associate it with a data source. Since this is a new install, I don't have any data sources available yet.
    So, "To create, edit or delete data sources, click Manage Data Source."
    This page lets you validate your connection to the database and essbase server. My essbase server connection validates! The database connection does not validate after I enter all the relevant information.
    SCREEN INFO BELOW
    Fields displayed with an asterisk (*) are mandatory.
    Data Source Name *:
    Data Source Description:
    Select Database Platform
    Microsoft SQL Server
    Application Database
    Server * :
    Port * :
    Database *:
    User *:
    Password *:
    Click "Validate Database Connection"
    ERROR ---> Database connection failed.
    So it does not let me create a data source for my new planning application, so I cannot create a new planning application.
    Thanks in advance.

  • Error in Oracle Lite Database connection

    Hi,
    I have installed the Oracle Application server 10.1.3.1.0 on my laptop (basic installation).
    I tried to define a database connection in the JDeveloper connection navigator to the Oracle lite database. When I test the connection I got an error:
    "Internal Error:Invalid Connect String".
    I have defined in the connection tab of the Edit database connection in the following way:
    Driver class: oracle.lite.poljdbc.POLJDBCDriver
    Library: OLite
    Classpath: C:\product\10.1.3.1\OracleAS_1\bpel\lib\olite40.jar
    URL: jdbc:polite4@localhost:100:orabpel
    Could anyone tell me which user and password I should define for the oracle lite database which is delivered with Oracle Application server 10.1.3.1.0?

    Hi,
    Did you start the SOA suite on your workstation?
    If so, can you reach the BPEL Console
    if so, check via Enterprise Manager the connect string in the OC4J instance of BPEL (oc4j_soa -> administartion -> JDBC > conenctions, or data-sources.xml)
    Copy the connect string into your OLite config if it works

  • Regarding  working with oracle spatial database connections

    sir/madem,
    i am an engg student, my final year project on inserting data into oracle spatial database through java /jsp , i am working with oracle spatial database 10g/11g,
    i want know how to insert/retrive/ manuplute the spatial data into oracle spatial databse for 10g/11g, through java programing,
    the syntax for connection of oracle spatial database 10g/11g, needed,
    i have less time to finish my project
    i hope u  help me
    thank u
    kasim
    ([[email protected]|mailto:[email protected]])

    For database access from Java, you will use JDBC.
    For the specifics of the oracle spatial database, you'll have to check the documentation/forum of Oracle.
    * [How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html]
    * [JDBC Tutorial|http://java.sun.com/docs/books/tutorial/jdbc/index.html]

  • Problem while creating a new Data element in a new table?

    Hello Everyone,
    I have downloaded Netweaver 7.1 trail version from internet and while creating a data element through the data dictionary: i got this input box:
    Register Object
    SAP Release 701
    Access key needed?
    Installation DEMOSYSTEM
    What could an access key be here in this demo version?
    please help experts. thanks for writing back.
    Cheers
    lastw0nd3r
    P.S:
    I tried this access key already which was in devaccess table
    29671482393151224771  but it didn't worked.
    Edited by: lastw0nd3r on Jun 8, 2010 5:30 PM

    in processformrequest() i wrote this:
    if ((tableBean.getName().equals(pageContext.getParameter(SOURCE_PARAM)))
    &&(ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM))))
    am.invokeMethod("createRecordInv") ;
    in Amimpl.java
    i wrote
    public void createRecordInv()
    try
    OAViewObject vo = getARTransactionLineVO1();
    if (!vo.isPreparedForExecution())
    {   vo.executeQuery();     }
    if (vo != null)
    vo.setMaxFetchSize(0);
    ARTransactionLineVORowImpl row1 = ( ARTransactionLineVORowImpl)vo.createRow();
    if (vo.getFetchedRowCount() == 0)
    {vo.insertRow(row1); }
    else
    { vo.insertRowAtRangeIndex(vo.getFetchedRowCount(),row1); }
    row1.setNewRowState(row1.STATUS_INITIALIZED);
    catch(Exception ex)
    { ex.getMessage();  }
    i am getting error
    oracle.apps.fnd.framework.OAException: java.lang.ClassCastException

  • Got an error while creating bind variables using sql database.

    iam going to use sql database for ADF-BC .
    i created the bind variable and apply the bind position for the corresponding variable in the view object editor.when i click test it shows me "query is valid". when i tried to run that it gives me two errors.
    1) sql error during statement preparation.(ie) select empid ,empname......from the emptable where empid like :'emp' and
    2) [Microsoft][SQl server  2000 driver  for jDBC] invalid parameter bindings
    i need help to know the solution for this...(or) is there any other way to create bind variable ......

    The 3 binding styles supported by JDev:
    Oracle Named - ie. SELECT xxxx FROM xxxx WHERE emp_id = :vEmp (note colon and variable name)
    Oracle Positional - ie SELECT xxxx FROM xxxx WHERE emp_id = :1 (note colon)
    JDBC Positional - ie SELECT xxxx FROM xxxx WHERE emp_id = ?
    Literally this query is sent to the database to execute, then the bind variables values are applied as a separate database operation. If SQL Server doesn't suport any of these binding styles, it's not going to work. As Chris Noonan suggests, try the JDBC Positional style though as you're using a JDBC driver to connect to SQL Server and it should support that style (the others are Oracle styles), and make sure you've switched the binding style on the VO query page to "JDBC Positional" too.
    You must also on the VO bind variable page define your bind variables.
    Also read the 10.1.3 JDev guide on ADF Business Components and View Object bind variables.
    CM.

  • Oracle 11g database Connection & Response are very slow

    I have an ORACLE 11g R2 on lRed Hat Enterprise Linux Server release 5.3 (Tikanga).
    initially it was working fine.
    Now a days while attempting to connect into the database from network using @service_name
    it takes a lot of time to establish the connection and even it gets connected the query response time is very high.
    on the other hand if I connect from the native database machine's terminal without @service_name it works fine & the response time is convincing. But even from the native database machine's terminal with @service_name it is giving me the same pain.
    can any body help me how to fix this.
    Thanks in advance..
    Arkesh

    thanks for the reply & Query
    Alert Log entry do look like this
    ORACLE_BASE from environment = /u01/app/oracle
    Thu Apr 22 07:29:10 2010
    ALTER DATABASE MOUNT
    Successful mount of redo thread 1, with mount id 4283520006
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: ALTER DATABASE MOUNT
    Thu Apr 22 07:29:15 2010
    ALTER DATABASE OPEN
    Beginning crash recovery of 1 threads
    parallel recovery started with 7 processes
    Started redo scan
    Completed redo scan
    read 15 KB redo, 23 data blocks need recovery
    Started redo application at
    Thread 1: logseq 449, block 8217
    Recovery of Online Redo Log: Thread 1 Group 2 Seq 449 Reading mem 0
    Mem# 0: /u01/app/oracle/oradata/ultimus/redo02.log
    Completed redo application of 0.01MB
    Completed crash recovery at
    Thread 1: logseq 449, block 8248, scn 10502937
    23 data blocks read, 23 data blocks written, 15 redo k-bytes read
    Thread 1 advanced to log sequence 450 (thread open)
    Thread 1 opened at log sequence 450
    Current log# 3 seq# 450 mem# 0: /u01/app/oracle/oradata/ultimus/redo03.log
    Successful open of redo thread 1
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    SMON: enabling cache recovery
    Successfully onlined Undo Tablespace 2.
    Verifying file header compatibility for 11g tablespace encryption..
    Verifying 11g file header compatibility for tablespace encryption completed
    SMON: enabling tx recovery
    Database Characterset is WE8MSWIN1252
    No Resource Manager plan active
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    Thu Apr 22 07:29:18 2010
    QMNC started with pid=27, OS id=3611
    Completed: ALTER DATABASE OPEN
    Thu Apr 22 07:29:20 2010
    db_recovery_file_dest_size of 10240 MB is 0.00% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Thu Apr 22 07:29:20 2010
    Starting background process CJQ0
    Thu Apr 22 07:29:20 2010
    CJQ0 started with pid=28, OS id=3817
    Thu Apr 22 07:34:18 2010
    Starting background process SMCO
    Thu Apr 22 07:34:18 2010
    SMCO started with pid=19, OS id=3861
    Thu Apr 22 07:59:23 2010
    Thread 1 advanced to log sequence 451 (LGWR switch)
    Current log# 1 seq# 451 mem# 0: /u01/app/oracle/oradata/ultimus/redo01.log
    Thu Apr 22 10:09:23 2010
    DM00 started with pid=34, OS id=6272, job ULTIMUS.SYS_EXPORT_SCHEMA_01
    Thu Apr 22 10:09:25 2010
    DW00 started with pid=35, OS id=6274, wid=1, job ULTIMUS.SYS_EXPORT_SCHEMA_01
    Thu Apr 22 10:11:20 2010
    Thread 1 cannot allocate new log, sequence 452
    Private strand flush not complete
    Current log# 1 seq# 451 mem# 0: /u01/app/oracle/oradata/ultimus/redo01.log
    Thread 1 advanced to log sequence 452 (LGWR switch)
    Current log# 2 seq# 452 mem# 0: /u01/app/oracle/oradata/ultimus/redo02.log
    Thu Apr 22 10:13:28 2010
    DM00 started with pid=45, OS id=6395, job ULTIMUSISL.SYS_EXPORT_SCHEMA_01
    Thu Apr 22 10:13:29 2010
    DW00 started with pid=46, OS id=6397, wid=1, job ULTIMUSISL.SYS_EXPORT_SCHEMA_01
    Thu Apr 22 10:14:29 2010
    Thread 1 cannot allocate new log, sequence 453
    Private strand flush not complete
    Current log# 2 seq# 452 mem# 0: /u01/app/oracle/oradata/ultimus/redo02.log
    Thread 1 advanced to log sequence 453 (LGWR switch)
    Current log# 3 seq# 453 mem# 0: /u01/app/oracle/oradata/ultimus/redo03.log
    Thu Apr 22 10:15:40 2010
    DM00 started with pid=43, OS id=6432, job IULTIMUS.SYS_EXPORT_SCHEMA_01
    Thu Apr 22 10:15:41 2010
    DW00 started with pid=45, OS id=6434, wid=1, job IULTIMUS.SYS_EXPORT_SCHEMA_01
    Thu Apr 22 10:16:38 2010
    DM00 started with pid=45, OS id=6450, job ULTIMUSEXT.SYS_EXPORT_SCHEMA_01
    Thu Apr 22 10:16:38 2010
    DW00 started with pid=46, OS id=6452, wid=1, job ULTIMUSEXT.SYS_EXPORT_SCHEMA_01
    Thu Apr 22 10:26:18 2010
    Fatal NI connect error 12537, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
    Time: 22-APR-2010 10:26:18
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12537
    TNS-12537: TNS:connection closed
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    opiodr aborting process unknown ospid (6587) as a result of ORA-609

  • Oracle 8i Database Connection Error

    Hello
    I have installed Oracle8i Enterprise on WinNT
    4.0.However I am unable to connect to the
    database thru' SQLPlus and I am getting the above error "TNS COULD NOT RESOLVE SERVICE NAME".I also checked the same thru' Net8i
    assistant and tried testing of connection to database which has been created under my name
    "Sumit" .I am therefore unable to connect to the database and getting similar errors ORA-12541 and sometimes ORA-01034.Please help me out.The login user name I am using is "scott"
    password "tiger" and hoststring is "Sumit".
    Thanks

    Dear Sudip,
    Thanks a lot for responding to my message ..I had lost hope of
    receiving a response.Sudip,I tried connecting throu' Net8 configuration
    as "SYSTEM" and password "MANAGER" but couldnt connect thro'.Although
    I must mention that I could log on to SQLPLUS as INTERNAL/ORACLE after
    which I gave the STARTUP command .The Oracle instance got started
    however it also gave me an error ORA-00205 "error in identifying
    controlfile, check alert log for more info".Now I tried to create a
    SCOTT/TIGER schema but the script does not run and I get the following
    error
    SP2-0310: unable to open file "OraHome81\RDBMS\ADMIN\SCOTT.SQL"
    and the same with "Sumit\RDBMS\ADMIN\SCOTT.SQL" .I am neither able to
    create a table as it gives "database not open error" .
    Sudip there is another aspect which I would like to bring to your
    attention .It is that in the Control panel,when I click the server icon
    it gives me "not enough server memory to process this command".
    Also when I click the Services icon and try to start the
    OraHome81Management server it gives me "the system could not find the
    environment option that was entered" and is unable to start and with
    the OraHome81TNSListener it gives me "the process terminated
    unexpectedly " error and is unable to start either.
    Now I wonder where the problem could lie !.Could it be with the OS
    --WinNt and if so what could be the way to rectify it.Please help if
    you can or alternatively if you know about any other forum where this
    problem can be addressed..Thanks again..REGARDS
    Sumit

  • Error While reading CLOB from Oracle using WebLogic Connection Pool, Works fine with out using pool

    PROBLEM DESCRIPTION :
         When I try to read a clob from Oracle, I receive "ORA-03120: two-task
    conversion routine: integer overflow" Error.
         This error occurs only for CLOB Type and only if I try to connect to
    Oracle using WebLogic JDriver/Oracle POOL.
         IMPORTANT NOTE: I can read CLOB or any other data using direct JDBC
    connection to ORacle with out any problem.
         Below Please find the JAVA CODE for Both Working and NON Working .
    Created a Connection Pool as:
    Name: MyJDBCConnectionPool
    URL : jdbc:weblogic:oracle
    DIRVER:weblogic.jdbc.oci.Driver
    NON WORKING JAVA CODE (USES WEBLOGIC JDBC CONNECTION POOL TO ORACLE):
    Driver myDriver =
    (Driver)Class.forName("weblogic.jdbc.pool.Driver").newInstance();
    Connection mconn =
    myDriver.connect("jdbc:weblogic:pool:MyJDBCConnectionPool",null);
    mconn.setAutoCommit (false);
    CallableStatement cs = mconn.prepareCall("{call
    P_XMLTEST2(?)}"); //This returns a CLOB
    cs.registerOutParameter(1,java.sql.Types.CLOB);
    cs.execute();
    Clob clob = null;
    clob = cs.getClob(1);
    String data =new String();
    data = clob.getSubString(1, (int)clob.length());
    System.out.println(data); //print the data
    data = null;
    clob=null;
    cs.close();
    WORKING JAVA CODE (USES DIRECT THIN JDBC CONNECTION TO ORACLE):
    Driver myDriver =
    (Driver)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    Connection mconn =
    myDriver.connect("jdbc:oracle:thin:@server:1521:DB",null);
    mconn.setAutoCommit (false);
    CallableStatement cs = mconn.prepareCall("{call
    P_XMLTEST2(?)}"); //This returns a CLOB
    cs.registerOutParameter(1,java.sql.Types.CLOB);
    cs.execute();
    Clob clob = null;
    clob = cs.getClob(1);
    String data =new String();
    data = clob.getSubString(1, (int)clob.length());
    System.out.println(data); //print the data
    data = null;
    clob=null;
    cs.close();
    ERROR MESSAGE:
         ORA-03120: two-task conversion routine: integer overflow
    I appreciate your help on this problem.

    PROBLEM DESCRIPTION :
         When I try to read a clob from Oracle, I receive "ORA-03120: two-task
    conversion routine: integer overflow" Error.
         This error occurs only for CLOB Type and only if I try to connect to
    Oracle using WebLogic JDriver/Oracle POOL.
         IMPORTANT NOTE: I can read CLOB or any other data using direct JDBC
    connection to ORacle with out any problem.
         Below Please find the JAVA CODE for Both Working and NON Working .
    Created a Connection Pool as:
    Name: MyJDBCConnectionPool
    URL : jdbc:weblogic:oracle
    DIRVER:weblogic.jdbc.oci.Driver
    NON WORKING JAVA CODE (USES WEBLOGIC JDBC CONNECTION POOL TO ORACLE):
    Driver myDriver =
    (Driver)Class.forName("weblogic.jdbc.pool.Driver").newInstance();
    Connection mconn =
    myDriver.connect("jdbc:weblogic:pool:MyJDBCConnectionPool",null);
    mconn.setAutoCommit (false);
    CallableStatement cs = mconn.prepareCall("{call
    P_XMLTEST2(?)}"); //This returns a CLOB
    cs.registerOutParameter(1,java.sql.Types.CLOB);
    cs.execute();
    Clob clob = null;
    clob = cs.getClob(1);
    String data =new String();
    data = clob.getSubString(1, (int)clob.length());
    System.out.println(data); //print the data
    data = null;
    clob=null;
    cs.close();
    WORKING JAVA CODE (USES DIRECT THIN JDBC CONNECTION TO ORACLE):
    Driver myDriver =
    (Driver)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    Connection mconn =
    myDriver.connect("jdbc:oracle:thin:@server:1521:DB",null);
    mconn.setAutoCommit (false);
    CallableStatement cs = mconn.prepareCall("{call
    P_XMLTEST2(?)}"); //This returns a CLOB
    cs.registerOutParameter(1,java.sql.Types.CLOB);
    cs.execute();
    Clob clob = null;
    clob = cs.getClob(1);
    String data =new String();
    data = clob.getSubString(1, (int)clob.length());
    System.out.println(data); //print the data
    data = null;
    clob=null;
    cs.close();
    ERROR MESSAGE:
         ORA-03120: two-task conversion routine: integer overflow
    I appreciate your help on this problem.

  • Oracle 11G + Database Connection taking too much Time

    Hi ,
    I am using Oracle 11G . When i try to connect to oracle database
    sqlplus system/impetus@database
    it takes too much time ( more than 1 min )
    I am not getting why this is happening ?
    Before some day it was working fine but suddenly the problem occurred.. Is this issue is related to log files generated by oracle or memory related issue ( sga and pga)..
    Any Help please ?

    Darn! /tmp/capture.log does not contain what I expected it to contain.
    So a different approach is needed.
    issue the following command:
    script /tmp/capture.log
    #now you are in a new shell & issue the next 3 lines
    strace sqlplus system/impetus@database
    exit
    Ctrl-d (Control D)
    now issue the following commands.
    ls -l /tmp/capture.log
    wc -l /tmp/capture.log
    Post the results from 2 commands above back here

  • Issue with Oracle 10g database connectivity

    Hi,
    Oracle 10g Express edition is been installed in my machine at the location C:\Oracle10g.
    When i tried to connect the same from toad it is working fine.
    Visual studio-2008 is been installed in machine at loc C:\Program files(x86)\
    Problem I am facing is unable to connect Oracle 10g from vb.net application.I am connecting usig Oracle Provider for OLE DB but the program directly coming to exception block
    with out connecting to database.
    My OS is Windows7 and I am thinking oracle 10g Express will not support completely to this OS.Please suggest me to resolve this issue and comapatable Oracle DB for the same.
    Edited by: 1909 on Apr 25, 2011 12:17 AM

    Hi,
    Try uninstalling and installing VS at the path which does not include brackets. Have a look at my thread.
    Re: Database engine setup for 10.2.0.5
    Thanks,
    Jignesh

  • Error while creating ORS V2.1.0 Database - ERROR OCIEnvNlsCreate.

    When I run the CdxDBI.exe under ORS-V2.1.0-Database\FW\Install-Upgrade, I get the following error. Any help will be appreciated.
    Couldn't connect to database Oracle DEMO system: ERROR OCIEnvNlsCreate. Check ORACLE_HOME env var, NLS settings, permissions, etc.
    Error Occured, Process being aborted ...
    Running CdxDBI.exe from Windows 7 with the Oracle Database 11g R2 client. Target Oracle Database 11g R2 Server is running in OEL 5.
    Full output below
    ==============================
    D:\ORS\MWFM\Setup\ORS-V2.1.0-Database\FW\Install-Upgrade>CdxDBI.exe
    Enter the name of the target database: DEMO
    Enter the password for the SYSTEM user account in the database:
    Enter the name of the owner of Database Schema: CISADM
    Enter the loction for Java Home(e.g. C:\Java\jdk1.6.0_18): C:\Oracle\Middleware\jdk160_24
    Enter the TUGBU jarfiles location (e.g.C:\Database-Install\Jarfiles): D:\ORS\MWFM\Setup\ORS-V2.1.0-Database\ORS\jarfiles
    Enter the password for CISADM schema (or hit ENTER to quit):
    Re-enter the password:
    Enter the Oracle user with read-write privileges to Database Schema: CISUSER
    Enter the Oracle user with read-only privileges to Database Schema: CISREAD
    Enter the database role with read-write privileges to Database Schema: CIS_USER
    Enter the database role with read-only privileges to Database Schema: CIS_READ
    Connecting to the Target Database as user system
    User Name : system
    Database Name : DEMO
    Couldn't connect to database Oracle DEMO system: ERROR OCIEnvNlsCreate. Check ORACLE_HOME env var, NLS settings, permissions, etc.
    Error Occured, Process being aborted ...
    Press Enter to Continue ...
    ==============================

    Wierd. Used Oracle XE as the database client and it worked fine.
    Not sure why it is not working with Oracle Database 11g client.
    Thanks.

Maybe you are looking for

  • Change swatches from CMYK to RGB

    Okay so I've just realised that my documents are CMYK and have changed the settings to RGB (File > Document color mode > RGB and from the colour fly out menu) although I notice that when I hover my mouse over the colors in the swatches panel that it

  • Conditions in purchase info records

    I need to migrate purchase info records including conditions in LSMW in one step via IDoc or BAPI. Message type INFREC does not seem to support conditions. I tried to migrate in two steps with INFREC and afterwards COND_A, but I get the error that th

  • How to retrieve which user-agent in a java portlet?

    Is there a way to get http user-agent info about which browser requested a page with a portlet from within the java portlet? It seems like the request.getHeader() always returns the same value no matter what browser we use. Have also tried portletRen

  • How do I get my ARD/AppleTV to work through bonjour across multiple vlans?

    I am having a heck of a time, I have 200 iMacs running 10.9 and a 10.9 server.  We also have 30 apple TVs.  These are spread over 5 distinct vlans and I am having a heck of a time getting them all to see each other.  I found some information that sta

  • VC++ 488.2 CString and Send

    Hello, thanks for all the information stored away here. It is a great help. Now, my question, I am having a horrible time trying to get VC++ 6.0, CString, 488.2, and GPIB to all work together. This works just fine: Send(GPIB0,7,"*IDN?",5L,NLend); But