cancel
Showing results for 
Search instead for 
Did you mean: 

H2 Server status with command line

mohta
Champ in-the-making
Champ in-the-making
Hello,

I'm launching activiti with an external H2 DB, and i'm writting a script that starts the server.
i want to start the server only if it's stopped , so i need to check the server status before launching… I can't find an option that gives me this information! i saw getStatus() / isRunning() functions, but i can't find an equivalent in command line!

Could you help please? thanks in advance!

Shell run on cygwin and unix
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
This is really an H2 question rather than Activiti ….

I believe in our VERY old releases, we had something in Ant that did that, by reading in the logs from H2… you might wanna download an old Activiti version and see how we did it there