[GLASSFISH-20666] Start Derby with start-domain (like WLS) Created: 26/Jun/13 Updated: 05/Jan/14
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
A very useful feature included in Java EE 7 is the default data source. It is especially useful for demo applications and beginners. However, in order for the default database to work in GlassFish, you need to start Derby separately from the domain. Via asadmin, it looks like this:
The problem is that it is easy for a beginner to miss this. It is also painful to deal with from tools like Apache Cargo (very useful for demos and smallish standalone applications a la the "containerless" buzzword) which call start-domain under the hood but not start-database.
I think it would significantly improve usability given the default database feature to simply start Derby with start-domain.
Sahoo (firstname.lastname@example.org) made this comment on the matter:
Do let me know if anything needs to be explained further - I am happy to help.
Please note that these are purely my personal views and certainly not of Oracle's as a company.
|Comment by arjan tijms [ 05/Jan/14 ]|
+100 for this issue!
For the default data source to work as intended its imperative that it's started by default. Note that this request was already stated in the issue that led to the addition of the default data source in the first place:
It's very unfortunate that this vital requirement was somehow missed when the spec was made final.