op mentioned the SF webservice becomes unavailable at 'weird' times (more than likely the SF webserver is going offline for backup)
if you can post the SF log we'll take a look and try to figure out the error *Gruss* Martin ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Sat, 27 Jun 2009 23:42:18 -0400 > From: ch...@christopherschultz.net > To: users@tomcat.apache.org > Subject: Re: Tomcat and Salesforce Issue > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > James, > > On 6/26/2009 5:34 AM, Jamz_2010 wrote: > > Sorry about that, I have checked the catalina.out file and it says that an > > exception is thrown, I will have a ensure it prints the stack trace and will > > have a look at it in the morning - sorry I can't test this earlier but I > > need to wait for it to fail overnight. At the moment I simply catch the > > exception that is thrown and it simply gives a null error. This I would > > normally expect to occur when there is no data present in the database, > > however, I have also printed the SQL query and checked it against the > > database and it brings back results. I'll get that stack trace to you asap. > > Hmm... if your database connection died, could that cause the behavior > you're experiencing? If so, and it happens overnight, perhaps you have a > firewall killing your db connection. > > Are you using a connection pool? If so, try configuring a connection > validation query appropriate for your database (and connection pool). > > Certainly getting more information will be helpful. Note that it's not > good to "swallow" exceptions by catching them and either ignoring them > or throwing an unrelated exception without either logging the exception > or wrapping it up in another one. Avoiding swallowing your exceptions > would have helped you out, here. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkpG5poACgkQ9CaO5/Lv0PD9bACfUQ88CKL9gbxApBG6t8uxVBFr > 6WUAnAwMHf+Ngeer/7abtXbYiGGq3eGw > =AwHg > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > _________________________________________________________________ Windows Live™ SkyDrive™: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009