Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 22893 invoked from network); 16 Jun 2005 23:33:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Jun 2005 23:33:30 -0000 Received: (qmail 82769 invoked by uid 500); 16 Jun 2005 23:33:29 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 82734 invoked by uid 500); 16 Jun 2005 23:33:28 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 82715 invoked by uid 99); 16 Jun 2005 23:33:28 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_20_30,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of dremesh@gmail.com designates 64.233.184.202 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.202) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2005 16:33:27 -0700 Received: by wproxy.gmail.com with SMTP id 58so738472wri for ; Thu, 16 Jun 2005 16:32:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=V4y1/VC2bHrfRRCxgtoAQHUYJ9tvw30xm8ZlQRWupN/kAp+jAnBxggktUjwriLOUk+5yWUBjFJMz7RW80dRZKaTavbnVH0zYwW4x5V0sy4HlUvWeSL0Vwveu7izbBbFO0QhDGplEBQkpZUWI995KFPXOjcOx7aBuhA/VwNRPIj4= Received: by 10.54.29.61 with SMTP id c61mr738539wrc; Thu, 16 Jun 2005 14:46:00 -0700 (PDT) Received: by 10.54.11.9 with HTTP; Thu, 16 Jun 2005 14:46:00 -0700 (PDT) Message-ID: <58ed70f50506161446749468ec@mail.gmail.com> Date: Thu, 16 Jun 2005 14:46:00 -0700 From: Deepa Remesh Reply-To: Deepa Remesh To: derby-dev@db.apache.org Subject: derbynet/DerbyNetAutoStart.java hangs Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1342_22811072.1118958360533" X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_1342_22811072.1118958360533 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, In my test environment, the test derbynet/DerbyNetAutoStart.java hangs. I= =20 looked at the test logs and it looks like the test hangs in the function=20 testExtantNetServer(). From what I understand, the test starts a network=20 server in another jvm. The network server start is successful as I can see= =20 derbynet.log is getting appended with connections from the ClientThread=20 ("Connection number: " messages). But the test program is not able to=20 connect to database1 and waits indefinitely. Should I set any properties=20 before running this test? I would appreciate any pointers to solve this. I found the following link on DerbyNetAutoStart hang but it did not resolve= =20 my problem:=20 http://www.mail-archive.com/derby-dev@db.apache.org/msg04036.html. I cheked= =20 that db2jcc.jar and db2jcc_license_c.jar are in my classpath. And I also ra= n=20 "java com.ibm.db2.jcc.DB2Driver" to verify that I can access the driver=20 class from my test environment. Here is the sysinfo output from my test environment: ------------------ Java Information ------------------ Java Version: 1.4.2_06 Java Vendor: Sun Microsystems Inc. Java home: C:\j2sdk1.4.2_06\jre Java classpath:=20 C:\deepa\Derby\derby_src\trunk\jars\insane/derby.jar;C:\deepa\Derby\derby_s= rc\trunk\jars\insane/derbytools.jar;C:\deepa\Derby\derby_src\trunk\jars\ins= ane/derbynet.jar;C:\deepa\Derby\derby_src\trunk\jars\insane/derbyclient.jar= ;C:\deepa\Derby\derby_src\trunk\db2jcc_jars\lib\db2jcc.jar;C:\deepa\Derby\d= erby_src\trunk\db2jcc_jars\lib\db2jcc_license_c.jar;C:\deepa\Derby\derby_sr= c\trunk\jars\insane/derbyTesting.jar;C:\deepa\Derby\derby_src\trunk\tools\j= ava\jakarta- oro-2.0.8.jar ;C:\deepa\Derby\derby_src\trunk\jars\insane/derbyLocale_de_DE.jar;C:\deepa\= Derby\derby_src\trunk\jars\insane/derbyLocale_es.jar;C:\deepa\Derby\derby_s= rc\trunk\jars\insane/derbyLocale_fr.jar;C:\deepa\Derby\derby_src\trunk\jars= \insane/derbyLocale_it.jar;C:\deepa\Derby\derby_src\trunk\jars\insane/derby= Locale_ja_JP.jar;C:\deepa\Derby\derby_src\trunk\jars\insane/derbyLocale_ko_= KR.jar;C:\deepa\Derby\derby_src\trunk\jars\insane/derbyLocale_pt_BR.jar;C:\= deepa\Derby\derby_src\trunk\jars\insane/derbyLocale_zh_CN.jar;C:\deepa\Derb= y\derby_src\trunk\jars\insane/derbyLocale_zh_TW.jar; OS name: Windows XP OS architecture: x86 OS version: 5.1 Java user name: deepa Java user home: C:\Documents and Settings\Administrator Java user dir: C:\deepa\Derby\derby_testing\temp java.specification.name : Java Platform API= =20 Specification java.specification.version: 1.4 --------- Derby Information -------- JRE - JDBC: J2SE 1.4.2 - JDBC 3.0 [C:\deepa\Derby\derby_src\trunk\jars\insane\derby.jar] 10.2.0.0alpha - (190660) [C:\deepa\Derby\derby_src\trunk\jars\insane\derbytools.jar] 10.2.0.0alpha - (190660) [C:\deepa\Derby\derby_src\trunk\jars\insane\derbynet.jar] 10.2.0.0alpha - (190660) [C:\deepa\Derby\derby_src\trunk\jars\insane\derbyclient.jar] 10.2.0.0alpha - (190660) [C:\deepa\Derby\derby_src\trunk\db2jcc_jars\lib\db2jcc.jar] 2.4 - (17) [C:\deepa\Derby\derby_src\trunk\db2jcc_jars\lib\db2jcc_license_c.jar] 2.4 -= =20 (17) ------------------------------------------------------ ----------------- Locale Information ----------------- Current Locale : [English/United States [en_US]] Found support for locale: [de_DE] version: 10.2.0.0 alpha - (190660) Found support for locale: [es] version: 10.2.0.0 alpha - (190660) Found support for locale: [fr] version: 10.2.0.0 alpha - (190660) Found support for locale: [it] version: 10.2.0.0 alpha - (190660) Found support for locale: [ja_JP] version: 10.2.0.0 alpha - (190660) Found support for locale: [ko_KR] version: 10.2.0.0 alpha - (190660) Found support for locale: [pt_BR] version: 10.2.0.0 alpha - (190660) Found support for locale: [zh_CN] version: 10.2.0.0 alpha - (190660) Found support for locale: [zh_TW] version: 10.2.0.0 alpha - (190660) ------------------------------------------------------ Thanks, Deepa ------=_Part_1342_22811072.1118958360533 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,

In my test environment, the test derbynet/DerbyNetAutoStart.java hangs.  I looked at the test logs and it looks like the test hangs in the function testExtantNetServer(). From what I understand, the test starts a network server in another jvm.  The network server start is successful as I can see derbynet.log is getting appended with connections from the ClientThread ("Connection number: " messages= ). But the test program is not able to connect to database1 and waits indefinitely. Should I set any properties before running this test? I would appreciate any pointers to solve this.

I found the following link on DerbyNetAutoStart hang but it did not resolve my problem: http://www.mail-archive.com/derby-dev@db.apache.org/msg04036.html. I cheked that db2jcc.jar and db2jcc_license_c.jar are in my classpath. And I also ran "java com.ibm.db2.jcc.DB2Driver" to verify that I = can access the driver class from my test environment.

Here is the sysinfo output from my test environment:
------------------ Java Information ------------------
Java Version:    1.4.2_06
Java Vendor:     Sun Microsystems Inc.
Java home:       C:\j2sdk1.4.2_06\jre
Java classpath:  C:\deepa\Derby\derby_src\trunk\jars\insane/derby.jar;C:\deepa\Derby\derby_s= rc\trunk\jars\insane/derbytools.jar;C:\deepa\Derby\derby_src\trunk\jars\ins= ane/derbynet.jar;C:\deepa\Derby\derby_src\trunk\jars\insane/derbyclient.jar= ;C:\deepa\Derby\derby_src\trunk\db2jcc_jars\lib\db2jcc.jar;C:\deepa\Derby\d= erby_src\trunk\db2jcc_jars\lib\db2jcc_license_c.jar;C:\deepa\Derby\derby_sr= c\trunk\jars\insane/derbyTesting.jar;C:\deepa\Derby\derby_src\trunk\tools\j= ava\jakarta- oro-2.0.8.jar;C:\deepa\Derby\derby_src\trunk\jars\insane/derbyLocale_de_DE.= jar;C:\deepa\Derby\derby_src\trunk\jars\insane/derbyLocale_es.jar;C:\deepa\= Derby\derby_src\trunk\jars\insane/derbyLocale_fr.jar;C:\deepa\Derby\derby_s= rc\trunk\jars\insane/derbyLocale_it.jar;C:\deepa\Derby\derby_src\trunk\jars= \insane/derbyLocale_ja_JP.jar;C:\deepa\Derby\derby_src\trunk\jars\insane/de= rbyLocale_ko_KR.jar;C:\deepa\Derby\derby_src\trunk\jars\insane/derbyLocale_= pt_BR.jar;C:\deepa\Derby\derby_src\trunk\jars\insane/derbyLocale_zh_CN.jar;= C:\deepa\Derby\derby_src\trunk\jars\insane/derbyLocale_zh_TW.jar;
OS name:         Windows XP
OS architecture: x86
OS version:      5.1
Java user name:  deepa
Java user home:  C:\Documents and Settings\Administrator
Java user dir:   C:\deepa\Derby\derby_testing\temp
java.specification.name: Jav= a Platform API Specification
java.specification.version: 1.4
--------- Derby Information --------
JRE - JDBC: J2SE 1.4.2 - JDBC 3.0
[C:\deepa\Derby\derby_src\trunk\jars\insane\derby.jar] 10.2.0.0 alpha - (190660)
[C:\deepa\Derby\derby_src\trunk\jars\insane\derbytools.jar] 10.2.0.0 alpha - (190660)
[C:\deepa\Derby\derby_src\trunk\jars\insane\derbynet.jar] 10.2.0.0 alpha - (190660)
[C:\deepa\Derby\derby_src\trunk\jars\insane\derbyclient.jar] 10.2.0.0 alpha - (190660)
[C:\deepa\Derby\derby_src\trunk\db2jcc_jars\lib\db2jcc.jar] 2.4 - (17)
[C:\deepa\Derby\derby_src\trunk\db2jcc_jars\lib\db2jcc_license_c.jar] 2.4 -= (17)
------------------------------------------------------
----------------- Locale Information -----------------
Current Locale :  [English/United States [en_US]]
Found support for locale: [de_DE]
     version: 10.2.0.0 = alpha - (190660)
Found support for locale: [es]
     version: 10.2.0.0 = alpha - (190660)
Found support for locale: [fr]
     version: 10.2.0.0 = alpha - (190660)
Found support for locale: [it]
     version: 10.2.0.0 = alpha - (190660)
Found support for locale: [ja_JP]
     version: 10.2.0.0 = alpha - (190660)
Found support for locale: [ko_KR]
     version: 10.2.0.0 = alpha - (190660)
Found support for locale: [pt_BR]
     version: 10.2.0.0 = alpha - (190660)
Found support for locale: [zh_CN]
     version: 10.2.0.0 = alpha - (190660)
Found support for locale: [zh_TW]
     version: 10.2.0.0 = alpha - (190660)
------------------------------------------------------

Thanks,
Deepa
------=_Part_1342_22811072.1118958360533--