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

Kathey Marsden updated DERBY-3701:
----------------------------------

    Attachment: derby-3701_diff.txt

Attached is a ptch derby-3701_diff.txt which resolves this issue on trunk. We 
will now attempt to create the trace directory if it does not exist and will no 
longer hang if the trace file cannot be accessed.  I added tests to 
NetworkServerControlApiTest. Running tests now.




> java.lang.Exception: DRDA_UnableToAccept.S:Unable to accept connections and 
> client hang if tracing is turned on but traceDirectory does not exist
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3701
>                 URL: https://issues.apache.org/jira/browse/DERBY-3701
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server
>    Affects Versions: 10.3.2.1, 10.3.3.0, 10.4.1.3, 10.5.0.0
>            Reporter: Kathey Marsden
>            Assignee: Kathey Marsden
>         Attachments: derby-3701_diff.txt, derby-3701_try1_diff.txt, 
> DerbyIssue.java
>
>
> Attempting to connect to network server if  derby.drda.traceAll is set to 
> true and  derby.drda.traceDirectory is set to a non-existent directory causes 
> the following exception on the console when the client attempts to connect 
> and causes the client to hang.
> java.lang.Exception: DRDA_UnableToAccept.S:Unable to accept connections.
>         at 
> org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(NetworkServerControlImpl.java:
> 3172)
>         at 
> org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(NetworkServerControlImpl.java:1829
> )
>         at org.apache.derby.impl.drda.ClientThread.run(ClientThread.java:116)
> See attached program DerbyIssue.java for reproducible test case.
> This is a regression. It did not occur with 10.3.1.4.

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