|
Hello Deepa.
Missing "-Dframework=DerbyNetClient" seems
to cause fail , if executed via RunTest .....
Can you send information about jvm
option?
Example at my site:
===========================
c:\ProgramDev\derbyTest\20050617>java -Drunwithjdk14=true
-DexcludeJCC=at-or-before:2.3 -Duser.language=en -Duser.country=US
-Dframework=DerbyNetClient org.apache.derbyTesting.functionTests.harness.RunTest
derbynet/DerbyNetAutoStart.java *** Start: DerbyNetAutoStart jdk1.4.2_05
DerbyNetClient 2005-06-17 19:23:44 *** Initialize for framework:
DerbyNetClient startServer = false. Bypass server startup ***
End: DerbyNetAutoStart jdk1.4.2_05 DerbyNetClient 2005-06-17
19:24:37 ***
c:\ProgramDev\derbyTest\20050617>set CLASSPATH = OLD_CLASSPATH
===========================
Please see next to know
"-Dframework=DerbyNetClient" in testing.
Best regards.
/*
*/
----- Original Message -----
Sent: Friday, June 17, 2005 6:46
AM
Subject:
derbynet/DerbyNetAutoStart.java hangs
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/[email protected]/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: 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 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
No virus found in this incoming message. Checked by AVG
Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.7/20 - Release Date:
2005/06/16
|
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.7/20 - Release Date: 2005/06/16