Problems connecting to Oracle 8i database

Hi,
I have installed Oracle 8i Enterprise on Win2k Server and created a database. Using Net8 Configuration tool, I have created service name. I was able to connect to this service but now for some reason I can't connect to this service, I tried setting up diffrent listener for this service at different port but that also is not working, then finally I ended up reinstalling 8i on same machine and now its not recognising the new database instance. The messages ,am getting is "TNS: no listener.." "TNS: Oracle ...service does not exist" in services all services and listeners are started. "listener.ora" and "tnsnames.ora" files have required entries. Please help or advise ASAP. (I was the one who pushed for Oracle in our company against MS-SQL server and now Iam realising the pain)

Can you connect to the database on the server, using SQL*PLUS? I have installed Oracle 8i on 2 Win2K Servers which are also Primary Domain Controllers; when rebooted, their databases are not automatically started, as it is on my other servers which are pure database servers; perhaps this is your problem. I cured mine with a call to server manager in the server startup, but I'm sure there's a better solution!
If the database is indeed open, from the command prompt try
LSNRCTL START which will start the listener or at least give you some more info as to the listener.How are you attempting to connect?

Similar Messages

  • 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.

  • Installing JDBC driver to connect to Oracle 8i Database from Weblogic 10.3

    I want to connect to Oracle 8i database from weblogic 10.3 application server. I found a classes12. zip file on Oracle.com to use as driver for the same.
    I am also connecting Oracle 9i database from the app server. Now if i replace the classes12. jar from the lib folder won't it disallow me to connect to the Oracle 9i database.
    2ndly the claases12.zip file i found from the site is for jdk 1.2 will it create any problems. Please let me know
    Kindly let me know what is the standard procedure to install a new driver in Weblogic 10.3.

    I tried to install weblogic 10.3 using jdk 1.5.07 but. it is not supported. Moreover from the sites also i found that it's only the application wars and ears compiled in jdk 1.5 need not be recompiled in 1.6. But no reference of jdk 1.5 is there.
    I tried to use thin client from the code and connect to Oracle 7i
    i got the following exception.
    java.lang.ArrayIndexOutOfBoundsException: 4
    at oracle.jdbc.driver.T4C8TTIdty.marshal(T4C8TTIdty.java:465)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:329)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
    490)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:202)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
    n.java:33)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at com.omantel.finacc.DAO.DatabaseConnection.getUBCCConnection(DatabaseC
    onnection.java:372)
    at com.omantel.finacc.java.DMADAO.getUBCLAmount(DMADAO.java:411)
    at jsp_servlet.__receiptentry._jspService(__receiptentry.java:1198)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3498)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    <Apr 22, 2009 3:36:47 PM GMT+04:00> <Error> <HTTP> <BEA-101017> <[weblogic.servl
    et.internal.WebAppServletContext@553afb - appName: 'DMA', name: '/DMA', context-
    path: '/DMA', spec-version: 'null'] Root cause of ServletException.
    com.omantel.finacc.exception.AppException: 4
    at com.omantel.finacc.exception.ExceptionHandler.handleException(Excepti
    onHandler.java:43)
    at com.omantel.finacc.java.DMADAO.getUBCLAmount(DMADAO.java:428)
    at jsp_servlet.__receiptentry._jspService(__receiptentry.java:1198)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3498)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    java.lang.ArrayIndexOutOfBoundsException: 4
    at oracle.jdbc.driver.T4C8TTIdty.marshal(T4C8TTIdty.java:465)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:329)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
    490)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:202)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
    n.java:33)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at com.omantel.finacc.DAO.DatabaseConnection.getUBCCConnection(DatabaseC
    onnection.java:372)
    at com.omantel.finacc.java.DMADAO.getUBCLAmount(DMADAO.java:411)
    at jsp_servlet.__receiptentry._jspService(__receiptentry.java:1198)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3498)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >

  • Problem connecting to Oracle 8i (817) using Packaging Wizard of 9i Lite

    I am having a problem to connect to Oracle 8i database (817) from using Packaging Wizard. I am getting a error message when I tried to use Packaging Wizard -&gt; Snapshot -&gt; Import -&gt; Username/password and jdbc:oracle:oci8:@connect string or jdbc:oracle:thin:@host:1521:Sid
    The error message is 'No Suitable Driver. Make Sure the Proper JDBC drive for "jdbc:oracle:oci8i:@&lt;connect string&gt;" is in the classpath"
    I would appricated if someone can send me any help on this.
    My email address is [email protected]
    Thanks
    Joshua

    I am having a very similar problem.
    It seems that the packaging wizard forces you to use a JDBC driver to connect to your DB.
    I'm getting the "No suitable driver" message also.
    I even made sure the classpath line they ask you to remove in the preinstallation tasks was there. It wasn't to start, so I added it, but that didn't fix the problem.

  • 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

  • Oracle 6i Forms can't connect to Oracle XE Database(Linux)

    What is the problem, I can't connect my Oracle 6i Forms to Oracle XE Database that installed on Linux(Fedora Core 4/Ubuntu 6.06), but no problem when I try to connect to Oracle XE Database that installed on Windows.
    Thanks,

    See this thread, seem me interesting
    Re: Trouble to start Oracle XE listener
    on forms 10g it's work:
    using Database XE and Forms 10g
    and see too:
    http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html
    http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm
    http://www.oracle.com/technology/tech/linux/install/xe-on-kubuntu.html
    Regards

  • Which version of SQL*Plus can connect to Oracle 8i Database?

    Which version of SQL*Plus can connect to Oracle 8i Database?
    I would like to know which version of SQL*Plus can connect to Oracle 8i Database?
    Where can I download it?
    (I have tried SQL*Plus version 11 and the program said it does not support the connection to Oracle 8i Database)
    Thank you very much!

    By the way, what's your 8i database release version
    SQL> select * from v$version;
    Any SQL*Plus of 8i can connect to 8i Database.
    Only SQL*Plus of 9.0.1 can connect to 8.1.7 and 8.1.6 Database
    Only SQL*Plus of 10.1.0/10.2.0 can connect to 8.1.7 Database
    Absolutely NO SQL*Plus of 11g can connect 8i databases
    Regards,
    Sabdar Syed,

  • How we build Java Database Connectivity for Oracle 8i Database

    Can any one send me a sample code for Java Database Connectivity for Oracle 8i Database
    it will be a grat help
    Thanks & Regards
    Rasika

    You don't need a DSN if you use Oracle's JDBC driver.
    You didn't read ANY of the previous replies. What makes you think this one willk help? Or any instruction, for that matter?
    Sounds like you just want someone to give it to you. OK, I'll bite, but you have to figure out the rest:
    import java.sql.*;
    import java.util.*;
    * Command line app that allows a user to connect with a database and
    * execute any valid SQL against it
    public class DataConnection
        public static final String DEFAULT_DRIVER   = "sun.jdbc.odbc.JdbcOdbcDriver";
        public static final String DEFAULT_URL      = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\\Edu\\Java\\Forum\\DataConnection.mdb";
        public static final String DEFAULT_USERNAME = "admin";
        public static final String DEFAULT_PASSWORD = "";
        public static final String DEFAULT_DRIVER   = "com.mysql.jdbc.Driver";
        public static final String DEFAULT_URL      = "jdbc:mysql://localhost:3306/hibernate";
        public static final String DEFAULT_USERNAME = "admin";
        public static final String DEFAULT_PASSWORD = "";
        /** Database connection */
        private Connection connection;
         * Driver for the DataConnection
         * @param command line arguments
         * <ol start='0'>
         * <li>SQL query string</li>
         * <li>JDBC driver class</li>
         * <li>database URL</li>
         * <li>username</li>
         * <li>password</li>
         * </ol>
        public static void main(String [] args)
            DataConnection db = null;
            try
                if (args.length > 0)
                    String sql      = args[0];
                    String driver   = ((args.length > 1) ? args[1] : DEFAULT_DRIVER);
                    String url      = ((args.length > 2) ? args[2] : DEFAULT_URL);
                    String username = ((args.length > 3) ? args[3] : DEFAULT_USERNAME);
                    String password = ((args.length > 4) ? args[4] : DEFAULT_PASSWORD);
                    System.out.println("sql     : " + sql);
                    System.out.println("driver  : " + driver);
                    System.out.println("url     : " + url);
                    System.out.println("username: " + username);
                    System.out.println("password: " + password);
                    db = new DataConnection(driver, url, username, password);
                    System.out.println("Connection established");
                    Object result = db.executeSQL(sql);
                    System.out.println(result);
                else
                    System.out.println("Usage: db.DataConnection <sql> <driver> <url> <username> <password>");
            catch (SQLException e)
                System.err.println("SQL error: " + e.getErrorCode());
                System.err.println("SQL state: " + e.getSQLState());
                e.printStackTrace(System.err);
            catch (Exception e)
                e.printStackTrace(System.err);
            finally
                if (db != null)
                    db.close();
                db = null;
         * Create a DataConnection
         * @throws SQLException if the database connection fails
         * @throws ClassNotFoundException if the driver class can't be loaded
        public DataConnection() throws SQLException,ClassNotFoundException
            this(DEFAULT_DRIVER, DEFAULT_URL, DEFAULT_USERNAME, DEFAULT_PASSWORD);
         * Create a DataConnection
         * @throws SQLException if the database connection fails
         * @throws ClassNotFoundException if the driver class can't be loaded
        public DataConnection(final String driver,
                              final String url,
                              final String username,
                              final String password)
            throws SQLException,ClassNotFoundException
            Class.forName(driver);
            this.connection = DriverManager.getConnection(url, username, password);
         * Get Driver properties
         * @param database URL
         * @return list of driver properties
         * @throws SQLException if the query fails
        public List getDriverProperties(final String url)
            throws SQLException
            List driverProperties   = new ArrayList();
            Driver driver           = DriverManager.getDriver(url);
            if (driver != null)
                DriverPropertyInfo[] info = driver.getPropertyInfo(url, null);
                if (info != null)
                    driverProperties    = Arrays.asList(info);
            return driverProperties;
         * Clean up the connection
        public void close()
            close(this.connection);
         * Execute ANY SQL statement
         * @param SQL statement to execute
         * @returns list of row values if a ResultSet is returned,
         * OR an altered row count object if not
         * @throws SQLException if the query fails
        public Object executeSQL(final String sql) throws SQLException
            Object returnValue;
            Statement statement = null;
            ResultSet rs = null;
            try
                statement = this.connection.createStatement();
                boolean hasResultSet    = statement.execute(sql);
                if (hasResultSet)
                    rs                      = statement.getResultSet();
                    ResultSetMetaData meta  = rs.getMetaData();
                    int numColumns          = meta.getColumnCount();
                    List rows               = new ArrayList();
                    while (rs.next())
                        Map thisRow = new LinkedHashMap();
                        for (int i = 1; i <= numColumns; ++i)
                            String columnName   = meta.getColumnName(i);
                            Object value        = rs.getObject(columnName);
                            thisRow.put(columnName, value);
                        rows.add(thisRow);
                    returnValue = rows;
            else
                int updateCount = statement.getUpdateCount();
                returnValue     = new Integer(updateCount);
            finally
                close(rs);
                close(statement);
            return returnValue;
         * Close a database connection
         * @param connection to close
        public static final void close(Connection connection)
            try
                if (connection != null)
                    connection.close();
                    connection = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a statement
         * @param statement to close
        public static final void close(Statement statement)
            try
                if (statement != null)
                    statement.close();
                    statement = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a result set
         * @param rs to close
        public static final void close(ResultSet rs)
            try
                if (rs != null)
                    rs.close();
                    rs = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a database connection and statement
         * @param connection to close
         * @param statement to close
        public static final void close(Connection connection, Statement statement)
            close(statement);
            close(connection);
         * Close a database connection, statement, and result set
         * @param connection to close
         * @param statement to close
         * @param rs to close
        public static final void close(Connection connection,
                                       Statement statement,
                                       ResultSet rs)
            close(rs);
            close(statement);
            close(connection);
    }%

  • Forms 6i is not connecting with Oracle 11g database?

    Forms 6i is not connecting with Oracle 11g database?
    How to resolve this issue?

    Hi,
    Once you installed the Forms and Reports, you need to configure the paramters like tnsnames.ora in you path.
    There will be one folder in the Installation path of Forms and Reports search for tnsnames.ora file..and you need to Updated the file as per the which ORACLE Server you are connecting and then try.. it..
    Default path for forms will be "ORACLE_HOME/net80/admin".. search for tnsnames.ora and modify it..
    - Pavan Kumar N

  • How to connect from Oracle 9i database on windows to sap database (orcle 8)

    Hi,
    I really need expert advice from anyone..I wud like to connect my Oracle 9i database running on windows platforms to SAP database (oracle 8) running on Unix platform.
    Is there any special code to establish the connectivity...or we can simply use the ORacle net services(tnsnames.ora) file to connect to the SAP database??
    I wud really appreciate any expert comments on this.
    Thank you
    Ratheesh

    Hi Ratheesh
    If you are able to create an ODBC connection from the Windows Oracle server to the SAP database then you can use Oracle Heterogeneous Services to query the SAP database from Oracle through a DB link. To configure Heterogeneous Services is quite easy. You put an entry into the SID_LIST_LISTENER part of the listener.ora file:
    (sid_desc=
          (sid_name=hsql)                    
          (oracle_home=C:\oracle\ora92)
          (program=hsodbc)                    
        )  Then create an entry in your tnsnames.ora file to connect to your new listener service:
    apmacnew =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = tcp)(HOST = cntrra20-lab20)(PORT = 1527))
        (CONNECT_DATA =
          (Service_name = apmacnew)
        (HS = ok)
      )And lastly create a database link using the tnsnames entry.

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Problem in connecting to Oracle 8 database through Oracle 11g client ?

    Database : Oracle 8
    Client Machine :
    Oracle 11g
    Window7
    Microsoft ODBC Driver for Oracle
    Hi,
    I am using Oracle 11g client to connect Oracle 8 database using Microsoft ODBC Driver for Oracle but I am getting error when after entered the password
    Run-time error '40002':
    IM006: [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
    I am using VB6 application on Windows 7 and I created DSN using Microsoft ODBC Driver for Oracle but I got the above error when I try to connect to Database.
    Please help me out on this that why this error is coming
    Thanks
    Amit Panwar

    Provided its a 32-bit application, possibly. Microsoft ODBC for Oracle is discontinued and has no 64-bit version, so a 64-bit application won't be able to use it at all.
    I do see it listed as a 32-bit ODBC driver on my Windows 7. The problem is that I think it relies on having an Oracle client installed on the machine, and you've got the same problem of Oracle client 11 not working with 8 server. You could try it and see if it works I suppose, or try installing an older client and see if that makes it work.
    If it's just for testing purposes though you could throw up an Oracle XE server and test against that.

  • StarOffice Base - problem connecting to Oracle database

    When opening StarOffice 8 Base (just installed on Windows) with "Connect to an existing database" with type "Oracle JDBC", Base could not find the Oracle JDBC driver (class oracle.jdbc.driver.OracleDriver).
    Even when I manually copied ojdbc4.jar into C:\Program Files\Sun\StarOffice 8\program\classes, the class has not been found/loaded.
    Looks like a bug to me ...
    - Jiri ([email protected])

    You need to set the StarOffice configuration to include the far file.
    Tools > Options > StarOffice > Java
    Click on the "Class path.." button.
    Then in the class path dialog click on "Add Archive"
    Browse to the jar file and select it.
    You will need to restart StarOffice for this to take effect.
    HTH
    Drew

  • ** 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?

Maybe you are looking for

  • External Hard drive is not detecting

    I recently converted my external hard drive from FAT32 to NTFS using the Command Prompt as outlined on your website. Everything was working fine, I copied a 7GB file to it and everything worked. The next day I switched on my PC, I couldn't and still

  • How do I reset my password? (OS X Lion 10.7)

    I got a new MacBook Pro (OS x Lion 10.7) After installing 5 updates it won't recognize my password. It tried several times, and nothing happened. I plugged in my power cord and for some reason it logged in after I re typed my password. I restarted it

  • Maverick 9.5.2 update has broken Mail, Safari & AppStore

    Hi I have mid 2010 MacBook Pro and last night installed update of Mavericks. On restart, Mail was not not showing the message in the preview pane (or when double clicking the message open). Then when I opened Safari, I wasn't able to see anything in

  • How to use ResourceBundle

    I have a piece of code which tries to read a property file like this: ResourceBundle bundleHandle = ResourceBundle.getBundle("Example"); Here Example.properties is a file located in another directory which is dynamically constructed during deployment

  • Photoshop CS4 psd conversion to jpg

    This is an inconsistent problem but one I havent been able to figure out. I resize a photo for web display, image size says 892k for the psd file after resizing. I do a save as jpg and the jpg size is 1.7 MB. at about 80%, it gets bigger? This does n