SAKURAI Masashi
1/14/2006 10:05:00 PM
Tom Harris wrote:
> :
> SAKURAI Masashi wrote:
> > Will you try following options and check the log file output by java,
> > "jlog.txt".
> > :
>
> Here is the contents of the jlog.txt file:
> :
> BinServer: waiting for client's connection...
>
> Process is still hung without any results. The console window shows:
Because the java side didn't throw any exception during stalling, I
think that either java or ruby has a trouble of networking.
Will you try the following tests?
1) Connecting the bridge port of the java side
When the yajb is stalling, please connect to the bridge port and
report the result of telnet and yajb logs.
$ telnet localhost (bridge port number)
The bridge port number is shown in the yajb log. For example, the
number is 1105 in your last report. The port number may be changed
each time you run yajb.
If the connection is established, the java side is not wrong. Then,
try the next test.
2) Ruby network test
Please run the networking test in the "test" directory in the yajb
distribution. Following lines are the result on my computer, Windows
XP Pro SP2.
| $ ruby bstream_cstest.rb
| Loaded suite bstream_cstest
| Started
| . 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1...
| Finished in 12.494 seconds.
|
| 4 tests, 1575 assertions, 0 failures, 0 errors
My environmnent information is here.
| $ ruby -v
| ruby 1.8.3 (2005-09-21) [i386-cygwin]
| $ uname -a
| CYGWIN_NT-5.1 x31 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown unknown Cygwin