Problems with connection with Oracle Database (Dreamweaver)

I'm trying to create a connection with a oracle database, with JDBC.
In order to do that, I've downloaded the classes12.zip driver in my machine. This is the driver from Oracle.
I've put this file into directory c:\Program Files\Macromedia\Dreamweaver MX\Configuration\JDBCDrivers.
So, I've gone to Window -> Application -> Databases menu into Dreamweaver MX, clicked in the plus (+) signal and choosed Oracle thin Driver (Oracle).
I've filled thin window with the following values:
Connection name: conn1
Driver: oracle.jdbc.driver.OracleDriver
URL: jdbc:oracle:thin:@machinename:1521:SID
Username: ....
Password: ...
When I click in the Test button into this window, the following success message appears:
Connection was made successfully!
But when I go to Bindings window to build a Recordset, the connection doesn't get the tables, and the following error message appears:
Unable to retrieve tables from this connection, click on 'Define...' button to test this connection.
Does somebody know the answer for this problem?
Thank you.

Don't bother with a loopback adapter unless you are using a laptop that needs Oracle to work whether connected or unconnected to the business network. Much simpler to just arrange for DHCP to assign you a fixed IP address (a lease reservation).
It's the change of IP address which trips Oracle up, not the existence of DHCP. So if you can make sure your IP address will be the same, no matter how you acquire it, that's all you have to do.
Installing a loopback adapter which isn't the primary interface at the point you install Oracle will mean your installation will get very confused as to whether to address things via the 127... address or the "normal" IP address. And yes, at that point, you'll not be able to connect to instances, or run listeners or do all sorts of other things reliably.
If it were me, I'd uninstall the mess you probably now have as far as Oracle goes, install something like VirtualBox (free) or VMware Workstation (costs) and enjoy your Oracle experience inside the confines of a virtual machine whose networking setup you can configure and control to your heart's content, without it screwing up your real machine's ability to connect to your work's network when it needs to.

Similar Messages

  • Driver problem to connect the oracle database

    sir
    i want to use oracle 8.0 database at the backend in my project
    i want that it is platform indpendent but
    so i access that it is achive when i am not use the odbc driver
    In xp the oracle not connect with my application
    and in win98 some time it is connected to the application by
    the odbc driver.
    can it is possible that i use oracle database with out use of ODBC bridge in all Microsoft opertaing system types that is win 98,2000,XP
    and NT
    if yes how please help me and where i found the driver for oracle
    with no price.
    also how can i made the connection with my application.
    thanks in advance

    First:
    post this in the approriate forum. This is for Swing questions, not for database driver questions. You have more luck in the JDBC forum, but still this isn't really a Java/JDBC question.
    Second:
    try to use the search before posting a question. Questions regarding the ODBC bridge are posted about 5 times a day (in the JDBC forum)!
    Third:
    to answer your question: download the Type 4 JDBC driver from otn.oracle.com. You can use it with every JDK on every platform.

  • I was facing problem while connecting to oracle database.Can some one help me soon!!!!!

    Hi all,
    I was facing problem from last week.Suddenly i was getting ora-12505 error while connecting to the database through toad.I tried to change tnsnames.ora & listener.ora in multiple ways,but no luck...Inspite i was getting different errors like ora - 01034: ORACLE not available / ora - 27101: shared memory realm does not exist...When i try to connect using sys / sys as sysdba,connection is establishing and when issue the command startup it was throwing the error ORA-01821: date format not recognized......Fed up solving these issues....Can some one help me out...It's very very urgent..
    Thanks in advance,
    pavankumar.

    Well, the obviously solution is to use separate Apple ID's for iCloud.

  • Problem in connecting Non Oracle Database from Oracle

    Hi:
    I want to access "MS ACCESS" from Oracle 10g (10.2.0.1) using Windows XP.
    I tried my best, applied all proper instructions I found from books and from Internet, but getting an error.
    Here is what I did:
    My Oracle database is called "ORCL" and "MS ACCESS" is called "access_1".
    There is only one table "Employees" in "access_1".
    1. Accessed ODBC from Start | Control Panel | Administrative Tools.
    2. Clicked on Users DSN | "access_1" | Add.
    3. Clicked on "Drive do Microsoft Access (*.MDB)" .
    4. Hit Finish.
    5. Entered at DATA SOURCE NAME "ODBC1" and at DESCRIPTION "Connect Oracle to MS Access". Also I clicked on SELECT and chose the "Access_1.mdb" which is located at "C:\Documents and Settings\Muhammad\My Documents" folder. Clicked OK. and clicked on OK again.
    6. Now I went to Oracle side and configured listener as follows: (Only portion is shown here)
    # listener.ora Network Configuration File: C:\oracle\product\orcl\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\orcl)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = hsodbc)
    (ORACLE_HOME = C:\oracle\product\orcl)
    (PROGRAM = hsodbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = RIYAZDESKTOP)(PORT = 1521))
    7. Configuring the hs file located at C:\oracle\Product\Orcl\hs|admin as follows:
    # HS init parameters
    # HS_FDS_CONNECT_INFO = <odbc data_source_name>
    # HS_FDS_TRACE_LEVEL = <trace_level>
    HS_FDS_CONNECT_INFO = odbc1
    HS_FDS_TRACE_LEVEL = OFF
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    8. The TNSNAMES.ORA File is located at C:\:\oracle\product\orcl\network\admin\ and has the following text (only the related text is shown here):
    # tnsnames.ora Network Configuration File: C:\oracle\product\orcl\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools
    access_db.world =
    (DESCRIPTION =
    (Address = (PROTOCOL = TCP) (HOST = RIYAZDESKTOP) (PORT = 1521))
    (CONNECT_DATA = (SID = hsodbc))
    (HS=OK)
    9. The database link is created as follows:
    SQL> create database link access_db USING 'access_db.world';
    Database link created.
    SQL>
    10. Now the test and selection:
    SQL> select * from employees@access_db;
    select * from employees@access_db
    ERROR at line 1:
    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 ACCESS_DB
    OH! I HAVE TO RELOAD THE LISTENER AND I DID IT HERE.
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\oracle\product\orcl\BIN>lsnrctl reload
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 17-NOV-2006 17:51:26
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    The command completed successfully
    C:\oracle\product\orcl\BIN>
    SQL> select table_name from all_tables@access_db;
    select table_name from all_tables@access_db
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (SQL State: IM002; SQL Code: 0)
    ORA-02063: preceding 2 lines from ACCESS_DB
    I HAVE DONE IT EXACTLY WHAT YOU PROVIDED ME BUT GOT THE SAME RESULT.
    ANY SOLUTION!
    THANKS.

    see Connect 9i to Microsoft Access Database

  • Problem in connecting with Oracle

    hi everybody
    I have a problem in connecting with Oracle express 10g. I got an error that doesn't allow me to connect. hope anyone can help me and solve this problem
    --------------------Configuration: test - JDK version 1.6.0_20 <Default> - <Default>--------------------
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at DB.dbConnect(test.java:36)
    at test.main(test.java:18)
    this is the code that I'm following
    import java.io.*; import java.sql.*; public class test2 {   public static void main(String[] args) {     try {       Connection con=null;       Class.forName("oracle.jdbc.driver.OracleDriver");       con=DriverManager.getConnection(         "jdbc:oracle:thin:@PLANET:1521:ORCL",         "scott",         "tiger");       Statement s=con.createStatement();       s.execute("INSERT INTO BOOKS VALUES('A Tale of Two Cities','William Shakespeare',4567891231,'05-JAN-1962')");             s.close();       con.close();   } catch(Exception e){e.printStackTrace();} } }
    Edited by: Vantasia on Nov 12, 2010 10:18 AM

    1. Is the connection url correct?
    "jdbc:oracle:thin:@PLANET:1521:ORCL" is fine.
    2. Is the TNS listener started?
    c:\oracle\product\ora10\bin> lsnrctl status
    3. Is a firewall between client and database server?
    Connection url with firewall would be different.
    http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/jdbcthin.htm#i1004276

  • Problem in connection with oracle

    I've Oracle10g database installed in my system, i wrote a simple application in java that connects to oracle database using oracle thin driver. I've jdk1.6.0_02
        package RegistrationPackage;
    import java.sql.*;
    import oracle.jdbc.*;
    import oracle.jdbc.pool.OracleDataSource;
    public class JDBCVersion {   
        public JDBCVersion() {
        public static void main (String args[])
              throws SQLException
            OracleDataSource ods = new OracleDataSource();
              String url = "jdbc:oracle:thin:@//localhost:1521/orcl";  //1
              ods.setURL(url);//2
              ods.setUser("system");//3
              ods.setPassword("tripathi");
              Connection conn = ods.getConnection();
          // gets driver info:
          //System.out.println("JDBC driver version is " + meta.getDriverVersion());
    }i got following exception
      Exception in thread "main" java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    The Connection descriptor used by the client was:
    //localhost:1521/orcl
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:380)
            at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:401)
            at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
            at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
            at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
            at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:839)
            at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:389)
            at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:278)
            at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:199)
            at RegistrationPackage.JDBCVersion.main(JDBCVersion.java:24)
    Java Result: 1I'm sure that problem is in line no. 1.
    I've a bit confusion, i dont know at which port my oracle database server listen through which connection can be made. apparently, I'm not sure about host name however, i used localhost just because a local copy of database server installed in my system.
    please show me the right direction
    regards
    san

    got it!
    actually the was due to incorrect SID.

  • I have problems to connect with Database Server in MDM SP5

    Hi,
    I am upgrading to SP and get problems to connect to the database server. I am able to start and stop the MDM server, but if I tru to create a new repsoitory or unarchive a repository I get this errormessage. "Unable to connect with Datase Server". In ealier versions og MDM i did not give any username or password whwn I made a new repositirt. Do you need to that no?
    I see in the mds.ini file that there is defined a user "Sql Server DBA Username=master ". I sthis the user we shall use or is there another user?
    Regars John-Kjell Hoset

    Hi John,
    I too faced the same problem and get rid of it by installing
    SQL Server 2000 Driver for JDBC Service Pack 3
    which you can download from
    http://www.microsoft.com/downloads/details.aspx?FamilyId=07287B11-0502-461A-B138-2AA54BFDC03A&displaylang=en
    and i installed Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) Release A
    which you can download from
    http://www.microsoft.com/downloads/details.aspx?FamilyID=413744D1-A0BC-479F-BAFA-E4B278EB9147&displaylang=en
    Install with setup SAPWD="YourPassword"
    I connected MDM Console wiht DBMS with Login credentials as
         UserName        sa
         Password         YourPassword
    Hope this help to solve your problem.
    Regards,
    Santosh.

  • Could not connect to Oracle database. (HY000): BI Answers Problem

    Hi,
    I am using OBIEE 11g and 11g admin client tool is installed in my machine. I created one rpd and I deploy that rpd in the server through Enterprise manager fusion middleware control. But when try to run the analysis from BI answers it throws and error like
    "TNS:could not resolve the connect identifier specified at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)".
    In the rpd I use OCI default (10g/11g) and cheked that connection is successful and also when I click on view data option in the physical layer I am able to see the data. I cheked with DBAs and correct TNS entries are also there in the server. Could not understand where is the problem.
    Please help.
    Thanks
    Titas

    Try like this
    Call Interface: Default (OCI 10g/11g)
    Data source Name->localhost:1521/XE
    BTW: Whats the client bit version 32/64 bit, if you have 64bit and above is not working try with Oracle client 32bit.
    Pls mark correct/helpful if helps

  • Problem in connection with sql server

    hi ,
    i am facing problem in connection with ms sql server..please help me out.... i created the database ChandanClient...and there is one table Expense_code_Table...
    i want to insert the data into this table.. i am trying to create a demo example.. here is the code
    package demo;
    import java.sql.*;
    public class getdatabase {
         public static void main(String[] args) {
              Connection con =null;
              int ExpenceCode1=1;
         String ExpenceName1="exp_paper";
         String Organization1="exp_organization";
              try
                   Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
                   con=DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433");
                   Statement st = con.createStatement();
                   String q1="INSERT INTO Expense_code_Table(ExpenceCode,ExpenceName,Organization)VALUES("+ExpenceCode1+",'"+ExpenceName1+"','"+Organization1+"')";
         st.execute(q1);
              }catch(Exception e)
                   System.out.println(e);
              try
                   con.close();
              catch (SQLException e)
                   e.printStackTrace();
    after running program
    it is showing me...
    java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
    java.lang.NullPointerException
         at demo.getdatabase.main(getdatabase.java:22)
    Exception in thread "main"
    please help me out how to solve this problem...
    thanks in advance...
    bye
    chandan sharma

    Put ur driver class files in the class path...
    regards
    Shanu

  • Use 2 App modules with connection to 2 databases on 1 UIX page?

    Is it possible use 2 different Application modules with connection to different databases on one UIX page?
    Thank you.

    Yes.
    Use a <bc4j:registryDef> with two <bc4j:rootAppModule>'s inside. Everything else is the same as the single root application module case.
    More documentation is available in the UIX Developer's Guide available in the JDeveloper help system and online at:
    http://helponline.oracle.com/uix/help/
    Kind Regards.

  • How to configure portal server with the Backend Oracle database

    Hi Portal Experts,
    we are planning to install Netweaver 04s sp stack 9 full java edition with Oracle 8i on windows platform.
    we have the installation docs of portal but we didn't have any idea about how to configure Portal server with the Backend Oracle database at the time of installation or after ost installation of portal.can anyone provide the documentation about this or guide me how to achieve this.
    PLZ share ur views---your help would be highly appreciable.
    Regds
    Phani.

    HI
    if you r working in Sap enterprise portal use for connection url
    jdbc:sap:sqlserver://ilsql01.tlv.sap.corp:1433;DatabaseName=Northwind
    ilsql01.tlv.sap.corp:1433 this is your portal url with port number
    Northwind is your database name.
    for dirver you need to give
    com.sap.portals.jdbc.sqlserver.SQLServerDriver
    in case if you r working on other than sap say windows along with oracle try to use
    Connection URL as jdbc:oracle:<drivertype>:@<database>
    Driver name as oracle.jdbc.driver.OracleDriver
    ex jdbc:oracle:thick:@localhost:3036:mydb
    Oracle implements two types of JDBC drivers:
    Thick JDBC drivers built on top of the C-based Net8 client, as well as a Thin (Pure Java) JDBC driver to support downloadable applets. Oracle JDBC drivers are used to create JDBC applications to communicate with Oracle databases.
    Oracle extensions to JDBC include the following features:
    Data access and manipulation
    LOB access and manipulation
    Oracle object type mapping
    Object reference access and manipulation
    Array access and manipulation
    Application performance enhancement
    *************if the information is helpful to you please reward points************

  • My iPhone 5 got problem when connect with lighting cable, this will keep pop up message "this accessory may not be supported"

    My iPhone 5 got problem when connect with lighting cable, this will keep pop up message "this accessory may not be supported", I can't charge or sync at all. I tried plug and unplug many time, still can't detect/charge my iPhone5, but sometime will 'lucky' that can connect to my iTunes and charge battery…
    This message will auto pop up also when I don't have plug anything in my iPhone 5, It is very annoying…
    The lighting cable is original and now i'm using OS 7.0.4 / iTunes is 11.1.3
    What I can do to fix this problem? Thank you.

    I would try using another cable you can likely borrow one to test from somebody
    if it's the same then likely the connector in your iphone have been damaged

  • I have a problem to connect with FaceTime. I am using OS X 10.9.1 on a Mac PowerBook which is 4 weeks old. I can connect on iPhone but not from my computer.

    I have a problem to connect with FaceTime. I am using OS X 10.9.1 on a Mac PowerBook which is 4 weeks old. I can connect on iPhone but not from my computer. Does anyone have a similar problem???

    The warranty entitles you to complimentary phone support for the first 90 days of ownership.

  • Problem in Connecting with the server

    I have a problem while sitting the e-mail. A message comes saying that the device had a problem in connecting with the server. My BB is Tourch 9860
    Please help me

    Hi gaf4u
    Welcome to BlackBerry Support Forums
    Do you already have any email account integrated with your device ?
    If not then do you have a specific BlackBerry data plan / BIS from your Carier on your account ?
    let us know.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • How do with connect  to informix database?

    how do with connect to informix database?I think use own sminformix.jar with java studio creator

    Two steps:
    1. Tell Creator about the Informix drivers:
    Data Sources -> Edit Database Server Types -> New
    Navigate to the appropriate jar files; besides sminformix.jar, you will need smbase.jar and smutil.jar. They can be found in the Java Studio Creator release, for use within the IDE.
    Fill in the other parts of the dialog. I don't know what form Informix URL's take; you may need to look on the Informix site for that.
    2. Create an Informix Data Source, using the newly defined Server Type.

  • Not able to connect remote oracle database over VPN

    I can not connect remote oracle database over VPN. tnsping is ok and it shows the server information of remote database. i can also telnet the 1521 port of remote database server. I can connect the same server when it is located in the same LAN. Please help me out this is very urgent.

    6b6c669e-6baa-45c4-a6dc-444aef2d5e7a wrote:
    I can not connect remote oracle database over VPN. tnsping is ok and it shows the server information of remote database. i can also telnet the 1521 port of remote database server. I can connect the same server when it is located in the same LAN. Please help me out this is very urgent.
    First, this is a forum of volunteers.  There is no "urgent" here.
    "Urgent" means one of two things -
    1) people are dying, or
    2) you have a customer-facing, revenue-producing production system that is down.
    (And to get some perspective on the second case, keep the first in mind.)
    For the first, you call whatever civil emergency service seems appropriate.
    For the second, you open an SR with Oracle - which requires a paid-up support contract. For *them* to consider your problem "urgent", you will need to demonstrate that your problem falls under item #2. I seriously doubt your problem fits that criteria.
    You don't have a support contract?  Now you know the exact dollar figure that your company places on the data.
    That said, you need to understand a few things about your specific problem,
    First, port 1521 is only used by the listener to accept a connection request.  Once it gets that request (and finds that it is for a service (sid) that it knows about, it will fork a server process and tell the requesting client that it can communicate with that server process over some other port .. a randomly chosen port number in the "high" range.  It could be your vpn is blocking that other port, whereas your internal firewall is not.
    But this is just an educated guess since I cannot find "can not connect remote oracle database over VPN" in any error message manual. If you had mentioned the VPN along with an actual oracle error message we could be much more precise in our diagnoses and recommendations.
    ---- edit 22 Sep
    It occurred to me that I just assumed you were using the same client machine in both cases ... a laptop that you use both at work (local network) and home (vpn).  If that assumption is false, there are probably problems with your tns setup on the home (vpn) machine.
    But again, it would be much easier to help if you gave us an actual error message.

Maybe you are looking for

  • Getting ClassCastException while calling a method in webservice

    I wrote small webservice using axis. It is returning array of object(of xyz type) where an object is a Value object. I created stubs and place at client side as a jar file. xyz.class is also there in stubs list. While calling that webservice im getti

  • Help on locking MySQL tables (many can read, but only one can write) Java

    Hi there, I have a question regarding locking of tables so that only one person can write to the file, but many are able to read the files (or tables entities). I am not sure if I need to lock the tables in my Java code or do I lock the tables within

  • Have people returned ipods after failing to install itunes?

    I have exhausted all the information on here to try and install itunes after receiving errors 1305 & 1603. Just wanted to know if people have returned their ipods after failing to install itunes? I think it is very poor that you are unable to contact

  • ACROBAT PRO 7 HAD ONE TOUCH pdf -  IS THIS AN OPTION ON PRO 9?

    I seem not to have the ability to scan directly to PDF via my scanner as I did with Pro 7. Are my only options to start in Acrobat and "create"

  • Rman Detect Block Corruption

    Hi I know rman detect block corruption but my question is block corruption having two types one is physical block corruption and other is logical block corruption by default rman enable physical block corruption but by default rman not able to detect