db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Galinette (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-3507) startNetworkServer and stopNetworkServer don't pass arguments
Date Fri, 07 Mar 2008 09:23:46 GMT
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.


Mime
View raw message