From: Peter Gillogley Date: 2006-06-10T08:46:21+09:00 Subject: Re: Getting YAJB to work at all Tom Harris wrote: > SAKURAI Masashi wrote: >> I could run the yajb, setting {:jvm_stdout => :never} in >> JBRIDGE_OPTIONS. Please try the option on your Windows. > > That did it! The :t for :jvm_output caused this. > ... > > Tom Tom and SAKURAI Masashi I am keen to be able to call some commercial-off-the-shelf Java methods from some Ruby/WATIR test scripts I have developed. I was recommended YAJB. I have installed yajb and I seem to be getting the same errors as Tom did initially. D:\ruby\bin>ruby -v ruby 1.8.2 (2004-12-25) [i386-mswin32] D:\ruby\bin>ver Microsoft Windows XP [Version 5.1.2600] D:\Downloads\yajb-0.8.1.tar\yajb-0.8.1\test>test.rb Loaded suite D:/Downloads/yajb-0.8.1.tar/yajb-0.8.1/test/test Started JavaBridge: Startup communication bridge... CLASSPATH: "$CLASSPATH";d:/ruby/lib/ruby/site_ruby/1.8/yajb/yajb.jar java -classpath ""$CLASSPATH";d:/ruby/lib/ruby/site_ruby/1.8/yajb/yajb.jar" jbridge.BridgeBuilder jbridge.comm.binstream.BStream_JBServer -remoteport:1520 -log Level:debug -logfile:jlog.txt JVM: OK. JVM: Initialized. ^C D:\Downloads\yajb-0.8.1.tar\yajb-0.8.1\test> If I telnet to "localhost 1520" ... I get a connection. However the bstream test does not work. D:\Downloads\yajb-0.8.1.tar\yajb-0.8.1\test>ruby bstream_cstest.rb Loaded suite bstream_cstest Started . 32^C D:\Downloads\yajb-0.8.1.tar\yajb-0.8.1\test> If the problem is security settings...What exactly do I need to disable (so that yajb will work) on my Windows firewall and McAffe Firewall. I have looked at Windows "event viewer" + McAfee Event log and no entries are being created when I run the application. I am not sure I really understand the ":t for :jvm_output " resolution for Tom. Peter Gillogley http://gillogley.com.au -- Posted via http://www.ruby-forum.com/.