Problems with installation of Oracle Database 11g, Enterprise edition

I am having trouble with the whole DHCP setting on my windows vista business OS.
I went throught the steps to install a loopback adapter which is supposed to be a solution for DHCP-enabled computers. When I check to see if I have a loopback adapter, it is showing that it is the "local area connection 2."
But at some point during the installation, it says that I need to make the loopback adapter the primary network setting. Is this what is preventing a successful installation? I went through the installation process to the end despite this error message and it seemed to install ok. I created a database using the Database Config Manager. Now I am having trouble accessing this database. Is this related to the error message I described above?
I created a username and password at the database creation page.
When I go into command prompt I type in "sql plus" and then my username and password.
But it says "ORACLE not available."
Any help would be much appreciated.

Don't bother with a loopback adapter unless you are using a laptop that needs Oracle to work whether connected or unconnected to the business network. Much simpler to just arrange for DHCP to assign you a fixed IP address (a lease reservation).
It's the change of IP address which trips Oracle up, not the existence of DHCP. So if you can make sure your IP address will be the same, no matter how you acquire it, that's all you have to do.
Installing a loopback adapter which isn't the primary interface at the point you install Oracle will mean your installation will get very confused as to whether to address things via the 127... address or the "normal" IP address. And yes, at that point, you'll not be able to connect to instances, or run listeners or do all sorts of other things reliably.
If it were me, I'd uninstall the mess you probably now have as far as Oracle goes, install something like VirtualBox (free) or VMware Workstation (costs) and enjoy your Oracle experience inside the confines of a virtual machine whose networking setup you can configure and control to your heart's content, without it screwing up your real machine's ability to connect to your work's network when it needs to.

Similar Messages

  • Error while opening Oracle Database 11g Express Edition after installation.

    After finishing the installation of Oracle database 11g Express Edition, when I tried to open it, it shows following error : windows cannot find `http://127.0.0.1:%HTTPPORT%/apex/f?p=4950`.Make sure you typed the name coorectly, and then try again.
    What the above error means? I followed the installation steps as given in the link.

    Hi,
    Follow thread may help you.
    <<Newbie on running Oracle 11g - Windows cannot find http:something
    Regards,

  • Problem in installing oracle database 11g express edition

    while installing oracle database 11g express edition during product specific prerequisite check, checking for oracle XE service instance is failed, what to do ?

    Hello, and welcome to the OTN forums,
    the prerequisites are documented quite well. I'm not sure about the actual error message, but from what you write it sounds like you already have another Oracle XE install on your machine, possible the Oracle 10g XE. As mentioned in the Installation Guide, you may have only one instance per server, so the installer fails.
    If that's not the reason, can you please post the exact error message you receive?
    -Udo

  • How to install oracle database 11g express edition on Windows 7

    Hi Guys,
    i am trying to download and install Oracle database 11g express edition on windows7 and i can't seem to get it right. i did get the download but when i try to install, it keeps saying it appears to be an invalid archive.
    Please help..

    Action - Refer to the logs or contact OracleFinding the problem is the key. "Refer to the logs" is the only option, XE has no oracle support offerings.
    Which plugin failed, and why did it fail will be important clues. There should be error messages in the log that will be helpful.
    Otherwise, we don't have much help to offer. Fixing a problem means identifying the problem and performing steps to correct it, if there a fix is available.
    A MOS lookup on the ins-20802 error has snippets from one installer session, this one is from an x64 install. Not x86. To paraphrase the details:
    ... Created a new file <drive>:<OH path>\cfgtoollogs\configToolAllCommands
    SEVERE: java.io.IOException: Access is denied
    ...So from those symptoms, the user trying to run the installer does not have appropriate rights on that drive and/or folder. The fix for that particular problem is adding the user to the local administrators group. And rerunning the install. After running the deinstall steps to clean up the installation. As specified in the XE install guide for Windows.
    http://docs.oracle.com/cd/E17781_01/install.112/e18803/toc.htm
    Also note the System Requirements, it specifies a System architecture Intel x86, which is not X64. There is no X64 installer for XE on Windows. So it might work. Or it might not if your host is x64.
    So if that is your particular error, verify that your user is in the local admins group. Either use the local users and groups applet (Start/Run/lusrmgr.msc) and open up the Administrators group. Click the Add button. Find your user. If your OS user is a windows domain user, be sure you have authenticated to the domain.
    Try the `net ...` list of the adminis group, that should reveal whom is indeed in the local administrators group:
    net localgroup administrators
    Administrator
    <domain>\Domain Admins ... # ??? is the host in windows domain ???
    <domain>\Local Admins
    <domain>\<user1>
    <user2>
    <user3>
    echo %USERNAME%
    # if relevant:
    echo %USERDOMAIN%Like it also states in the Windows install guide, under Permission Required quote:
    ... must be a member of the Administrators group on Windows to install Oracle Database XE.

  • SQL slow after upgrading to Oracle Database 10g Enterprise Edition Release

    Hi all:
    We have recently upgraded our database from Oracle9i Enterprise Edition Release 9.2.0.6.0 to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
    After that we found that our some sql getting very slow
    for example query with 9i showing result in 4 seconds while in 10g showing result in 28 seconds.
    Following is the execution plan of my query in Oracle9i
    Operation     Object     PARTITION_START     PARTITION_STOP     COST
    SELECT STATEMENT ()                    9458
    NESTED LOOPS ()                    9458
      SORT (UNIQUE)                    
       INDEX (RANGE SCAN)     BL_EQ_PK_N               2
      VIEW ()     CONTAINER_INFO               2
       UNION-ALL (PARTITION)                    
        TABLE ACCESS (BY INDEX ROW     SERVICE_EVENTS               1
         NESTED LOOPS ()                    11
          NESTED LOOPS ()                    10
           NESTED LOOPS (OUTER)                    9
            NESTED LOOPS ()                    8
             NESTED LOOPS ()                    7
              NESTED LOOPS ()                    6
               NESTED LOOPS ()                    5
                NESTED LOOPS ()                    4
                 NESTED LOOPS (OUT                    3
                  TABLE ACCESS (BY     EQUIPMENT_USES               2
                   INDEX (UNIQUE S     EQUSE_PK               1
                  TABLE ACCESS (BY     SHIPPING_LINES               1
                   INDEX (UNIQUE S     LINE_PK               
                 INDEX (UNIQUE SCA     EQHT_PK               
                TABLE ACCESS (BY I     EQUIPMENT_TYPES               1
                 INDEX (UNIQUE SCA     EQTP_PK               
               TABLE ACCESS (BY IN     EQUIPMENT_SIZES               1
                INDEX (UNIQUE SCAN     EQSZ_PK               
              TABLE ACCESS (BY IND     SHIP_VISITS               2
               INDEX (RANGE SCAN)     SVISIT_UK               1
             TABLE ACCESS (BY INDE     SHIPS               1
              INDEX (UNIQUE SCAN)     SHIP_PK               
            TABLE ACCESS (BY INDEX     CARE_VIR_MAP               1
             INDEX (UNIQUE SCAN)     VIR_VESVOY               
           TABLE ACCESS (BY INDEX      EQUIPMENT               1
            INDEX (RANGE SCAN)     EQ_EQUSE_FK               
          INDEX (RANGE SCAN)     SEVENTS_EQUSE_FK_N               
        NESTED LOOPS ()                    7
         NESTED LOOPS ()                    6
          NESTED LOOPS ()                    5
           NESTED LOOPS ()                    4
            NESTED LOOPS (OUTER)                    3
             TABLE ACCESS (BY INDE     EQUIPMENT_USES               2
              INDEX (UNIQUE SCAN)     EQUSE_PK               1
             TABLE ACCESS (BY INDE     SHIPPING_LINES               1
              INDEX (UNIQUE SCAN)     LINE_PK               
            INDEX (UNIQUE SCAN)     EQHT_PK               
           TABLE ACCESS (BY INDEX      EQUIPMENT_TYPES               1
            INDEX (UNIQUE SCAN)     EQTP_PK               
          TABLE ACCESS (BY INDEX R     EQUIPMENT_SIZES               1
           INDEX (UNIQUE SCAN)     EQSZ_PK               
         TABLE ACCESS (BY INDEX RO     EQUIPMENT               1
          INDEX (RANGE SCAN)     EQ_EQUSE_FK               and following is my query plan in Oracle 10g
    Operation     Object     PARTITION_START     PARTITION_STOP     COST
    SELECT STATEMENT ()                    2881202
    NESTED LOOPS ()                    2881202
      SORT (UNIQUE)                    2
       INDEX (RANGE SCAN)     BL_EQ_PK_N               2
      VIEW ()     CONTAINER_INFO               2881199
       UNION-ALL ()                    
        NESTED LOOPS (OUTER)                    2763680
         NESTED LOOPS ()                    2718271
          NESTED LOOPS ()                    2694552
           NESTED LOOPS ()                    2623398
            NESTED LOOPS (OUTER)                    2623380
             NESTED LOOPS ()                    2393965
              NESTED LOOPS ()                    2393949
               NESTED LOOPS ()                    2164536
                NESTED LOOPS ()                    1706647
                 NESTED LOOPS ()                    854120
                  TABLE ACCESS (FU     BL_EQUIPMENT               1515
                  TABLE ACCESS (BY     EQUIPMENT_USES               1
                   INDEX (UNIQUE S     EQUSE_PK               1
                 TABLE ACCESS (BY      EQUIPMENT               1
                  INDEX (RANGE SCA     EQ_EQUSE_FK               1
                TABLE ACCESS (BY I     EQUIPMENT_TYPES               1
                 INDEX (UNIQUE SCA     EQTP_PK               1
               TABLE ACCESS (BY IN     EQUIPMENT_SIZES               1
                INDEX (UNIQUE SCAN     EQSZ_PK               1
              INDEX (UNIQUE SCAN)     EQHT_PK               1
             TABLE ACCESS (BY INDE     SHIPPING_LINES               1
              INDEX (UNIQUE SCAN)     LINE_PK               1
            INDEX (RANGE SCAN)     SEVENTS_TSERV_FK_N               1
           TABLE ACCESS (BY INDEX      SHIP_VISITS               2
            INDEX (RANGE SCAN)     SVISIT_UK               2
          TABLE ACCESS (BY INDEX R     SHIPS               1
           INDEX (UNIQUE SCAN)     SHIP_PK               1
         TABLE ACCESS (BY INDEX RO     CARE_VIR_MAP               2
          INDEX (UNIQUE SCAN)     VIR_VESVOY               1
        NESTED LOOPS (OUTER)                    117519
         NESTED LOOPS ()                    98158
          NESTED LOOPS ()                    78798
           NESTED LOOPS ()                    78795
            NESTED LOOPS ()                    59432
             TABLE ACCESS (FULL)     EQUIPMENT_USES               20788
             TABLE ACCESS (BY INDE     EQUIPMENT_TYPES               1
              INDEX (UNIQUE SCAN)     EQTP_PK               1
            TABLE ACCESS (BY INDEX     EQUIPMENT               1
             INDEX (RANGE SCAN)     EQ_EQUSE_FK               1
           INDEX (UNIQUE SCAN)     EQHT_PK               1
          TABLE ACCESS (BY INDEX R     EQUIPMENT_SIZES               1
           INDEX (UNIQUE SCAN)     EQSZ_PK               1
         TABLE ACCESS (BY INDEX RO     SHIPPING_LINES               1
          INDEX (UNIQUE SCAN)     LINE_PK               1can somebody help me regarding this?
    Thanks
    Hassan

    I would say ..gather stats on 9i/10gfor the required table and indexes , then post the expalin plan.
    --Girish                                                                                                                                                                                                                               

  • Oracle Database 11g Express Edition (11.2) Beta is now available!

    [url http://forums.oracle.com/forums/forum.jspa?forumID=1378]Forum Home » Database » Oracle Database 11g Express Edition Beta ばかりじゃなんなので、
    Forum Home » コミュニティ » OTNカフェ に [url http://forums.oracle.com/forums/thread.jspa?threadID=2201589]Thread: Oracle Database 11g Express Edition (11.2) Beta is now available! を作ったのですが、この Japanese Discussion Forums にも、めでたく この [url http://forums.oracle.com/forums/forum.jspa?forumID=1380]Forum Home » データベース » Oracle Database 11g Express Edition Beta ができましたので、OTNカフェの Thread をこの Threadへ引越しました。
    既に OTN Japan の [url http://www.oracle.com/technetwork/jp/database/express-edition/overview/index.html]Oracle Technology Network > Database Database > Express Edition > Overview にも載っていますが、[url  http://www.oracle.com/technetwork/database/express-edition/11gxe-beta-download-302519.html]http://www.oracle.com/technetwork/database/express-edition/11gxe-beta-download-302519.html から " Oracle Database 11g Express Edition Release 11.2.0.2.0 - Beta "がダウンロードできます。
    [url http://forums.oracle.com/forums/forum.jspa?forumID=1378]Forum Home » Database » Oracle Database 11g Express Edition Beta を見てみたり、コメントしてフィードバックするのを楽しんでます。
    【補足】
    現行リリース Oracle Database 10g Express Edition ( 俗称 Oracle Database XE や Oracle XE や OracleXE )関連 Oracle Technology Network (OTN) Japan - 掲示板 » コミュニティ » OTNカフェ のスレッドなど :
    [url http://otn.oracle.co.jp/forum/thread.jspa?threadID=5001436]Oracle 10g Express Editionに興味深々
    [url http://otn.oracle.co.jp/forum/thread.jspa?threadID=5001550]Oracle Database 10g Express Edition Beta 3
    [url http://otn.oracle.co.jp/forum/thread.jspa?threadID=35004868]OracleXEに関する座談会
    "Project XE" (Oracle Database XE in Japan) - S/N Ratio (by SATO Naoki) [url http://d.hatena.ne.jp/satonaoki/20081202/p1]http://d.hatena.ne.jp/satonaoki/20081202/p1
    Edited by: wmo6hash on Apr 24, 2011 3:45 AM Blogosphere は別の Message へ

    そうですね。Oracle Database 11g Express Edition BetaフォーラムなのでBetaのことだけ書いていました。

  • VSS for Oracle Database 11g Express Edition?

    I use Veeam to backup our servers.
    I have a Windows 2003 R2 Std edition. On it we have Oracle Database 11g Express Edition (upgraded from 10g).
    I would like to enable application-aware image processing (VSS)
    I do not have the Oracle VSS Writer Service installed, and the oravssw.exe is not in the oracle folder.
    1. Does Oracle Database 11g Express Edition support/include Oracle VSS Writer?
    2. If I get the oravssw.exe from another (not express) oracle database, can I copy it and use it on my 11g Express Edition to create the Oracle VSS Writer?
    Thanks in advance

    909351 wrote:
    Thanks. So I guess I will have to use 10g XE on my 32 bit Linux
    Its interesting 10g XE was for 64 bit and 11g XE is for 32 bit.The other way around. 10.2 is 32-bit and 11.2 is 64-bit. Seems like a logical or natural progression (haven't seen a 32-bit machine for some years now).

  • I need to download Oracle Database 10g Enterprise Edition Release1 10.1.0.4

    hi,everyone
    i need to download Oracle Database 10g Enterprise Edition Release1 (10.1.0.4 and higher)
    i search at the oracle.com (OTN) but i didnt find it ,
    can any one help because i need it so much,
    you will be more than thankfull if u help me soon.
    best wishes
    K A R I M

    You need to download 10.1.0.1 from OTN and then download 10.1.0.4 patch from metalink to patch up to 10.1.0.4.
    There's no direct 10.1.0.4 download.

  • Oracle Database 11g Express Editionへの接続について

    Oracle Database 11g Express Editionを自PCにインストールし、SQLPLUS等の接続
    まで確認する事ができました。
    その後、VB2008で開発を行っている事から、VB2008で接続しようと考えていますが、
    どのような接続方法が最適なのでしょうか???
    当然、最終的にはクライアント/サーバ型にしたいと考えている為、クライアントからの接続
    も想定しています。
    ODBCは避けたく、他に方法を探していたところ、ODP.NETで接続できると記載が
    あった為、同自PCにインストールし、接続を行おうと記述したところ下記のようなエラー
    となってしまいます。
    《記述内容》
     'Connectionオブジェクトの生成
     Dim cnn As New OracleConnection
     Dim Command As OracleCommand
    'Oracleへのコネクションの確立
    cnn.ConnectionString = _
    "User Id=ABCD; Password=000000; Data Source=XE"
    cnn.Open()
    Command = cnn.CreateCommand
    'SQL初期化
    Command.CommandText = ""
    'データリーダーにデータ取得
    Command.CommandText = "SELECT COUNT(*) FROM T_東京"
    《エラー内容》
     ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    ”tnsping XE”は確認しており、問題なくとおります。
    そもそも私の考え方が間違っていて、ODP.NETは使用できない???
    記述の方法が間違っている???
    初歩的な質問で申し訳ありませんが、教えて頂きたいと思います。
    よろしくお願いします。

    .netアプリを作成しているならばODP.netでの接続がベストだと思います。
    ORA-12154が発生するのは参照しようとしているtnsnames.oraの中に"XE"という接続定義が見つからないためと思われます。
    tnspingでは問題なく疎通できる+ODP.netを追加インストールしたとのことから
    odp.netをインストールしたORACLE_HOME配下のtnsnames.oraにXEという定義がないのだと思います。
    (XEのORACLE_HOME配下のtnsnames.oraにのみXEの定義がされている)
    ちなみに、tnsnames.oraは以下にあります。
    %ORACLE_HOME%\NETWORK\admin\tnsnames.ora
    そもそも私の考え方が間違っていて、ODP.NETは使用できない???
    ORA-12154が発生するところまで進んでいるのでODP.net自体は使用できています。
    ODP.net自体が使用できない状態だと OracleConnectionオブジェクトの生成の時点でエラーになるはずなので。
    あと、tnsnames.oraを参照しないで接続できる簡易接続ネーミングという記載方法もあります。
    例)
    Data Source=localhost:1521/XE
    参考
    http://www.doppo1.net/oracle/beginner/network_connect_2.html

  • Installation error - Oracle Database 10g Express Edition

    Hi - I've just tried to install Oracle Database 10g Express Edition from the Oracle website and I'm getting this error.
    Error 1327 Invalid Drive: I:\ . I've googled the error but can't find much. It seems that the path is hardcoded into the msi installation package.
    Anyone else seen this issue before as I'm at a loss at what to do ?
    I'm wondering do I have to create an I:\ drive on my machine but that seems a little unusual
    Hope someone can help
    Cheers.

    This problem may occur if you have used the Disk Administrator utility included in Microsoft Windows to change the drive letter of the hard disk that the operating system is installed on, for example, the C drive.
    The problem occurs because the Oracle Universal Installer uses registry keys to determine the locations of certain folders that are required to install Oracle. If the drive letter of the hard disk that contains the operating system has been changed, the registry keys refer to nonexistent folders and Setup fails.
    To correct this problem, use the Windows Disk Administrator program to restore the drive letter of the hard disk to its original value:
    1. Click Start, point to Programs, point to Administrative Tools, and click Disk Administrator.
    2. Right-click the drive whose letter you want to change. On the shortcut menu, click Assign Drive Letter.
    3. Select the correct drive letter from the list and click OK.
    If you are prompted to quit the Disk Administrator or to restart your computer, do so. Once the computer has restarted, attempt to install again.

  • How to Resolve Five Squares with dbconsole on Oracle Database 11g

    I've seen several references on this site about dbconsole and five squares, but I haven't found a resolution to my situation. So far, I have done the following on fresh hardware:
    - Installed Oracle Database 11.1.0.6 on Solaris 10
    - Patched to 11.1.0.7
    - Applied CPUJUL2009
    - Created a database (let's call it db1)
    - Did not check to see if dbconsole worked on db1
    - Dropped the db1 database
    - Created a second database, db2
    - Tried to use dbconsole on db2 with http://10.10.10.43:1158/em/console/aboutApplication (because DNS is not configured on my client PC); this resulted in the display of five squares, but nothing else on the web page
    - Tried to use dbconsole on db2 with https://10.10.10.43:1158/em/console/aboutApplication and got a page not found error
    Here is the output from the dbconsole status:
    emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0
    Copyright (c) 1996, 2008 Oracle Corporation. All rights reserved.
    https://radfa0122v309292.mycompany.com:1158/em/console/aboutApplication
    Oracle Enterprise Manager 11g is running.
    Logs are generated in directory /s01/app/oracle/product/11g/radfa0122v309292.mycompany.com_sched/sysman/log
    Any help is appreciated.
    Thanks!
    Edited by: shew01 on Oct 6, 2009 11:01 AM

    Good Morning.
    I had the same problem and I had the same IE 6, the problem was the translation between the IE6 from http and https, to solve it you just need to open your url typing
    https:url:port, do no forget to put the s after the http, with this my problem was solved.
    best regards.
    Digudi - São Paulo - Brazil
    Edited by: user12267194 on 24/11/2009 05:37
    Edited by: user12267194 on 24/11/2009 05:38
    Edited by: user12267194 on 24/11/2009 05:38

  • Problem with httpd and oracle database

    hi
    i have oracle linux with oracle database 11gR2
    i install php with oci as the following link :
    http://oss.oracle.com/projects/php/dist/documentation/installation.html
    but when i try phpinfo() i found just only
    *" /etc/php.d/oci8.ini"* in the result
    and when i test connection i have this error
    *" Fatal error: Call to undefined function oci_connect() "*
    so what is the best way to install oci on oracle linux ?

    What version of the OS are you using? Any clues in the syslog and httpd log? Are you using SELinux, which is often an overlooked issue?
    Can you provide more details?
    so what is the best way to install oci on oracle linux ?According to the instructions, if support is needed: http://www.oracle.com/technetwork/topics/php/zend-server-096314.html

  • Problem reading data from oracle database 11g using OleDbDataReader

    Hi everyone I work with Visual Studio 2010 and C# programming language. I have a problem reading data from the oracle database. I created a WPF application with my main Window Xaml and class files and 1 more class called DataFiles. The thing I want is to read some data from the database on my grid in my WPF window. Problem is even though it connects to the database the grid is always empty. It isn't the connection string as I tested it and it connects to the database the problem seems to be in showing the LASTNAME (PREZIME in my native tongue) on the grid which is what it's supposed to do.
    Here is the code:
    Data Files Code
    using System;
    using System.Collections.ObjectModel;
    using System.Data.SqlClient;
    using System.Data.OleDb;
    namespace SQLKonekcija
        public class clsEmployee
            public string Prezime { get; set; }
        public class DataAccess
            OleDbConnection oleCon;
            OleDbCommand oleComd;
            public DataAccess()
                string connectionString = "provider=ORAOLEDB.ORACLE; data source=ORCL; password=****; user id=****;";
                oleCon = new OleDbConnection(connectionString);
            public ObservableCollection<clsEmployee> GetAllEmployee()
                ObservableCollection<clsEmployee> EmpCol = new ObservableCollection<clsEmployee>();
                oleComd = new OleDbCommand();
                oleComd.Connection = oleCon;
                oleComd.CommandText = "Select PREZIME from UPOSLENICI";
                oleCon.Open();
                OleDbDataReader Reader = oleComd.ExecuteReader();
                Reader.Read();
                while (Reader.Read())
                    EmpCol.Add(new clsEmployee()
                        Prezime = Reader["PREZIME"].ToString()
                oleCon.Close();
                return EmpCol;
            }And here is my main window.cs code
    public partial class MainWindow : Window
            clsEmployee objEmpToAdd;
            DataAccess objDs;
            public MainWindow()
                InitializeComponent();
            private void Window_Loaded(object sender, RoutedEventArgs e)
                objDs = new DataAccess();
                dgEmp.ItemsSource = objDs.GetAllEmployee();And the XAML
    <Window x:Class="SQLKonekcija.MainWindow"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            Title="MainWindow" Height="350" Width="525" Loaded="Window_Loaded">
        <Grid>
            <DataGrid AutoGenerateColumns="False" Height="237"
                      HorizontalAlignment="Left" Margin="18,66,0,0" Name="dgEmp"
                      VerticalAlignment="Top" Width="466" ColumnWidth="*"
                       >
                <DataGrid.Columns>
                    <DataGridTextColumn Binding="{Binding PREZIME}" Header="Prezime"></DataGridTextColumn>
                </DataGrid.Columns>
            </DataGrid>
            <TextBlock Height="42" HorizontalAlignment="Left" Margin="18,15,0,0" Name="textBlock1" Text="TEST CONNECTION" VerticalAlignment="Top" Width="462" TextAlignment="Center" FontSize="28" FontWeight="ExtraBold" />
        </Grid>
    </Window>
    The guys on the MSDN forums told me I should ask the question here so sorry if it's not your field.
    Hope u guys can help, thanks.

    I tried it, commented out the reader.read and have the following connection string
    string connectionString = "provider=ORAOLEDB.ORACLE; data source=ORCL; password=****; user id=****; OLEDB.NET=True"
    Unfortunately the result is the same.
    Edited by: Dino2dy on Nov 24, 2011 12:53 AM

  • Problem with Java and Oracle Database -  help !

    i keep getting a NullPointerException when trying to
    update a resultSet in a servlet. i am bringing in the data
    just fine from an Oracle database. but it chokes when trying
    to update it. can anybody tell me what is happening?
    thanks for any help
    Owen
    ResultSet rs = stmt.executeQuery( "select * from sw_assets" );
    rs.next();
    rs.updateString("name","XXX"); <--- BOOM !
    java.lang.NullPointerException
    at sun.jdbc.odbc.JdbcOdbcBoundCol.setRowValues(JdbcOdbcBoundCol.java:240)
    at sun.jdbc.odbc.JdbcOdbcResultSet.updateChar(JdbcOdbcResultSet.java:3767)
    at sun.jdbc.odbc.JdbcOdbcResultSet.updateString(JdbcOdbcResultSet.java:3257)
    at sun.jdbc.odbc.JdbcOdbcResultSet.updateString(JdbcOdbcResultSet.java:3848)
    at _0002fopen_0002ejspopen_jsp_3._jspService(_0002fopen_0002ejspopen_jsp_3.java:87)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
    at org.apache.tomcat.core.Handler.service(Handler.java:286)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
    at java.lang.Thread.run(Thread.java:484)

    ResultSets based on a wildcard are generally treated as views by Oracle, meaning they are not updatable no matter how you create your statement. Try either "select swa.* from sw_assets swa" or "select all from sw_assets swa", that should get around the problem.
    Also (just being thorough) make sure that you specifically created your statement as being updatable (stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE) ).
    I would not normally expect a NullPointerException when encountering this "feature", but then I don't often use the ODBC bridge.
    Good luck! I hope this helps.

  • Installation of Oracle Database 11g R2 Grid is failing

    Hi Guys,
    I've been trying to install Oracle Grid Infrastructure 11g R2 (11.2.0.2) for a long time, but, failing every time. This is what I've tried so far:
    Things being used:
    OS: Oracle Enterprise Linux 5.2
    VM Software: VMware Workstation 7.1 and VMware Server 2
    Oracle SW: Oracle Grid Infrastructure 11g R2 - 11.2.0.2
    VMs: Three RAC nodes - rac1, rac2, rac3
    I've tried to follow the link given below to on both VMware Server and VMware Workstation all goes well until it asks us to run two scripts as root.
    http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnOEL5UsingVMwareServer2.php
    The script "/u01/app/grid/11.2.0/root.sh" completes successfully on the first node, rac1, however, it fails on the rest of them with the following error:
    CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node rac1, number 1, and is terminating
    An active cluster was found during exclusive startup, restarting to join the cluster
    Start of resource "ora.crsd" failed
    CRS-2800: Cannot start resource 'ora.asm' as it is already in the INTERMEDIATE state on server 'rac2'
    CRS-4000: Command Start failed, or completed with errors.
    Failed to start Oracle Clusterware stack
    Failed to start Cluster Ready Services at /u01/app/grid/11.2.0/crs/install/crsconfig_lib.pm line 1065.
    /u01/app/grid/11.2.0/perl/bin/perl -I/u01/app/grid/11.2.0/perl/lib -I/u01/app/grid/11.2.0/crs/install /u01/app/grid/11.2.0/crs/install/rootcrs.pl execution failed
    Instead of using shared disk as "independent-persistent" disks I've also used openfiler 2.99 to allocate storage by following below given link. With that the issue was that the iSCSI disks were not persistent and no solution worked to fix that.
    http://www.jobacle.nl/?p=957
    I also tried to use OCFS2 for OCR and VOTING disks, the installation completes successfully, however, the asm instance, registry, and few other services doesn't start. When I tried to reboot all the machines not a single oracle service came up. The crs just died because of OCR and VOTING disks.
    I've tried so many things but nothing works.
    My last installation was as follows:
    ==============================
    VM: rac1, rac2, rac3
    Config of each VM:
    Memory: 4GB
    Processors: 4
    HDD (SCSI): 25GB
    /dev/sda1 > /boot (100M)
    /dev/sda2 > swap (8G)
    /dev/sda3 > / (17G)HDD2 (SCSI): 60GB (Persistent)
    /dev/sdb1 > ocrvot1 (2G)
    /dev/sdb2 > ocrvot2 (2G)
    /dev/sdb3 > ocrvot3 (2G)
    /dev/sdb4 > data1 (10G)
    /dev/sdb5 > data2 (10G)
    /dev/sdb6 > data3 (10G)
    /dev/sdb7 > fast1 (10G)
    /dev/sdb8 > fast2 (10G)HDD3 (SCSI): 60GB (Persistent)
    /dev/sdc1 > ocrvot4 (2G)
    /dev/sdc2 > ocrvot5 (2G)
    /dev/sdc3 > ocrvot6 (2G)
    /dev/sdc4 > data4 (10G)
    /dev/sdc5 > data5 (10G)
    /dev/sdc6 > fast3 (10G)
    /dev/sdc7 > fast4 (10G)
    /dev/sdc8 > fast5 (10G)NIC 1: Bridge
    NIC 2: Bridge
    Pre-requisites completed.
    ASM Disks labeled.
    runcluvfy succeeds for all nodes
    All nodes can see and write to the ASM disks.During the installation of GI 11.2.0.2 at prerequisites test got one error:
    PRVF-5449 : Check of Voting Disk location "ORCL:(ORCL:)" failed
    However, according to Metalink, note ID 1267569.1, its a bug and its going to be fixed in 11.2.0.3. The note gives a workaround which is the manual testing of the ASM disks from all the nodes and as long it succeeds we can ignore the error. Therefore, I just ignored the error and carried on. When prompted I executed the first script, "/u01/app/oraInventory/orainstRoot.sh ", on all the nodes successfully. The second script, "/u01/app/grid/11.2.0/root.sh" completes successfully on rac1, however, fails on the rest of the nodes.
    On rac2 the alertrac2.log contains the following errors:
    CRS-5019:All OCR locations are on ASM disk groups [OCRVOT], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/u01/app/grid/11.2.0/log/rac2/agent/ohasd/oraagent_oracle/oraagent_oracle.log".and oraagent_oracle.log contains the following errors:
    2011-07-15 22:53:47.748: [ora.asm][1090414912] {0:0:215} [check] checkCrsStat 2 CLSCRS_STAT ret: 1842011-07-15 22:53:47.748: [ora.asm][1090414912] {0:0:215} [check] clsnUtils::error Exception type=2 string=
    2011-07-15 22:53:47.748: [ora.asm][1090414912] {0:0:215} [check] AsmAgent::checkCbk: Exception UserErrorException
    2011-07-15 22:53:47.748: [ora.asm][1090414912] {0:0:215} [check]
    2011-07-15 22:53:47.748: [ora.asm][1090414912] {0:0:215} [check] InstAgent::check checkCounter 0 prev clsagfw_status 1 current clsagfw_status 4
    2011-07-15 22:53:48.599: [    AGFW][1117755712] {0:0:166} Agent received the message: AGENT_HB[Engine] ID 12293:1089
    2011-07-15 22:53:48.755: [ COMMCRS][1128261952]clsc_connect: (0x10c5d5b0) no listener at (ADDRESS=(PROTOCOL=IPC)(KEY=CRSD_UI_SOCKET))
    On rac1:
    ========
    [root@rac1 bin]# ./crsctl status res -t
    NAME TARGET STATE SERVER STATE_DETAILS
    Local Resources
    ora.OCRVOT.dg
    ONLINE ONLINE rac1
    ora.asm
    ONLINE ONLINE rac1 Started
    ora.gsd
    OFFLINE OFFLINE rac1
    ora.net1.network
    ONLINE ONLINE rac1
    ora.ons
    ONLINE ONLINE rac1
    ora.registry.acfs
    ONLINE ONLINE rac1
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
    1 ONLINE ONLINE rac1
    ora.cvu
    1 ONLINE ONLINE rac1
    ora.oc4j
    1 ONLINE ONLINE rac1
    ora.rac1.vip
    1 ONLINE ONLINE rac1
    ora.scan1.vip
    1 ONLINE ONLINE rac1
    On rac2
    ========
    The alert+ASM2.log has the following errors:
    SQL> ALTER DISKGROUP ALL MOUNT /* asm agent call crs *//* {0:0:215} */
    NOTE: Diskgroup used for Voting files is:
    OCRVOT
    Diskgroup used for OCR is:OCRVOT
    NOTE: cache registered group OCRVOT number=1 incarn=0xee7b8cf5
    NOTE: cache began mount (not first) of group OCRVOT number=1 incarn=0xee7b8cf5
    NOTE: Loaded library: /opt/oracle/extapi/64/asm/orcl/1/libasm.so
    NOTE: Assigning number (1,0) to disk (ORCL:OCRVOT1)
    NOTE: Assigning number (1,1) to disk (ORCL:OCRVOT2)
    NOTE: Assigning number (1,2) to disk (ORCL:OCRVOT3)
    NOTE: Assigning number (1,3) to disk (ORCL:OCRVOT4)
    NOTE: Assigning number (1,4) to disk (ORCL:OCRVOT5)
    NOTE: Assigning number (1,5) to disk (ORCL:OCRVOT6)
    ERROR: no PST quorum in group: required 3, found 0
    NOTE: cache dismounting (clean) group 1/0xEE7B8CF5 (OCRVOT)
    NOTE: dbwr not being msg'd to dismount
    NOTE: lgwr not being msg'd to dismount
    NOTE: cache dismounted group 1/0xEE7B8CF5 (OCRVOT)
    NOTE: cache ending mount (fail) of group OCRVOT number=1 incarn=0xee7b8cf5
    NOTE: cache deleting context for group OCRVOT 1/0xee7b8cf5
    GMON dismounting group 1 at 2 for pid 23, osid 19831
    NOTE: Disk in mode 0x8 marked for de-assignment
    NOTE: Disk in mode 0x8 marked for de-assignment
    NOTE: Disk in mode 0x8 marked for de-assignment
    NOTE: Disk in mode 0x8 marked for de-assignment
    NOTE: Disk in mode 0x8 marked for de-assignment
    NOTE: Disk in mode 0x8 marked for de-assignment
    ERROR: diskgroup OCRVOT was not mounted
    WARNING: Disk Group OCRVOT containing configured OCR is not mounted
    WARNING: Disk Group OCRVOT containing voting files is not mounted
    ORA-15032: not all alterations performed
    ORA-15017: diskgroup "OCRVOT" cannot be mounted
    ORA-15063: ASM discovered an insufficient number of disks for diskgroup "OCRVOT"
    ERROR: ALTER DISKGROUP ALL MOUNT /* asm agent call crs *//* {0:0:215} */
    SQL> ALTER DISKGROUP ALL ENABLE VOLUME ALL /* asm agent *//* {0:0:215} */
    Any help would be appreciated. Thanks.
    Still miss those days when Oracle used to release easy to use and easy to install softwares, but now thats not the case. Grid Infrastructure, Grid Control, and other similar technologies have become so complicated and difficult for us to install on VMs and play with them.
    Kashif.
    Updates:
    Metalink doc, Oracle Grid Infrastructure 11.2.0.2 Installation or Upgrade may fail due to Multicasting Requirement [ID 1212703.1], shows similar errors that I've in my log files. Therefore, I thought Multicast could be the culprit. Nonetheless:
    [oracle@rac3 mcasttest]$ ./mcasttest.pl -n rac1,rac2,rac3 -i eth0,eth1
    ########### Setup for node rac1 ##########
    Checking node access 'rac1'
    Checking node login 'rac1'
    Checking/Creating Directory /tmp/mcasttest for binary on node 'rac1'
    Distributing mcast2 binary to node 'rac1'
    ########### Setup for node rac2 ##########
    Checking node access 'rac2'
    Checking node login 'rac2'
    Checking/Creating Directory /tmp/mcasttest for binary on node 'rac2'
    Distributing mcast2 binary to node 'rac2'
    ########### Setup for node rac3 ##########
    Checking node access 'rac3'
    Checking node login 'rac3'
    Checking/Creating Directory /tmp/mcasttest for binary on node 'rac3'
    Distributing mcast2 binary to node 'rac3'
    ########### testing Multicast on all nodes ##########
    Test for Multicast address 230.0.1.0
    Jul 15 23:57:30 | Multicast Succeeded for eth0 using address 230.0.1.0:42000
    Jul 15 23:57:31 | Multicast Succeeded for eth1 using address 230.0.1.0:42001
    Test for Multicast address 224.0.0.251
    Jul 15 23:57:32 | Multicast Succeeded for eth0 using address 224.0.0.251:42002
    Jul 15 23:57:33 | Multicast Succeeded for eth1 using address 224.0.0.251:42003
    Hence, the issue is not multicast related.
    Kashif.
    Edited by: Kashif Khan on Jul 15, 2011 9:00 PM

    Kashif Khan wrote:
    THE ISSUE HAS BEEN RESOLVED!
    With the same configuration the installation completed successfully on Oracle's Virtual Box. I had a lot of issues while installing Grid Control 11g on VMware, but, that got installed successfully as well on the Virtual Box.
    Hence proved, VMware is no good for Oracle virtualization any more.
    Hi,
    Good if you have it resolved. Now could you please mark the thread as answered to avoid confusion
    Cheers

Maybe you are looking for

  • Creation of Invoice in ecc system from SRM

    Hi, We are using SRM 7.0 and ECC 5.0. When we post a invoice(without PO reference) the IDOC get transmitter. The status of the invoice IDOC is successful ( status 53 ) but no invoice document gets created in the backend system. Has any one got this p

  • How to call or not call a Trigger in same table based on condition?

    Hi How to call or not call a Trigger in below situations.. If a table contains a record of same value i.e, [i[u]]ID 1 1 3 In above ID 1 is repeated for two times. In this situations i don't want to call a trigger.. But, the value ID is for 3, now i w

  • When is PCI-6704 supported by NI-DAQmx?

    As of NI-DAQmx 7.3, this analog output card is only supported by Traditional NI-DAQ. This is basically a question for NI, but if you know feel free to answer! Thanks, -David Moerman

  • Adding a submenu

    I have this piece of code: <tr> <td width="165"><a href="javascript:;" class="navText" onclick="MM_goToURL('parent','announcements.html');return document.MM_returnValue"> Announcements</a></td>         </tr> does anyone know where in this code I can

  • Exporting to DVCPRO HD in Premiere Pro CC

    am using Premiere Pro CC on a PC and need to export to DVCPRO HD on my settings window for export I have the export settings as quicktime and in the middle of the window I select the Video Codec of DVCPRO HD 720p60 all other settings are set to their