Hello, I'm using DatabaseConnector in Scheduled Event that is running every 2 minute and during the weekend sometime database that I'm trying to connection get restarted, but my schedule event already start and connect to database, but it's never received response or error. This giving issue because there is no error handling for long running java action or some timeout constant that i can set for example if action run more then 120 seconds give error or any constant for long running Scheduled event. Only solution that I found so far is delete scheduled event manually and restart application. Did anybody have similar issue? Is there any special setup that I'm not familiar with?
asked
Slavko Skoric
1 answers
0
Could you try to add error handling to that action which doesn't work for you? That 'execute parameterized query'? Maybe if you add custom error handling with or without rollback the entire scheduled event won't end in failure since you caught the error inside of it.