Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3507

startNetworkServer and stopNetworkServer don't pass arguments

    XMLWordPrintableJSON

Details

    • Newcomer

    Description

      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 start"

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

      Attachments

        Activity

          People

            fuzzylogic Samuel Andrew McIntyre
            galinette Galinette
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified