I have fixed DERBY-5261 bug.
When it is run with the command  "java -jar derbynet.jar abc" it give same
error twice. I searched what was the error. I was able to find it in java
file "NetworkServerControlImpl.java" at lines 2476 and 2309.Same error
message print  in the method "private int findCommand(String [] args)"(line
2476) and calling place of it(line 2309). after I commented line 2476 and
test it again with the command "java -jar derbynet.jar abc" then it print
error message once only.

I attach patch file with this.

On Sat, Jul 1, 2017 at 9:00 PM, Bryan Pendleton <bpendleton.de...@gmail.com>
wrote:

>
>
> On Sat, Jul 1, 2017 at 8:12 AM, Indika Kumara <indika.1992...@gmail.com>
> wrote:
>
>> I have  fixed DERBY-5261 bug but i don;t know how to patch and report
>> it.
>>
>>
> Hi!
>
> Here's the process we follow in the Derby project:
>
> http://db.apache.org/derby/derby_comm.html#Contribute+
> Code+or+Documentation
>
> thanks,
>
> bryan
>
>
>
Index: drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java
===================================================================
--- drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java       
(revision 1800176)
+++ drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java       
(working copy)
@@ -2473,8 +2473,6 @@
                 }
 
                 // didn't find command
-                consolePropertyMessage("DRDA_UnknownCommand.U", 
-                    (String) commandArgs.firstElement());
             }
         } catch (Exception e) {
             if (e.getMessage().equals(NetworkServerControlImpl.UNEXPECTED_ERR))

Reply via email to