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
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