Uploadtool script does not stop

Uploadtool script does not stop

I am testing the UploadFromDB.sh from a MySQL database, but I cannot get it running. I have:

installed the tool
configured database access
added jdbc file

Is there some FreeBSD problem? I had to replace the JRE since the one you have bundled does not support FreeBSD, and suspecting that that might the problem but not sure.

When I run the tool sh UploadFromDB.db username password it just runs for ages but nothing happens (and there is only one small query in the xml file for testing. I cannot see any log file either that can help me.