You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Galinette (JIRA)" <ji...@apache.org> on 2008/03/07 10:23:46 UTC
[jira] Created: (DERBY-3507) startNetworkServer and
stopNetworkServer don't pass arguments
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.
[jira] Reopened: (DERBY-3507) startNetworkServer and
stopNetworkServer don't pass arguments
Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kristian Waagan reopened DERBY-3507:
------------------------------------
Reopening to fix the remaining issues (two occurrences).
> 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.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.
[jira] Updated: (DERBY-3507) startNetworkServer and
stopNetworkServer don't pass arguments
Posted by "Galinette (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (DERBY-3507) startNetworkServer and
stopNetworkServer don't pass arguments
Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kristian Waagan updated DERBY-3507:
-----------------------------------
Attachment: derby-3507-2a-fix_for_runnoclasspath.diff
Looks like this user hit a problem related to this issue: http://db.markmail.org/search/list:org.apache.db.derby-user#query:list%3Aorg.apache.db.derby-user+page:1+mid:hbrszqcnutyd2mw5+state:results
The attached patch 2a fixes the problem for startNetworkServer.bat and stopNetworkServer.bat
Patch ready for testing on Windows and review.
> 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.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.
[jira] Updated: (DERBY-3507) startNetworkServer and
stopNetworkServer don't pass arguments
Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kristian Waagan updated DERBY-3507:
-----------------------------------
Issue & fix info: [Newcomer, Patch Available] (was: [Newcomer])
> 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.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.
[jira] Updated: (DERBY-3507) startNetworkServer and
stopNetworkServer don't pass arguments
Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kathey Marsden updated DERBY-3507:
----------------------------------
Derby Categories: [Newcomer]
> 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.
[jira] Closed: (DERBY-3507) startNetworkServer and
stopNetworkServer don't pass arguments
Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (DERBY-3507) startNetworkServer and
stopNetworkServer don't pass arguments
Posted by "Dag H. Wanvik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835475#action_12835475 ]
Dag H. Wanvik commented on DERBY-3507:
--------------------------------------
Looks good (I didn't test on Windows, though). +1
> 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.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.
[jira] Resolved: (DERBY-3507) startNetworkServer and
stopNetworkServer don't pass arguments
Posted by "Bryan Pendleton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Pendleton resolved DERBY-3507.
------------------------------------
Resolution: Fixed
Fix Version/s: 10.4.1.3
Assignee: Andrew McIntyre
This was done by Andrew in Derby 10.4 as revision 563340, but apparently this issue was never updated.
http://svn.apache.org/viewvc?view=revision&revision=563340
Marking this issue resolved.
> 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.1.3
>
> 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.