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
Similar Messages
-
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. -
"no ocijdbc11 in java.library.path" error when connecting a TNS database co
Hi
"no ocijdbc11 in java.library.path" error when connecting a TNS database connection
I have the same problem 'error code' when testing the connection to a database although I have an APEX db that connects without a problem.
I have re downloaded jre & SQL Developer just to ensure all files are where they should be with no luck.
I've also tried most of the suggestions in various threads.
Does anyone know what exactly causes this error?
eg; should I be looking for a file called 'ocijdbc11' & put it into the 'java.library.path' path?
Can anyone explain to a newbie at db connections what I should do?
I'm using the 'thin' client as the checkbox is clear & I don't know what path to enter into the correct file to make this work??
This is & needs to connect as a TNS connection & was working fine until recently, the only change I can think of is a move of files from the 'C' drive but I thought redownloading SQL Developer would slove this.
ThanksWhen you reinstalled SQL Developer, did you install into a new directory (ie rename or delete the old directory first)?
I don't know if system setup contains directory references (which might be invalid after moving the location of SQL Developer). Does renaming your system2.1.1.64.45 directory (in C:\Documents and Settings\username\Application Data\SQL Developer) help? Note that your connections are in the connections.xml file in the o.jdeveloper.db.connection.11.1.1.2.36.55.30 subdirectory of system2.1.1.64.45 - you will either need to export connections before renaming and then import again after or copy this file to test if you can connect.
Finally, the TNS Names directory preference is just a way of telling SQL Developer where to look for the tnsnames.ora file, rather than just assuming it will pick the right one. If you go to create a new connection, do you get the right list of TNS aliases? If not, then set this preference to the directory where the right tnsnames.ora file lives.
theFurryOne -
Error while connecting to the database from a JSP Page
Hi,
I am using a simple JSP page which is based on the sample JSP pages from OTN.
When I try to connect to my database using the following code:
InitialContext ic = new InitialContext();
OracleDataSource ds = (OracleDataSource)ic.lookup("jdbc/OTN9iDS");
m_connection = ds.getConnection();
I get the following error:
Naming exception Error while connecting to the database : javax.naming.NameNotFoundException: jdbc/OTN9iDS not found in JDBCTest-JDBCTestProject-webapp
Does anybody know wht this is happening?
Any help would be appreciated
FRankHi Frank,
Are you using standalone OC4J or 9iAS ? If you are using standalone OC4J then you need to add a proper data source entry in %OC4J_HOME%j2ee\home\config\data-sources.xml file.
If you are using 9iAS the you can log in to the Enterprise Manager console and add the data source entry by using wizard provided by 9iAS.
Ensure the case of the JNDI lookup string, since, it is case sensitive.
Hope this helps.
Abhijeet -
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.
-
Error while connecting to Auxiliary Database
Hi
I am practicing Cloning the database on my Personal Computer. I am following the steps outlined here
http://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php
But while connecting to Auxiliary database I get this error.
RMAN - 04006 Error from auxiliary database: ORA 12514 TNS: listener does not currently know of service requested in connect descriptor
RMAN - 00554 initialization of internal recovery manager package failed...
what is the solution for this?
This is 10g database and my PC has Opensuse 11 OS
I think the problem is in configuring listener. But I am following the instructions given in that page....You probably skipped this part
Next add the appropriate entries into the tnsnames.ora and listener.ora files in the $ORACLE_HOME/network/admin directory. Remember to load the new configuration into the listener:
Which is why you are getting the error. The database needs to register itself with the listener. This doesn't happen in nomount mode.
Other than that: there is an option in database control to duplicate a database in 10g. Using that you only need to hit buttons. Why are you using 9i code and policies?
Sybrand Bakker
Senior Oracle DBA -
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. -
Unidentified Error when connecting DW with MySql
Hi
I am trying to connect to Mysql Database which is hosted by a hosting company on their server. I have been given a static IP address and port to access this database remotely. I have add the information below to DW 8 in an attempt to gain access the info is below. I get an unidentified error when i test the connection i don't know where to put this static IP and port. Can someone help thanks
DW information is as follows:
My login is
username buildingbids
password ********
I am trying to connect from dreamweaver
Details of that are below
Local Info
Sitename buildingbids
Local root folder C:\Documents and Settings\Main User\My Documents\WEB SITES\buildingbids\
HTTP address http://www.buildingbids.ie
Remote Info
Access FTP
FTPhost ftp1.reg365.net
Host Directory web
Login buildingbids.ie
Password ******
This works when i test it
Testing Server
Server Model PHP MySQL
Access FTP
FTPhost ftp1.reg365.net
Host Directory web
Login buildingbids.ie
Password kevinmac
This works when i test it
URL Prefix http://ftp1.reg365.net/
When i go to test the connection i get a message saying an unidentified error has occured.
My connbuildingbids code is
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_connbuildingbids = "ftp1.reg365.net";
$database_connbuildingbids = "buildingbids";
$username_connbuildingbids = "buildingbids";
$password_connbuildingbids = "kevinmac";
$connbuildingbids = mysql_pconnect($hostname_connbuildingbids, $username_connbuildingbids, $password_connbuildingbids) or trigger_error(mysql_error(),E_USER_ERROR);
?>
My connection criteria is
Connection name connbuildingbids
MySql Server mysql1.mylogin.ie
Username buildingbids
Password *********
Database buildingbidsYes they only allow it with a static IP address which i have and have been granted Remote access
I have gone to a different server and now my code is like this
My connbuildingbids code is
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_connbuildingbids = "bono.hostireland.com";
$database_connbuildingbids = "buildingbids";
$username_connbuildingbids = "buildingbids";
$password_connbuildingbids = "*********";
$connbuildingbids = mysql_pconnect($hostname_connbuildingbids, $username_connbuildingbids, $password_connbuildingbids) or trigger_error(mysql_error(),E_USER_ERROR);
?>
My connection criteris is
Connection name connbuildingbids
MySql Server bono.hostireland.com
Username buildingbids
Password *************
Database buildingbids
I get a different error now it says
Mysql error #:1045 access denied for Buildingbids@localhost (Password:Yes)
so it looks like its looking locally for the database by default and i cant stop it. I did orriginally have MySql set up on my pc and had done some test databases but i have deleted everything now even MySql but i still get this error so i am missing something. Does anyone know why or how can i stop it defaulting locally. Thanks -
Error in connecting webdynpro with oracle
Hi
while connecting webdynpro with oracle, i am getting this type of error. I imported the classes12.jar file also.
<b>Error:</b>
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
The <b>coding</b> which i used to connect is as follows,
Class.forName("oracle.jdbc.driver.OracleDriver");
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection(
"jdbc:oracle:thin:@entegdt36:1521:dbserver",
"scott","tiger");
pst=conn.prepareStatement("select * from Test");
rs=pst.executeQuery();
while(rs.next())
res=res+rs.getString(1);
wdThis.wdGetContext().currentContextElement().setName(res);
Please help me to solve this problem.
It's very urgent.
Thanks in advance.Hi,
Go to technical landscapes and create a technical landscape for your ECC backend system.
This should solve the problem.
Regards
Bharathwaj. -
Error binding table components with database tables
Hi, when i try to bind table components with database tables y receive this error
java.lang.NullPointerException
at com.sun.sql.rowset.CachedRowSetXImpl.initMetaData(CachedRowSetXImpl.java:861)
at com.sun.sql.rowset.CachedRowSetXImpl.getMetaData(CachedRowSetXImpl.java:2336)
at com.sun.data.provider.impl.CachedRowSetDataProvider.getMetaData(CachedRowSetDataProvider.java:1317)
at com.sun.data.provider.impl.CachedRowSetDataProvider.getFieldKeys(CachedRowSetDataProvider.java:489)
at com.sun.rave.web.ui.component.table.TableRowGroupDesignState.resetTableColumns(TableRowGroupDesignState.java:261)
at com.sun.rave.web.ui.component.table.TableRowGroupDesignState.setDataProviderBean(TableRowGroupDesignState.java:163)
at com.sun.rave.web.ui.component.table.TableDesignState.setDataProviderBean(TableDesignState.java:250)
at com.sun.rave.web.ui.component.TableDesignInfo.linkBeans(TableDesignInfo.java:162)
at com.sun.rave.insync.models.FacesModel.linkBeans(FacesModel.java:1042)
at com.sun.rave.designer.DndHandler.processLinks(DndHandler.java:2126)
at com.sun.rave.designer.DndHandler.importBean(DndHandler.java:880)
at com.sun.rave.designer.DndHandler.importItem(DndHandler.java:702)
at com.sun.rave.designer.DndHandler.importDataDelayed(DndHandler.java:376)
at com.sun.rave.designer.DndHandler.access$000(DndHandler.java:114)
[catch] at com.sun.rave.designer.DndHandler$1.run(DndHandler.java:298)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)There are a thing that I don't undertand. When I try to bind samples database table (Travel, for example) to table components, there are no errors. But when I try to bind table component with my remote postgresql database table, yes...the table component disappear and only a "Table" string is displayed....this error is because I use remote database?? Or because it's PostgreSQL??
Thanks. -
Error RMAN connection to auxiliary database ORA- 12514
Hi,
I'm trying to make a clone of my database in another server but when I'm trying to connect as follow the RMAN return
to me the error ORA-12514.
C:\Documents and Settings\joses.morales>rman TARGET sys/pass@iswgen nocatalog
AUXILIARY sys/[email protected]
Recovery Manager: Release 8.1.7.4.1 - Production
RMAN-06005: connected to target database: ISWGEN (DBID=2348350645)
RMAN-06009: using target database controlfile instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
For more information:
- the auxiliary database is started whit nomount option.
- this is my listener.ora in the auxiliary host
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = WSSP61)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = oracle8)
(ORACLE_HOME = C:\oracle\ora81)
(SID_NAME = iswgen)
(SID_DESC =
(GLOBAL_DBNAME = oracle8)
(ORACLE_HOME = C:\oracle\ora81)
(SID_NAME = oracle8)
- this is my tnsnames.ora in the auxiliary host
ISWGEN =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = wssp61)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = iswgen)
ORACLE8 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = WSSP61)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = oracle8)
- this is my tnsnames.ora in the target host
iswgen =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = gdcoracle)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = iswgen)
iswgen.wssp61 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = wssp61)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = iswgen)
- target server: gdcoracle
- auxiliary server: wssp61
- global name in auxiliary: Oracle8
- intances in auxiliary: Oracle8 & Iswgen
I was expecting the follow message:
connected to target database: ISWGEN (DBID=519338572)
using target database control file instead of recovery catalog
connected to auxiliary database: ISWGEN.WSSP61 (not mounted)
Can anybody help me to resolve this error ORA-12514??
ThanksI'm try to connect to the auxiliary server at SQLPLUS and I get the follow:
C:\Documents and Settings\joses.morales>sqlplus /nolog
SQL*Plus: Release 8.1.7.0.0 - Production on Sex Jun 1 12:26:09 2007
(c) Copyright 2000 Oracle Corporation. All rights reserved.
SQL> conn sys@iswgen
Informe a senha:
ERROR:
ORA-12514: TNS:listener nao conseguiu resolver o SERVICE_NAME fornecido no
descitor de conexao
SQL> conn sys@iswgen as sysdba
Informe a senha:
ERROR:
ORA-12514: TNS:listener nao conseguiu resolver o SERVICE_NAME fornecido no
descitor de conexao
SQL> conn internal as sysdba
Conectado.
SQL>
Any sugestions?
Thanks everyone and regards -
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!
//VincentWhat 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. -
ERROR IN CONNECTING TO B1 DATABASE
Hello,
I am trying to connect to SAP B1 database from an add on so to post a journal entry. I have not been able to and wondering what could be wrong on connecting to the database?Hi,
The question is not clear, you try to add through DI API or through SAP it self .
please check the link
oCompany.Connect takes a very long time.
and Check you system. the Server name or Ip is correct or not .
this also can be a problem.
Regards,
Mayank Shah -
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 -
Noclassfound error while connecting java with oracle database
hi all
the source code metioned below gets compiled. but when it is run
it gives thefollowing error.
ClassNotFoundException: jdbc.driver.OracleDriver
Exception in thread "main" java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:532)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at pract.main(pract.java:16)
import java.sql.*;
class pract
public static void main (String args []) throws SQLException
try
Class.forName("jdbc.driver.OracleDriver");
catch(java.lang.ClassNotFoundException e)
System.err.print("ClassNotFoundException: ");
System.err.println(e.getMessage());
Connection conn = DriverManager.getConnection
("jdbc:oracle:thin:@anant:1521:student", "scott", "tiger");
// @machineName:port:SID, userid, pas
Statement stmt = conn.createStatement();
ResultSet rset = stmt.executeQuery("select * from emp");
while (rset.next())
System.out.println (rset.getString(1)); // Print col 1
stmt.close();
i have included the following driver classes in the classpath
ojdbc.jar,
ojdbc_g.jar,
classes111.jar
but still im unable to connect.
can anyone help me in solving this simple problem.hi ,
you hav not stated which oracle ur using...still if u r using oracle 9i then u hav to include classes12.jar file in ur lib build classpath and then tryout following changes in code....
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
conn = DriverManager.getConnection("jdbc:oracle:thin:@<host>:<port>:<sid>","scott","tiger");
hope this ll help....
Maybe you are looking for
-
Using SAVE_TEXT in VF01 for item texts
Hi guys, A colleague wants to save an item text in the billing process (VF01 transaction). As you should know, there is no billing document number yet when we are creating the invoice using that transaction. He is programming at RV60AFZZ include, FOR
-
I live in Switzerland and mainly find films in german, even if the original is in english. How can I get, eg. Woody Allen films in english and not in german?
-
HR Offcycle Payroll(Customer Specific Function(
Hi, I am working on SAP 4.7, i have developed an customer specific HR payroll function, its attached in the payroll schema, in the routine i have updated some HR infotypes. Now in normal payroll run it works fine but, in offcyle it has two buttons 's
-
I have deleted my inventory to start fresh - Devices seem to scan properly, but when looking at them in inventory, there is not any information listed aside from IP, pc name, switch port info and network shares. Its listed as an unknown device. If I
-
My new 2gig second generation nano makes me furious
It plays some songs only a few seconds, though in itunes it plays the full songs. I have tried deleting them from my library reimporting them and putting them on my ipod but it does the same thing. It has also frozen up on me a couple times. Is anyon