db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-6112) SSL Test (and network server ) can hang if serverSocket.accept() fails for something other than an IOException
Date Mon, 18 Mar 2013 20:49:16 GMT

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

Kathey Marsden updated DERBY-6112:
----------------------------------

          Component/s: Test
                       Network Server
    Affects Version/s: 10.8.3.0
    
> SSL Test (and network server )  can hang if serverSocket.accept() fails for something
other than an IOException
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6112
>                 URL: https://issues.apache.org/jira/browse/DERBY-6112
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server, Test
>    Affects Versions: 10.8.3.0
>            Reporter: Kathey Marsden
>
> In starting a server with SSL as in SSLTest if serverSocket.accept() fails for some reason
other than an IOException  it may just print the error to console and hang.  In this case
it was:
> java.security.AccessControlException: Access denied (java.util.PropertyPermission
> I saw this when debugging a java  issue in serverSocket.accept() but I think it could
be simulated by adding an unwrapped System.getProperty() of some sort before serverSocket.accept()
to force a  permission error. e.g. 
>          System.getProperty("derby.system.home");
>          return serverSocket.accept();
>                             } catch (IOException acceptE) {
> I have not verified that would work.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message