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

Kristian Waagan closed DERBY-3507.
----------------------------------

          Resolution: Fixed
       Fix Version/s: 10.6.0.0
                      10.5.3.1
                      10.4.2.1
    Issue & fix info: [Newcomer]  (was: [Patch Available, Newcomer])

Thanks for the feedback, Dag.

I tested the patch on Windows:
bin/startNetworkServer.bat -p 7777 -noclasspath

Before the patch the server listened on port 1527, with the patch applied it 
used port 7777 as expected.

Committed patch 2a to trunk with revision 915733, the 10.5 branch with revision 
915735, and the 10.4 branch with revision 915736.
The initial fix wasn't applied to 10.3, so I didn't see a reason to back-port 
further.

Closing issue.

> 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
>            Assignee: Andrew McIntyre
>             Fix For: 10.4.2.1, 10.5.3.1, 10.6.0.0, 10.4.1.3
>
>         Attachments: derby-3507-2a-fix_for_runnoclasspath.diff
>
>   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