For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
SQL Developer 19.4. Within Connections > Object Viewer > Views looking at a DBA view (DBA_RSRC_PLANS) and selecting Data in the viewer, see a row count but no data. What Preference do I need to set to see data. Yes, logged in as SYS.
Thanks,
-- Alan
connObj = new Socket(); connObj.connect(new InetSocketAddress(host, port)); connObj.setReuseAddress(true);
What is the longest time that might elapse after you first create that connection and when you actually try to send something? What is the longest time that might elapse between when you send one message and you try to send another?
Ther e is no need to wait for two minutes unless you get a BindException
And one more thing is, I am not able to telnet that IP and port during this time when the connection is down.
if(socketObj != null) { try{ //Closing output stream socketObj.getOutputStream().close(); } catch(Exception e){ e.printStackTrace(); } try { //Closing client socket socketObj.close(); } catch (Exception e) { e.printStackTrace(); } try { //Rest time for 2 min. Thread.sleep(DELAY); //2 min. } catch (InterruptedException iee) { iee.printStackTrace(); } } while (true) { try { //Create new socket object. socketObj = new Socket(); //Try to connect to host, port. socketObj.connect(new InetSocketAddress(host, port)); // Reuse the adderess when trying to reconnect. socketObj.setReuseAddress(true); break; } catch (IOException e) { //I am getting the stack trace what I showed you here. e.printStackTrace(); try { Thread.sleep(DELAY); } catch (InterruptedException iee) { iee.printStackTrace(); } } catch (Exception e) { e.printStackTrace(); try { Thread.sleep(DELAY); } catch (InterruptedException iee) { iee.printStackTrace(); } } }