#1230 WebClient questions

yachris Fri 24 Sep 2010

Hello,

Trying the example WebClient code, to do a get. When it runs (on OS X) I get a very brief flash of a window popping up.

  • Expected behavior? It only happens with the first get... subsequent ones don't get the flashing window.
  • Will this work on headless servers? Does it have to bring up a java window for some reason?

For whatever it's worth, I don't get this behavior with "ordinary" command-line Fantom programs.

Thanks!

brian Fri 24 Sep 2010

That is weird. I just tried on my MacBook and don't see any flashing popup. Maybe some security software detecting an outbound http connection?

kaushik Sat 25 Sep 2010

@yachris For what its worth, I get this too :),. I don't have access to my mac right now, but it says something like "fanx.tools" or something like that right?. May be you can paste what it says and brian can let us know what it is. (or is too quick for you to note?)

and Don't worry, that has caused me absolutely no problem on headless linux servers.

yachris Sat 25 Sep 2010

Thanks kaushik for the validation that I'm not crazy :-) and for the Linux server news.

Yeah, it goes away far too fast for me to read the title... glad to saw it.

Running Snow Leopard, 10.6.4 Build 10F569, java version 1.6.0_20, fan 1.0.55.

fan -version:

Java Runtime:
  java.version:    1.6.0_20
  java.vm.name:    Java HotSpot(TM) 64-Bit Server VM
  java.vm.vendor:  Apple Inc.
  java.vm.version: 16.3-b01-279
  java.home:       /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
  fan.platform:    macosx-x86_64
  fan.version:     1.0.55
  fan.env:         sys::BootEnv

Login or Signup to reply.