** 911 ** Cannot connect to oracle 9i database No suitable Driver

All:
Any help rendered would be appreciated. (jdk 1.4.2_06, Tomcat 4.0,
Oracle DB 9i Windows XP)
I have a web app (Jasper report tool) and I cannot connect to a Oracle 9i database.
1)error received: "Apr 2, 2007 2:05:15 PM com.entDB.Enterprise_db connectToDatabase SEVERE: Function connectToDatabase() - Cannot load the driver, reason:java.sql.SQLException: No suitable driverCheck classpath for driver java.sql.SQLException: No suitable driver
2)CLASSPATH SETTING = C:\tomcat\common\lib\ojdbc14.jar
3)Source code:
protected boolean connectToDatabase() {
try {
// I tried this !!! Class.forName("oracle.jdbc.driver.OracleDriver");
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
con = DriverManager.getConnection("URL,USER,PASSWORD ");
return true;
}catch (SQLException e) {
logger.error("Function connectToDatabase() - Cannot load the driver, reason:" + e.toString() + "Check classpath for driver ", e);
return false;
4.I placed a copy of the jar file in TOMCAT common lib, and server lib.
I have tried various solutions listed at different web sites without success. Has anyone had similiar problems? Can anyone assist?
thanks ......
******* Confused *********

I used 911 because It is an emergency for me (I am
under a deadline) . You might want to read this: Urgent Questions
URL, PASSWORD, USER are strings
declared in another section of code.Yes, but in the code you posted the variable names are all inside double quotes?

Similar Messages

  • Cannot connect to Oracle 11gR2 database from SQL Server 2005

    Both SQL Server (Windows) and Oracle (Linux) are in 64bit environments.
    I have done the following on a Windows 2008 R2 with SQL Server 2005:
    Install InstantClient from Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (x64) to C:\Oracle
    Install oledb from 64-bit ODAC 11.2 Release 3 (11.2.0.2.1) for Windows x64 by executing install.bat oledb c:\oracle odac
    Note: Not sure whether 11.2.0.2.1 version of ODAC will cause any problem since I cannot find 11.2.0.1.0 version.
    I have checked the Allow inprocess of OraOLEDB.Oracle provider in SSMS.
    I have executed sp_addlinkedserver @server = 'ORACLE_TEST', @srvproduct = 'Oracle', @provider = 'OraOLEDB.Oracle', @datasrc = '##.##.##.##:1521/TEST'
    The ##.##.##.## is the ip address of the Linux server which has the Oracle 11gR2 database TEST.
    I have executed sp_addlinkedsrvlogin @rmtsrvname = 'ORACLE_TEST', @useself = 'FALSE', @rmtuser = 'xxxx', @rmtpassword = 'yyyy'
    The xxxx is the oracle username and yyyy is the password for the oracle user xxxx.
    I know the oracle database TEST is up since I have setup connection in Oracle SQL Developer having:
    ##.##.##.## as the hostname
    1521 as the Port
    xxxx as the username
    yyyy as the password
    TEST as the service name
    When I click Test Connection for the linked server ORACLE_TEST in SSMS, it just hang.
    When I issue a query like select count(*) from oracle_test..xxxx.table1, it just run forever. I'm not so sure how to query an oracle table. I have also tried select count(*) from oracle_test.xxxx.xxxx.table1.
    When I retype the password in the Linked Server Properties, it just run forever.
    Do I need to create a tnsnames.ora on the Windows machine?
    Do I need to change the tnsnames.ora on Linux machine?
    I'm very new to Oracle.

    This forum is dealing with connections from an Oracle database to SQL Server - so the Oracle database is the driving site and this is the way round from your linked server set up.
    As you're suing the instant client you might post your issue in the instant client forum:
    Instant Client

  • Cannot connect to Oracle express database using Oracle forms 10 on win XP

    Hello All,
    I have installed Oracle Developer Suite 10g along with Oracle Express edition database on Windows XP home edition. (Do get successful installation message)
    When i open up Forms builder and try to use connect option- it comes up with user name, password and database dialogue box?
    If I enter user name and password I choose while installation express edition database it comes up with the following error:
    "ORA-12560:TNS:protocol adapter error"
    Have checked the services and they all seem to be running, have tried deinstalling/installing by removing registry values but still no luck.
    In fact what ever I type the error message remains the same.
    On the other hand I can access Express edition database using user name and password I choose during its installation.
    Can any one please reply me what details i need to enter here? Is it same as I set up during express edition database installation? What about database?
    Please help. As I am struggling big time.
    Thanks in advance.

    You may be having the same problem as this guy:
    Forms 6i - ora-012203 tns:unable to connect to the destination
    You need to start SQL Plus and see if you can log in, too, to make sure there are not other problems.
    What are you using for the Database name (the third entry following username and password)?

  • VB6 source code cannot connect to Oracle database after compile to file.exe

    Hi All,
    I have a problem about VB6 connect with Oracle database. It can connect as normal when run on VB program. After compiled to file.exe and execute, it cannot connect to Oracle database. What's going on ? Please advise? Thank you.
    Here is sample of my code connection.
    Option Explicit
    Private wsData As New ADODB.Connection
    wsData.ConnectionString = _
    "Provider=MSDAORA.1;User ID=lsp;Password=lsp2007;Data Source=prd01;Persist Security Info=False"
    wsData.Open
    End sub
    Rgads,
    Ats.

    Hi,
    I believe you're in the wrong forum, this forum is for Oracle Application Express.

  • DUPLICATE DB : ORA-17629: Cannot connect to the remote database server

    [oracle@ora11g1 ~]$ export ORACLE_SID=sales
    [oracle@ora11g1 ~]$ rman target sys/sales@sales
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Jun 5 13:00:15 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: SALES (DBID=690066655)
    RMAN> connect auxiliary sys/salestby2@salestby2
    connected to auxiliary database: SALES (not mounted)
    RMAN> DUPLICATE TARGET DATABASE FOR STANDBY FROM ACTIVE DATABASE SPFILE
    2> SET DB_NAME= 'sales'
    3> SET DB_UNIQUE_NAME= 'salestby2'
    4> SET control_files='/u02/oradata/salestby2/control01.ctl','/u02/oradata/salestby2/control02.ctl'
    5> SET DB_FILE_NAME_CONVERT='/u02/oradata/sales/','/u02/oradata/salestby2/'
    6> SET LOG_FILE_NAME_CONVERT='/u02/oradata/sales/','/u02/oradata/salestby2/';
    Starting Duplicate Db at 05-JUN-13
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=20 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwsales' auxiliary format
    '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwsalestby2' targetfile
    '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesales.ora' auxiliary format
    '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesalestby2.ora' ;
    sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesalestby2.ora''";
    executing Memory Script
    Starting backup at 05-JUN-13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=58 device type=DISK
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/05/2013 13:05:26
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01017: invalid username/password; logon denied
    ORA-17629: Cannot connect to the remote database server
    continuing other job steps, job failed will not be re-run
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/05/2013 13:05:27
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/05/2013 13:05:27
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01017: invalid username/password; logon denied
    ORA-17629: Cannot connect to the remote database server

    Welcome to the oracle forums!
    Please take some time to go through [url https://forums.oracle.com/forums/ann.jspa?annID=1535]FAQ PAGE
    Always post 4 digit oracle version and OS details.
    Post any query out put between \  \ tags
    Mark your questions as answered if you get the answer
    Password of SYS user on primary and standby must be same.Copy the password file from primary to standby server
    scp $ORACLE_HOME/dbs/orapwv112 <oracle_user@auxiliary_host>:/u01/app/oracle/product/11.2/dbs/orapwdupv112

  • ERROR: Install cannot verify the oracle 10g Database

    I just completed installation of the SES 10.1.8.2 version and am now trying to apply the 10.1.8.4 Service Pack. After the OUI screen asks for my sys password, I click on Next and receive a popup error message that reads,
    Install cannot verify the oracle 10g Database. Please ensure that the database and its listener are running and please verify that the information you entered is correct.
    The installer log file (installActions2010-04-15_08-56-19PM.log) shows this:
    *** Specify the SYS Password Page***
    Calling Query EmQueries4.2.2 checkUserExists
    schemaName = SYS
    schemaPassword = Protected value, not to be logged
    connectString = (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=HostNodeName_1)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=Ses01.HostNodeName_1)))
    userName = EQSYS
    Query Returned: ERROR:Exception occured while connecting to database. Please check the connection details of the database you specified and retry.
    Io exception: Got minus one from a read call
    Error:*** Alert: Install cannot verify the Oracle10g Database. Please ensure that the database and its listener are running and please verify that the information you entered is correct. ***
    User Selected: Yes/OK
    ===
    I've verified that I can login as EQSYS using sqlplus. Also tested that I can login as sys, too. I've also tested the login using the Admin console and that is fine, too.
    Any ideas on what is causing this or how to fix it is most welcome as I've not encountered this error before when installing SES or a service pack. I've even tried the OUI for Service pack 10.1.8.3 but also get the same error.
    I've checked the listener.ora and tnsnames and they are OK. I've checked and the listener is running and so is the DB.
    Right now, I have the Oracle SES instance up and running at 10.1.8.2 but need to upgrade this to the same level as the other SES search nodes.
    Edited by: user8655787 on Apr 15, 2010 2:18 PM
    My listener.log file is showing this message each time, I run the OUI and enter the sys password and click "Next"
    15-APR-2010 23:17:05 * 12502
    TNS-12502: TNS:listener received no CONNECT_DATA from client

    A couple of other things that I have tried but have had no affect. I'm still getting the same error:
    1. Tried recreating the orapwd file
    orapwd file=orapwprdses01 password=prdses01
    And make sure that the pfile or spfile has:
    remote_login_passwordfile='EXCLUSIVE'
    another OTN posting said to try this:
    1. Go to directory $ORACLE_HOME/network/admin
    2. Modify sqlnet.ora file with following parameter:
    tcp.validnode_checking = no
    3. If you don't want to disable this, you can put the machine names as follows:
    tcp.invited_nodes=(machine1, machine2)
    3. Bounce the listener.
    .... but, I'm still getting the same error when trying to run the .runInstaller OUI for the service pack for 10.1.8.4.

  • Unable to connect to Oracle Applications database (afscpgcs) after clone

    Hi,
    I have just moved (clone using rapidclone) two of our 11.5.10.2 install from a solaris SPARC 8 to 10 . After the clone, while discoverer 10g works perfectly well in one environment, it is giving the error below in the another environment.
    - Failed to connect to database - Unable to connect to Oracle Applications database (afscpgcs)
    Notes:
    1. For the 2 environments, nothing as changed apart from the hostnames.
    2. The password has not changed on both - from source to targets.
    3. This happens when launching discoverer 10g from Apps.... discoverer works well on it own if not launched from apps.
    I raised a SR with oracle and the 2 things they said have not worked. they said
    1. change signon password case parameter - but I cannot find that in the list of system parameters on our system.
    2. The other note says apply patch 6430269 and I can confirm this patch has been on the system for sometime.
    Please advise on this if you have come accross this before and you can help here.
    Thanks

    Thanks for your concern. I have used the notes you listed but no luck. One thing I have to point out here is that I have always cloned from solaris 8 to 8 for years without this problem. Now I am cloning from solaris 8 to 10 and the problems is on just one environment. The other is working well. The problem seems to be related to the apps password but the password has not changed at all. Also, I have tried to change the password to something else and ran autoconfig but no luck. Please help

  • Unable to connect to Oracle Applications database invalid username/password

    Hi,
    Ou Requirement is we want to connect to Oracle Applications using discoverer plus and discoverer viewer.
    Application Server used : 10.1.2.0.2
    Oracle Applications : R12 RUP4
    We have installed application server 10g with OID and when we try to connect to oracle applications we are getting
    A connection error has occurred.
    - Failed to connect to database - Unable to connect to Oracle Applications database: invalid username/password.
    Regards
    Ketan

    Hi,
    I think better to check with your sysadmin or DBA on this, I had the same isuse before but Apps 11i with Discoverer, I talked to ERP sysadmin and worked fine.
    Since applications userid cannot talk with Discoverer schema (eul10_us) and it should directly talk with APPS user and then APPS user can talk with Discoverer user.
    To the best of my knowledge I provided.
    --skat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • SharePoint 2007:Cannot connect to the configuration database.

    The share point 2007 server under Windows Server 2008 R2 runs well formerly, but suddenly the user can't visit the site with error on page:
    Cannot connect to the configuration database.
    I also checked windows log with bellow main errors:
    Log Name:      Application
    Source:        Office Server Search
    Date:          2015/2/28 22:30:47
    Event ID:      10034
    Task Category: Gatherer
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      ***
    Description:
    Could not access the Search service configuration database.
    Context: Application 'b9f7f366-4027-4923-b5ce-b93c132df7c3'
    Details:
     Unspecified error
     (0x80004005)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Office Server Search" />
        <EventID Qualifiers="49152">10034</EventID>
        <Level>2</Level>
        <Task>3</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-02-28T14:30:47.000000000Z" />
        <EventRecordID>2323514</EventRecordID>
        <Channel>Application</Channel>
        <Computer>***</Computer>
        <Security />
      </System>
      <EventData>
        <Data>
    Context: Application 'b9f7f366-4027-4923-b5ce-b93c132df7c3'
    Details:
     Unspecified error
     (0x80004005)</Data>
      </EventData>
    </Event>
    ======================================
    Log Name:      Application
    Log Name:      Application
    Source:        Windows SharePoint Services 3
    Date:          2015/2/28 22:30:50
    Event ID:      5586
    Task Category: Database
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      ***
    Description:
    Unknown SQL Exception 64 occured. Additional error information from SQL Server is included below.
    A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Windows SharePoint Services 3" />
        <EventID Qualifiers="0">5586</EventID>
        <Level>2</Level>
        <Task>484</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-02-28T14:30:50.000000000Z" />
        <EventRecordID>2323517</EventRecordID>
        <Channel>Application</Channel>
        <Computer>***</Computer>
        <Security />
      </System>
      <EventData>
        <Data>64</Data>
        <Data>A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)</Data>
      </EventData>
    </Event>
    ==================================================
    Source:        Windows SharePoint Services 3
    Date:          2015/2/28 22:31:00
    Event ID:      27745
    Task Category: General
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      ***
    Description:
    The description for Event ID 27745 from source Windows SharePoint Services 3 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on
    the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    #50071: Unable to connect to the database SP_Config on ***.  Check the database connection information and make sure that the database server is running.
    the message resource is present but the message is not found in the string/message table
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Windows SharePoint Services 3" />
        <EventID Qualifiers="14130">27745</EventID>
        <Level>2</Level>
        <Task>1105</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-02-28T14:31:00.000000000Z" />
        <EventRecordID>2323520</EventRecordID>
        <Channel>Application</Channel>
        <Computer>***</Computer>
        <Security />
      </System>
      <EventData>
        <Data>#50071: Unable to connect to the database SP_Config on ***.  Check the database connection information and make sure that the database server is running.</Data>
      </EventData>
    </Event>
    Please kindly support to find the root cause and guide how to fix it ASAP.
    Many appreciations for your hellp in advance!
    Note:
    1)As checked, SQL server service is running well;
    2)Web server log under the path C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\LOGS with bellow errors:
    03/02/2015 11:25:53.28  mssearch.exe (0x0F0C)                    0x08FC Search Server Common         
     GathererSql                    0 Monitorable CSqlCrawl::ExecuteCommand() Failed in GetSession, Error is 0x80004005 - File:d:\office\source\search\search\gather\server\gatherobj.cxx
    Line:9654 
    03/02/2015 11:25:53.39  mssearch.exe (0x0F0C)                    0x08FC Search Server Common           Common                       
     0 Monitorable Application b9f7f366-4027-4923-b5ce-b93c132df7c3, resource 1: pIDBInitialize->Initialize error. Failed to create a non fast load session. - File:d:\office\source\search\search\searchdll\resourcemanagerimpl.cpp Line:608 
    03/02/2015 11:25:53.39  mssearch.exe (0x0F0C)                    0x08FC Search Server Common           Common                       
     0 Monitorable CResourceManager::CreateSession Error creating non fastload session 'Provider=SQLOLEDB;Extended Properties='Server=***;Database=SP_SharedServices_Search;Trusted_Connection=yes;App=Windows SharePoint Services;Timeout=15';'. - File:d:\office\source\search\search\searchdll\resourcemanagerimpl.cpp
    Line:658 
    03/02/2015 11:25:53.39  mssearch.exe (0x0F0C)                    0x08FC Search Server Common           UtilCommon                   
     0 Monitorable Dumping error record [0]:   Source: Microsoft OLE DB Provider for SQL Server   HRESULT: 0x80004005   Code: 11   Description: [DBNETLIB][ConnectionRead (recv()).]General network error. Check
    your network documentation. - File:d:\office\source\search\common\pkmutild\atldbext.cxx Line:1250 
    03/02/2015 11:25:53.39  mssearch.exe (0x0F0C)                    0x08FC Search Server Common           GathererSql                  
     0 Monitorable CSqlCrawl::ExecuteCommand() Failed in GetSession, Error is 0x80004005 - File:d:\office\source\search\search\gather\server\gatherobj.cxx Line:9654

    Hi,
    In this forum we mainly discuss questions and feedbacks about Office products, since your question is about SharePoint, I suggest you post the question in SharePoint forum to get further assistance:
    https://social.technet.microsoft.com/Forums/office/en-US/home?category=sharepoint
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Reporting Services Server cannot connect to the DPM database. ( dpm 2010 )

    Reporting Services Server cannot connect to the DPM database.
    To repair the configuration, follow steps for repairing DPM from DPM Setup Help.
    ID: 3001
    i can not try the Recommended action from error codes catalog because i did not found Change reporting
    password

    Hi,
    We have had several customers report this after installing DPM 2012 R2.
    To get past the below error while scheduling reports to be mailed.
    Reporting Services Server cannot connect to the DPM database.
     To repair the configuration, follow steps for repairing DPM from DPM Setup Help.
     ID: 3001
    Perform the following steps as necessary:
    1. Created a new local group called "DPMDBReaders$<DPMServerName>"
    2. Created a new user called, "DPMR$<DPMServerName>" and added this user to DPMDBReader group that we created on step 1.
    3. Open SQL management studio and  add the DPMDBReaders$<DPMServerName  group to Logins under Security in SQL Management Studio.
    4. Modify the properties and under General – change the default database to the current DPMDB name.
    5. Under User Mapping – select the current DPMDB name and check the db_datareader checkbox.
    6. In SQL Management Studio, navigate to the Databases > DPMDB > Security > Users > and select the DPMDBReaders$<DPMServerName>" group.  
    Right-click the DPMDBReaders$<DPMServerName>" group and select properties. Under the
    Securables section, click on Search. On the add objects dialog, click OK. 
    On the Select Objects dialog, click the Objects type, then check the
    stored procedure checkbox. Browse and add the following two stored procedures
     “Prc_MOM_Heartbeat_Get” and “prc_MOM_ProductionServer_Get”.    Grant the Execute permission for both of the stored procedures added. 
    7. In SQL Reporting Services Configuration manager, under Report Manager URL - click on the link to open the portal (http://localhost/Reports)
          i. Click on the DPMReoprts_GUID to open the DPM reports.
          ii. Click on the DPMReporterDataSource
          iii. On the poperties page, enabled "Credentials stored securely in the report server" on DPMReporterDataSource configuration page and added “DPMR$<DPMServerName>” user account that we created in step 2. 
          iv.  tick "Use as Windows credentials when connecting to the data source." 
          v.   Click ‘Test connection’ on the same page to verify whether it can connect successfully.
    8.  In SQL Reporting configuration manager - change the Service Account to use build-in account: Network Service
    9. Reboot the DPM Server.
    10. You should then be able to schedule e-mailed reports.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
    posting is provided "AS IS" with no warranties, and confers no rights.

  • Problem connecting with Oracle 9i Database

    Hi Gurus,
    I'm having problems with connecting to Oracle 9i Database.
    I have a newly installed XML Publisher running on Windows XP SP3.
    I can't get my data source connected to other server running Oracle Database 9i.
    It keep on saying "Could not establish connection"
    Im using jdbc:oracle:thin:@host:port:sid format , username/password are correct.
    What seems to be the problem?
    Hoping for your help.
    Thanks

    Hi Steve,
    Let me clarify. I had an Oracle XML Publisher installed in my laptop (Windows XP SP3). I want to configure my XML Publisher to connect to a server
    where Oracle Database is installed (Oracle 9i DB). I can connect to this database using SQL Plus, SQL Developer. My problem is that after configuring the JDBC connection in XML Publisher, i still can't connect to the said oracle db. The info are correct SID, Hostname etc. and still can't connect.
    Hope this clarifies the situation.
    Thanks

  • Failover not working while connecting to Oracle 11g database

    Hi,
    We have a J2EE application that connects to Oracle 11g database.
    The connection URL we are using is as below
    jdbc:oracle:thin:@(DESCRIPTION =(SDU=32768)(ADDRESS=(PROTOCOL=TCP)(HOST=abc.hostname.com)(PORT=1525))(ADDRESS=(PROTOCOL=TCP)(HOST= xyz.hostname.com)(PORT=1525))(CONNECT_DATA=(SERVICE_NAME=PQR)))
    The issue that we are facing is, the database failover is not working.The application only connects to the first host in the TNS entry.Evertime there is a failure in the connection to the first host,manual steps are required to swap the hosts.
    This started happening after we upgraded Oracle DB from 9i to 11g.
    We are using the client jar of 9i to connect to 11g. Could this be causing the problem?
    Thanks In Advance.
    -Tara

    889517 wrote:
    Yes, you are right. Nothing else was updated.
    The application still works as expected except the failover.If you are correct then I seriously doubt it has anything to do with java. It would be something to do with Oracle and/or network infrastructure.
    If not then it is some small problem with the driver. You can try updating the driver but I wouldn't expect a fix.

  • Cannot connect to the configuration database

    I tried to configure my server with active directory after I have successfully configured sharepoint . For a mistake , they made me delete the active directory and now when I try to connect to the admin section or site page it me give the following error :
    "Cannot connect to the configuration database"
    Deleting the active directory ; I noticed that all the other users have disappeared and the service : SQL AGENT ( Sharepoint ) not run and the error is :
    " This installation of SQL Server Agent is disabled. The edition of SQL Server that installed this service does not support SQL Server Agent." Thank you for the Help

    Was the active directory server that you removed the last active directory server in the farm?  If so then your only two real choices are to rebuild everything from scratch or restore everything from backup.
    If it was just that you were trying to make the SharePoint server into a Domain Controller, then I still think you may need to rebuild. But you can try re-adding the SharePoint server to the Domain.  It may have lost its Domain membership when you removed
    AD from it and gone back to being a standalone server.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Cannot connect to the configuration database when App Server is down

    Hi, 
    We had a App Server not come up after a restart.
    When trying to access a site we get
    the "Cannot connect to the configuration database"
    We have now started the App Server and everything working again...
    My problem, there are 2 WFE servers with NLB Configured apart of the App Server ....Why wont the site work and why cant i connect to config DB?
    Something must be misconfigured? Sites should be connecting to the WFE servers and work if App server is down.
    Yes, NLB Points to the WFE Servers.
    Any ideas where i can look? This is a Project PWA Server, not sure if that will make a difference but the root SharePoint site had the same issue.
    Thanks

    Hi Danie,
    is it possible that the SQL Server is running on the same box as the SharePoint (application) server? This would be the only thing that can explain the symptoms. Please check following:
    IP address of the SharePoint Application server by typing nslookup AppServerName on the SharePoint WFE in Command Prompt (cmd.exe). Replace
    AppServerName with the FQDN of the application server, e.g. appserver.domain.local
    IP address of the SQL server by typing nslookup SQLServerName on the SharePoint WFE in Command Prompt (cmd.exe). Replace
    SQLServerName with the FQDN of the SQL server, e.g. sqlserver.domain.local
    SQL Server alias configuration by checking the entries in the cliconfg.exe on both SharePoint WFEs
    In most cases, SQL server has nothing to do with the SharePoint Application server role and it is stored on the separate box. My guess here is that the farm started as one-server farm setup and over the time got expanded by additional 2 WFEs, moving
    Web Server roles from the initial server, leaving it with the application role (service applications) and SQL server on the same box.
    But, I am just making an educated guess here. Can you provide some additional information?
    Hth,
    Aleks

  • Migration on active directory from 2003 to 2008 and SharePoint error Cannot connect to the configuration database.

    Hi all,
    In advance i`m thankful for your help,
    I come across a problem while migrating the Active Directory from Windows Server 2003 to Windows Server 2008 R2,
    SharePoint 2010 is getting this error Cannot connect to the configuration database. The same goes for the Administrative page,
    Nothing is change in the MySql database, same log in, same server name, i guess it have something to do with the SharePoint Farm,
    My question is will reinstalling the SharePoint do the job? Or is there an easy way to get back on my old track?
    I`ve try to sync users... no good
    PS C:\Users\administrator.SERVERM> if($configManager.IsSynchronizationRunning()
    -eq $false)
    >> {
    >> $configManager.StartSynchronization($true)
    >> Write-Host "Started Synchronizing"
    >> }
    >> else
    >> {
    >> Write-Host "Already Synchronizing"
    >> }
    >>
    Can someone explain a little bit more about this:
    6.     
    Can they talk to each other?
    Verify that SharePoint is using the correct IP address for the SQL server. To do this, run the ping command on the Windows SharePoint Services server.
    Verify that the SharePoint server is obtaining the correct IP address for the SQL server from DNS. To do this, run the
    nslookup command from the SharePoint Server.
    Make sure that there are no incorrect entries for the SQL server. To do this, examine the Hosts file on the SharePoint server. This file is in the following location:
    %systemroot%\system32\drivers\etc\Hosts
    On the SharePoint server, look for SQL client aliases. To do this, follow these steps: Click
    Start, click Run, and then type cliconfg in the
    open box.
    Click the Alias tab. By default, there are no SQL client aliases. If you have any aliases for the SQL server, verify that they are correct, or remove them.
    Open the SQL Server Configuration Manager (Start SQL Server 2008  Configuration Tools  SQL Server Configuration Manager
    Navigate to the SQL Server Network Configuration  Protocols for MSSQLSERVER node in the tree view
    Enable TCP/IP and Named Pipes (you’ll be warned that these changes will not apply until the service is shut down)
    Aleksandar Delcevski, Web-administrator School of Journalism and Public Relations Jurij Gagarin 17-1/1, 1000 Skopje, R. Macedonia t: + 389 2 3090 004 mob: +38972 257 565 [email protected]; www.vs.edu.mk; www.medium.edu.mk; www.unescochair-vs.edu.mk

    Hiya,
    I don't think it is necessary to reinstall.
    You should just confirm that your basic infrastructure is working.
    1: On the SharePoint server, open cmd and write ping <SQL server name>
    2: On the SharePoint server, open cmd and write nslookup <SQL server name>
    Basically the steps outlined here, is the best way to start:
    6.     
    Can they talk to each other?
    Verify that SharePoint is using the correct IP address for the SQL server. To do this, run the ping command on the Windows SharePoint Services server.
    Verify that the SharePoint server is obtaining the correct IP address for the SQL server from DNS. To do this, run the
    nslookup command from the SharePoint Server.
    Make sure that there are no incorrect entries for the SQL server. To do this, examine the Hosts file on the SharePoint server. This file is in the following location:
    %systemroot%\system32\drivers\etc\Hosts
    On the SharePoint server, look for SQL client aliases. To do this, follow these steps: Click
    Start, click Run, and then type cliconfg in the
    open box.
    Click the Alias tab. By default, there are no SQL client aliases. If you have any aliases for the SQL server, verify that they are correct, or remove them.
    Open the SQL Server Configuration Manager (Start SQL Server 2008  Configuration Tools  SQL Server Configuration Manager
    Navigate to the SQL Server Network Configuration  Protocols for MSSQLSERVER node in the tree view
    Enable TCP/IP and Named Pipes (you’ll be warned that these changes will not apply until the service is shut down)

Maybe you are looking for

  • Logical Operator: Something wrong in storing 2 numbers into one byte.

    Hi, I intend to use one byte to store x and y. My formula is "y ^ (x << 4)". First 8 bits are for x, next 8 bits are for y. int x = 9, y = 13; System.out.println("x: " + x); System.out.println("y: " + y); In order to store z, I've to use (byte) to ca

  • Regarding downpayment

    hello experts,              Can anyone tell me the exact concept behind down payment for customers and vendors. What all steps do i need to do that ?? thank you

  • Disable Function Key F3 in Internet Explorer

    I would like to disable function keys F1 and F3 while playing my flash movie in internet explorer. I am using these keys within Flash to do some actions. I got the script working for Function Key F1 using the following script <script language="javasc

  • User switching locks up and more

    I had Lion OSX on my 27" iMac. A few weeks ago the screen would just go black while you would be on the computer, just randomly. Could not wake it up to come back on. You would have to press the power button 3-4 times to get the screen back. I took i

  • Mountain Lion wifi WEP security connection issues

    After installing Mountain Lion I experienced connection issues with my linksys router when waking from sleep. After trying numerous recommended fixes that would only work for a short period of time I have come across a fix that resolved all issues. 1