Closed arinban closed 6 years ago
@arinban Commented
@arinban Commented @arinban Commented
@arinban Commented @arinban Commented @glassfishrobot Commented Reported by @sivakumart
@arinban Commented @arinban Commented @glassfishrobot Commented @sivakumart said: Need to modify tests to use passwordfile
@arinban Commented @arinban Commented @glassfishrobot Commented @sivakumart said: Transferring to Satish
@arinban Commented @arinban Commented @glassfishrobot Commented Was assigned to liang.x.zhao
@arinban Commented @arinban Commented @glassfishrobot Commented This issue was imported from java.net JIRA GENERICJMSRA-18
Closing this as this issue is migrated to https://github.com/ari-ban/test1/issues/18
GlassFish now mandates the passing of a password file instead of "password" for asadmin CLI commands. Need to modify the test framework [common asadmin tasks] to make this change
Suggested fix Index: config/common.xml
RCS file: /cvs/genericjmsra/config/common.xml,v retrieving revision 1.2 diff -u -w -r1.2 common.xml — config/common.xml 28 Dec 2005 11:32:51 -0000 1.2 +++ config/common.xml 15 Mar 2006 08:57:44 -0000 @@ -407,7 +407,7 @@ <exec executable="$
{ASADMIN}" failonerror="false">
@@ -421,7 +421,7 @@ <exec executable="${ASADMIN}
" failonerror="false">
<arg line="--user $
{admin.user}" />
@@ -651,11 +651,11 @@ ear file ${assemble.dir}/${appname}App.ear " level="verbose"/>
-<echo message="asadmin deploy --user ${admin.user}
--password $
{admin.password} --host ${admin.host} --port ${admin.port} --target ${appserver.instance.name} --type ${apptype} --retrieve ${assemble.dir} ${deployed.app}"/> +