SQL Developer tool giving error Network Adapter could not establish
Hello,
I installed oracle 11.2 client on my windows 7 machine.
When i connect sql developer, i get the below error.
status : Failure - Test failed : The network Adapter could not establish the connection
I am using network Alias to select SID name.
I am able to connect the same database through sqlplus. I am able to ping the tnsname. I am able to telent the server for 1521 port.
What else could be the issue?
Any help is appreciated.
You'll probably want to post this in the SQL Developer forum.. SQL Developer
Greg
Similar Messages
-
SQL Developer 1.5 - The Network Adapter could not establish the connection
I was using SQL Developer 1.2 until this afternoon. I saw that 1.5 was available so I decided to try it out.
Unfortunately, I cannot connect. I've tried connecting the same way I've done with 1.2 and it gives me the error:
"Io exception: The Network Adapter could not establish the connection"
No firewall changes, tns changes have been done the whole 10 minutes I was transitioning over from 1.2 to 1.5.
Any ideas how I can get 1.5 to connect?Hi Echoi ,
1/Do you want us to look at the tnsnames.ora and see if we spot anything?
2/There are complications with existing ORACLE_HOME s:
Re: 1.5 not working at all for me
post from dooneill:
Hi Thomas,
SQL Developer does pick up the JDBC drivers from your local ORACLE_HOME.
To ensure your using the shipped JDBC drivers you could use the following small script.
I would appreciate if you could tell me if this works and what version of Oracle you have installed locally.
1) Close SQL Developer
2) Create a sqldeveloper.cmd file in the SQL Developer root directory
3) With the following contents
SET ORACLE_HOME=%CD%
start sqldeveloper.exe
4) Run sqldeveloper.cmd
Thanks
Dermot.
-Turloch -
Hello all!
First of all, I want to say I read all the answers to this problem that were posted in the past in this forum.
I try to connect from the intranet to an Oracle database, named bc01. The string I use is "jdbc:oracle:thin:@192.168.199.11:1521:bc01". On the 192.168.199.11 machine the listener and oracleservice services are started. The bc01 is correctly added to tnsnames.ora. If I issue a tnsping80 192.168.199.11 from the console it works. However, if I issue the same command from my workstation, it doesn't work (says No listener). So what am I missing here?
Any help is much appreciated !
Thank you very much!Faizan,
Normally this error is reported when the database is either not available or the URL is invalid. Please check the URL whether you have a valid DB connection there.
Also I see the getConnection missing e,g.
Connection conn = ds.getConnection();
regards
Debu
I am trying to setup DataSource for my application and I am using oracle 8.1.6.3 database. I have following entry in the data-sources.xml file
<data-source
class="oracle.jdbc.pool.OracleDataSource"
name="jdbc/pool/OracleDS"
location="jdbc/ConnectionDS"
pooled-location="jdbc/pool/OracleDS"
url="jdbc:oracle:thin:@machine:1521:development"
username="user"
password="password"
min-connections="3"
max-connections="50"
wait-timeout="10"
inactivity-timeout="30"
/>
In my JSP code I am doing following to access the database
ResultSet sqlResultSet = null;
PreparedStatement stm = null;
InitialContext ic = new InitialContext();
DataSource ds = (DataSource)ic.lookup("jdbc/OracleDS");
stm = conn.prepareStatement(updtUser);
I got following exception when I ran teh code
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Thanks for help
Faizan -
Sql exeption: Io exception: The Network Adapter could not establish the connection
when i tried to connect to a oracle server using visual age for java i had this error message:
"java.sql.SQLException: Io exception: The Network Adapter could not establish the connection"
any ideas ...if u r using think jdbc driver then check the Host name/address (IP Address) of the server and the SID and the port number.. there is no other reason for this.
Sometimes.. when the database is behind the firewall and the ports/IP is not open then due to denial of access this error occurs.
HTH.
Rajeev -
Hello,
I have recently installed Weblogic6.1Sp1 server with Weblogic Intergration 2.1
on solaris 7 and im getting this error when connecting to the database (oracle816.3);
I have changed Oracle drivers and tried many different configurations, with no
luck, Could someone give me some guidance or has anyone encounted this error before.
Thanks
Bobby
java.sql.SQLException: Io exception: The Network Adapter could not establish the
connection]
java.sql.SQLException: Io exception: The Network Adapter could not establish the
connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:260)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at com.bea.wlpi.rdbmsrealm.RDBMSDelegate.<init>(RDBMSDelegate.java:187)
at com.bea.wlpi.rdbmsrealm.RDBMSDelegate$DFactory.newInstance(RDBMSDelegate.java:1177)
at weblogic.security.utils.Pool.getInstance(Pool.java:57)
at com.bea.wlpi.rdbmsrealm.RDBMSRealm.getDelegate(RDBMSRealm.java:104)
at com.bea.wlpi.rdbmsrealm.RDBMSRealm.getUser(RDBMSRealm.java:145)
at weblogic.security.acl.CachingRealm.getUserEntry(CachingRealm.java:806)
at weblogic.security.acl.CachingRealm.getUser(CachingRealm.java:670)
at weblogic.security.acl.internal.FileRealm.getPrincipalFromAnyRealm(FileRealm.java:1008)
at weblogic.security.acl.internal.FileRealm.ensureRequiredObjectsExist(FileRealm.java:957)
at weblogic.security.acl.internal.FileRealm.loadMembers(FileRealm.java:1202)
at weblogic.security.SecurityService.initializeRealm(SecurityService.java:274)
at weblogic.security.SecurityService.initialize(SecurityService.java:115)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:390)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)Hi. This is definitely an oracle-only problem, so you should simplify the problem
down to a small standalone program using the oracle thin driver to make a connection.
Once you get this to work, weblogic will also be able to do it. Make sure that
when you try to have weblogic succeed after you can do it with oracle code only,
that the driver you used to succeed with, is ahead of any weblogic jars in
the server classpath. Note that we ship a classes12.zip in our packaging, but
Oracle has since released a newer one (with the same name!) that has some bugs
fixed. Make sure the later one is the one the JVM will pick up.
Joe
Bobby wrote:
>
Hello,
I have recently installed Weblogic6.1Sp1 server with Weblogic Intergration 2.1
on solaris 7 and im getting this error when connecting to the database (oracle816.3);
I have changed Oracle drivers and tried many different configurations, with no
luck, Could someone give me some guidance or has anyone encounted this error before.
Thanks
Bobby
java.sql.SQLException: Io exception: The Network Adapter could not establish the
connection]
java.sql.SQLException: Io exception: The Network Adapter could not establish the
connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:260)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at com.bea.wlpi.rdbmsrealm.RDBMSDelegate.<init>(RDBMSDelegate.java:187)
at com.bea.wlpi.rdbmsrealm.RDBMSDelegate$DFactory.newInstance(RDBMSDelegate.java:1177)
at weblogic.security.utils.Pool.getInstance(Pool.java:57)
at com.bea.wlpi.rdbmsrealm.RDBMSRealm.getDelegate(RDBMSRealm.java:104)
at com.bea.wlpi.rdbmsrealm.RDBMSRealm.getUser(RDBMSRealm.java:145)
at weblogic.security.acl.CachingRealm.getUserEntry(CachingRealm.java:806)
at weblogic.security.acl.CachingRealm.getUser(CachingRealm.java:670)
at weblogic.security.acl.internal.FileRealm.getPrincipalFromAnyRealm(FileRealm.java:1008)
at weblogic.security.acl.internal.FileRealm.ensureRequiredObjectsExist(FileRealm.java:957)
at weblogic.security.acl.internal.FileRealm.loadMembers(FileRealm.java:1202)
at weblogic.security.SecurityService.initializeRealm(SecurityService.java:274)
at weblogic.security.SecurityService.initialize(SecurityService.java:115)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:390)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35) -
Dear all,
I have been trying to connect to Oracle 8 from Java but without success.
I am using the following driver: oracle.jdbc.driver.OracleDriver
and the thin protocol as follows:
jdbc:oracle:thin:userid/password@databasename:1512:sid
I am getting the error message:
java.sql.SQLException: Io exception: The Network Adapter could not establish th
connection
I am using jdk1.3 with classes12.zip added to the classpath settings.
Can anybody help please.
Regards,
[email protected] or [email protected]
nullDear colleague,
I am using a stand alone database running on my windows 98 laptop.
I connect successfully via sql plus using the user id: scott and password tiger.
Below is the entry of my tnsname.ora:
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
I am finding difficult to specify a host, but I have tried the following combinations:
DriverManager.getConnection ("jdbc:oracle:thin:@koudry:1521:PLSExtProc","scott", "tiger");
where the machine name is koudry and PLSExtProc the sid.
DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:PLSExtProc","scott", "tiger");
and also 127.0.0.1 which is the ip address of the localhost. All these give me the following error:
Exception in thread "main" java.sql.SQLException: Io exception: The Network Adap
ter could not establish the connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:263)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at web.main(web.java:10)
When I use the oci protocol like:
DriverManager.getConnection ("jdbc:oracle:oci8:@127.0.0.1:1521:PLSExtProc","scott", "tiger");
I get the following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: make_c_state
at oracle.jdbc.oci8.OCIDBAccess.make_c_state(Native Method)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:233)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:249)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at web.main(web.java:10)
Below is the entry for autoexec.bat:
set classpath=.;c:\oracle\ora81\jdbc\lib\classes12.zip;
mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=850
keyb uk,,C:\WINDOWS\COMMAND\keyboard.sys
SET Path=c:\Oracle\Ora81\lib;c:\Oracle\Ora81\bin;"C:\PROGRAM FILES\ORACLE\JRE\1.1.7\BIN";C:\WINDOWS;C:\WINDOWS\COMMAND;C:\;C:\DOS;C:\JDK1.3\BIN;C:\MSSQL7\BINN;C:\JDK1.3\SRC;
Can anyone see what I am doing wrong.
Thanks,
Richard Koudry
null -
I am using Oracle 9i Server just the
Weblogic 5.1 and also using Oracle 8.1.6 client for weblogic. When I start the weblogic application I am getting the following error message
"java.sql.SQLException: Io exception: The Network Adapter could not establish the co
nnectionOn 10 Feb 2003 09:51:52 -0800, Shankar Viswanathan
<[email protected]> wrote:
I am using Oracle 9i Server just the
Weblogic 5.1 and also using Oracle 8.1.6 client for weblogic. When I start the weblogic application I am getting the following error message
"java.sql.SQLException: Io exception: The Network Adapter could not establish the co
nnection
"You're not providing a lot of information here, but I'll assume a few
things and say...
Ensure the URL param is set properly in the pool def. Check hostname,
port and database/TNS entry. Also, try dbpinging the database with the
following:
java utils.dbping ORACLE <user> <password> <dbname>
substitute the appropriate values where necessary. For example, I have
a TNS def called 'jforum.world' for a particular oracle instance. User
is 'auser' and the password is 'apass'. The following command will
test the connection:
java utils.dbping ORACLE auser apass jforum.world
Alternatively, you can try tnsping, an oracle util, to test the
connectability.
If either of these utils work, then it's probably a typo somewhere in
the pool properties.
Bon -
Does anyone know what this error means?I have already installed Analyzer 6.5 on Win NT, on locally installed Tomcat web server and the oracle 9i database is on a solaris box.I think the problem is it is not able to connect to the oracle repository but I don't know how to fix it. Thanks,Haroon
Joe,
It may happen during testOnReserve, too.
Slava
"Joseph Weinstein" <[email protected]> wrote in message
news:[email protected]..
That means the Oracle URL you supplied to the pool is incorrect forconnecting to the
DBMS you want. If the same pool definition works sometimes and sometimesnot,
then it's an oracle problem with rapid connection requests. Make the poolmake all it's
connections at startup, by setting init=max, and this shouldn't happen.
Joe
Najib wrote:
Hi,
I am using a WebLogic Server 5.1. I created a connection pool to access
Oracle DB 8.1.7. It works fine but some times i have this pb :
Tue Apr 16 08:35:37 GMT 2002:<I> <JDBC Pool> Sleeping increateResource()
SQLException Pool connect failed: weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Io exception: The Network Adapter could notestablish the connection
atoracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
atoracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
atoracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323)
atoracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:260)
atoracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
atoracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connection
EnvFactory.java:164)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connection
EnvFactory.java:123)
can some one help me please.
thinx. -
Jdbc thin error : The Network Adapter could not establish the connection
jdbc thin error : The Network Adapter could not establish the connection
I have been able to create a webservice as per the article Build a PL/SQL Web Service by jason price from otn website. while executing url to call the pl/sql procedure to get the data i am encountering this error
The Network Adapter could not establish the connection in the resultant xml output. Am I missing something here ?
Please see ouput below
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.Exception:</faultcode>
<faultstring>java.sql.SQLException: Io exception: The Network Adapter could not establish the connection</faultstring>
<faultactor>/plsqlsample/dbfunc</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope
my oc4j/j2ee/home/config/data-sources.xml file has this entry for the connection
<data-source class="com.evermind.sql.DriverManagerDataSource" connection-driver="oracle.jdbc.driver.OracleDriver" ejb-location="jdbc/hr_connDS" inactivity-timeout="30" location="jdbc/hr_connCoreDS" name="jdev-connection:hr_conn" password="xxxx" pooled-location="jdbc/hr_connPooledDS" url="jdbc:oracle:thin:@o11idev.concentra.com:9200:DEV1" username="hr8" xa-location="jdbc/xa/hr_connXADS"/>
I am not able to debug this error and any information to debug this error would be appreciated. I have scanned the metalink short of logging a tar. I am using the oc4j install on the 9ias webserver and not the jdeveloper/oc4j combination. The apps server runs 9ias on hp/ux.
Thanks
ashokAshok,
Your database connection URL doesn't look right to me. The default database connection listener port is 1521 (not 9200). You can check this using the "lsnrctl" utility.
To find the "host" and SID parts (of the URL), use the following SQL query:
select HOST_NAME, INSTANCE_NAME from V$INSTANCEGood Luck,
Avi. -
Hi Friends,
I am installing Java Addin to ECC 6.0 SR3 on Solaris 5.10(Oracle 10.2).
SCS Addin i have completed.Right now i am facing issue when installing DB Addin Java in phase -->
Java Import--->
08.01.09 00:23:39 com.sap.inst.jload.Jload logStackTrace
SEVERE: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
I have captured this error in jload.log
As per SAP Note 969660 i have restarted the Listener but still no luck..
Could any one aware of this issue.
Thanks
Siva
9885704611Hai,
Check the below links, may be helpful.....
http://www.websina.com/bugzero/kb/oracle-connection.html
/thread/498275 [original link is broken]
Regards,
Yoganand.V -
JDBC Error - The Network Adapter could not establish the connection
Hi all,
I appreciate if anyone could help me out with my issue. I wrote simple java code on win 2000 to test whether I will be able to access Oracle 8i DB resided at some xxx.xxx.xxx.xxx machine within the network.
The code is:
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@111.111.11.11:1526:DBinstance","user","password");
The fist line here is executing and the problem is with second line of code. After executing this application from my DOS window, I am getting error:
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:211)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:324)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:266)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at DBConn.getConn(DBConn.java:15)
at DBConn.main(DBConn.java:40)
I have installed Oracle client, where I can access the same database using SQL * Plus, but why I am unable to access the database from a Java Application? Do I need any web/application server to access it?
Any suggestions please?
Thanks,
csI am sorry guys, I was using the port number as 1526, where I need to use 1521...
-
Hi,
I run java application on one Sun Solaris (5.8) server and call Oracle 8.1.6 MTS database on another Sun Solaris (5.8) server.
When I am using jdbc:oracle:thin:@host:port:sid, I got:
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection.
So, I changed to jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=hostip)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=databasename)(SERVER=DEDICATED))). It works.
But, when I tested java application with jdbc:oracle:thin:@host:port:sid on other Sun Solaris 5.8 server, using same classes12.zip and connect to same MTS database, all of them worked.
Right now, there is only one Sun server does not work with jdbc:oracle:thin:@host:port:sid format. And on this SUn server, using jdbc:oracle:thin:@host:port:sid format connect to other dedicated Oracle database is fine.
Thanks for your help advance.
PaulThis is going to sound stupid, but have you made sure that the server that couldn't connect resolved the name of the database server correctly? We had some problems with some of our field offices not correctly resolving the IP address for our server when the name was given. I would first try and put the IP address for the server/host name:
jdbc:oracle:thin:@1.1.1.1:port:sid
That's just a thought, hope it works for you. -
Session.xml-The Network Adapter could not establish the connection
I am using Oracle TopLink 10g Release 3 (10.1.3.1.0) and Weblogic 9.2.
TopLink Configurations in session.xml are as follows:
<?xml version="1.0" encoding="UTF-8"?>
<toplink-sessions version="10g Release 3 (10.1.3.1.0)" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<session xsi:type="server-session">
<name>default</name>
<event-listener-classes/>
<primary-project xsi:type="xml">BharosaTLMappings.xml</primary-project>
<login xsi:type="database-login">
<platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
<user-name>bharosa</user-name>
<password>orclam</password>
<sequencing>
<default-sequence xsi:type="native-sequence">
<name>Native</name>
<preallocation-size>1</preallocation-size>
</default-sequence>
</sequencing>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<connection-url>jdbc:oracle:thin:@10.77.199.114:1521:orcl</connection-url>
</login>
<connection-pools>
<read-connection-pool>
<name>ReadConnectionPool</name>
</read-connection-pool>
<write-connection-pool>
<name>default</name>
</write-connection-pool>
</connection-pools>
<connection-policy/>
</session>
</toplink-sessions>
When I start the server I, the log shows the following errors list:
[TopLink Info]: 2007.10.19 03:11:37.391--ServerSession(4922317)--TopLink, version: Oracle TopLink - 10g Releas
e 3 (10.1.3.1.0) (Build 061004)
[TopLink Severe]: 2007.10.19 03:11:58.485--ServerSession(4922317)--Local Exception Stack:
Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptio
ns.DatabaseException
Internal Exception: java.sql.SQLException: Io exception: The Network Adapter could not establish the connectio
nError Code: 17002
at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:276)
at oracle.toplink.sessions.DefaultConnector.connect(DefaultConnector.java:64)
at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:147)
at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:197)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:220)
at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:273)
at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:82)
at oracle.toplink.threetier.ConnectionPool.startUp(ConnectionPool.java:304)
at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:435)
at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:503)
at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:379)
at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:184)
at oracle.toplink.tools.sessionmanagement.SessionManager.getDefaultSession(SessionManager.java:98)
at com.bharosa.common.toplink.TopLinkDBMgr.<init>(TopLinkDBMgr.java:54)
at com.bharosa.vcrypt.dataaccess.util.VCryptDataAccessMgr.initializeDBMgr(VCryptDataAccessMgr.java:132
at com.bharosa.vcrypt.dataaccess.util.VCryptDataAccessMgr.<init>(VCryptDataAccessMgr.java:58)
at com.bharosa.common.actions.AuthRequestProcessor.<init>(AuthRequestProcessor.java:49)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:145)
at org.apache.struts.action.ActionServlet.getRequestProcessor(ActionServlet.java:573)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1162)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.jav
a:3214)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: 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:525)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at oracle.toplink.sessions.DefaultConnector.connect(DefaultConnector.java:62)
... 39 more
<Oct 19, 2007 3:11:58 PM GMT+05:30> <Error> <HTTP> <BEA-101105> <[weblogic.servlet.internal.WebAppServletConte
xt@10285d8 - appName: 'oarm', name: 'oarm', context-path: '/oarm'] error-page location: "/FA_error404.jsp" for
the error-code: "404" does not exist. Serving the default error page.>
What should I do? And when the server starts and I run the application, I get the following error:
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
Can anybody help me...?????Can you try writing a testcase that allows you to connect to the database by going through JDBC ?
-
Probelm the network adapter could not establish connection
Hi Everyone ,
i installed the Sqldevelopr version 2.1.0.63 in windows vista , but when i start new connection its shows me error (network adapter could not establish connection)
but it's work when i used sql plus , i tried many times but it shows me same error what should i do?.
detailes for connection as bellows
connection name=orcl
username=scott
sid=orcl
port=1521
Best Regards
anwarYou should post your question in [SQL Developer|http://forums.oracle.com/forums/forum.jspa?forumID=260] forum
Edited by: Oleg Gorskin on 28.12.2009 6:21 -
"The Network Adapter could not establish the connection" on Debian
On a new Debian server I was getting the following error when running my Java code:
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Since none of the solutions listed on this forum worked for me, here is what fixed it:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560044
Hope it will help others here!In 8.1.7, we had some restrictions on the selectors that could be used with QueueReceiver
Only the following were supported:
JMSMessageID = 'ID:23452345' to retrieve messages that have a specified message ID (all message IDs being prefixed with
ID:)
JMSCorrelationID = 'RUSH' or JMSCorrelationID LIKE 'RE%' to retrieve messages that have a certain correlationID
The selector that the customer is using will work with TopicSubscribers. On topics users can use user-defined properties such as
color='RED';
The selectors are documented in Chapter 12- Application developer's guide - Advanced Queuing.
In Oracle9i, the QueueReceiver has been enhanced to support all types of selectors including the user-defined properties
For better response please post Advanced Queueing Questions in <b> Products > Database > Oracle Advanced Queueing <b> forum
Maybe you are looking for
-
Itunes + Switching Library from PC to MAC
I've been reading the FAQ's on iTunes, and I've notived it only has guides that shows how to transfer your music from PC to another PC or Mac to Another Mac. I'm buying a MacBook Pro this week, and I want to keep all my music, is this going to be pos
-
I am getting a certificate error trying to access https://mail.yahoo.com. Unlike most other certificate errors, there is no option for "I understand the risks" to add an exception for the page, just the following: mail.yahoo.com uses an invalid secur
-
In a content area folder is there a way to sort items based on regular/custom attributes? I know that we can sort based on title and size Thanks
-
AII 4.0 new features???
Hi, in Oct. 05 the new version of SAP's AII will be available (ramp-up). I can't find any public sources of information about the new version. Could anybody tell me what new features will be offered compared to the AII 2.1. Or at least - does anybody
-
Trim whitespace in output file using spool program
hi all, How do i can trim the space between the output? 1000064426 16-MAR-10 60355230028 1000064269 16-MAR-10 60355230002 1000064251