db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-6272) LoginTimeoutTest fails if server is missing
Date Mon, 24 Jun 2013 09:24:25 GMT
Knut Anders Hatlen created DERBY-6272:
-----------------------------------------

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


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

Mime
View raw message