[GLASSFISH-16618] ScatteredArchive should allow null name Created: 12/May/11  Updated: 23/May/11  Resolved: 23/May/11

Status: Closed
Project: glassfish
Component/s: embedded
Affects Version/s: 3.1
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: marina vatkina Assignee: Bhavanishankar
Resolution: Invalid Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: 3_1-next, 3_1_1-scrubbed

 Description   

Current requirement to specify SA name contradicts the following features in GlassFish:
a) CLI deploy attributes where name is optional;
b) DOL ignores this name when an app name is provided in the deployment descriptor

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.



 Comments   
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.

Generated at Wed May 27 23:29:34 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.