Communications Link Failure
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?
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.