[
https://issues.apache.org/jira/browse/DERBY-4326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736751#action_12736751
]
Kathey Marsden commented on DERBY-4326:
---------------------------------------
While there is clearly a Network Server bug in its handling of the exception, I
wonder if the setKeepAlive() error is a JVM regression. Maybe that socket is
getting cleaned up too early on the client with the new service release.
Myrna could you try two things:
1) Try with the jdk version you used with 10.5.1.1 testing?
2) Try with the jvm where you are getting the hang with the following test
change. Instead of:
DriverManager.getConnection(dbUrl).close();
do
Conection conn = getConnection(dbUrl).
conn.close();
> hang on winvista with IBM 1.6 SR5 in NSSecurityMechanismTest
> ------------------------------------------------------------
>
> Key: DERBY-4326
> URL: https://issues.apache.org/jira/browse/DERBY-4326
> Project: Derby
> Issue Type: Bug
> Components: Network Server
> Affects Versions: 10.5.2.0
> Reporter: Myrna van Lunteren
> Attachments: javacore.20090728.095131.5196.0001.txt,
> javacore.20090728.114939.5640.0001.txt
>
>
> This is stopping my platform testing on winvista with ibm 1.6 SR5.
> During the initial run of suites.All, I got:
> --------------------------------
> testNetworkServerSecurityMechanism java.net.SocketException:
> Connection reset by peer: setsockopt
> at java.net.PlainSocketImpl.socketSetOption(Native Method)
> at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:283)
> at java.net.Socket.setKeepAlive(Socket.java:1171)
> at org.apache.derby.impl.drda.ClientThread.run(Unknown Source)
> --------------------------------
> Rerunning suites.All gave the same error.
> There is only 1 java process active & hanging.
> Running just the test itself also results in a hang but there was (so far -
> it's been sitting unchanged for 4 hours) java.net.SocketException.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.