Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Communications Link Failure

  1. #1
    Forum VIP
    Join Date
    Jul 2010
    Thanked 329 Times in 305 Posts

    Default Communications Link Failure

    Hello everyone,

    I have an applet embedded onto a website and I am attempting to read a database on said website. Since I can only access this database after uploading my program to the website, all of my error reporting is being done via JOptionPane and the Exception.getMessage() method.

    When executing the program, I get the following error:
    Communications link failure

    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

    Any thoughts as to what this means and how to resolve it?

    Also, any thoughts as to how to get a more detailed error report given my current testing restrictions?

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/

  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Thanked 833 Times in 772 Posts
    Blog Entries

    Default Re: Communications Link Failure

    Hard to tell without the full error...with regards to your last question, you might want to look into a descent logging system (see my blog for a short description on logging). You can then pipe the logging to any OutputStream you want thus controlling what to do with those exception and when.

Similar Threads

  1. Replies: 1
    Last Post: June 15th, 2011, 01:27 PM
  2. Link Grabber
    By isuru in forum What's Wrong With My Code?
    Replies: 2
    Last Post: May 17th, 2011, 03:33 AM
  3. [SOLVED] JSCH Auth Failure
    By techwiz24 in forum What's Wrong With My Code?
    Replies: 5
    Last Post: April 30th, 2011, 05:17 PM
  4. Can Anyone Check This Link
    By arpitgadle in forum Java Servlet
    Replies: 5
    Last Post: October 7th, 2009, 08:56 AM
  5. How to Hyper-link pages together in Java?
    By don.java1 in forum Java Applets
    Replies: 5
    Last Post: July 21st, 2008, 05:09 AM