Connection jdeveloper with database

I make the following: right click on database, new connection, I put the connection name (connaction type is "oracle (jdbc)"), username hr, password hr, deploy password is selected and now if I let the default option :driver - thin, hostname -localhost, jdbc port -1521, sid - orcl, I receive the message: listener refused the connection with the following error:ora12505, tns: ...... Can someone tell me step by step how can I connect?

THIS IS WHAT I HAVE IN TNSNAMES.ORA
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = user)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = ORCL)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
AND IN LISTENER.ORA I HAVE THE FOLLOWING:
"SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = user)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
I COPIED ALL FROM THE BOTH FILES BECAUSE I DO NOT KNOW WHAT IS IMPORTANT.

Similar Messages

  • Error to connection Jdeveloper with database

    Hello world ,
    i want to make a connection between jdeveloper and database but i got this error message when i do test
    Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=169869568)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    i am working on client , and oracle developer is connected with database .
    regards

    SID is like what is use for developer , it is 100% correctThe error code you are getting (12505) indicates otherwise
    http://www.error-code.org.uk/view.asp?e=ORACLE-TNS-12505
    Perhaps you are pointing to the wrong host/IP address
    John

  • How to connect java with database without any dsn.

    is there any way to connect java with database with out creating any dsn..like we do in ado in vb by providing provider.

    Sure use a type 4 driver. No DSN.

  • How to use JDBC to connect Tomcat with database server?(Urgent!)

    I try to deploy the tomcat and make it connect with databaser server.
    I am using mysql connector J 3.0. I added the CLASSPATH of mysql-connector-java-3.0.7-stable-bin.jar in the tomcat.sh .
    I also add the web application in server.xml.
    When I start tomcat, I can see using Classpath including mysql-connector-java-3.0.7-stable-bin.jar .
    But when i browse my jsp including the jdbc, wait for a while, I get a message as following: Timeout on server localhost. My web server and database server is same computer.
    Could you tell me what's wrong?

    Did you check to see that the MySQL database was indeed up and running, and accepting connections when you started Tomcat? Did you make sure that your firewall permits connections to the database?
    Timeout errors generally occur when you send a request to a server and the server does nothing with it - i.e., it doesn't respond to it in any way. Most firewalls are configured this way. If I telnet to your machine and I get "connection refused", I know your machine exists and I can try hacking into it. If I telnet and get nothing at all, then I will either assume either there's no actual machine at that address or it's unresponsive.

  • Is it possible to connect indesign with database/OOD...

    Hello fellow Indesign user,
    Not sure if this question belongs here or in scripting...
    I'm just a moderate user in ID CS4 and I got this daunting task to find/invest a way to use Indesign (our existing layout software) to create "brochures/instruction manuals" using databases or OOD. Meanings, use a template, add a code that corresponds to a similar code with pre-defined data-entity in a database/OOD, and automatically add the text/pictures from the database/OOD.
    We are not talking about addresses or simple things like that, but brochures and instruction manuals in different languages with different or similar operation for each machine. Some instructions are the same and some are not. Get my drift?
    We are using ID Cs4 in the company right now, not the smartest tool to use when producing 25 different brochures/technical manuals with different languages. Changing one content in one manual, meaning we have to change all 25 brochures/manuals.... manually...
    Many of you may think -"why did you start ID in the first place". The answer: I don't know, I wasn't here then... It is not until now they discovered -"Oh, we need a new system… " and guess who got the task to evaluate it…
    I need to know if it is possible and to what extent we can use ID with database or an OOD-system to retrieve data (mostly custom data with bulletin, font, size, pictures, etc).
    Articles, links and other information would be very helpful….
    Thanks!
    //Vincent

    What kind TM exist out there and is it possible to integrate it with ID? (I can probably check Wikipedia, but it feels correct to ask the right question to ask to the right person here. How does your firm manage multilingual contents in ID? You gotto have the same problem as I do, at least to some extent…
    How is it even possible to have an automated system and still have that flexible design freedom in ID..? Many questions here…
    To invest a complete new system is not an option anymore. I made some calculation and plenty of phone calls. The figures does not look good at all… it’s simply not worth the time and money. So what are the options, if we keep ID in the firm?
    Well, I should have had lots of time to answer your questions this  evening, but it turns out that we're both out of luck. I'll cover a few  things quickly to give you some Google-fodder:
    1) Okay, I won't suggest expensive commercial solutions.
    2) Read up about how to flow XML content into and out of ID
        2b) Store your content in the DB of your choice, spit out XML, and then update your INDDs with it.
    3) Think about an open-source TM app like OmegaT
    4) Do you do all of your translations in-house? If not, ask your suppliers how they work.
    5) But really, if you don't have a completely obsessive person in charge of making sure everything is up to date, you're asking for trouble. I'm reminded of a quote by Edward Tufte who was talking about project management; I can't remember the quote, but the idea boiled down to the fact that you can do just as good a job with whiteboards as you can with databases. At least right now you know that you haven't kept all versions up to date... if you were housing all your content in a database, then the update process is somewhat hidden from you, and you wouldn't know if something broke unlesss you caught it in QA. If you're not doing all the updates... then you can't do good QA.This is a recipe for disaster.
       5b) Establish a good workflow with whatever tools you have (database, whiteboards, little strings with knots tied in 'em, notches carved in the thighbones of extinct birds of prey, etc.) and give someone the power to sanction/punish/fire people who disobey workflow rules. I am not kidding.
    I will make more useful suggestions (suggestions more useful than 5b, at any rate) in the near future.

  • Handling of Connection error with database

    hi, my application is using oracle 9i as database (connection via jdbc).
    I understand that we can capture the exact connection errors to database, in event that the database is down or not available. This will allow a more meaningful errors message to be thrown, like "Database is not available" when the user try to login to the system. Is that a particular sql exception that i can catch for such connection errors? or if there is not, what is the best practise for handlng such situation?

    Yes, java.sql.SQLException is designed for that. It has two methods, getSQLState and getErrorCode, that will help you get the state of the RDBMS if something goes wrong. - MOD

  • Connect Jdeveloper with PostgreSQL

    Hi all. I'm looking for someone who knows if it is possible to connect Jdeveloper to PostgreSQL, and if so, how can I do.
    Thanks, Caterina.

    Try looking at this Post:
    [b]Connection PostgreSql in JDeveloper[/b]
    for more information
    Regards,
    Lisa

  • Connect jdeveloper with sql server 2005

    hello, I don't speak english very well, how I do to connect sql server 2005 with jdeveloper using create connections without username and password, using windows autentication. I downloaded driver jdbc from microsoft pages, when I create the connections and click test connections, the conecctions failed because I don't have username and pass in sql server. Thanks and sorry for my english. Regards

    When the SQL Server is installed a password is specified for the 'sa' user, or a new SQL Server user may also be created.
    Please refer
    http://www.devx.com/dbzone/Article/33681

  • Connect JDeveloper with SqlServer

    I want to create a model proyect connecting to SqlServer. I download sqljdbc4.jar, create new library and add the jar to the class path. The password is null for this database, i put this credentials:
    username: xxxx
    password: (empty)
    port:1433
    hostname:xxxx.xxxx.xxxx.xxxx
    databasename:XXXXXXXX
    instancename: (empty)
    and i got the error: the password can't be null or empty. How i configure to set the password null?

    Specify the password used to create a user account in SQL Server database.

  • Unable to connect JAVA with Oracle

    I have jdk1.6 and oracle installed on my machine but unable to connect java with database
    have classes12.jar and ojdbc14.jar
    my environmental variables in respect to this are :
    JAVA_HOME= C:\Java\jdk1.6.0_04
    JRE_HOME=C:\Java\jdk1.6.0_04
    PATH=J:\oracle\ora92\lib;
    J:\oracle\ora92\bin;
    C:\Program Files\Oracle\jre\1.3.1\bin;
    C:\Program Files\Oracle\jre\1.1.8\bin
    CLASSPATH=J:\oracle\ora92\jdk\jre\bin\JdbcOdbc.dll;
    J:\oracle\ora92\jdbc\lib\classes12.jar;
    J:\oracle\ora92\jdbc\lib\ojdbc14.jar
    The code is
    import java.sql.*; public class dat1 {               public static void main(String[] args)throws SQLException,ClassNotFoundException {         try     {     Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");     Class.forName("com.oracle.jdbc.OracleDriver");     } catch (ClassNotFoundException e) { System.out.println("unable to load driver"); return; }     } }
    the error message is
    Error in thread "main" java.lang.NoClassDefFoundError
    Please Help Me
    Thanks For Reading
    Thanks a lot in Advance For your ANSWERS

    maybe if you asked nicely instead of ordering people around we might tell you.
    As it is all you're going to hear is that you don't need both those jars, as they contain different versions of the same driver.
    I'm not going to tell you which you need, as you should have the documentation to tell you that. But then you also should have the documentation to tell you how to set your classpath properly and you failed to read that too.

  • Connecting JDeveloper to the DB

    Hi All,
    I have just installed JDeveloper for NT on my Windows '98. The problem is I can't create connections to the Oracle 7 personal edition I have installed.
    What do I need to do, or what am I not doing correct?
    Thanks to All.

    hi friend
    i don't think u can connect JDeveloper with oracle 7.Even with oracle8 it
    is having problem.i presently connected with oracle 8i
    try out

  • Application module with no connection to the database in jdeveloper 10.1.3

    I have a number of programmatic bc view objects and entity objects which i have implemented through the time from different projects and now that i have collected them i want to add all of them in a reusable application module. However i don't need a connection to the database for this application module. Is it possible to enforce the application module to circumvent the db connection?

    Hi user,
    Just out of curiosity, why would you use ADF BC for that - if I had a bunch of non-db data sources, I'd probably use POJOs and create POJO data controls.
    I didn't look in 10g, but in 11g, the ApplicationModule has a method called getDBConnectionRequired() that you could override to see if that solves your issue.
    John

  • Unable to connect to oracle database 10.1.0.2.0 from jdeveloper 11.1.2.1.0

    Hello,
    I am trying to connect to oracle database 10.1.0.2.0 from jdeveloper 11.1.2.1.0 to develop an ADF application.
    But it is giving me the error
    Test failed: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    connection type:oracle(JDBC)
    Role :SYSDBA
    Driver:thin
    Host:localhost
    JDBC port:1521
    SID:webaid
    I am able to connect to the database using SQL*Plus with the same credentials.
    Any help is appreciated!

    I take it you solved this problem, since you posted this: installing Oracle 10.1.0.2.0 (32 bit)  on windows 2003 server

  • Failure to connect JDeveloper 10g to Oracle Database Expres Edition.

    Hi, i working with Oracle JDeveloper 10.1.3 and Oracle Database 10g Express Edition. CONNECT to Oracle Database XE from Jdeveloper Wizards using JDBC/Thin, generate the next error messge:
    ORA-0064: error ocurred at recursive SQL level 1.
    ORA-12705:Cannot access NLS datafile or invalid environmment specified.
    Vendor code: 604.
    , but connect to using ODBC work Ok.
    If run the application display:
    17002:Exception of E/S: SO: Exception was generated.
    Roberto.

    Hi Roberto,
    this issue can be caused by language incompatibility between JDeveloper language (client language) and database language.
    To check the language of the database, execute the following SQL statement from the DB:
    select * from nls_database_parameters;To check the JDeveloper language:
    Select menu Help --> About in JDev, and see the values for:
    user.language, user.region.
    Are they the same ?
    If not,
    1. Edit <JDev_Home>/jdev/bin/jdev.conf file.
    2. Add the following parameters:
    AddVMOption -Duser.language=...
    AddVMOption -Duser.region=...
    with the values for language and region, f.ex. en and US respectively
    3. Restart JDeveloper and re-test the connection.
    Hope this helps,
    Didier.

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

Maybe you are looking for

  • Third party order process- tolerances

    Hi our client is facing a problem. Normally a SO will be issued and then the PO is created with ref. to SO (and with same quantity). GR and IR-L will be booked, then SO will appear in billing due list  and customer invoice will be created. But now If

  • Image dimension limitations in Photoshop Elements?

    I'm trying to find out what the maximum image dimensions are for Photoshop Elements 8.0 I know Photoshop CS increased the previous limit of 30,000x30,000 to 300,000x300,000. According to this page, PSE 5 and 6 were limited to 30k: http://kb2.adobe.co

  • Sata ll or sata lll for a 2008 macbook pro?

    Just wondering about compatibility. I see both versions available. My macbook pro is a 4,1 model from spring 2008. Thinking of the seagate momentus to replace my six year old hitachi. 7200 rpm. 16mb cache. The price is right, about 65 euros. And I've

  • 'PortalObjectsFactory' could not be found"

    am trying to read the Members of a group given the Group ID. I am putting the GroupID in a web.config file. I found an example in the forums of how to display the members in a group but it didn't say what .dll's to include. I'm assuming I need to use

  • Processing code and Function Module  for IDOC

    hi forum, i m trying to make a file to IDOC scenario, the IDOC is being sent to a R/3 system, for the purpose, in R/3 i need to make a inbound processing code, can u tell me how to make a processing code and link it with a Function Module....... can