Results 1 to 2 of 2
  1. #1
    Newbie
    Overall activity: 0%

    Join Date
    Aug 2011
    Posts
    1
    Liked
    0 times
    Points
    451

    Internal ports now working. Listener is not up error!

    Few weeks back the ports 8080 and others were working fine for Apache Tomcat. Recently, Oracle and Tomcat are not able to communicate with database and local web server respectively. Now these ports are not being used by any other programs.

    Plus I have also noticed that the system32\drivers\etc\hosts file can not be saved after modification as the error pops up as:

    file is opened in some other application

    see the error for my jdbc program, and you may get some idea, over why the ports are being blocked:


    Exception in thread "main" java.sql.SQLException: Got minus one from a read call
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:480)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:413)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at FirstProgram.main(FirstProgram.java:17)
    Caused by: oracle.net.ns.NetException: Got minus one from a read call
    at oracle.net.ns.Packet.receive(Packet.java:243)
    at oracle.net.ns.NSProtocol.connect(NSProtocol.java:259)
    at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:966)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:292)
    ... 7 more

  2. #2
    Administrator
    Overall activity: 46.0%

    Join Date
    Nov 2006
    Location
    Malaysia
    Posts
    9,802
    Liked
    1656 times
    Points
    48,740
    Are you able to change the port maybe to 8081 and see if it worked?
    If yes, then you have to drill down what is using that port.
    If no, then it is either Apache or Oracle's problem.

 

 

Similar Threads

  1. Suddenly all USB ports stopped working on win 7
    By rijans in forum General Forum
    Replies: 8
    Last Post: 10-02-2011, 10:07 AM
  2. Problem using internal microphone
    By paul84 in forum Software
    Replies: 6
    Last Post: 10-17-2009, 02:36 PM
  3. Replies: 1
    Last Post: 09-02-2009, 07:42 PM
  4. My USB ports stopped working.
    By joaca in forum Software
    Replies: 6
    Last Post: 11-07-2008, 01:44 PM
  5. Internal Ip address
    By srikarr12 in forum General Forum
    Replies: 2
    Last Post: 04-10-2008, 08:58 AM
All times are GMT +8. The time now is 08:05 AM.