HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- java.sql.SQLException: Io exception: The Network A...
Operating System - HP-UX
1832901
Members
2861
Online
110048
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 04:49 PM
09-05-2002 04:49 PM
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
I downloaded the oracle9i (trial version) from the oracle website. And after a little struggle, I got oracle running and I was able to query through sqlPlus and JDBC program.
For some reason, oracle did not # LISTENER.ORA Network Configuration File: /var/ORACLE/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ns.igridcanada.com)(PORT = 1521))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /var/ORACLE)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = igcdb2)
(ORACLE_HOME = /var/ORACLE)
(SID_NAME = igcdb2)
)
)
work suddenly, so i re-installed it and again it works. But now my JDBC is not able to connect to the database.
I am able to connect to the database using sqlplus username developer1 and password developer1. but when i try the following using java:
connection = DriverManager.getConnection
("jdbc:oracle:thin:@marcanthony:1521:dev1","developer1","developer1");
and compile it, i get the following error:
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
There was an exact situation resolved in this forum fixing the litener.ora file I suppose.
But I checked my listener.ora file it looks fine with correct entry for my
DB server on which I am tryng to access the DB using JDBC.
Here is my Configuration:
OS: RH Linux 7.2
DB: ORACLE 9i
HOST: ns.igridcanada.com
( I tried the IP:142.179.66.247 it self does not sem to work
)
any help is appreciated.
-- ajith
Here is my Listener.ora
For some reason, oracle did not # LISTENER.ORA Network Configuration File: /var/ORACLE/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ns.igridcanada.com)(PORT = 1521))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /var/ORACLE)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = igcdb2)
(ORACLE_HOME = /var/ORACLE)
(SID_NAME = igcdb2)
)
)
work suddenly, so i re-installed it and again it works. But now my JDBC is not able to connect to the database.
I am able to connect to the database using sqlplus username developer1 and password developer1. but when i try the following using java:
connection = DriverManager.getConnection
("jdbc:oracle:thin:@marcanthony:1521:dev1","developer1","developer1");
and compile it, i get the following error:
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
There was an exact situation resolved in this forum fixing the litener.ora file I suppose.
But I checked my listener.ora file it looks fine with correct entry for my
DB server on which I am tryng to access the DB using JDBC.
Here is my Configuration:
OS: RH Linux 7.2
DB: ORACLE 9i
HOST: ns.igridcanada.com
( I tried the IP:142.179.66.247 it self does not sem to work
)
any help is appreciated.
-- ajith
Here is my Listener.ora
sipmple things should be simple complex things should be possible - Einestein
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP