startNetworkServer and stopNetworkServer don't pass arguments
-------------------------------------------------------------

                 Key: DERBY-3507
                 URL: https://issues.apache.org/jira/browse/DERBY-3507
             Project: Derby
          Issue Type: Improvement
          Components: Network Server
    Affects Versions: 10.3.2.1, 10.3.1.4
         Environment: not applicable
            Reporter: Galinette


The help scripts $DERBY_HOME/bin/startNetworkServer and 
$DERBY_HOME/bin/stopNetworkServer don't pass arguments (as "-h" or "-p") to 
class org.apache.derby.drda.NetworkServerControl.

Solution: append command line with "$@"

before:
derby_exec_command="exec \"$JAVACMD\" $DERBY_OPTS -classpath 
\"$LOCALCLASSPATH\" org.apache.derby.drda.NetworkServerControl shutdown"

after:
derby_exec_command="exec \"$JAVACMD\" $DERBY_OPTS -classpath 
\"$LOCALCLASSPATH\" org.apache.derby.drda.NetworkServerControl shutdown $@"


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to