I am planning to deploy GlassFish v3 open source edition to a production environment. It comes with JavaDB (Apache Derby) which is just what I need. The only problem is that JavaDB is not started by default when GlassFish starts. I would have to go to the command line and enter:
asadmin start-database
Is there a way to make the database start automatically whenever the server (GlassFish) starts? I hated doing that manually everytime while I was developing my application and I certainly don't want to do that in production.
Thanks in advance
This is a little dated but there's a checkbox in the GlassFish section in Eclipse's preferences titled "Start the JavaDB database process when starting GlassFish Server". I am running Eclipse Indigo SR1.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With