[ 
https://issues.apache.org/jira/browse/DERBY-3507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Galinette updated DERBY-3507:
-----------------------------

    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 $@"


  was:
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 $@"



> 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.1.4, 10.3.2.1
>         Environment: not applicable
>            Reporter: Galinette
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> 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 $@"

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