Bug 1014921 - Regression in CLI deployment archive introduced by bz991469
Summary: Regression in CLI deployment archive introduced by bz991469
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CLI
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER6
: EAP 6.2.0
Assignee: Ivo Studensky
QA Contact: Petr Kremensky
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-03 06:34 UTC by Ivo Studensky
Modified: 2014-06-17 08:52 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:19:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Test CLI deployment archive (2.35 MB, application/zip)
2013-10-17 10:33 UTC, Petr Kremensky
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-1913 0 Major Closed CLI 'module add' command fail if a drive letter is specified in its resource path 2017-12-21 19:12:30 UTC

Description Ivo Studensky 2013-10-03 06:34:56 UTC
Description of problem:
A regression has been introduced by the bz991469 fix. It breaks module add command included in a CLI module archive. For details see

https://issues.jboss.org/browse/WFLY-1913?focusedCommentId=12808246&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12808246

Version-Release number of selected component (if applicable):
EAP 6.2.0.ER1

How reproducible:
Create a CLI module archive which includes 'module add' command involving a resource taken from the module archive. An example of such an archive can be found at WFLY-1913.

Comment 1 Ivo Studensky 2013-10-04 10:31:27 UTC
Relevant PR:

https://github.com/jbossas/jboss-eap/pull/509

Comment 3 JBoss JIRA Server 2013-10-07 08:16:53 UTC
Ivo Studensky <istudens> made a comment on jira WFLY-1913

Merged.

Comment 6 Petr Kremensky 2013-10-17 10:33:54 UTC
Created attachment 813260 [details]
Test CLI deployment archive

Comment 7 Petr Kremensky 2013-10-17 10:34:53 UTC
Hi Ivo,
How about the error message after undeploy operation?
ERROR [org.jboss.as.cli.CommandContext] Failed to execute archive script: JBAS014746: steps may not be null
Failed to execute archive script: JBAS014746: steps may not be null

All commands inside undeploy.scr are successfully executed, but after that this message will appear (same on win and linux, same message with 6.1.1). Is this a known issue or something wrong with CLI archive?

Just use attachment 813260 [details]
[standalone@localhost:9999 /] deploy --path=~/Downloads/install-mojarra-2.0.0.cli
[standalone@localhost:9999 /] undeploy --path=~/Downloads/install-mojarra-2.0.0.cli
Failed to execute archive script: JBAS014746: steps may not be null

Thanks.

Verified on EAP 6.2.0.ER6. 'module add' command inside CLI deployment archive now works on Windows as expected.

Comment 9 Ivo Studensky 2014-06-17 08:52:49 UTC
Petr, your deploy.scr/undeploy.src files are missing any 'deploy' step which is the cause of the warning you see.


Note You need to log in before you can comment on or make changes to this bug.