Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 68357 invoked from network); 24 Jun 2010 03:47:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Jun 2010 03:47:14 -0000 Received: (qmail 58469 invoked by uid 500); 24 Jun 2010 03:47:13 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 58261 invoked by uid 500); 24 Jun 2010 03:47:12 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 58254 invoked by uid 99); 24 Jun 2010 03:47:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 03:47:11 +0000 X-ASF-Spam-Status: No, hits=-1541.4 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 03:47:10 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5O3kom9009654 for ; Thu, 24 Jun 2010 03:46:50 GMT Message-ID: <29327415.32151277351210110.JavaMail.jira@thor> Date: Wed, 23 Jun 2010 23:46:50 -0400 (EDT) From: "Yun Lee (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-372) derbynet/DerbyNetAutoStart.java test hangs In-Reply-To: <1477304201.1119059717611.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 t/DerbyNetAutoStart.java *** 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) FAILED. > 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.