You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/01/07 17:39:25 UTC

DO NOT REPLY [Bug 15848] New: - AdminClient (and admin-client Ant-task) host setting broken

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15848>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15848

AdminClient (and admin-client Ant-task) host setting broken

           Summary: AdminClient (and admin-client Ant-task) host setting
                    broken
           Product: Axis
           Version: current (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Deployment / Registries
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: martin.kalen@curalia.se


xml-axis/java/src/org/apache/axis/client/AdminClient.java v1.73 breaks setting
of the host parameter from the command-line or using the admin-client Ant-task's
host="" attribute.

The CVS log shows the following changes of command-line parsing between v1.72
and v1.73:
"
@@ -223,7 +254,9 @@
 
         args = opts.getRemainingArgs();
 
-        if ( args == null ) {
-            log.info(Messages.getMessage("usage00","AdminClient xml-files |
list"));
+        if ( args == null  || opts.isFlagSet('h') > 0) {
+            log.info(Messages.getMessage("usage00","AdminClient [Options] [list
| <deployment-descriptor-files>]"));
+            log.info("");
+            log.info(getUsageInfo());
             return null;
         }
"

It looks like the "h" flag is used for "help"...?
For now, the AdminClient is only usable for localhost.

Removing the check for opts.isFlagSet('h') or using a new parameter letter for
"help" solves the problem.