Testing Configuration

Yet another error I will not repeat.

  • first: I left in the testing configuration, for some reason I had written “null” instead of the parameter value for the identity-file to be used by my call to secure copy.
  • second: this null value caused the secure copy to fail but only when run as cronjob because cron doesn’t access the identity saved in the ssh-agent!
  • third: because the secure copy class is a util in a different jar I needed to recompile with ant to build the jar which eclipse doesn’t do automatically when saving the file (only creates class files), I forgot and was wondering why my changes weren’t having any effect!!!

This time it cost me just one hour. I hope my learning curve gets better any time soon.

By Yashima

Writer of code and stories