Error while connecting to SQL SERVER from OWB

HI All,
I got the following error while connecting to SQL SERVER from OWB(10gR2).
1). Created DSN with (GMSCADA)
2). tnsnames file is updated with the following information
GMSCADA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.60.29)(PORT = 1433))
(CONNECT_DATA =
(SERVICE_NAME = SA)
3). Tried to connect to SQL SERVER frm OWB
Username: sa
password: sa
host: 172.16.60.29
port: 1433
service name: GMSCADA
schema: sa
I got the following error, when I click Test Connection:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from OWB_3095
Regards,
Kumar.

Hi David,
What is Gateway, How I have to setup, Please let me know.
I tried according to the Demo, But still I am facing the same problem. Which system IP I have to put in the host details.
Can u please let me know.
Regards,
Kumar.

Similar Messages

  • -net.sourceforge.jtds.jdbc.Driver ERROR WHILE CONNECTING TO SQL SERVER

    Hi,
    While making a new connection to Sql Server Express Edition Database, through Oracle Sql Developer i am getting a problem when retrieving the database.The error is "-net.sourceforge.jtds.jdbc.Driver" .I have downloaded the "jTDS - SQL Server and Sybase JDBC driver " from sourceforge website, but i am confused about where to paste it.
    thanks.

    I'm not sure why you are having the error but I am sure of the following:
    1. This forum is not appropriate for SQL*Developer questions.
    2. Or questions about code from SourceForge
    3. Or Microsoft products.
    It seems unlikely this has anything to do with Oracle so I would recommend you find a forum related to the driver if one exists. Otherwise you can try the SQL*Developer forum but I would be there aren't more than a dozen other people on the product trying to do this.

  • Error while connecting to SAP Server from Windows XP Client.

    Hi,
    I am facing the problem while i am trying to connect my Windows XP Clients( With Service Pack 3, DI-API Installed and Microsoft SQL Server Native Client Installed) to SAP server i got follwoing Error.
    Connection Failed :
    SQL State : '08001'
    SQL Server Error : 233
    [Microsoft][SQL Native Client]Named Pipe Provider Could not open the connection SQL Server [233].
    Connection Failed :
    SQL State : "HYT00"
    SQL Server Error : 0
    [Microsoft][SQL Native Client]Login Timeout Expired
    Connection Failed:
    SQL State :'08001'
    SQL Server Error : 233
    [Microsoft][SQL Native Client]An Error has occured while establishing new connection to the server.
    When connecting SQL Server 2005, this failure may caused by the fact that under the default setting SQL Server does not allow remote connection.
    Regards,
    Arpit Shah

    Hi Arpit,
    Solution of Error in starting B1 after installation should help here too.
    Kind regards
    Mario
    SAP Business One Forums team

  • Regarding the tns-12541 error in connecting to sql server from oracle

    i need to create a database link from oracle on windows box to sql server.I configured everything but when i am trying to tnsping the sqlserver
    it throws me an TNS12541 no listener error.
    The listner status is up and the listener works

    little confusion here, are you trying to tnsping sql server? tnsping is an Oracle utulity.
    To acces sql server from Oracle you may use Transparent Gateway for Microsoft SQL - http://download.oracle.com/docs/cd/B19306_01/gateways.102/b14270/ch3.htm#sthref66 and Heterogeneous Connectivity - http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/intro.htm#sthref33
    Best regards.

  • Error while connecting to SQL Server

    hello guys ,I am getting a small probs when Itry to connect Sql Server.
    after code is complied, firstly,it can run,but secondly it can't run
    error is:
    Exception in thread "main" java.lang.nullPointerException

    my code is:
    import java.sql.*;
    public class ConnectionBean
    private Connection connection;
    private Statement statement;
    private static final String      
    drive="com.microsoft.jdbc.sqlserver.SQLServerDriver";
    private static final String dbURL="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=java";
    private static final String login="sa";
    private static final String password="";
    public ConnectionBean()
    try
         Class.forName(drive);
         connection = DriverManager.getConnection(dbURL,login,password);
         statement = connection.createStatement();
    catch (ClassNotFoundException e)
    System.err.println("ConnectionBean: driver unavailable");
    connection = null;
    catch (SQLException e) {}
    public ResultSet executeQuery(String sql) throws SQLException
         return statement.executeQuery(sql);
    protected void finalize()
    try
    connection.close();
    catch (SQLException e) { }
    public static void main(String[] args)
         ConnectionBean bean = new ConnectionBean();
         String sql = "select * from Conferences";
         try
              ResultSet rs= bean.executeQuery(sql);
              while ( rs.next())
                   System.out.println(rs.getString("ID"));
                   System.out.println(rs.getString("city"));
                   System.out.println(rs.getString("airport"));
                   System.out.println(rs.getString("seats"));
         catch (SQLException e)
         finally
         bean.finalize();     
    }

  • Error while connecting to SQL Server 2000 using Heteregenous Services 11g

    Hope this is the right thread to post on! We have been given the challenge of connecting to and reading data from a SQL Server 2000 database.
    Our Infrastructure guys have set up the network access.
    The SQL Server DB is set to windows NT Authentication only (N.B. NOT Mixed Mode) as there is an application running against the DB locally that will not run under Mixed Mode.
    Our Oracle partner has download and installed the 11g Heteregenous Services. all works fine until the point we try to create the DBLink and then connect to the SQL Server DB when we get:
    SQL> CREATE DATABASE LINK infoteam1.sco.infoteam.co.uk CONNECT TO "sco.infoteam.co.uk/infoteam" IDENTIFIED BY "########" USING 'dg4msql';
    Database link created.
    SQL> select * from "systables"@infoteam1.sco.infoteam.co.uk;
    select * from "systables"@infoteam1.sco.infoteam.co.uk
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Oracle][ODBC SQL Server Driver][SQL Server]Login failed for user
    'sco.infoteam.co.uk/infoteam'. Reason: Not associated with a trusted SQL Server
    connection.[Oracle][ODBC SQL Server Driver]Invalid connection string attribute
    ORA-02063: preceding 2 lines from INFOTEAM1.SCO.INFOTEAM.CO.UK
    The question is can we (and if so how)?) connect to the SQL Server using an NT Windows Authorised account?
    Jeremy

    Hi,
    Please look at MOS note
    ORA-28500: Generic connectivity using ODBC DSN over mapped drive fails [ID 105210.1]
    Ora-28500 with Ms Sqlserver - Not associated with a trusted SQL Server connection [ID 333775.1]
    Regards,
    Edited by: gjilevski1 on Aug 31, 2010 8:23 AM

  • Error while connecting to MDM server from Webdynpro

    Hi ,
       I am trying to connect to MDM server (5.5 SP04 no patches) through a webdynpro application . The following is the piece of code that I am using as a test .
    CatalogData CatalogData = new CatalogData();
        int resultLogin = 0;
        try {
              resultLogin = CatalogData.Login("USNOC01AQ05",2005,"Admin","Erico1234","English [US]");
        }catch(Exception e){
              wdContext.currentContextElement().setValueattr("Not Connected");
             //System.out.println("Error while establishing connection");
        if (resultLogin != RC.RC_OK){
              wdContext.currentContextElement().setValueattr("Not Connected");
             //System.out.println("Error logging to the SDM server");
             //System.exit(-1);
         wdContext.currentContextElement().setValueattr("Connected");
        //System.out.println("MDM server connected");
    The import statements are as follows
    import a2i.common.CatalogData;
    import a2i.generated.RC;
    I have put the following jar files in the java build path
    MDM4J
    mdm-admin
    mdm-common
    mdm-core
    mdm-data
    mdm-protocol
    When I deploy my application I get the following error
    java.lang.NoClassDefFoundError: a2i/common/CatalogData
    It can't be determined from the exception chain, which class loader failed to load the above class. But at least the class loader of the current application does not contain a resource with name 'a2i/common/CatalogData'.
    What do you guys think is the problem ?
    Regards
    DeepaK Singh

    Hi ,
       I found a document which says that MDM4J is the legacy API and is considered deprecated .The MDM Java API is the new one .I have both of them in the java build path . I am not sure if this is that cause of the problem .
    Now I had a look at the javadoc for the new API but I am not able to locate the class to obtain a connection to the MDM server from a custom application being built in Netweaver Developer Studio . Can someone help me out with the same ?What would be the code to obtain the connection to the MDM server with the new JAVA API ?
    Regards
    DeepaK Singh

  • How to connect to SQL Server from Forms 10g?

    Hello all,
    How do we connect to SQL Server database from Forms 10g?
    In Oracle Metalink site they have suggested using Transparent Gateway for SQL Server as a solution.
    But is there a way we can connect directly to SQL Server from Forms using an ODBC connection
    without installing anything on the database server?
    Pls help!
    Regards,
    Sam

    Hello all,
    I was able to connect to SQL Server from Oracle using Generic Connectivity (HSODBC).
    Transparent gateway was not required.
    Followed metalink note 109730.1
    So, after I created a dblink to SQL Server, I created a synonym for the dblinked SQL Server table.
    When I used the synonym as the table source in Oracle Forms, I got the following error while querying.
    "ORA-02070 - ROWID is not supported in this context."
    This is because Forms has an invisible ROWID field and when data is fetched from SQL Server table
    no Rowid is fetched since SQL Server table doesn't have one.
    Is there a way to overcome this issue or do we have populate the block manually using a SQL query ?
    Pls suggest.
    Regards,
    Sam

  • Trouble shooting while connecting Ms SQL Server 2008

    hi everyone i ve a trouble shooting while connecting to sql server. my whole sql connection code is here. i m using windows 7 64bit. i ve download jdk for 64bit and download jdbc driver too. in the jdbc driver folder i ve copied sqljdbc.jar file in to C:\Program Files\Java\jre6\lib\ext then i ve copied to C:\Program Files\Java\jdk1.6.0_19\jre\lib\ext then C:\Program Files (x86)\Java\jre6\lib\ext. i m not sure to where to copy. also finally i ve copied sqljdbc_auth.dll file in to C:\Windows\System32. there r two sqljdbc_auth.dll files one is 32bit other one is 64bit i checked to c folder and i see there r two microsoft sql server folders one is under program files one is under programfiles(x86). i just copied sqljdbc_auth.dll 64bit version in to system32 folder. i just found these infos from internet. i m new in java. when i run the program i get an error message which is :
    java.sql.SQLException: No suitable driver found for JDBC:sqlserver://localhost;java_data
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at ClientQuery.<init>(ClientQuery.java:31)
    at TicketSale.<init>(TicketSale.java:68)
    at TicketSale.main(TicketSale.java:409)
    the name of the database i want to connect is java_data which i made in sql server. can anyone tell me where did i made wrong?
      import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; import java.util.ArrayList; public class ClientQuery {    // class begin private static final String URL ="JDBC:sqlserver://localhost;java_data"; private static final String USERNAME ="root"; private static final String PASSWORD = " "; private Connection connection = null; private PreparedStatement selectAllClient = null; private PreparedStatement selectClientbyAirline = null; private PreparedStatement insertNewClient = null; // person query constructor begin public ClientQuery (){ try { try { Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); } catch (ClassNotFoundException e) { e.printStackTrace(); } connection = DriverManager.getConnection( URL, USERNAME, PASSWORD ); selectAllClient = connection.prepareStatement("SELECT * FROM Ticket"); selectClientbyAirline = connection.prepareStatement("SELECT * FROM Ticket WHERE airline = ?"); insertNewClient = connection.prepareStatement("INSERT INTO Ticket "+ "(name,surname,airline,flight_no,departure_date,departure_city,arrival_city,departure_time,arrival_time,gate,price)" + "VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"); } // end try catch (SQLException sqlException) { sqlException.printStackTrace(); System.exit(1); } // end catch }  // person query constructor end // select all client in database public List <Client> getAllClient() { List<Client> results = null; ResultSet resultSet = null; try { resultSet = selectAllClient.executeQuery(); results = new ArrayList<Client>(); while (resultSet.next()) { results.add(new Client(     resultSet.getString("name"),     resultSet.getString("surname"),     resultSet.getString("airline"),     resultSet.getString("flight_no"),     resultSet.getString("departure_date"),     resultSet.getString("departure_city"),     resultSet.getString("arrival_city"),     resultSet.getString("departure_time"),     resultSet.getString("arrival_time"),     resultSet.getString("gate"),     resultSet.getString("price"))); }  // end while }  // end try catch (SQLException sqlException ) { sqlException.printStackTrace(); }  // end catch finally { try{ resultSet.close(); } // end try catch (SQLException sqlException) { sqlException.printStackTrace(); close(); }  // end catch }  //end finally return results; } // end of get all client method // select Client by Airline public List <Client> getClientbyAirline(String name ) { List<Client> results = null; ResultSet resultSet = null; try {             selectClientbyAirline.setString(1, name);              resultSet = selectClientbyAirline.executeQuery();             results = new ArrayList<Client>();                         while (resultSet.next()) { results.add(new Client(     resultSet.getString("name"),     resultSet.getString("surname"),     resultSet.getString("airline"),     resultSet.getString("flight_no"),     resultSet.getString("departure_date"),     resultSet.getString("departure_city"),     resultSet.getString("arrival_city"),     resultSet.getString("departure_time"),     resultSet.getString("arrival_time"),     resultSet.getString("gate"),     resultSet.getString("price"))); }  // end while     } // end try catch (SQLException sqlException) { sqlException.printStackTrace(); }  // end catch finally { try{ resultSet.close(); } // end try catch (SQLException sqlException) { sqlException.printStackTrace(); close(); }  // end catch }  //end finally return results; }    // end of select by airline method public int addClient(String name, String surname, String airline, String flight_no, String departure_date, String departure_city, String arrival_city, String departure_time, String arrival_time, String gate, String price) { int result = 0; try { insertNewClient.setString(1, name); insertNewClient.setString(2, surname); insertNewClient.setString(3, airline); insertNewClient.setString(4, flight_no); insertNewClient.setString(5, departure_date); insertNewClient.setString(6, departure_city); insertNewClient.setString(7, arrival_city); insertNewClient.setString(8, departure_time); insertNewClient.setString(9, arrival_time); insertNewClient.setString(10, gate); insertNewClient.setString(11, price); result = insertNewClient.executeUpdate(); }  // end try catch (SQLException sqlException) { sqlException.printStackTrace(); close(); }  // end catch return result; } // end of add Client method public void close () { try { connection.close(); }  // end try catch (SQLException sqlException) { sqlException.printStackTrace(); }  // end catch }  // end close method } // class end  

    Your URL string is, apparantly, incorrect. See the driver documentation.

  • Failure when connecting MS SQL SERVER from ODI ! could not load JDBS driver

    i have some trouble with connecting MS SQL SERVER from ODI.
    I have already downland jdbs driver 3.0 (and 2.0 ) and copy the sqljdbc4.jar to D:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\drivers( where the oracle jdbs driver is already exitst )....but i have this error :
    could not load JDBS driver class..
    thanks

    After more investigation and even more chocolate, we've identified the problem and it's now working. For anyone else who strikes this problem in future, here's something to check/consider/try:
    Even though Squirrel SQL Client was connecting and working ok using the MS JDBC driver (v 3.0), it recorded this in its logs:
    Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AS" in the INTERSECT operation.
    We've found that the open source jTDS driver does not have the same issue as the Microsoft one.
    We've installed the current jTDS driver, recorded the driver name (net.sourceforge.jtds.jdbc.Driver) and the JDBC URL (jdbc:jtds:sqlserver://<hostname>:1433/<database>) and the connection is now working fine.
    Hope this helps other people...
    Thanks to those of you who offered suggestions and things to check...much appreciated.
    Robyn

  • Authentication error while connecting to application server IntegratedWebL

    When I start the IntegrationWeblogicServer in JDeveloper11.1.1.3.0, the server can be started, the IntegratedWeblogicServer cann't be connected because of the authentication error.
    The integrated weblogic server can be started successfully outside the Jdevelper, and I never changed the password of user weblogic.
    <2010-8-24 下午02时55分17秒 CST> <Warning> <Server> <BEA-002611> <Hostname "ppan-cn.cn.oracle.com", maps to multiple IP addresses: 10.182.254.102, 192.168.174.1, 192.168.65.1>
    <2010-8-24 下午02时55分17秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <2010-8-24 下午02时55分17秒 CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    User: weblogic, failed to be authenticated.
    **** Authentication error while connecting to application server IntegratedWebLogicServer. Please check settings.
    **** Failed to complete start-up of application server IntegratedWebLogicServer.
    [Server Instance IntegratedWebLogicServer is shutting down.  All applications currently running will be terminated and undeployed.]
    [Forcing termination of IntegratedWebLogicServer]
    taskkill /F /PID 748
    Process exited.
    What's wrong with the JDeveloper11.1.1.3.0? And How to fix it? Any help is appreciated in advance.
    _Paula                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Paula:
    You may want to check if one of your applications has its own users and groups settings. If you define your own Application's users ang groups settings, you may need to uncheck the setting in JDeveloper ADF Security wizard to avoid overwriting the embedded WLS security settings. Otherwise, even you reset your embedded WLS or recreate it, its settings will be overwritten again once you run your application on it.
    The way to reset or recreate your embedded WLS is to follow Frank's tips.
    Good luck,
    Alex

  • Connect to MS SQL server from OWB on Linux platform

    Hi,
    I want to connect to MS SQL server through OWB, on Linux platform.
    I suppose I would use JDBC driver, and Heterogeneous services. Is that possible?
    I did not see anything on JDBC driver for MS SQL server for Linux platform from Oracle.
    Also, I was wondering is Oracle Gateway 10g for Linux a way to connect to MSSQL server?
    Any leads would be appreciated.
    Thanks
    Ani

    Hi,
    This quite an actual topic for myself, so I decided to take some time to collect some information.
    Start at:
    * Oracle Generic Connectivity and Oracle Transparent Gateway - http://www.oracle.com/technology/products/gateways/gateways_fov.html
    You can use the free Heterogenous Services component named Generic Connectivity for connecting to SqlServer over ODBC. You will need to find (or purchase?) a third-party ODBC driver for SqlServer for Linux, e.g. from www.datadirect.com. Setting this up will allow you to define a databaselink to the SqlServer. Open Gateways implements a limited set of the oracle SQL, so you will have to find out what is possible and what not.
    See also:
    * How To Setup HSODBC on Linux - https://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=264567.1
    * Generic Connectivity Available on Linux x86 with 10g - https://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=261726.1
    You can also use the Transparent Gateway for SqlServer (HS), which is about EURO 12000 per computer(!). This gives you a full implementation of Oracle SQL and you can access the SqlServer like it was Oracle.
    You can also install Microsofts JDBC drivers into Oracle's JVM, and connect through JDBC to SqlServer. This is however not supported by Oracle, but it will work. See:
    * What is required for a Java Stored Procedure to connect to a SQL Server Database? - https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=276167.1
    See also:
    * Options for Connecting to Foreign Data Stores and Non-Oracle Databases - https://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=233876.1
    * JDBC Developer's Guide - http://download-west.oracle.com/docs/cd/B14117_01/java.101/b10979/overvw.htm
    Good luck, Erik Ykema

  • Critical Error: Cannot Connect to SQL Server. {SQL Server} not found. Timeout expired.

    Greetings,
    I have been having some issues with various areas in a SharePoint 2013 farm.  While working my way through a bazillion errors in the event logs, I have found the following error.  It looks to be happening every hour; almost exactly 5 minutes after
    every hour.
    "Cannot connect to SQL Server. A_PROD_SP01 not found. Additional error information from SQL Server is included below.
    Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding."
    I also find, a health analyzer rule that is failing at the same time:
    Availability: One or more servers is not responding.
    However, there isn't any server listed in the Failing Servers section.
    Any thoughts?
    Thank you,
    Bob

    Hi Bob,
    For your issue, it can be caused by that the SharePoint  database access account might not have the necessary permissions to communicate with the SQL Server. Please grant correct permissions to the database access account:
    You must be a member of the Farm Administrators group to perform this task.
    Assign the database access account:
    On the Central Administration home page, click Security and in the
    General Security section click Configure service accounts.
    On the Service Accounts page, in the Credential Management section, in the upper drop-down list click the correct Web application pool for your Web application.
    In the Select an account for this component drop-down list, click the domain account that you want to associate with this Web application pool, or click
    Register new managed account to associate a new domain account with this application pool.
    Click OK to save changes.
    Reference:
    https://technet.microsoft.com/en-in/library/ee513066(v=office.14).aspx
    http://blogs.technet.com/b/wbaer/archive/2009/10/06/intermittent-database-server-connectivity-and-microsoft-sharepoint-products-and-technologies.aspx
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Problem connecting to SQL Server from JDeveloper 10g using jdbc third party

    I am using Oracle 10g Jdeveloper and I tried to setup a database
    connection to SQL Server using various Drivers for JDBC as Merlin, jtds, inet.tds, etc.
    (I had no problem to set up a connection to an Oracle Database using the
    Oracle JDBC driver).
    When I am testing the connection throughout the wizard, I do receive
    this error message: "Unable to find driver:
    com.microsoft.jdbc.sqlserver.SQLServerDriver".
    I m not understanding from last 3 days where to place the corresponding JAR files so thaI may not get the Error.
    When I hit n trialed at various directories of the JDeveloper as </rootDir/jdbc/lib>
    </rootDir/lib>
    </root/jdev/my Work/Application1/Project1/public_html>
    </root/jdev/my Work/Application1/Project1/public_html/web-inf/>
    when I tested the connection I do received:
    "Unable to find driver:
    xxx.xxx.xxx.xxxxxxx Unable to find driver:
    Obviously it can't locate the Micrososft JDBC driver but I can't
    figure out why.
    I tried all kind of things without any success. Is somebody can help
    me and took me beyond this.
    I m trying to build DataSource connection from JavaBeans.
    Please make me out of this cave. I m not finding any of the way to do this.
    The last code I tried is
    try {
    Class.forName("com.inet.pool.PoolDriver");
    com.inet.tds.TdsDataSource tds = new com.inet.tds.TdsDataSource();
    tds.setServerName( "local" );
    tds.setDatabaseName( "bluff" );
    tds.setUser( dbUserName );
    tds.setPassword( dbPassword );
    DataSource ds = tds;
    Connection con = ds.getConnection(dbUserName,dbPassword);
    Statement stmt;
    ResultSet rs = null;
    Thanks,

    you are confusing me at least as your error is discussing the microsoft driver yet you are configuring the inet datasource.
    I do not use JDeveloper, but you need to make sure that whatever is servicing your web app/JavaBean has access to the driver. Not sure why you are not doing a JNDI look up of the resoure, but because you are not you can stick the driver jar in the lib directory within the WAR bundle. I would suggest that you add the driver to the lib/ext or the lib directory which is loaded at boot time for your web container and then use JNDI to look up your DataSource to reduce your coding maintenance headaches.

  • Error while connecting to the database from a JSP Page

    Hi,
    I am using a simple JSP page which is based on the sample JSP pages from OTN.
    When I try to connect to my database using the following code:
    InitialContext ic = new InitialContext();
    OracleDataSource ds = (OracleDataSource)ic.lookup("jdbc/OTN9iDS");
    m_connection = ds.getConnection();
    I get the following error:
    Naming exception Error while connecting to the database : javax.naming.NameNotFoundException: jdbc/OTN9iDS not found in JDBCTest-JDBCTestProject-webapp
    Does anybody know wht this is happening?
    Any help would be appreciated
    FRank

    Hi Frank,
    Are you using standalone OC4J or 9iAS ? If you are using standalone OC4J then you need to add a proper data source entry in %OC4J_HOME%j2ee\home\config\data-sources.xml file.
    If you are using 9iAS the you can log in to the Enterprise Manager console and add the data source entry by using wizard provided by 9iAS.
    Ensure the case of the JNDI lookup string, since, it is case sensitive.
    Hope this helps.
    Abhijeet

Maybe you are looking for

  • KT6V + sempron 2800 does not boot when BIOS saved

    Hi, I have just bought a new sempron 2800 to be use on a KT6V LSR. I plugget in my KT6V but was not recognised well (but all was working ok with windows). To be recognised, I have flashed with the last bios of MSI my motherboard... and now I have the

  • BT activation date confirmed and changed 4 times! ...

    Back in November last year I had placed an order to move my services (phone and BT infinity 2 at the time) to my new home (new build) and asked for an activation date of 22 December. At the time I paid for line rental for onw year in advance, which I

  • Is that possible to update iOS 4 or later in iPhone 2G?

    Hello! I'm using iPhone 2G in which newest application could not be installed because of iOS 3.1.3. I just wanna know that can i update my iPhone OS with iOS 4 or later / is there any technical specification required to be updated. Pls, guide me.

  • Xp laptop keeps asking for "network key" when trying to connect to airport

    Hi all. Just connected a new airport extreme and all went well with the Imac and ethernet connected Vista machine and 3 iphones. Life was good and then I tried to connect my toshiba running xp sp2 and I keep getting a message saying the network requi

  • Error in Shipment Cost document(Delivery date is in past)

    Dear All, While iam trying to save the shipment cost document, i am getting error like Delivery Date is in past. Due to this error iam unable to generate the P.O in back ground. We are creating the shipment Cost for the S.T.O process.   I want to kno