AnyConnect installation issue - Network Adapter is not created - cannot find any error?
I am a contractor with a Federal Agency that just swithed to using Cisco AnyConnect for VPN access. I am about the only person with this installation issue, that I know of. When installing the AnyConnect client on a Windows 7 machine running a 3.X msi install - the expected Cisco NewWork Adapter is not created in Network connections as I would expect. I have turned off Firewall services, I've turned off SQL services, Citrix, etc. But nothing I have tried allows this to install correctly.
When I attempt to use the AnyConnect VPN client and login the the remote service - I receive the
The VPN client driver has encountered an problem. Please restart your computer or device, then try again.
I have attempted the driver database fix suggested online - BUT it didn't correct the problem because I think my problem is in the initial setup, although I cannot find and error in the Windows/inf/setupapi.app.log and setupapi.dev.log that would suggest there is an driver problem.
The DART logs are a bit cryptic, but nothing stands out that would give me any idea as to what might be blocking the creating of the Network adapter the VPN Client would use to connect to the remote network.
Can anyone here point me in the right direction - I am not receiving help from configuration management - their solution is to format my entire computer and rebuild it which will cost me weeks of time and I have a deadline looming in Feburary.
Thank you!
Michael
Hi Jacob,
Let's try this & report the outcome...
Make a New Location, Using network locations in Mac OS X ...
http://support.apple.com/kb/HT2712
Is that Interface dragged to the top of Network>Show:>Network Port Configurations and checked ON?
The Interface that connects to the Internet, needs to be drug to the top of System Preferences>Network>Show:>Network Port Configurations and checked ON.
10.5.x/10.6.x instructions...
System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
The interface that connects to the Internet should be dragged to the top of the list.
The interface that connects to the Internet should be dragged to the top of the list.
Then highlight the interface you connect with, click Advanced, is it set to Using DHCP, what IP does it Show & Router IP, then click on Proxies tab & make sure none are set, click on the DNS tab and enter these numbers...
208.67.222.222
208.67.220.220
Similar Messages
-
AnyConnect installation issues - Network Adapter is not created - cannot find any error?
I am a contractor with a Federal Agency that just swithed to using Cisco AnyConnect for VPN access. I am about the only person with this installation issue, that I know of. When installing the AnyConnect client on a Windows 7 machine running a 3.X msi install - the expected Cisco NewWork Adapter is not created in Network connections as I would expect. I have turned off Firewall services, I've turned off SQL services, Citrix, etc. But nothing I have tried allows this to install correctly.
When I attempt to use the AnyConnect VPN client and login the the remote service - I receive the
The VPN client driver has encountered an problem. Please restart your computer or device, then try again.
I have attempted the driver database fix suggested online - BUT it didn't correct the problem because I think my problem is in the initial setup, although I cannot find and error in the Windows/inf/setupapi.app.log and setupapi.dev.log that would suggest there is an driver problem.
The DART logs are a bit cryptic, but nothing stands out that would give me any idea as to what might be blocking the creating of the Network adapter the VPN Client would use to connect to the remote network.
Can anyone here point me in the right direction - I am not receiving help from configuration management - their solution is to format my entire computer and rebuild it which will cost me weeks of time and I have a deadline looming in Feburary.
Thank you!
MichaelHi Jacob,
Let's try this & report the outcome...
Make a New Location, Using network locations in Mac OS X ...
http://support.apple.com/kb/HT2712
Is that Interface dragged to the top of Network>Show:>Network Port Configurations and checked ON?
The Interface that connects to the Internet, needs to be drug to the top of System Preferences>Network>Show:>Network Port Configurations and checked ON.
10.5.x/10.6.x instructions...
System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
The interface that connects to the Internet should be dragged to the top of the list.
The interface that connects to the Internet should be dragged to the top of the list.
Then highlight the interface you connect with, click Advanced, is it set to Using DHCP, what IP does it Show & Router IP, then click on Proxies tab & make sure none are set, click on the DNS tab and enter these numbers...
208.67.222.222
208.67.220.220 -
Hi All
I need to buy old style 'T' power adapter in Australia but cannot find any stores selling them. It is for a late 2008 MBP. Nothing on ebay. Any ideas? Thanks in advance.
aurum1313I figured it out!
I read a solution for something that sounded similar.
Anyone in similar position:
Open iTunes app on iPhone, and pick an option from bottom, such as music. Then scroll down to bottom of page and where your iTunes ID is, press on it, and pick sign out.
Then return to home screen, and double press home button and press and hold on first icon showing, until a minus symbol appears in the top left of icons present. Press on each minus symbol on each app in turn, until all app icons have disappeared. Then Restart the phone by pressing and hold the home button and the on/off/standby button at top of phone, until the apple symbol appears in centre of blank screen.
Swipe to turn phone fully on and open settings and scroll down to iTunes and apps option and tap that. Pick sign in and put in your apple ID, it will accept it and then return to home screen and open iTunes a you'll find it works fine
Simple really, but some like me won't think f this themselves!
Hope that helps -
Hi,
I know that there are a lot of threads with this error, but I don't know how to solve my situation yet.
I'm trying to access to the database via JDBC, and the driver return the following error:
java.sql.SQLException: IO Error: The Network Adapter could not establish the connection
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:536)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:133)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.execute(OpenConnectionCommand.java:97)
at net.sourceforge.squirrel_sql.client.mainframe.action.ConnectToAliasCommand$SheetHandler.run(ConnectToAliasCommand.java:281)
- My oracle database is up and I can access to it with locally with TOAD
- I can do TELNET localhost 1521 in the server that has the DB installed
- I can do a successful ping from the client computer to the oracle server
- There aren't any firewalls between the client and the server.
- When I try to do TELNET <IP Address> 1521 from the client computer to the oracle DB Server, the connection could not be opened
- I tryed to do a TELNET to another port where I have another service, and the result has been successful. So the problem is related with the port 1521...
I don't have any knowledge about database administration, so I don't know what to do to solve this.
Can you help me please?java.sql.SQLException: IO Error: The Network Adapter could not establish the connectionThis preposterous error message is Oracle's way of saying either 'Connection refused' or 'Connection timeout' or 'no route to host' or 'unknown host'. However because of the stupidity of making up their own message instead of giving the original exception, it is impossible to say which. The pretentious wording is also stupid: network adapters don't create connections. TCP/IP stacks do that.
As to your problem, either there is no such host, no route to the host, nothing listening at the IP:port you specified, or there is a firewall in the way. And that includes a possible Windows firewall on the server host itself. -
Network Adapter could not establish
I am having some problems making a jdbc connection between oracle and java on a Solaris box. I keep getting this sqlexception error during runtime?
Network Adapter could not establish
the connection
Any help would be greatly appreciated.Hai there!
Iam having the same error. N/W adapter could not establish the connection (NULL pointer exception)
Iam using win98 & oracle8.1.5.
When i try to access datbase from oracle thr' Java it gives runtime error.
There is no firewall in my system.
I don't know how to run the oracle listener. Iam new user for JDBC. Please help me.
Sometimes it gives "not suitable driver".
My coding is
/**DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());*/
Connection conn = null;
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
conn = DriverManager.getConnection("jdbc:oracle:thin:@67.192.41.17:1521:newemployee","scott","tiger");
} catch (Exception e) {
System.out.println(e + "");
} finally {
try {
conn.close();
} catch (Exception e) {
System.out.println(e + "");
"you should have an entry for your database in tnsnames.ora file.Ask your dba about the name ,port etc.,"
Please explain this line clearly.
If possible send me a program & all the steps to run that program.
Please help me.
Thanks in advance
sakthy -
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 -
Network Adapter could not establish connection during installation
Hi,
I'm trying to install html db v10.2.0.1 and http server on the Fedora Core 4 platform and am getting a "Network Adapter could not establish connection during installation" error. This occurs after pressing Next at on the Specify HTML DB Database Details dialog box. Note that I'm not new to oracle databases or html db. I can't seem to find a similar thread on this forum related to the html db v2 install and I've read the FAQ related to the installation, making sure that I unset the TNS_ADMIN and ORACLE_HOME environment variables before launching the installer. I also checked that I can connect to the database via the listener, sqlplus sys@database as sysdba. I checked the listener status:
[oracle@hinault ~]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 18-AUG-2005 12:03:23
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 18-AUG-2005 08:11:25
Uptime 0 days 3 hr. 51 min. 58 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File /u01/app/oracle/product/10.2.0/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hinault.com)(PORT=1521)))
Services Summary...
Service "tibbetts" has 1 instance(s).
Instance "tibbetts", status READY, has 1 handler(s) for this service...
Service "tibbettsXDB" has 1 instance(s).
Instance "tibbetts", status READY, has 1 handler(s) for this service...
Service "tibbetts_XPT" has 1 instance(s).
Instance "tibbetts", status READY, has 1 handler(s) for this service...
The command completed successfully
I also checked the installation log files. Here's the contents of the end of the file:
schemaName = sys
schemaPassword = Protected value, not to be logged
connectString = //hinault.com:1521/tibbetts
userName = FLOWS_010600
INFO: Query Returned: ERROR:Exception occured while connecting to database. Please check the connection details of the database you specified and retry.
Io exception: The Network Adapter could not establish the connection
SEVERE: The installer has encountered the following error while trying to connect to the target database:
ERROR:Exception occured while connecting to database. Please check the connection details of the database you specified and retry.
Io exception: The Network Adapter could not establish the connection
INFO: User Selected: Yes/OK
I also checked the listener log and it looks normal. I checked that I entered the correct values in the Specify HTML DB Database Details dialog box, hostname, port and service name.[root@hinault sbin]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:12:3F:DF:23:BF
inet addr:10.100.41.136 Bcast:10.100.41.255 Mask:255.255.255.0
inet6 addr: fe80::212:3fff:fedf:23bf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:72238 errors:0 dropped:0 overruns:0 frame:0
TX packets:44289 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19151698 (18.2 MiB) TX bytes:4351417 (4.1 MiB)
Interrupt:9
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6838 errors:0 dropped:0 overruns:0 frame:0
TX packets:6838 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3168107 (3.0 MiB) TX bytes:3168107 (3.0 MiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) -
Jdbc. The Network Adapter could not establish the connection. Help Please!!
I've found several responses over this issue, but none works for me.
I'm trying to setup a simple jdbc connection from a simple program.
Platform:
Fedora Core 4 (FC4) on AMD 64 bits
Java 1.4.2_04 (64 bits)
ORacle 10g or Oracle 9.2.0.4 (none works);
Tips:
- I can't connect to a remote server, nor to a local server
- I can connect using SQLplus
- TNSPing works fine
- Listener it's up
- my connection string is jdbc:oracle:thin:user/name@host:port:sid
- Also try jdbc:oracle:thin:user/name@//host:port/sid
- I'v tryied with classes12.jar, odbj14.jar
- my hostname it's ok.
I've monitored ip traffic on remote computer. While using TNSPING I detect activity. While using jdbc, no.
Please, any idea??Thanks for your reply.
To your questions:
- I´v tried both IP, host, and even host.domain
- I can connect from remote workstation using toad, and from local using sqlplus.
- I can´t connect via jdbc.
Folowing:
A) my sample code
B) the stack trace
C) the listener status (from my 9i server. Also tryied another servr with 10g)
when I call this program, I´ve tried severl connection strings:
jdbc:oracle:thin:user/pass@sdd51:1521:ebf
jdbc:oracle:thin:user/pass@:sdd51.sdd.com.ar:1521:ebf
jdbc:oracle:thin:user/pass@:10.10.10.51:1521:ebf
also try the other sintax:
jdbc:oracle:thin:user/pass@//sdd51:1521/ebf
In the classpath, I´tryied:
clasess12.jar
ojdbc14.jar
nls_charset12.jar
thanks
A)=================================================
// Import the JDBC classes
import java.sql.*;
import oracle.jdbc.pool.OracleDataSource;
import java.io.*;
import java.util.*;
public class test
// The query we will execute
static final String query = "select 'Hello JDBC: ' || sysdate from dual";
// The connection to the database
static Connection conn;
// Create the User Interface
static public void main (String args[])
try {
String connect_string = args[0];
// See if we need to open the connection to the database
if (conn == null)
// Create a OracleDataSource instance and set URL
OracleDataSource ods = new OracleDataSource();
ods.setURL(connect_string);
// Connect to the databse
System.out.println ("Connecting to " + connect_string + "\n");
conn = ods.getConnection ();
System.out.println ("Connected\n");
// Create a statement
Statement stmt = conn.createStatement ();
// Execute the query
System.out.println ("Executing query " + query + "\n");
ResultSet rset = stmt.executeQuery (query);
// Dump the result
while (rset.next ())
System.out.println (rset.getString (1) + "\n");
// We're done
System.out.println ("done.\n");
catch (Exception e)
e.printStackTrace();
// Oops
System.out.println (e.getMessage () + "\n");
B)=================================================
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:212)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:102)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:85)
at test.main(test.java:66)
C)=================================================
LSNRCTL for Linux: Version 9.2.0.1.0 - Production on 30-JAN-2006 17:39:59
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 9.2.0.1.0 - Production
Start Date 24-JAN-2006 11:16:18
Uptime 6 days 6 hr. 23 min. 40 sec
Trace Level off
Security OFF
SNMP OFF
Listener Log File /opt/oracle/product/9.2.0/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sdd51.sdd.com.ar)(PORT=1521)))
Services Summary...
Service "ebf" has 1 instance(s).
Instance "ebf", status READY, has 1 handler(s) for this service...
The command completed successfully -
OSR installation throws network adapter error
Has anybody experienced this error during service registry installation? The errors say that it could not create a database connection because the network adapter could not establish a connection. This is the SQL exception that is being thrown when I try to install. I have the loop back adapter configured. I am trying to install this in Vista. I already have database and SOA suite installed.
Hi,
May be u can try testing it with an agent which is hosted in your remote desktop?
Thanks,
Guru -
I got a The Network Adapter could not establish the connection..
hi guys,
i've just downloaded and installed oracle 10g express in my win 7 installation.
i've already created 2 tables and one user and everything seems to be ok.
but.. there's a but!!! i've tried to connect (using driver ojdbc14) from netbeans and i got a "The Network Adapter could not establish the connection" error.
the connection string is:
jdbc:oracle:thin:@pcs:1251:XE
(pcs is my pc's name).
what problem can be?
many thanks ;)lsnrctl service
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-ABR-2011 01:53:14
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Conectándose a (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
Resumen de Servicios...
El servicio "CLRExtProc" tiene 1 instancia(s).
La instancia "CLRExtProc", con estado UNKNOWN, tiene 3 manejador(es) para este servicio...
Manejador(es):
"DEDICATED" establecido:0 rechazado:0
LOCAL SERVER
"ORACLE SERVER" establecidos:0 rechazados:0 actuales:0 máximo:25 estado:ready
CLRExtProc
(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\NTN_F94_50C6352F.ORA))
"ORACLE SERVER" establecidos:0 rechazados:0 actuales:0 máximo:25 estado:ready
CLRExtProc
(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\NTN_F94_50C6352F.ORA))
El servicio "PLSExtProc" tiene 1 instancia(s).
La instancia "PLSExtProc", con estado UNKNOWN, tiene 1 manejador(es) para este servicio...
Manejador(es):
"DEDICATED" establecido:0 rechazado:0
LOCAL SERVER
El servicio "XEXDB" tiene 1 instancia(s).
La instancia "xe", con estado READY, tiene 1 manejador(es) para este servicio...
Manejador(es):
"D000" establecidos:0 rechazados:0 actuales:0 máximo:1002 estado:ready
DISPATCHER <machine: PCS, pid: 3440>
(ADDRESS=(PROTOCOL=tcp)(HOST=pcs)(PORT=49160))
El servicio "XE_XPT" tiene 1 instancia(s).
La instancia "xe", con estado READY, tiene 1 manejador(es) para este servicio...
Manejador(es):
"DEDICATED" establecido:5 rechazado:0 estado:ready
LOCAL SERVER
El servicio "xe" tiene 1 instancia(s).
La instancia "xe", con estado READY, tiene 1 manejador(es) para este servicio...
Manejador(es):
"DEDICATED" establecido:5 rechazado:0 estado:ready
LOCAL SERVER
El comando ha terminado correctamente
lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-ABR-2011 01:53:03
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Conectándose a (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
ESTADO del LISTENER
Alias LISTENER
Versión TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Fecha de Inicio 06-ABR-2011 00:13:13
Tiempo Actividad 0 días 1 hr. 39 min. 51 seg.
Nivel de Rastreo off
Seguridad ON: Local OS Authentication
SNMP OFF
Servicio por Defecto XE
Parámetros del Listener C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
Log del Listener C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
Recibiendo Resumen de Puntos Finales...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pcs)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=HTTP)(Session=RAW))
Resumen de Servicios...
El servicio "CLRExtProc" tiene 1 instancia(s).
La instancia "CLRExtProc", con estado UNKNOWN, tiene 3 manejador(es) para este servicio...
El servicio "PLSExtProc" tiene 1 instancia(s).
La instancia "PLSExtProc", con estado UNKNOWN, tiene 1 manejador(es) para este servicio...
El servicio "XEXDB" tiene 1 instancia(s).
La instancia "xe", con estado READY, tiene 1 manejador(es) para este servicio...
El servicio "XE_XPT" tiene 1 instancia(s).
La instancia "xe", con estado READY, tiene 1 manejador(es) para este servicio...
El servicio "xe" tiene 1 instancia(s).
La instancia "xe", con estado READY, tiene 1 manejador(es) para este servicio...
El comando ha terminado correctamente -
JDeveloper Oracle XE The Network Adapter could not establish the connectio
I installed JDeveloper 10.1.2 and oracle express on Fedora.
Now I cannot create a database connection from jdeveloper using the connection navigator
The hostname, port etc is correct.
Sqlplus and everything else regarding the database on the command line works fine.
Did I miss something ?
Maybe an environment setting ?
I did the following installation (all on the same host):
Java runtime
JDeveloper
XE Database
Testing a connection I used the Oracele Database Express Edition 2 Day PLus Java Developer Guide.
Is this documentation complete ?
Can someone also explain to me what the error message
Io exception: The Network Adapter could not establish the connection EXACTLY means ??
Where does it go wrong ?
Is there a checklist for thsi kind of thin-java connection problems ?Here some extra info, as I just said I did a default installation.
The listener is up on port 1521, see ouput:
LSNRCTL for Linux: Version 10.2.0.1.0 - Beta on 01-FEB-2006 15:21:01
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=linux900)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Beta
Start Date 01-FEB-2006 15:01:51
Uptime 0 days 0 hr. 19 min. 10 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/ne twork/admin/listener.ora
Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/ne twork/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linux900)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linux900)(PORT=8080))(Presentation=H TTP)(Session=RAW))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XE" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s) for this service...
The command completed successfully
Also tnsping works fine:
TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 01-FEB-2006 15:29:32
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = linux900)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (20 msec)
So still I dont known what is going wrong here, the following properties are used by this connection:
Type: Oracle (JDBC)
Driver: oracle.jdbc.driver.OracleDriver
User: hr
URL: jdbc:oracle:thin:@linux900:1521:XE
Is the driver used by JDeveloper correct ?
There is a note on XE that the use of oracle.jdbc.driver.* classes is deprecated but still supported. -
Need help - The network adapter could not establish connection
hi, I installed sql developer on my standalone PC. I am unable to create a connection. The following error is shown when try connecting:
IO Exception: The network adapter could not establish connection.
Should i set some Environment variable? Is there anything else i need to download/install?
Please help...! I am new to this...user11937618 wrote:
hi, I installed sql developer on my standalone PC. I am unable to create a connection. The following error is shown when try connecting:
IO Exception: The network adapter could not establish connection.This means that the software being used, was unable to use your PC's networking to establish communication with the database server.
You need to ask your network admin folk to check your PC and ensure that it is correctly configured for IP networking for your network - valid IP address, valid IP subnet mask, etc.
You can look at your existing IP configuration in Windows by opening a command console and typing the command "+ipconfig+".
Once that is done, you need to test connectivity between your PC and the database server. You need the IP address of the server for that and use the "+ping+" command to see if you get a ping echo response from the server.
If you configure your Oracle client software (e.g. +%ORACLE_HOME%\network\admin\tnsnames.ora+ ) to use a hostname and not IP address, you need to make sure that your PC's IP stack can resolve that hostname into an IP address. Once again the "+ping+" command can be used, but this time using the hostname instead. The output will show the IP address the hostname resolved to.
All these are basic networking issues - and have nothing really to do with Oracle itself. You first need to get the networking to work on your PC, before attempting to use Oracle client-server. -
HOW TO RESOLVE(Test failed: The Network Adapter could not establish the connection)
Hii
I want to create new databse as sysdba in jdev.I followed the steps as given in
Oracle JDeveloper 11g Release 2 Tutorials - Designing and Building Database Tables
In step 7 create database user and database connection, I am not able to do that and getting the error
(Test failed: The Network Adapter could not establish the connection).
Please help me.Hi,
Could you please provide all value you pass to the connection properties on the connection creation panel? First of all, you should choose "Generic JDBC" as the connection type in order to use BDB SQL JDBC driver.
Regards,
Cindy -
Io exception: The Network Adapter could not establish the connection
Hi All,
I run tomcat and connect to Oracle fine, both on the same machine.
I also run some batch processes daily and they often run without problems. The batch processes lots of selects and updates/inserts onto Oracle.
These tend to work fine, but sometimes when they run I get
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
So a batch process will be running doing lots of selects and updates then it just decides it had enough and throws this error each time it tries to connect. Meanwhile tomcat continues to run fine through the same TNS listener, but subsequent batch jobs fail to connect.I normally have to restart the TNS Listener.
I connect through the same class whether connecting through Tomcat or from the batch process with this:
public static Connection getConnection(String caller) throws SQLException{
try{
Connection con;
if (standalone){
try{Class.forName(driver);}catch(ClassNotFoundException e){}
con=DriverManager.getConnection(url,user,password);
return con;
}else{
if (ds==null)initialiseContext();
con=ds.getConnection();
return con;
}catch(SQLException e){
ds=null;
logger.debug("Problem in DBAccess.getConnection()...");
logger.debug(e.getMessage());
e.printStackTrace();
throw e;
I specifiy params such as MaxIdle with Tomcat using the xml config but not when its standalone - could this be affecting it?
Any idea?
Thanks.lovingbarcelona wrote:
* Yep I get the same on the dev box.
* I am definitely closing all the connections, I keep a close watch on that.
Oracle should be able to handle lots of connections no problem, I agree, and it is through tomcat.
Yet the exception that you get says that it isn't. Oracle, for example, on a single box shouldn't be able to handle 100,000 simultaneous connections.
I would be very surprised if it couldn't handle 1,000. And if there was an issue at that point it would be a resource bound issue, like CPU (on the single box) rather than connections.
You suggested licensing issues?I believe at one time, not necessarily now, the Oracle server would be sold such that it limited the number of simultenous connections. This could have been a relatively low number. There are quite a few assumptions in that - the major one would be it is based on my faulty memory and second would be that it was years ago.
By the way you are not running this on a unix variant system without redoing the kernel limits to set up for a server system right? -
Network adapter could not establish the connection
Hi,
Iam new to using Oracle please help me in this problem. Iam trying to connect oracle8i in my home pc(win 98) in java.. I have said..
String url="jdbc:oracle:thin:@testhost:1521:sid";
DriverManager.getConnection(url,"scott","tiger");
Actually i have added the service name using Oracle Net 8 Assistant ... it asked me service name so i gaved "fobjects". then host and port number then i gave "testhost" and port number as 1521. then i tried to use the test service but i couldnt get it... it gaved me error called " ORA12545- Connect failed because target host or obejct doe not exist ..Even then i pressed finished button to accomplish the thing...ans when i executed the java program with the above service name setup it said SO Excpetion : Network adapter could not establish the connection.
Well What the wrong i have done, help me...
Regards
Lensi.hi,
I think you have to register the driver first. pls try the following program...
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
* This class tests the environment to check if JDBC is configured and
* connection to database is possible thru JDBC. Uses THIN driver to connect.
public class JDBCCheck {
public JDBCCheck() { }
private Connection conn = null;
private final int NO_DRIVER = 1;
private final int INVALID_URL = 17002;
private final int INVALID_CREDENTIALS = 1017;
private final int NULL_URL = 2;
private final int DATABASE_DOWN = 1034;
public static void main(String[] args) {
JDBCCheck check = new JDBCCheck();
check.dbconnect();
public void dbconnect() {
if(loadDriver())
if(connect())
doSomething();
public boolean loadDriver() {
boolean loadeddriver = false;
String jdbcDriver = System.getProperty("jdbc.driver.class");
// Use Oracle driver if nothing is set
if(jdbcDriver == null) jdbcDriver = "oracle.jdbc.driver.OracleDriver";
log("Loading JDBC Driver : class="+jdbcDriver+" ...");
// try to load driver
try {
Class.forName(jdbcDriver);
log("Loaded JDBC Driver ");
loadeddriver = true;
} catch (ClassNotFoundException noclassEx) {
error(NO_DRIVER,noclassEx);
return loadeddriver;
public boolean connect() {
boolean connected = false;
String jdbcURL = System.getProperty("jdbc.url");
String username = System.getProperty("jdbc.username");
String password = System.getProperty("jdbc.password");
if(username == null || password== null) {
username = "scott";
password = "tiger";
if(jdbcURL == null) error(NULL_URL,new Exception(" jdbc.url cannot be null "));
log("Connecting with URL="+jdbcURL+" as "+username+"/"+password);
try {
conn = DriverManager.getConnection(jdbcURL,username,password);
log("Connected to Database");
connected = true;
} catch (SQLException sqlEx) {
error(sqlEx.getErrorCode(),sqlEx);
return connected;
public void doSomething() {
Statement stmt = null;
ResultSet rset = null;
try {
stmt = conn.createStatement();
log("Created Statement object");
rset = stmt.executeQuery(" SELECT 'PASSED' FROM Dual ");
log("Retrieved ResultSet object");
if(rset.next())
log("Connection :"+rset.getString(1));
} catch (SQLException sqlEx) {
} finally {
try {
log("Closing Statment & ResultSet Objects");
if (rset != null) rset.close();
if (stmt != null) stmt.close();
if (conn != null) {
log("Disconnecting...");
conn.close();
log("Disconnected from Database");
} catch (Exception e) { }
public void log(String logMsg) {
System.out.println("Log: "+logMsg);
public void error(int errcode, Exception ex) {
String jversion = System.getProperty("java.version").substring(0,3);
String os = System.getProperty("os.name");
String excp = ex.toString();
// Driver not found in classpath
if(errcode == NO_DRIVER) {
String jarname = "classes12.jar";
String nlsjarname = "nls_charset12.jar";
if(jversion.equals("1.1")) {
jarname = "classes111.jar";
nlsjarname = "nls_charset11.jar";
else if(jversion.equals("1.4"))
jarname = "ojdbc14.jar";
System.out.println(" Error: JDBC Drivers not present in CLASSPATH ");
System.out.println("\n Your CLASSPATH is :"+System.getProperty("java.class.path"));
System.out.println("\n To add Oracle JDBC Drivers to CLASSPATH ");
// Windows
if(os.indexOf("Windows") != -1) {
System.out.println(" >set CLASSPATH=<path-to-"+jarname+">;<path-to-"+
nlsjarname+">;%CLASSPATH%;");
} else {
System.out.println(" $CLASSPATH=<path-to-"+jarname+">:<path-to-"+
nlsjarname+">:$CLASSPATH:");
System.out.println(" $export CLASSPATH");
System.out.println(" Oracle JDBC Drivers can be found in "+
"<ORACLE_HOME>/jdbc/lib directory or "+
"downloaded from http://otn.oracle.com/software/");
} else if (errcode == NULL_URL) {
System.out.println("Error: jdbc.url was not supplied");
System.out.println("Usage: java -Djdbc.url=jdbc:oracle:thin:@<hostname>:<port>:<db_sid> JDBCCheck ");
} else if (errcode == INVALID_URL) {
// Check if Invalid Database SID
if( excp.indexOf("ERR=12505") != -1)
System.out.println("Error: Invalid Database SID was specified in jdbc.url ");
System.out.println("Error: Invalid JDBC URL or DB Listener is down, refer to http://myjdbc.tripod.com/basic/jdbcurl.html ");
} else if (errcode == INVALID_CREDENTIALS) {
System.out.println("Error: Invalid username/password was specified ");
System.out.println("Try connecting to the database thru SQL Plus using the same username/password");
} else if (errcode == DATABASE_DOWN ) {
System.out.println("Error: The Database you are tying to Connect is down ");
System.out.println(" Start the Database and then try to connect ");
} else {
System.out.println("Error code not handled : "+errcode);
System.out.println("\nException Message :"+excp);
System.exit(0);
while running thig pgm, you should pass the driver URL..
java -Djdbc.url=jdbc:oracle:thin:@<hostname>:<port>:<db_sid> JDBCCheck
Maybe you are looking for
-
I jsut downloaded the newst iTunes. When ever I ppress the icon or go through the list of programs to open It, I click on it then the "Error report" comes up. Everytime I try to open it the "error report" comes up and the choices are "Send error repo
-
Hello, I'm having the follows problems: I can't drag and drop the *.m4v files from computer to Iphone usign Itunes. If I add the *.m4v files to Itunes using the add file to library option, and them drag and drop to Iphone it works, but I can't play t
-
I cannot open new tabs manually. There is no + to do it with. When Mozilla opened Troubleshooting info in new tabs, I can't close them by clicking the x. They won't close. I tried restarting Firefox, then I restarted the entire computer, but it won't
-
Unable to find HP5510 wireless printer
I have had a HP5510 Photosmart printer for over 6 months. Until last week it was working well and used as a wireless printer from my iMac (Mac OSX 10.7.4). For some reason the wireless connection to my iMac stopped working. I unistalled the driver
-
Error:conversion of PPDS order from SNP order-error /sapapo/rrp_heur45
Hi, I am converting a snp planned order from ppds order in transaction /sapapo/rrp_sap2ppds and using heuristic sap_pp_002.But it is canceling the heuristic and giving above error message.I have given 60days ppds horizon and 61days snp horizon.lot si