You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2013/06/25 15:04:21 UTC

[jira] [Resolved] (DERBY-6272) LoginTimeoutTest fails if server is missing

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

Knut Anders Hatlen resolved DERBY-6272.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.11.0.0
                   10.10.1.3
    
> LoginTimeoutTest fails if server is missing
> -------------------------------------------
>
>                 Key: DERBY-6272
>                 URL: https://issues.apache.org/jira/browse/DERBY-6272
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.10.1.1
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.10.1.3, 10.11.0.0
>
>         Attachments: derby-6272-01-a.diff
>
>
> When I run LoginTimeoutTest without derbynet.jar on the classpath, I see this failure:
> There was 1 error:
> 1) client/server LoginTimeoutTestjava.lang.NoClassDefFoundError: org/apache/derby/drda/NetworkServerControl
> 	at org.apache.derbyTesting.junit.NetworkServerTestSetup.getNetworkServerControl(NetworkServerTestSetup.java:506)
> 	at org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerTestSetup.java:195)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> Caused by: java.lang.ClassNotFoundException: org.apache.derby.drda.NetworkServerControl
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> 	... 11 more
> Other tests skip client/server testing if the client or the server is missing. LoginTimeoutTest should do the same.

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