B4J Question What is the best way when my raspberry gets cutt of from power?

jayel

Active Member
Licensed User
Longtime User
Hello,

I have an app on my raspberry pi that communicate with a device on the serial port.
I have setup a jetty webserver with ABMaterial on the raspberry to view settings and see the communication.
I use Poolmanager to get en set data to an mysql database.
My problem :
When I don't close the raspberry pi as it should (sudo poweroff or sudo reboot), so the process can close the pool connection to my database, the next time the program runs I get a error from the poolmanager.
I have looked around the forum and saw the majority of these errors has to do with not closing the poolmanager as it should.
How would you suggest how to handle such a setup?
Work with API? Work with RDC?

John
 

jayel

Active Member
Licensed User
Longtime User
I updated the mysql connector and now I don't get the error anymore.
I hope it stays this way.
 
Upvote 0
Top