This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Pourang Emami
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic