db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "TomohitoNakayama" <tomon...@basil.ocn.ne.jp>
Subject Re: derbynet/DerbyNetAutoStart.java hangs
Date Fri, 17 Jun 2005 10:36:06 GMT
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 
*** 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.


         Tomohito Nakayama


  ----- Original Message ----- 
  From: Deepa Remesh
  To: derby-dev@db.apache.org
  Sent: Friday, June 17, 2005 6:46 AM
  Subject: derbynet/DerbyNetAutoStart.java hangs


  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: 

  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] alpha - 
alpha - (190660)
  [C:\deepa\Derby\derby_src\trunk\jars\insane\derbynet.jar] alpha - 
alpha - (190660)
  [C:\deepa\Derby\derby_src\trunk\db2jcc_jars\lib\db2jcc.jar] 2.4 - (17)
2.4 - (17)
  ----------------- Locale Information -----------------
  Current Locale :  [English/United States [en_US]]
  Found support for locale: [de_DE]
       version: alpha - (190660)
  Found support for locale: [es]
       version: alpha - (190660)
  Found support for locale: [fr]
       version: alpha - (190660)
  Found support for locale: [it]
       version: alpha - (190660)
  Found support for locale: [ja_JP]
       version: alpha - (190660)
  Found support for locale: [ko_KR]
       version: alpha - (190660)
  Found support for locale: [pt_BR]
       version: alpha - (190660)
  Found support for locale: [zh_CN]
       version: alpha - (190660)
  Found support for locale: [zh_TW]
       version: alpha - (190660)



  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

View raw message