H2 Server status with command line

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2014 12:43 PM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2014 07:57 AM
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
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
