[GLASSFISH-16618] ScatteredArchive should allow null name Created: 12/May/11 Updated: 23/May/11 Resolved: 23/May/11
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Current requirement to specify SA name contradicts the following features in GlassFish:
In addition, SA can construct an appropriate name from the file used to create SA to avoid code duplication that would need to do the same work on each client side.
|Comment by Bhavanishankar [ 23/May/11 ]|
This looks like an invalid issue.
(a) CLI deploy attributes where name is optional;
CLI deploy uses the JAR file not ScatteredArchive. So, if you already have a JAR file, don't use ScatteredArchive. Idea of scattered archive is to build on-the-fly archive with the name you have supplied. So, you must supply a name.
(b) DOL ignores this name when an app name is provided in the deployment descriptor
That behavior will remain the same with ScatteredArchive as well.