Setting Oracle database location at runtime

This thread mentions a utility to generate the connection code:
Table Location Error Oracle and SqlServer
But all the links are down. Where can I get it?
(.NET 3.5, CR2008)

I've been meaning to write a KB on this and attach the app to it so it's permanent. I've attached it here. Wait about an hour before you try to download it (just takes a bit of time for the files to actually upload).
Oh, and I'll write that KB today
- Ludek

Similar Messages

  • Issue with changing database location at runtime

    I am having a similar issue to:
    Re: Issue with changing database location at runtime
    where I am using Crystal Reports 2008 SP 3 fix pack 3.3 and a OLE DB connection to a SQL 2008 R2 server. Running on a computer on the network where the report can see the original development server is fast, other computers where that server is not available are hanging 20 seconds before coming up.
    I am using the same code from the Crystal Sample app to change the connection on each table. I found that the slowness comes the first time the ReportDocument object is accessed to get the collection of database tables, before the connection info is set.
    Fix pack 3.4 was mentioned in that post.  Does fix pack 3.4 fix that issue? I don't see fix pack 3.4 on the downloads page (https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/bobj_download/main.htm)

    I just found on the reports that were having the issue there was a SQL Expression.  Per this thread:
    Re: Report load is slow after changing database servers
    There was an issue with that and the fix is not out til the end of Feb so I found a way not to use the SQL Expression and the speed is much better.
    However, your information provided led me to this post:
    Cannot Change Table Location, but Only for One Report
    And I am also experiencing an issue where the table location is not changing on one subreport and I will look into that as a possible solution.
    Thanks so much for your help.

  • Changing Changing Database Location During Runtime

    I'm using Netbeans 6.0.1. My database location ALWAYS change in place. That's why I'm planning that there would be a "Database Settings..." inside my program. But I don't know how to change the current: user, password, url settings of my program DURING RUNTIME. Here's my persistence.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
      <persistence-unit name="LibraryPU" transaction-type="RESOURCE_LOCAL">
        <provider>oracle.toplink.essentials.PersistenceProvider</provider>
        <class>desktopapplication2.Books</class>
        <properties>
          <property name="toplink.jdbc.user" value="root"/>
          <property name="toplink.jdbc.password" value="password"/>
          <property name="toplink.jdbc.url" value="jdbc:mysql://localhost:3306/Library"/>
          <property name="toplink.jdbc.driver" value="com.mysql.jdbc.Driver"/>
        </properties>
      </persistence-unit>
    </persistence>

    To solve the "why the hell would I want that stuff inside a jar file" issue, I googled a bit and found this
    style of approach in a Oracle forum. Essentially think of the persistence.xml file as an template
    that the program uses.
    I use a properties file to set all local DB configuration aspects. Load the properties at application
    startup and set then extract the required fields into a Map to create the persistent unit.
    All the "examples" I seen always use a static xml which is never what you need in the real
    world.
    Map properties = new HashMap();
    properties.put(TopLinkProperties.JDBC_URL, dbProps.getString("abc.jdbcurl") );
    properties.put(TopLinkProperties.JDBC_DRIVER, dbProps.getString("abc.jdbcdriver"));
    properties.put(TopLinkProperties.JDBC_USER, dbProps.getString("abc.user"));
    properties.put(TopLinkProperties.JDBC_PASSWORD, dbProps.getString("abc.password"));
    EntityManagerFactory emf = Persistence.createEntityManagerFactory("abcPU", properties);
    entityManager = emf.createEntityManager();
    HTH Altimes.

  • How to set database location in the crystal report X1 from the Source code.

    Dear All,
    I am using Crystal report X1 for report generation.Now I am setting the database location manually in the crystal report. How can I Set the database location from the Source code.
    Awaiting for your reply.
    Thanks in advance.
    Regards,
    Rahaneef T

    Here's a routine that also searches for subreports to set the log on info. Simply remove that aprt to set the main report logon info:
    IDatabaseTablePtr pTable;
    //get first table
    pTable = m_Report->Database->Tables->GetItem(1) ;
    long lTableCount = m_Report->Database->Tables->Count;
    for( long lTable=1; lTable<=lTableCount; lTable++ )
         pTable = m_Report->Database->Tables->GetItem(lTable);
         pTable->ConnectionProperties->DeleteAll();
         pTable->ConnectionProperties->Add("DSN", "Name of your DSN");
         pTable->ConnectionProperties->Add("Database", "Demo");
         pTable->ConnectionProperties->Add("Password", "sa");
         pTable->ConnectionProperties->Add("User ID", "1Oem2000");
    // Log on the tables of the subreports.
    long lSectionCount = m_Report->Sections->Count;
    for( long lSection=1; lSection<=lSectionCount; lSection++ )
         ISectionPtr pSection = m_Report->Sections->Item[lSection];
         long lSubreportCount = pSection->ReportObjects->Count;
         for( long lSubreport=1; lSubreport<=lSubreportCount; lSubreport++ )
              IReportObjectPtr pSubreportObject = pSection->ReportObjects->Item[lSubreport];
              CRObjectKind crObjectKind;
              pSubreportObject->get_Kind(&crObjectKind);
              if( crObjectKind == crSubreportObject )
                   ISubreportObjectPtr SubReportPtr = pSubreportObject;
                   IReportPtr pSubReport = SubReportPtr->OpenSubreport();
                   long lTableCount = pSubReport->Database->Tables->Count;
                   for( long lTable=1; lTable<=lTableCount; lTable++ )
                        pTable = m_Report->Database->Tables->GetItem(lTable);
                        pTable->ConnectionProperties->DeleteAll();
                        //pTable->ConnectionProperties->Add("DSN", "dwcb12003");
                        pTable->ConnectionProperties->Add("Database", "CrystalEport_DB");
                        pTable->ConnectionProperties->Add("Password", "sa");
                        pTable->ConnectionProperties->Add("User ID", "1Oem2000");
    If that doesn't work you need to tell us what is the error you are getting and paste in the code you are using.

  • Unable to start oracle database

    Hi,
    [oracle@proddb5 ~]$ export NLS_LANG=american_america.utf8
    [oracle@proddb5 ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Sep 22 13:59:56 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12705: Cannot access NLS data files or invalid environment specified
    Enter user-name:
    [oracle@proddb5 ~]$ unset NLS_LANG
    [oracle@proddb5 ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Sep 22 14:00:16 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> startup
    ORACLE instance started.
    Total System Global Area 285212672 bytes
    Fixed Size 2020224 bytes
    Variable Size 121638016 bytes
    Database Buffers 159383552 bytes
    Redo Buffers 2170880 bytes
    ORA-12709: error while loading create database character set
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit
    os: Red Hat Enterprise Linux AS release 4
    can you please suggest me what to do??

    Refer to Metalink NOTE:1076156.6 and NOTE:160478.1

  • Oracle Database Vault Import Case

    Dear All,
    i am maulana from jakarta, i wanna consult you about issue that i faced
    i saw this forum while i wanted to find solution database vault oracle from googling.
    up to now i haven't yet get solution of the problem. my problem is: I cann't import file backup (data pump) from a machine Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production without Oracle Database Vault setting TO another machine running same Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production with setting Oracle Database Vault options
    here the import command script:
    impdp telkomsigma1/******** DUMPFILE="TOADADI.DMP" LOGFILE="impdp_TestAdi.log" DIRECTORY=djpbn SCHEMAS='ADI' REMAP_SCHEMA=ADI:WIDODO REMAP_TABLESPACE=USERS:MPN_DJPBN_OLAP CONTENT=ALL TABLE_EXISTS_ACTION=REPLACE STATUS=5
    the error show:
    Master table "TELKOMSIGMA1"."SYS_IMPORT_SCHEMA_02" successfully loaded/unloaded
    Starting "TELKOMSIGMA1"."SYS_IMPORT_SCHEMA_02": telkomsigma1/******** DUMPFILE=TOADADI.DMP LOGFILE=impdp_TestAdi.log DIRECTORY=djpbn SCHEMAS=ADI REMAP_SCHEMA=ADI:WIDODO REMAP_TABLESPACE=USERS:MPN_DJPBN_OLAP CONTENT=ALL TABLE_EXISTS_ACTION=REPLACE STATUS=5
    Processing object type SCHEMA_EXPORT/USER
    ORA-39083: Object type USER failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    CREATE USER "WIDODO" IDENTIFIED BY VALUES 'S:A208D9D93D37DDF58B6FF00D76878F1FFB74999B96DC0490CF727ECE48A0;4E2E085B3F498EC4' DEFAULT TABLESPACE "MPN_DJPBN_OLAP" TEMPORARY TABLESPACE "TEMP"
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    ORA-39083: Object type SYSTEM_GRANT failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    I've tried to follow instruction from oracle Oracle® Database Vault Administrator's Guide
    1. http://docs.oracle.com/cd/E11882_01/server.112/e23090/dba.htm#CHDDECIH ,
    2. http://docs.oracle.com/cd/E11882_01/server.112/e23090/cfrealms.htm#CHDFBGJB
    but it didn't work
    Any one can help me.. give suggestion??
    Thanks before.
    Regards,
    Maulana

    After going through your post what i found is you need to import the dump file using the system user. The user you are using has not got the permission that are required. So if you want to try you can import your dump using system user.
    please test it on some test server before doing it actually.

  • Changing database location per Table at runtime is extremely slow in viewer

    We are using the Crystal Reports 2008sp2 Viewer in windows forms .NET
    application to display various reports based on a Pervasive database.  The
    C# code dynamically changes the database table locations at run time.  The
    location needs to be set for each table since the location may be different
    for each table in the report. 
    We have tried to methods to change the location.
    1) Set  the Table.Location property in the ReportDocument.Database.Tables
    collection.
    foreach (Table table in rd.Database.Tables)
    Table.Location = "New Path";
    2) Set the TableLogOnInfo properties.
          TableLogOnInfo logonInfo = new TableLogOnInfo();
          logonInfo = table.LogOnInfo;
          logonInfo.ConnectionInfo.ServerName = dataPath;
          logonInfo.ConnectionInfo.LogonProperties[0] = new NameValuePair2("Data
    File", dataPath);
          logonInfo.ConnectionInfo.LogonProperties[0] = new NameValuePair2("Data
    File Search Path", path);
          table.ApplyLogOnInfo(logonInfo);
    Both of these methods work, but have extremely slow performance.  Both
    methods take between 2 and 3 seconds to execute per table.  Since many of
    our reports have 20 - 30 table references ( sometimes more ), this can add
    an additional 1-2 minutes to the display of a report.
    It seems that the Crystal viewer object is doing some sort of verification
    every time the database location is changed.  We have noted that as the
    location is changed, the database is being accessed by the viewer.  Please
    advise as to how to stop this behavior.  Is there a way to set the location
    without the viewer verifying the change?
    This problem is turning reports that run in the 2008 Report Designer in 3 seconds into reports that take
    many minutes to run.  We will hear nothing but screaming from our 300 customers.
    Thanks for any help.
    Bill Smith

    Hello,
    I have a very similar issue but with Crystal XI and XI R2.
    I'm using Oracle 10g, and changing a couple of properties using the following sequence for each table to change the login information and the table's current view (each view is a portion of the overall table):
    IDatabaseTablePtr table = tables->GetItem(tableN);          
    table->SetLogOnInfo(TheApp.GetDataSource(), TheApp.GetDatabase(), userID, pwd);
    char tableLocation[201];
    char tempTable[201], newTable[201];
    strcpy(tableLocation, table->GetLocation());
    // make new table name, put into newTable
    table->PutLocation(newTable);
    if (!table->TestConnectivity())
      ShowCrystalRE_Error(job);
    Stepping through in my debugger, the SetLogOnInfo seems very quick, it's the PutLocation( ) that seems to be taking alot of time.
    Any help would be greatly appreciated.
    This is extremely fast on SQL Server, only noticeably slow on Oracle.

  • 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

  • Error when installing 9.0.1.4.0 patch set for the Oracle Database Server.

    Hi to all.
    Currently, i am trying to install patches for portal server.
    The server OS is Sun Solaris 8.
    We are using Oracle9iAS.
    Now, we are installing 9.0.1.4.0 patch set for the Oracle Database Server.
    We managed to install the patch, but have problem with the Post Install Action.
    We managed to run
    -ALTER SYSTEM ENABLE RESTRICTED SESSION;
    -@rdbms/admin/catpatch.sql
    -ALTER SYSTEM DISABLE RESTRICTED SESSION;
    -CONNECT / AS SYSDBA
    -update obj$ set status=5 where type#=29 and owner#!=0;
    -commit;
    But, when we come to the next command, which is to shutdown, it gives us like
    this..
    SQL> update obj$ set status=5 where type#=29 and owner#!=0;
    1402 rows updated.
    SQL> commit;
    Commit complete.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01219: database not open: queries allowed on fixed tables/views only
    We tried to startup the database..it gives us this error..
    SQL> startup
    ORA-01081: cannot start already-running ORACLE - shut it down first
    So, we tried to shutdown again..
    SQL> shutdown immediate
    ORA-01089: immediate shutdown in progress - no operations are permitted
    I been informed that this is maybe a Database problem related. Any ideas?
    Best Wishes,
    Rushdan Md Saad.

    Patchsets could be obtained (only) from http://metalink.oracle.com
    You need to have valid CSI for access.
    P.S: Sorry Werner, I didn't see you post.
    Message was edited by:
    Ivan Kartik

  • Current Patch Set for Oracle Database Release 11.2

    Hi
    I am upgrading oracle 10G to 11GR2 in AIX 5.3 Environment with SAP ECC6 , I have just just installled Oracle 11.2.0.1.0 according to the "Database Upgrade Guide -Upgrade to Oracle Database 11g Release 2 (11.2): UNIX". After database software installation , in upgrade manual in section 3.4.4 it says, you need to install current patch set for oracle database 11g R2 and referencing a SAP note 1431799.
    I have just read note 1431799 which says Current Patch Set for Oracle Database Release 11.2 is not generally available for SAP customers until December 2010, also I donu2019t find the note 1522330 as mentioned in 1431799.
    Please let me know how I can get current patch set to apply with Oracle 11.2.0.1.0 (Is it in SAP service market place?)
    I also want to upgrade my installation to oracle 11.2.0.2, please let me know where I get the patch set to upgrade from 11.2.0.1.0 to 11.2.0.2,
    or
    I have to live with 11.2.0.1.0 and apply SAP Bundle Patch ( SBP)

    Abu Al MAmun,
    I understand from your posts that you recently upgraded to 11.2.0.2.
    I am having the same difficulty, of finding the current patch set for 11.2. Could you please let me know how you worked around it?
    Thanks,
    Siri
    Hello Everyone,
    I did read the post on to how you have to install the current patch set for 11.2.
    But honestly, it pretty much flew over my head.
    I am trying to upgrade our SAP AIX 64 bit test system from Oracle 10.2.0.4 to 11.2.0.2.
    And so far I have downloaded all the required sw for the upgrade, except for the current patch set 11.2.
    This is what I have right now:
    1) Oracle 11.2 AIX 64 bit upgrade sw - 51038805_part 1 to 51038805_part 7 and 51039800.
    2) Database Patches -->Oracle 11.2.0.2 -->
    All they have here is
    a. Database RDMBS - SAP_112020_201012_AIX.zip and b. SAP_112020_201101_AIX.zip
    b. OPatch - OPatch_11201_Generic_v3.zip and mopatch-2_1_6.zip
    c. Database Vault - DV - >Generic - p9656644_112020_Generic.zip
    If I am not wrong, the Database RDBMS files are nothing but the SAP Bundle Patches that have to be installed after installing the currrent patch set 11.2.0.2 using MOPatch.
    But I did not find the currrent patch set 11.2.0.2.
    Could someone please explain the process to me in detail? This being my first time , I am finding it a bit hard to catch up with some of the stuff.
    Thank You!
    Siri

  • How to set JDBC Data Sources in Oracle MapViewer for Oracle database 12c Release 1 (12.1.0.1)

    How to set JDBC Data Sources in Oracle MapViewer for Oracle database 12c Release 1 (12.1.0.1)?
    The following is my configuration in the conf\mapViewerConfig.xml:
    <map_data_source name="mvdemo12"
    jdbc_host="127.0.0.1"
    jdbc_sid="orcl12c1"
    jdbc_port="1522"
    jdbc_user="mvdemo"
    jdbc_password="7OVl2rJ+hOYxG5T3vKJQb+hW4NPgy9EN"
    jdbc_mode="thin"
    number_of_mappers="3"
    allow_jdbc_theme_based_foi="true"
    editable="true"/>
    <!--  ****  -->
    But it does not work.
    After use "sqlplus mvdemo/[email protected]:1522/pdborcl", it connected to the Oracle database 12c.
    Does anyone know it?
    Thanks,

    For 11.1.1.7.1 use the syntax for jdbc_sid, i.e.
    //mypdb1.foo.com as described in the README,
    - MapViewer native (non-container) data sources can now use database service name in place of SID. To supply a db service name, you will use the same jdbc_sid attribute, but specify the service name with double slashes in front, such as follows:
      <map_data_source name="myds"
        jdbc_host="foo.com"
        jdbc_sid="//mypdb1.foo.com"
        jdbc_port="1522"
      />
    For 11.1.1.7.0 use a container_ds instead.
    i.e. instead of using
    <map_data_source name="my_12c_test"
                       jdbc_host="mydbinstance"
                       jdbc_sid="pdborcl12c"
                       jdbc_port="1522"
                       jdbc_user="mytestuser"
                       jdbc_password="m2E7T48U3LfRjKwR0YFETQcjNb4gCMLG8/X0KWjO00Q="
                       jdbc_mode="thin"
                       number_of_mappers="6"
                       allow_jdbc_theme_based_foi="false"
                       editable="false"
       />
    use
      <map_data_source name="my_12c_test"
                       container_ds="jdbc/db12c"
                       number_of_mappers="6"
                       allow_jdbc_theme_based_foi="false"
                       editable="false"
       />
    In my case the Glassfish 3.1.2.2 JDBC connection pool definition was
    Property
    url  jdbc:oracle:thin:@mydbinstance:1522/pdborcl12c.rest_of.service.name
    Uncheck the Wrap JDBC Objects option in Advanced panel, i.e. the Edit JDBC Connection Pool Advanced properties page.
    Add a JDBC resource for that newly created pool
    Use that in mapviewerconfig.xml as above

  • Set password for database connection at runtime

    Hi there,
    is it possible to set the password and/or the user for the database connection at runtime.
    The use case is to read the values from a file and decrypt them, and the to establish the conenction. So that i don't habe to redeploy everything if there is a change.
    Thanks in advance.

    How exactly do i set these values for the datasource?
    Edited by: Alex on 15.02.2012 09:50
    €: JDeveloper 11.1.1.5.0
    The use case is, that there is a file with an encrypted password. This should be decrypted and then be used for the connection. So when this encrypted passowrd changes, i don't want to edit and deploay the app once again. Instead the new encrypted password should be decrypted via code an then be used.
    Edited by: Alex on 15.02.2012 10:00

  • Setting up the Weblogic portal with Oracle Database

    I am creating weblogic portal domain using oracle database
    a) At the “configure JDBC Data Source “ I have changed all database sources to oracle and before this I have created the weblogic/weblogic user id and required tables spaces also
    1) cgDataSource
    2) cgDataSouce –nonXA
    3) p13nDataSource
    4) portalDatasource
    5) portalDataSourceAlwaysXa
    6) portalDataSourceNeverXa
    b) Test JDBC Data Source
    for all the data sources test has passwd
    c) Run the database scripts run and created the objects
    and when I try to start startWebLogic.sh from portal domain
    I got the below errors looking for <Test "SELECT COUNT(*) FROM SYSTABLES"
    Best Regards
    RAJ
    <Nov 24, 2010 3:58:17 PM MYT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Nov 24, 2010 3:58:18 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "cgDataSource" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:18 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "cgDataSource-nonXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:18 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "cgDataSource-nonXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:18 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "cgDataSource-nonXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:18 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "cgDataSource-nonXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:18 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "cgDataSource-nonXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:18 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "p13nDataSource" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:18 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "p13nDataSource" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:19 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "p13nDataSource" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:19 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "p13nDataSource" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:19 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "p13nDataSource" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:19 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "portalDataSource" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:19 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "portalDataSourceAlwaysXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:19 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "portalDataSourceNeverXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:20 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "portalDataSourceNeverXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:21 PM MYT> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSTABLES" set up for pool "portalDataSourceNeverXA" failed with exception: "java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ".>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <LoggingService> <BEA-320400> <The log file /home/orawlp/Oracle/Middleware/user_projects/domains/portal01/servers/AdminServer/logs/portal01.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /home/orawlp/Oracle/Middleware/user_projects/domains/portal01/servers/AdminServer/logs/portal01.log00002. Log messages will continue to be logged in /home/orawlp/Oracle/Middleware/user_projects/domains/portal01/servers/AdminServer/logs/portal01.log.>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:216:3eff:fe4e:9ac9:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.8.8.116:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "portal01" running in Development Mode>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Nov 24, 2010 3:58:23 PM MYT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>

    Hi,
    When i try to bring up the portal doman i am getting this errors :
    ================
    <Dec 3, 2010 7:23:29 PM SGT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'cgDataSource-nonXA' due t
    blogic.application.ModuleException: .
    weblogic.application.ModuleException:
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
    Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: weblogic.common.ResourceException: DataSource 'cgDataSource-nonXA' can not be c
    is non-transactional and so can not use XA-aware pool 'cgDataSource-nonXA'
    at weblogic.jdbc.common.internal.DataSourceManager.checkDataSource(DataSourceManager.java:236)
    at weblogic.jdbc.common.internal.DataSourceManager.checkDataSource(DataSourceManager.java:204)
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:278)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
    Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: DataSource 'cgDataSource-nonXA' can not be created. It is non-transactional and
    t use XA-aware pool 'cgDataSource-nonXA'
    at weblogic.jdbc.common.internal.DataSourceManager.checkPoolConfig(DataSourceManager.java:434)
    at weblogic.jdbc.common.internal.DataSourceManager.checkDSConfig(DataSourceManager.java:389)
    at weblogic.jdbc.common.internal.DataSourceManager.checkDataSource(DataSourceManager.java:233)
    at weblogic.jdbc.common.internal.DataSourceManager.checkDataSource(DataSourceManager.java:204)
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:278)
    Truncated. see log file for complete stacktrace
    >
    ==================================
    Can I ignor this error or i have to fix ????
    Best Regards
    Raj

  • DataParser from a set of .cvs files to oracle database

    Hello all,
    This is my first post here, so I am not sure whether this is the right section of the forum, but anyway..
    I need to do a parser that reads cvs files from a set of directories, create a dataset and then a database. I did this as I exported the database to Microsoft Access File. Now, my question is whether it is possible to export it to oracle database file.
    I am using C# for the source code. The parser will be run almost every day.
    Any help would be appreciated. I have a deadline for the project soon :)

    Thanks for the reply.
    The situation is the following. I am done with the parsing. I just have two separate classes - MdbExporter and XmlExporter that export the dataset that has been created to a .mdb file or xml one. Here is an example of the MdbExporter class:
    class MdbExporter : IExporter
    /// <summary>
    /// Exportiert das DataSet in eine Mdb-Datei.
    /// </summary>
    /// <param name="ds">Zu exportierendes DataSet.</param>
    public void Write(DataSet ds, string[] names)
    string conStr = "Provider=Microsoft.Jet.OLEDB.4.0;" +
    "Data Source=" + names[0] + ";";
    Console.WriteLine("Exporting to database {0} ...", names[0]);
    Now I need a way to export the dataset to an oracle database file.
    Thanks for any replay in advance.

  • Oracle Database Character set and DRM

    Hi,
    I see the below context in the Hyperion EPM Installation document.
    We need to install only Hyperion DRM and not the entire Hyperion product suite, Do we really have to create the database in one of the uft-8 character set?
    Why it is saying that we must create the database this way?
    Any help is appreciated.
    Oracle Database Creation Considerations:
    The database must be created using Unicode Transformation Format UTF-8 encoding
    (character set). Oracle supports the following character sets with UTF-8 encoding:
    l AL32UTF8 (UTF-8 encoding for ASCII platforms)
    l UTF8 (backward-compatible encoding for Oracle)
    l UTFE (UTF-8 encoding for EBCDIC platforms)
    Note: The UTF-8 character set must be applied to the client and to the Oracle database.
    Edited by: 851266 on Apr 11, 2011 12:01 AM

    Srini,
    Thanks for your reply.
    I would assume that the ConvertToClob function would understand the byte order mark for UTF-8 in the blob and not include any parts of it in the clob. The byte order mark for UTF-8 consists of the byte sequence EF BB BF. The last byte BF corresponds to the upside down question mark '¿' in ISO-8859-1. Too me, it seems as if ConvertToClob is not converting correctly.
    Am I missing something?
    BTW, the database version is 10.2.0.3 on Solaris 10 x86_64
    Kind Regards,
    Eyðun
    Edited by: Eyðun E. Jacobsen on Apr 24, 2009 8:26 PM

Maybe you are looking for

  • Not able to see the values properly

    Hi,, I am using Jdev 11.1.1.5. I see the value of "val.toString()" is correct and the Sql of the view is fine. Then what can be the reasons that no values come out in the popup? Why do I get "No data to display" within the popup once I clicked the li

  • What is the diff b/w Abstract class and an interface ?

    Hey I am always confused as with this issue : diff b/w Abstract class and an interface ? Which is more powerful in what situation. Regards Vinay

  • Delivery and Proforma Invoice

    Hi,   Could someone please tell me on how to create a proforma invoice aftre creating a delivery? Or, in other words, I have created a delivery without reference to a sales order and now want to create a  proforma invoice to go with the delivery. How

  • How to customizing single line comment

    Because of the restriction of our dsl language we cannot use SL_COMMENT terminal directly. We have own rule of "Comment" which is defined as a parser rule. // '..' is the identifier of our comment rule just like '//' Comment: '.' '.' (ID|INT|ANY_OTHE

  • How Do I Delete Hidden Files in Compressed Folders?

    I'm working on a mac and sometimes I compress files and send them to be opened on a PC. Is there anyway to delete the hidden files that mac adds to a zip file before sending it, or disable their creation completely? I'm thinking about getting a mac a