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.

Similar Messages

  • How to get connectivity between Personal Oracle 8.0.0.3 & Developer 2000 (Any Version

    Can anybody tell me how to get connectivity between Personal Oracle 8.0.3 and Developer 2000 Rel 2.1 in Win 98 Environment.
    I am able to install either Oracle 8 or Developer 2000 but not both, even if I use different Oracle Homes.
    When I posted the same question to www.xperts.com someone wrote to me saying that a patch has to be used to get the connectivity.
    I have been trying to solve the problem for last 6 months, but could not do it.
    Can you please tell me how to get the connectivity or atleast tell me which version will facilitate connectivity in a stand alone PC.
    Thanks and regards,
    Ashok
    null

    For Windows98. Worked for me, but no guarantee it will solve your problem.
    1) Install Dev2K.
    2) Install PO8i in a separate Oracle home.
    3) Use the following for TNSNAMES.ORA in your DEV2K Home:
    # C:\ORAWINKS\NETWORK\ADMIN\TNSNAMES.ORA Configuration File:C:\orawinKS\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle Net8 Assistant
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    MYORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    null

  • 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

  • Help: Connecting to Personal Oracle 9i

    I'm developing a web site that is going to use an Oracle database.
    For that purpose I installed Microsoft Personal Web Server, and Personal Oracle 9i on a Windows 98.
    I created a database using SQLPlus, but I can't connect to the database. I can't even create an ODBC connection.
    The error message I get is ORA-12541. (no listener).
    I am under the impression that the Personal Oracle doesn't work with a listener, is that right? What can I do in order to access the database from my client application?
    Thanks ahead,
    Fernando Cachicas.

    The database listener usually runs as a service, but you can manually start it. Go to the bin directory of the DB and type:
    "lsnrctl start"

  • How to connect to personal oracle using oracle thin driver on windows98

    Hi,
    i would like to know is it possible to connect to personal oracle8 using oracle thin driver on windows98.iam getting some exceptions when iam running ,could any one help me
    1.exception in thread main java.sqlexception:IOexception:the
    networkadapter could not establish the connection
    2.at oracle.jdbc.dbaccess.DBError.throws sqlexception(DBError.java)
    3.atoracle.jdbc.dbaccess.DBError.throws sqlexception(DBError.java)
    4.atoracle.jdbc.driver.oracleconnection.<init>(oracleconnection.java)
    5.atoracle.jdbc.driver.oracledriver.getconnectioninstance(oracledrive
    r.jva)
    6.atoracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
    7.atjava.sql.DriverManager.getConnection(unknown source)
    8.atjava.sql.DriverManager.getConnection(unknown source)
    9.at JEmp.main(JEmp.java:16)
    null

    http://www.orafaq.com/wiki/JDBC#Thin_driver

  • Unable to connect to Personal Oracle 9i database

    I have loaded Borland Jbuilder 8 and Oracle 9i Release 1 Personal Edition in WinXP
    When i try to compile the below code , i get the Error
    Exception in thread "main" java.lang.NoClassDefFoundError
    I have set my CLASSPATH to c:\oracle\ora90\jdbc\lib\classes12.zip
    import java.sql.*;
    class Employee
    public static void main (String args [])
    throws SQLException
    // Load the Oracle JDBC driver
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    String url = "jdbc:oracle:oci8:@test";
    try {
    String url1 = System.getProperty("JDBC_URL");
    if (url1 != null)
    url = url1;
    } catch (Exception e) {
    Connection conn =
    DriverManager.getConnection (url, "scott", "tiger");
    Statement stmt = conn.createStatement ();
    ResultSet rset = stmt.executeQuery ("select ENAME from EMP");
    while (rset.next ())
    System.out.println (rset.getString (1));
    rset.close();
    stmt.close();
    conn.close();
    Is there anything else i have to do. I even tied compiling from command line but i got the same error. Any help will be higly appreciated

    2) Make sure, you have ojdbc14.jar and nls_charset12.zip in your >CLATHPASS, I have it both for user and system varables, to be on the >safe side).
    I don't think you need classes12.zip in the CLASSPATH.
    Just fyi: for JDK 1.2.x 1.3.x, you need to have classes12.zip and >nls_charset12.zip in the CLASSPATH to work, but I didn't try it since >I have 1.4venyP, I am not questioning your post because I am still pretty new to Java (I started writing Java since February). However, I don't have any of those jar file or zip file in my CLASSPATH, and I am using JDK 1.3.1.
    I am using 1.3.1 because back in February when I visited the Sun site, their J2EE 1.4 was still in beta, therefore, I downloaded the 1.3.1 of both J2EE and J2SE.
    Like the original poster, I am also using Oracle 9.2 and JBuilder 8. And I never ever have to do any tweaking to my CLASSPATH. Everything works beautifully. I can compile and run any Java program from JBuilder, from Eclipse, and from the command prompt. No problem whatsoever.
    That's why I don't understand why everybody is talking about all these modification to the CLASSPATH.
    Just wondering. Thanks.

  • Connecting Personal Oracle 8i and Developer

    Hi
    The following works for me.
    The critical files required are tnsnames.ora, sqlnet.ora and listener.ora.
    Put sqlnet.ora, listener.ora and tnsnames.ora in the ORACLE\ORA81\NETWORK\ADMIN directory.
    Put sqlnet.ora and tnsnames.ora in the
    ORAWIN95\NETWORK directory.
    The following are how the files should look.
    This is assuming the PO 8I installation defaults were taken (SID is ORCL, and GLOBAL DATABASE NAME is ORACLE).
    Listener.ora file:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (PROTOCOL_STACK =
    (PRESENTATION = TTC)
    (SESSION = NS)
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (PROTOCOL_STACK =
    (PRESENTATION = TTC)
    (SESSION = NS)
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 2481))
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = c:\Oracle\Ora81)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = Oracle)
    (ORACLE_HOME = c:\Oracle\Ora81)
    (SID_NAME = ORCL)
    tnsnames.ora file:
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = oracle)
    (SID = ORCL)
    sqlnet.ora file:
    TRACE_LEVEL_LISTENER=OFF
    TRACE_DIRECTORY=C:\ORACLE\ORA81\NETWORK\LOG
    trace_level_client = off
    trace_directory_client = c:\orawin95\network\log
    #sqlnet.authentication_services=(NONE)
    names.directory_path=(TNSNAMES,HOSTNAME)
    #names.default_domain=world
    #name.default_zone=world
    automatic_ipc = off# c:\oracle\ora81\network\admin\tnsnames.ora
    TRACE_LEVEL_CLIENT=OFF
    TRACE_DIRECTORY_CLIENT=C:\ORACLE\ORAWIN95\NETWORK\LOG
    Create a shortcut for listener (C:\Oracle\Ora81\BIN\LSNRCTL.EXE).
    Start developer.
    Start PO 8i.
    Start Listener and enter "start".
    You should now be able to connect to Oracle
    from Developer using scott/tiger and using oracle as the database name.
    Good Luck.
    Jim
    null

    Hi.
    I too had problems getting Developer 6 to connect to Personal Oracle 8 on Windows 98.
    Thanks to the information Jim posted I am now able to connect.
    I followed Jim's instructions with three exceptions.
    First exception - On my machine the sqlnet.ora and tnsnames.ora file belong in the ORAWIN95\NET80 directory rather than ORAWIN95\NETWORK directory.
    Second exception -- Personal Oracle 8 was installed in C:\ORA81 rather than C:\ORACLE\ORA81 so I adjusted pathnames as needed.
    Third exception -- I made backup copies of the sqlnet.ora, tnsnames.ora, and listener.ora files that the installation had created before I started editing them.
    My first attempt to start the listener failed with TNS-01152 message which indicated that the addresses provided to listener were not valid.
    I replaced the listener.ora file in my C:\ORA81\NETWORK\ADMIN directory with the one that the installation had created then attempted to start the listener again.
    The listener started successfully. I attempted to connect from Developer6 using scott/tiger@oracle. Developer6 connected!
    Here is what my listern.ora file looks like:
    # LISTENER.ORA Network Configuration File: # C:\ora81\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = i8q4v6)(PORT = 1521))
    (DESCRIPTION =
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    (ADDRESS = (PROTOCOL = TCP)(HOST = i8q4v6)(PORT = 2481))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\ora81)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ORACLE)
    (ORACLE_HOME = C:\ora81)
    (SID_NAME = ORCL)
    Good Luck.
    Debbie.
    null

  • Developer rel 6i connection problem to Personal Oracle 8i (8.1.6)

    Hi guys!
    I have a very general problem regarding the connection to
    personal oracle 8.1.6 database from developer 6i products.
    I have oracle 8.0.5 client database portion and developer 2.1
    installed on my WIN98 machine in as DEFAULT ORACLE HOME.
    Then I installed Personal Oracle 8.1.6. in a separate directory
    and separate ORACLE_HOME. I am able to connect from the SQL*PLUS
    8.0 to the Personal Oracle 8.1.6
    Then I installed D2K rel 6i in DEFAULT ORACLE_HOME as I was
    informed that FORMS 6i should be installed in the DEFAULT ORACLE
    HOME. Now when I try to connect to personal oracle 8.1.6 from
    forms 6.0.8, the error message comes as the 'ORA-1034 ORACLE NOT
    AVAILABLE '
    I made sure that the directory in which the D2K 6i is installed
    takes the first precedence in the PATH environment variable of
    the AUTOEXEC.BAT
    I made sure the listener for the personal oracle is working.
    I seek your guidance.
    Thanks for your help.
    Regards,
    Kalpesh.

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

  • Developer 6 (Graphics)/Personal Oracle 7.3.3 - Connectivity

    SQL*Plus, Forms and Reports, all seem to connect to Personal
    Oracle V7.3.3 OK. However when I connect with Graphics, although
    I get a message indicating successful completion, the logon
    dialogue box is still displayed and the connection hasn't
    succeeded.
    Any ideas?
    Sean
    null

    Faisal Shaikh (guest) wrote:
    : I amd having problem connecting Developer 6 with Personal
    Oracle
    : 7. Problem seems to be with TNS.
    Faisal,
    You may already have resolved this issue but just in case you
    are still getting problems, here is some info that may help.
    I faced the same problems with Oracle Developer 6 and Personal
    Oracle 7.3.3. Oracle Developer 6 uses Net8 to connect to the db
    whereas Personal Oracle 7 uses SQL*Net, hence the TNS problems
    you have been getting.
    There is a solution. Oracle Support suggested that you had to
    have a listener running in order for the connection to work. To
    do this you needed to instal the SQL*Net Add-Ons from the
    Personal Oracle CD, configure TNSNAMES.ora to point to a dummy
    IP address and start the listener. When I tried this I
    discovered that you don't infact need amend the TNSNAMES.ora
    file or run up the listener. As long as the SQL*Net add-ons are
    installed, the connection from Oracle Developer 6 to Personal
    Oracle 7 seems to work.
    Hope this is of some help.
    Sean Griscti
    null

  • Connection Developer 200 with Personal Oracle 8

    Hi,
    I have installed Personal Oracle 8 and developer 2000
    I am able to work in SQL*plus 8 BUt i am not able
    to establish a connection with developer 2000 (Forms as
    well as reports )
    my queries are
    1) what should be installed first
    a) personal oracle 8 or developer 2000
    b) what about their home directories
    2) what all i need to do after installation to establish
    a connection between Personal oracle 8 and developer 2000
    CAN SOMEONE HELP ME ON THIS
    TARUN

    install them in 2 separate homes.
    start your database listener (lsnrctl start).
    create a sqlnet connection using the sqlnet easy config utility
    in the forms home.

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

  • Has anyone experience with personal oracle on a lone machine?

    I keep changing configurations around trying to connect with personal oracle running on my own machine. Right now, EasyConfig doesnt like any of the service_names I give it and gives me ORA-12514. Please post or e-mail me. Thanks

    According to the information on this page the required Aircard 580 card is NOT compatible with any version of the Mac OS. Which is really odd since the banner across the top of the page proclaims "wireless, mobile web access for your mac". Perhaps they intend for you to buy a compatible phone and use Bluetooth connectivity to allow the phone to act as a modem for your Mac.
    The built-in wireless of your Mac does not allow you to connect directly to cellular networks like BlueMobility.
    After some more digging... I found this page which supposedly lists the Mac compatible options.

  • Connecting Developer 6 to Personal Oracle 8.1.0.5

    I installed Personal Oracle 6.0 and Developer 6.0 on Windows 98 in different homes.
    Have I install a network card to be able to connect Developer 6.0 to the personal Oracle 8.1.0.5 ?

    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

  • Problems connecting from Forms 6i to Personal Oracle

    I have loaded Oracle 8i Personal Edition in the following directory c:\Oracle\Oar81 and Forms 6i in c:\Orawin95 on my local PC. I'm running windows 98 OS. I have been able to use SQL*Plus to query the customer and sales_order demo databases sucessfully. I've also went out to DOS and started up the listner. However when I bring up Forms Builder and try to connect to the database I get the following error: ORA-01034: Oracle not available. I am logging in as scott/tiger. Do I need to specify a database name? Do you have specific suggestions on how to get the Oracle database and Forms Builder talking?

    I have tried your solution and it did not work. Is there another proposition. It seems there is a lot of bugs in oracle forms 6i or personal oracle 8i.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by p g ([email protected]):
    Hi,
    I isntalled oracle8i in H:\oracle\ora81 and forms6i in H:\oracle\orant. In order to access tables from oracle8i into froms6i, I copied the service block
    CSCPRJ.DCS =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = prashant)(PORT = 1521)))
    (CONNECT_DATA =
    (SERVICE_NAME = CSCPrj)
    from my oracle home tnsnames.ora file
    H:\oracle\ora81\network\admin\tnsnames.ora
    and pasted it in forms home tnsnames.ora file
    H:\oracle\orant\NET80\ADMIN\tnsnames.ora
    No reboot necessary..
    This let me access my tables from forms6i.
    Hope this helps
    prashant<HR></BLOCKQUOTE>
    null

  • Connecting java apps to Personal Oracle 8.0.3

    I would like to find out exactly what driver to use in order to connect Java to Personal Oracle installed on my PC.

    this version of the product has been out of support for over a year.
    you need to move to the current version which can be located at the "download" site on the technet home page.

Maybe you are looking for

  • Need help making photo page look clean,Time to show up on Google? Photoshop

    Just bought this Mac 2 days ago and am trying to make the switch. I was computer illeterate on my Dell as well but so far this program is pretty neat. I am trying to get my photo page cleaned up. I would like all the photos in a single row across the

  • Time Machine and Back To My Mac (BTMM)

    I was showing a recent Mac convert how Time Machine works. Since my backup drive is connected to my Mac at home and I was at my workplace, I used "Back to my Mac" (BTMM) to connect to my home Mac. BTMM worked fine until I entered Time Machine. Time M

  • Mac OS 10.4 Network problems with windows

    Hello. After recently updating my powerful mac g4 to mac os 10.4 a lot of problems arose : i cannot connect to windows shares anymore (smb server reports somekind of problem in the console) 2008-09-26 20:56:24.769 Finder[198] CFLog (22): Cannot find

  • FaceTime Doesn't Work on Macbook

    I recently downloaded Facetime application on my Macbook, and i have a apple ID and also made a new one but for some reason it doesn't let me log in. it comes up with 'Could not sign in. Please check your network connection and try again.' but my int

  • Desktop Manager Problem

    Hello everyone, im using a JDesktopPane to manage around 18 InternalFrames. Because of that amount i need a way to acces everyone of them in a click. I created a menu to acces everyone of them. I started everyone as iconified. BUT When i restore with