aspose file tools*
The moose likes Oracle/OAS and the fly likes Jdev9.0.3 & Oracle9i(SQLException: Io exception: The Network Adapter could not estab) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Jdev9.0.3 & Oracle9i(SQLException: Io exception: The Network Adapter could not estab)" Watch "Jdev9.0.3 & Oracle9i(SQLException: Io exception: The Network Adapter could not estab)" New topic
Author

Jdev9.0.3 & Oracle9i(SQLException: Io exception: The Network Adapter could not estab)

Pourang Emami
Ranch Hand

Joined: Sep 21, 2002
Posts: 127
Dear professional friend
OS: WIN XP-PRO
IDE: JDeveloper 9.0.3
DBMS: Oracle9i
_______________________
Problem:
_______________________
Having a sample application in Jdev including some Servlets and JSPs, I had no problem to be connected to the Oracle9i, but suddenly it is the second day that I've got the following common exception:
SQLException java.sql.SQLException: Io exception: The Network Adapter could not establish the connection - 17002
When trying the following code:
-DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
-StringUrl="jdbc racle:thin:@localhost:1521 racle9i";
-conn1=DriverManager.getConnection(url,"scott","tiger");
I have done no changes except for installing OC4J9.0.3 stand alone version. After that I got some messages in Jdev, warning about some conflicts in ports and some automatic new port assignments.
Mean while I don't know why when starting the machine for the first time I can log in to the Enterprise Manager, but it can't be done after running the Jdev?(messaging: "ORA-12541 TNS:no listener"), but I can login through SQL+ ?
Any hint and advice will be of great help and be appreciated so much.
Thanks;
Pourang
[ December 21, 2002: Message edited by: Pourang Emami ]
[ December 21, 2002: Message edited by: Pourang Emami ]

Best Regards,<br />Pourang Emami
 
wood burning stoves
 
subject: Jdev9.0.3 & Oracle9i(SQLException: Io exception: The Network Adapter could not estab)