db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepa Remesh <drem...@gmail.com>
Subject derbynet/DerbyNetAutoStart.java hangs
Date Thu, 16 Jun 2005 21:46:00 GMT
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_src\trunk\jars\insane/derbytools.jar;C:\deepa\Derby\derby_src\trunk\jars\insane/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\derby_src\trunk\db2jcc_jars\lib\db2jcc_license_c.jar;C:\deepa\Derby\derby_src\trunk\jars\insane/derbyTesting.jar;C:\deepa\Derby\derby_src\trunk\tools\java\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_src\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/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\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 <http://java.specification.name>: Java 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<http://10.2.0.0>alpha - (190660)
[C:\deepa\Derby\derby_src\trunk\jars\insane\derbytools.jar]
10.2.0.0<http://10.2.0.0>alpha - (190660)
[C:\deepa\Derby\derby_src\trunk\jars\insane\derbynet.jar]
10.2.0.0<http://10.2.0.0>alpha - (190660)
[C:\deepa\Derby\derby_src\trunk\jars\insane\derbyclient.jar]
10.2.0.0<http://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 <http://10.2.0.0> alpha - (190660)
Found support for locale: [es]
version: 10.2.0.0 <http://10.2.0.0> alpha - (190660)
Found support for locale: [fr]
version: 10.2.0.0 <http://10.2.0.0> alpha - (190660)
Found support for locale: [it]
version: 10.2.0.0 <http://10.2.0.0> alpha - (190660)
Found support for locale: [ja_JP]
version: 10.2.0.0 <http://10.2.0.0> alpha - (190660)
Found support for locale: [ko_KR]
version: 10.2.0.0 <http://10.2.0.0> alpha - (190660)
Found support for locale: [pt_BR]
version: 10.2.0.0 <http://10.2.0.0> alpha - (190660)
Found support for locale: [zh_CN]
version: 10.2.0.0 <http://10.2.0.0> alpha - (190660)
Found support for locale: [zh_TW]
version: 10.2.0.0 <http://10.2.0.0> alpha - (190660)
------------------------------------------------------

Thanks,
Deepa

Mime
View raw message