You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes I face a problem that my production Jpro App server shutdown. Sometimes like this when I was sleeping.
It's teadious taks to open computer, open termianl, and do stuff something like this, every time:
cd /var/www/myapp/bin
./restart-background.sh
Is there anyway to automatically restart jpor serven when it's shutdown??? I think, if it's possible there shout be script file something like this auto-restart-background.sh.
I guess the most straightforward way, would be to configure it as a systemd service for linux.
(Or as a windows service)
We'll try to find time to document it - and find a simple well working configuration.
Some tips about your shutdown problem:
Configure some swap - helps to solve short ram peaks of the OS
Make sure you have enough RAM configured, maybe check the syslog whether your process was killed by the OS?
No System.exit() in the code (due to changes in the JDK, we can't prevent these calls anymore from the JPro code)
Guess we should also add these hints to the documentation.
Sometimes I face a problem that my production Jpro App server shutdown. Sometimes like this when I was sleeping.
It's teadious taks to open computer, open termianl, and do stuff something like this, every time:
Is there anyway to automatically restart jpor serven when it's shutdown??? I think, if it's possible there shout be script file something like this
auto-restart-background.sh
.More over I am still not getup the cause of shutdown of my production ready jpro server, I have applied debugging steps alreay e.g. https://www.jpro.one/docs/current/2.5/DEBUGGING_AND_TESTING
The text was updated successfully, but these errors were encountered: