Personal Oracle 8i (8.1.6) & JDBC

I am having some problems in connecting to oracle 8i (8.1.6) database using JDBC thin drivers thru applets with Ie5 browser.
Whenever i tried to connect I am getting this error "cannot access <hostname>"
I tried giving local, localhost, 127.0.0.1, default and my machine name Yempati as hostname but everytime i get the same error.
I could able to connect from java application using oci8 and thin but not thru applets.
I have Personal Oracle 8i, OS Win98 and JDK1.2
I am this problem with the applet JdbcApplet.java the test applet that comes with Oracle 8i.
Your help is appreciated .
Thanks in advance.
Ram Kumar
null

I have also the same problem. Please help me too with this.

Similar Messages

  • JDBC Driver for Personal Oracle 7.0

    I have Personal Oracle 7.0 setup on my PC. I need to install JDBC driver for it. Where Can I get it? Thanks.

    www.oracle.com

  • Cannot connest to JDBC through Personal Oracle

    Hi
    I have installed Personal Oracle in my system and downloaded classes12.zip from your site. But though the driver registered properly, I am unable to connect to the database.
    The error is "Invalid oracle URL".
    I am using the url of the format: "jdbc:oracle:thin@m/c name:port:SID",username,password.
    Username and password are "Scott" and "Tiger" respectively.
    But I am not able to find out what parameters should I give in "M/C name,port,SID". Please do help me out.
    I have created a service name called "try" under "Bequeath" protocol and SID is"ORCL" using NetEasy Config. Is it correct?
    Please do help in connecting to my database.
    Thanks

    put the MySQL libary in the folder WEB-INF -> lib

  • Connecting to personal oracle

    Hello,
    would anyone help me to connect to the personal oracle using thin driver. i tried with the folling url. but i could not.
    iam using ocalce8.0, jdk1.2.2.
    String url="jdbc:oracle:thin:scott/tiger@(DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = BEQ)
    (PROGRAM = oracle80)
    (ARGV0 = oracle80ORCL)
    (ARGS = '(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')
    (CONNECT_DATA = (SID = ORCL)
    Connection con=DriverManager.getConnection(url);
    I get an exception java.sql.SQLException: IoException :The Network Adapter could not establish the connection.
    Pls, help me to connect to the personal oracle.
    thanks,
    Lakshmi

    I think
    String url="jdbc:oracle:thin:scott/tiger"
    is enough for personal oracle versions,
    while you call from local machine.

  • Connected refused to personal oracle

    Iam getting an SQLExcpetion :Connection refused :no further information error
    when trying to connect to personal oracle 8.0.4 using classes102.zip (oracle thin drivers) with jdk1.2.2.
    The same thing works with jdbcOdbc Driver.
    iam not getting the exact reason for this error.
    This is my conect String "con = DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.1:1521:orcl",
    "scott", "tiger"); "
    Pls post the answer to my id :
    [email protected]

    sudha the error is a typo while i was posting and if i compiled with that it would give me compilation error......
    We could not establish connection using the following lines.............
    static final String url="jdbc:oracle:thin:@(description=(address=(host=127.0.0.1)(protocol=tcp)(port=1521))(connect_data=(sid=orcl)))";
    try
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con=DriverManager.getConnection(url,"scott","tiger");
    catch(Exception ex)
    System.out.println("Connection error.........");
    This gave the following error:
    "Network Adapter could not establish connection"

  • Difficulties connecting with oci8 to Personal Oracle 8 on Win98

    After looking through responses to other similar difficulties posted, I still can't seem to get this working.
    I have Personal Oracle 8 running on Win98 on a laptop. I'm using Sun jdk117 and trying to connect with oci8 because the thin driver won't work without a TCP/IP listener which I understand Personal Oracle doesn't support.
    There's an entry in my PATH pointing to c:\jdbc where the oci805jdbc.dll file is, and an entry in CLASSPATH pointing to c:\jdbc\classes111.zip .
    To start with I'm using a simple connect program which shouldn't do much more than make a connection and close it again (please see below).
    The program compiles fine, but when I run it all I get is:
    C:\apache\jserv11b3\servlets>java connect2
    in main()
    connect instantiated
    in tryconnect()
    going to attempt connect
    java.lang.UnsatisfiedLinkError: no oci805jdbc in shared library path
    at java.lang.Runtime.loadLibrary(Compiled Code)
    at java.lang.System.loadLibrary(System.java:561)
    at oracle.jdbc.oci7.OCIDBAccess.logon(OCIDBAccess.java:186)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:127)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:170)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:126)
    at connect2.tryconnect(connect2.java:19)
    at connect2.main(connect2.java:42)
    C:\apache\jserv11b3\servlets>
    I can't see any reason why there should be problems linking oci805jdbc.dll as PATH definitely has an entry pointing to the directory where it is located.
    Doubtless I'm doing something silly, or I'm missing some essential configuration parameter.
    Thanks for any helpful suggestions.
    program code:
    import java.sql.*;
    class connect2
    public int tryconnect()
    throws ClassNotFoundException , SQLException
    System.out.println("in tryconnect()");
    /* Load the Oracle Driver */
    Class.forName ("oracle.jdbc.driver.OracleDriver");
    System.out.println ("going to attempt connect");
    try
    /* get the connection */
    Connection conn =
    DriverManager.getConnection("jdbc racle ci8:@laptop:1521:ORCL", "system", "manager");
    catch (SQLException e)
    System.out.println ("Database Connect Failed");
    System.out.println (e.getMessage());
    return (1) ;
    return (0);
    public static void main(String argv[])
    throws ClassNotFoundException , SQLException
    System.out.println ("in main()");
    /* Create the instance */
    connect2 c = new connect2();
    System.out.println ("connect instantiated");
    /* Call the tryconnect. Returns 0 if success , 1 if failed */
    int Csuccess = c.tryconnect();
    if (Csuccess == 0 )
    System.out.println("Successfully Connected");
    null

    Thanks for your kind response.
    I'll have a look through the docs and see if I can find out how to get the TCP/IP listener running with Personal Oracle.
    I've been trying to use oci805jdbc.dll from the jdbc80520-nt.zip download file.
    Since the original post I've been trying to get the connection working with the Sun JDBC-ODBC bridge, but all I get is:
    C:\apache\jserv11b3\servlets>java connect2
    in main()
    connect instantiated
    in tryconnect()
    going to attempt connect
    Database Connect Failed
    [Microsoft][ODBC Driver Manager] Data source name not found and no default drive
    r specified
    The java code is identical apart from:
    Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
    and
    Connection conn =
    DriverManager.getConnection("jdbc dbc:LAPTOP;database=ORCL", "system", "manager");
    The relevant entry in tnsnames.ora is:
    LAPTOP.WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = BEQ)(PROGRAM = oracle80)(ARGV0 = oracle80ORCL)(ARGS = '(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=BEQ)))'))
    (CONNECT_DATA =
    (SID = ORCL)
    Many thanks for any help.

  • Server timeout with Personal Oracle download

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    All 3 of the Personal Oracle "Disk" zips.
    - Date/Time
    GMT+1 22:00
    GMT+1 07:00
    GMT+1 10:00
    Basically any time.
    - Browser + Version
    Have tried all 3:
    Internet explorer 6.0
    Opera 6.0
    Netscale 6.2.1
    - O/S + Version
    W2K
    - Error Msg
    IE: Connection times out.
    Opera/Netscape: Simply hangs
    ====================
    Download times out after 3 hours or so when using a 256k ADSL line (23KB/sec). Can I get the same download via FTP? Or in smaller chunks?
    Many thanks in advance

    The OCI drivers require a client-side DLL in order to work. I believe it also needs some of SQL*Net. The client-side DLL is available with the Oracle Client software distribution.
    You need to install the Oracle Client software that matches the version of the JDBC drivers you are using on the machine where you are trying to make the connection (the client).
    If you are using the ORacle 8.1.5 JDBC drivers, you need the ORacle 8.1.5 Client software (regardless of what version of the database you are connecting to). Check the Paths tab in your project properties to see what version of the drivers you are using. By default it is 8.1.5 with JDev 2 and 3.0.
    If you want to use a different version of the JDBC drivers, make sure to see the online help for switching driver versions.
    Laura

  • Creating a database on Personal Oracle 9i on Windows 2000

    Hi,
    Well, I cannot create database on Personal Oracle 9i on Windows 2000 via Database Configuration Assistant. Same problem occurs during installation. Here is the message:
    CreateProcess: null -new -sid DES -startmode m error=2
    Does anyone know anything about it?
    Please reply...
    Thank you...

    Apply the lastest patch to the OS and try.
    Joel Perez

  • Installation Problem Personal Oracle 8.0.4 on Windows 2000

    When trying to install Personal Oracle 8.0.4 on a Windows 2000 machine, i get an Error:
    "Unable to delete the NT Service for the SQL *Net V2 Listener".
    No previous installation of Personal Oracle is present on this machine as it's a newly installed OS.
    Any Help would be appreciated

    I tried installing Oracle 8i Personal Edition in Windows 2000. The installer loads and it start installing the files, except when it goes half way through the installation, it quits. I don't know if this is a bug in 8i Personal Edition or not. Because I am unable to install the software on my machine.

  • How to Download Personal Oracle

    After trying several times to download Personal Oracle 9i, I perused this discussion group seeking a solution to a problem that I was having and finding that others were encountering the same problem.
    Perhaps you have encounted a difficulty in unzipping the Personal Oracle downloads... I and others have reported the fact that there are mutltiple CRC errors in the downloaded file when you try to unzip it.
    Well, after analysing the problem I have found a solution and surprise surprise it is marketedly similar to a problem I discovered with Oracle over 3 years ago... a problem which their tech support insisted had to do with the tuning of my companies server... well now I am not so sure that the problem is not inherant within Oracles handling of LOB's on the web. But instead of arguing an old point... let me detail for our users HOW TO DOWNLOAD AND INSTALL there ORacle products.
    Step by step:
    1. Download the product
    2. Download a second copy of the product and save it with a slightly different name
    3. Unzip both copies with Winzip 8 or better. You must unzip them into seperate directories. Save the unzip log which tells you which files contained CRC errors.
    4. Examine both logs and choose the version that contained the fewest CRC errors.
    HERE IS THE SECRET... as in the problem my old employer discovered years ago... the errors occur randomly in LOB downloads... therefore the chance of the same file being corrupt in both downloads is very low.
    5. The log will tell you which directory is being extracted and which file was corrupt... search the log for the string CRC in Wordpad... then find the missing file in the alternate tree and copy it to the working copy.
    6. Repeat for each corrupt file.
    7. when completed you can install the product from your working directory.
    Its not pretty... but it works.
    After searching for work for the last two months I thought it would be a good idea to refresh my skills with the latest version of Oracle... thank you Oracle for forcing me to use my skills to analyse your problems and develop a wotkaround... I now appreciate Postgres even more... I just wish there were employers who recognised that open source software is better supported than commercial products.
    Anyone have a job lead in Denver for a developer with 20 years experiance?

    Hello...
    Simply amazing what it takes to download the 9i.
    In fact I am still trying out your tip, and have had to work on 3 different ZIP sets so far!!
    Still have one or two files that refuse to download right! (Especially the big ones).
    I hope I get closer and closer to the final good set of install files soon!
    Anyway, from what you say, it sounds like Oracle employs certain airheads...

  • Does oracle 8.1.6.0 jdbc thin driver support jdk1.3 and oracle 8.0.5 database ?

    I have downloaded oracle 8.1.6.0 jdbc thin driver(named classes12.zip) to run with jdk1.3 to access oracle 8.0.5, but when I compile and run the jdbccheckup.java downloaded from oracle website like this:
    javac -classpath d:\jdbc\classes12.zip jdbccheckup.java
    (compile succeed)
    java -classpath d:\jdbc\classes12.zip jdbccheckup
    an error occured:
    Exception in thread "main" java.lang.NoClassDefFoundError:jdbccheckup
    Why??????

    Try this isntead.
    java -classpath d:\jdbc\classes12.zip;. jdbccheckup
    an error occured:
    Exception in thread "main" java.lang.NoClassDefFoundError:jdbccheckup
    Why??????

  • Report (release 6.0.8.15.0) failure on tcp/ip connection to personal oracle 8.1.5

    hi,how can i resolve this problem?
    i use personal oracle with a tcp/ip connection and if i run a
    report(developed with report builder oracle) i receive a
    compiler error .if i run this same form on the server,the form
    has no problem.
    the only different is a client's call with tns (the listner is
    start up)
    thank and sorry for my bad english

    Hi, how are you?
    I read your file. On my computer, I got the same problem. First I installed Personal Oracle 8.15 version under window 98. The oracle home is e:\orale\ora81. Then I installed Form 8i in the orale home e:\oracle\ora. After installation, there are two SQLPLUS. One is under ora81 and another is ora. The one which is in e:\oracle\ora81 is working and it can bring up the database. Another one and Forms don't work. They can not connect to the local database. It means my client which is under e:\oracle\ora can't connect to my server which is under e:\oracle\ora81. I think I shoud set up the connection in tnsnames.ora by using Net8 Easy Config. I did it. It failed. Can you help me?
    Thanks.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by harry dhillon ([email protected]):
    No, you shouldn't have to to.
    If you have Personal Oraacle 8 running properly on your PC, then you can just connect to the database from Developer V6 using your normal username/password. For example, if you log on to SQLPLUS as scott/tiger, then the same will work for your forms and reports. You don't even need to enter a connect string. I have it working OK on a Windows '98 PC, with Personal Oracle 8i, and Forms v6i.<HR></BLOCKQUOTE>
    null

  • Personal Oracle 8.1.6 on Win 98

    I tried to install persaonal Oracle 8.1.6 on Win 98 and when I start the Oracle using svrmgrl I got the following error
    Cannot open registry
    software\oracle\homeo\SID_LIST
    starting with default sid
    Then it asks for password. I tried all passwords and finally got error
    ORA-01031 - Cannot logon to Oracle 8i
    I have used UNIX. What is the equivalent of ORACLE_SID and ORACLE_HOME of UNIX in WIN 98. Where all sid's of all startup and shutdown databases are stored.
    Any body knows.
    null

    There is NO need to have to installations of PO8 on single machine,you can create two or more instances of databases.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Sunil:
    Is it possible to have two Databases on a single instllation of personal oracle 8.1.6 on win 98.
    If not, is it possible to install personal oracle 8.1.6 two times on the same win 98 PC, on diffrent dir/oracle home and use both at the same time.<HR></BLOCKQUOTE>
    null

  • Personal Oracle 8.1.5, Installation Problem

    I installed Personal Oracle (Windows NT)8.1.5 and
    I installed Oracle Client 8.1.6
    Personal Oracle (main database: ZEUS) works fine! only if I am at network.
    As soon as I undock my laptop, personal Oracle does not allow me to get connection through sqlplus.
    I checked listeners:
    File:D:\Oracle\Ora81\NETWORK\ADMIN\listener.ora
    ZEUS =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sashb)(PORT = 1521))
    (PROTOCOL_STACK =
    (PRESENTATION = TTC)
    (SESSION = NS)
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (PROTOCOL_STACK =
    (PRESENTATION = TTC)
    (SESSION = NS)
    seems they are fine. sql.ora - looks like fine as well!
    File: D:\Oracle\Ora81\NETWORK\ADMIN\sqlnet.ora
    SQLNET.CLIENT_REGISTRATION = sashb
    NAMES.PREFERRED_SERVERS =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sashb)(PORT = 1521))
    configuration file ... find!
    Configuration File:D:\Oracle\Ora81\NETWORK\ADMIN\tnsnames.ora
    ZEUS.LAN.MIL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SASHB)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ZEUS)
    EXTPROC_CONNECTION_DATA.LAN.MIL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    The question is very simple, why the personal Oracle works inside network, and it does not work if I undock my system?
    If I need to make any changes, what changes must be done?
    It is window NT, Service pack 5.
    Personal Oracle installed with default settings at D: drive, with default directory settings.
    PS.
    I tryed to shutdown database, listeners, and startup listeners, and after this database--did not help. I check registry... seems fine.
    What is missed?
    Thank you very much.
    Alexander

    newbie (guest) wrote:
    : Hi, All
    : I tried to install oracle 8.1.5 on RH6.0,
    : and I download the patch for enlightment,
    : the installation works well until CREATE DATABASE.
    : I got the error message "ORA-01012 not logged on".
    : Does anybody know what's the problem?
    : Thanks,
    Hi,
    try to
    export NLS_LANG=american
    In my case it helped. I described the strange behaviour of
    svrmgrl in detail in another post.
    Greetings
    Rolf
    null

  • How to install Developer 6.0 Personal Oracle

    When I install personal Oracle 8 (trial)on my pc (Windows NT 4 sp4)I don't have problem and it work well. The problem is when I install developer 6.0,(in a different folder) I can't log on any applications any more.
    Thank for your help
    Patrice (Quebec)
    [email protected]

    IF you do not use that "miserable" Personal Oracle 8.04, but using the far much better Personal Oracle 8.1.5 you can mail me at [email protected]
    HTH
    Martin

Maybe you are looking for

  • Combining string array elements into one string

    Right, I have an string array called str which stores 1 character in each of its 16 elements. It gets this character from another array, strArray. Now, what I want to be able to do is to take all 16 elements and combine them into one string called ke

  • How to set audio time in keynote 6.1?

    I bought keynote 6.1 in oder to import a powerpoint presentation into Final Cut Express.  The audo files seem to be present once opened in keynote. But all duration is missing.  Six songs are included in the original ppt.  They played for a duration

  • Authentication & Authorization programming

    Hello all, I am in process to create a new application, My requirement here is that I want to create a reusable module that I want to use for authentication & authorization. Further I want that when ever a user logs-in, his/her privileges get stored

  • My iPod 5th generation was stolen. What can i do?

    My iPod touch was stolen today. I went to the police and there is not much they can do. Is there any suggestions?

  • Viability of MIDP and Bluetooth libraries on mobile handsets

    Looking at the compatibility list for MIDP, it seems that if one was looking to hit the mobile mass market with a Java product, version 1.0 is the only option. I would also be interested to see whether the support for the Bluetooth API will restrict