Did you installed it using Admin rights? That might only be the issue,
though didn't tried it on Windows Server 2003.

Thanks,
Angrez

On Thu, Jul 30, 2009 at 4:32 PM, pallavi shashidhar
<pals.sha...@gmail.com>wrote:

> Hi There,
>
> I have the foll: installed - Ruby 1.8.6, watir 1.6.2 , firefox 3.012
> OS: - Microsoft Windows Server 2003 R2 (32 bit)
> Jssh - 0.9 installed along with Redistributed package for VS 2005 SP1
> Steps - followed all the steps mentioned at step 3 on
> http://wiki.openqa.org/display/WTR/FireWatir+Installation
>           - Did run firefox from command prompt using
> c:\ProgramFiles\Mozilla>firefox.exe -jssh (browser opens up)
>
> Am trying to run the following example :
>
> require 'watir'
> Watir::Browser.default = "firefox"
> Watir::Browser.start("www.mail.yahoo.com")
>
> and i get the foll: error
>
> >ruby exampletest.rb
> c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefox.rb:271:in
> `set_defaults': Unable to connect to machine : 127.0.0.1 on port 9997. Make
> sure that JSSh is properly installed and Firefox is running with '-jssh'
> option (Watir::Exception::UnableToStartJSShException)
>     from
> c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefox.rb:161:in
> `initialize'
>     from
> c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefox.rb:177:in
> `new'
>     from
> c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefox.rb:177:in
> `start'
>     from
> c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/browser.rb:71:in
> `start'
>     from exampletest.rb:3
> >Exit code: 1
>
> Tried with IRB, facing the same problem :
> irb(main):001:0> require 'watir'
> => true
> irb(main):002:0> Watir::Browser.default = "firefox"
> => "firefox"
> irb(main):003:0> Watir::Browser.start("www.mail.yahoo.com")
> Watir::Exception::UnableToStartJSShException: Unable to connect to machine
> : 127
> .0.0.1 on port 9997. Make sure that JSSh is properly installed and Firefox
> is ru
> nning with '-jssh' option
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefo
> x.rb:271:in `set_defaults'
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefo
> x.rb:161:in `initialize'
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefo
> x.rb:177:in `new'
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefo
> x.rb:177:in `start'
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/browser.
> rb:71:in `start'
>         from (irb):3
>
> The same example when run on windows vista, i have no issues. Is there
> anything in particular to do with JSSh for Windows Server 2003?
>
> Regards,
> pallavi
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to