db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yun Lee (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-372) derbynet/DerbyNetAutoStart.java test hangs
Date Thu, 24 Jun 2010 03:46:50 GMT

    [ https://issues.apache.org/jira/browse/DERBY-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882026#action_12882026

Yun Lee commented on DERBY-372:

I have met the hang. 

When run with setting "-Dframework=DerbyNet" or "-Dframework=DerbyNetClient", hang doesn't
happen. While, without the setting, hang happens! Just like shown below.

D:\derby\test>java org.apache.derbyTesting.functionTests.harness.RunTest derbyne
*** Start: DerbyNetAutoStart jdk1.5.0_16 2010-06-24 11:32:32 ***
-- SecurityManager not installed --

I have waited for more than ten minutes, it's still in hang. When looking into my test dir,
DerbyNetAutoStart.tmp shows the content below:

Starting test case 1.
Starting test case 2.
Starting test case 3.
  The network server was started though derby.drda.startNetworkServer=false.
Starting test case 4.
  The network server was started though derby.drda.startNetworkServer was not set.
Starting test case 5.
Server start failed: org.apache.derby.jdbc.EmbeddedDriver is not registered with the JDBC
driver manager
java.sql.SQLException: org.apache.derby.jdbc.EmbeddedDriver is not registered with the JDBC
driver manager
	at org.apache.derby.jdbc.AutoloadedDriver.getDriverModule(AutoloadedDriver.java:186)
	at org.apache.derby.jdbc.AutoloadedDriver.connect(AutoloadedDriver.java:119)
	at java.sql.DriverManager.getConnection(DriverManager.java:525)
	at java.sql.DriverManager.getConnection(DriverManager.java:140)
	at org.apache.derbyTesting.functionTests.tests.derbynet.DerbyNetAutoStart.testExtantNetServer(DerbyNetAutoStart.java:345)
	at org.apache.derbyTesting.functionTests.tests.derbynet.DerbyNetAutoStart.runAllTests(DerbyNetAutoStart.java:238)
	at org.apache.derbyTesting.functionTests.tests.derbynet.DerbyNetAutoStart.main(DerbyNetAutoStart.java:100)

> derbynet/DerbyNetAutoStart.java test hangs
> ------------------------------------------
>                 Key: DERBY-372
>                 URL: https://issues.apache.org/jira/browse/DERBY-372
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>            Reporter: Deepa Remesh
>            Priority: Minor
> derbynet/DerbyNetAutoStart.java test hangs when run without setting  "-Dframework=DerbyNet"
or "-Dframework=DerbyNetClient". It also hangs when the jar files db2jcc.jar and db2jcc_license_c.jar
are not set in the classpath. It would be good if the test does not wait indefinitely but
throws the exception it encountered and fails after retrying for some time.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message