Rules for sahi.properties to check failure to open Sahi Controler

271 views
Skip to first unread message

Wayne Simacek

unread,
Feb 6, 2011, 10:15:24 PM2/6/11
to sahi
Sorry I did search through many pages of existing posts, but couldn't
find my exact problem and the correct troubleshooting steps.

Basically, I can't use {ctrl}+{alt}+{dblclick} to open up the
controller window, even after I pressed the {F5} key.

I've been able to start sahi successfully, although I installed it
under c:\ruby192\bin\sahi on WindozXP.

? I can start sahi OK on the command line, but do I have to change any
other configurations to reflect the new location?

My organization that has autoproxy script that uses port 8080, but our
dev server is on port 9080.
When I go into FoxPro and check on Other, I see it is configured to
use the autoproxy for our organization, and then it prompts me for
UserID and Password the first time I go in.

I've been changing the sahi.properties, but I'm not sure if they need
to tie to the proxy server in my browser or the port on the dev
server?

? I changed the proxy.port to 8080

I changed all the external proxy server for http settings to first
match the proxy port, but I've also tried setting it to the Dev port.
The other variables I've moved between my main login and test logins.

?I'd really like to know some general rules of what needs to match to
what and some troubleshooting steps to check?

Narayan Raman

unread,
Feb 6, 2011, 10:22:11 PM2/6/11
to sa...@googlegroups.com
Hi Wayne,

The settings need to be changed in sahi/userdata/config/userdata.properties. 
Sahi looks for properties in userdata.properties, and if not found, looks in sahi.properties. 

You need to set ext.http.proxy.port to your external proxy port.
ext.http.proxy.port=8080

Could you please specify where you got the instructions to change sahi.properties? (We will add a comment about userdata.properties there.)

Regards,
Narayan


--
You received this message because you are subscribed to the Google Groups "sahi" group.
To post to this group, send email to sa...@googlegroups.com.
To unsubscribe from this group, send email to sahi+uns...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sahi?hl=en.




--
Tyto Software Pvt. Ltd
http://www.tytosoftware.com
http://sahi.co.in
+91 98809 65555

http://blog.sahi.co.in
http://twitter.com/_sahi

Wayne Simacek

unread,
Feb 8, 2011, 5:58:22 AM2/8/11
to sahi
Unfortunately, it seems to work the other way around. I changed C:
\Ruby192\bin\sahi\userdata\config\userdata.properties and it was still
using the port I had specified in C:\Ruby192\bin\sahi\config
\sahi.properties. ==>Either way, when I set the port to 8080 and hit
{ctrl} + {alt} + {dblckick} I still don't open the Sahi controller.

Any ideas on how to troubleshoot? Should I check the log to see if
it's finding anything?

I know once I get configured I'm going to love your program.

Wayne

On Feb 6, 9:22 pm, Narayan Raman <nara...@sahi.co.in> wrote:
> Hi Wayne,
>
> The settings need to be changed in
> sahi/userdata/config/userdata.properties.
> Sahi looks for properties in userdata.properties, and if not found, looks in
> sahi.properties.
>
> You need to set ext.http.proxy.port to your external proxy port.
> ext.http.proxy.port=8080
>
> Could you please specify where you got the instructions to change
> sahi.properties? (We will add a comment about userdata.properties there.)
>
> Regards,
> Narayan
>
> Tyto Software Pvt. Ltdhttp://www.tytosoftware.comhttp://sahi.co.in
> +91 98809 65555
>
> http://blog.sahi.co.inhttp://twitter.com/_sahi- Hide quoted text -
>
> - Show quoted text -

Wayne Simacek

unread,
Feb 8, 2011, 6:05:56 AM2/8/11
to sahi
Even with Sahi started & Listening on port 8080, it doesn't appear I'm
logging anything in the userdata\logs folder. Sorry I'm fresh out of
ideas.

Wayne
> >http://blog.sahi.co.inhttp://twitter.com/_sahi-Hide quoted text -

Wayne Simacek

unread,
Feb 8, 2011, 8:08:05 AM2/8/11
to sahi
The documentation I've been using is http://sahi.co.in/w/using-sahi
which references the config.properties file.
> > >http://blog.sahi.co.inhttp://twitter.com/_sahi-Hidequoted text -
>
> > > - Show quoted text -- Hide quoted text -

Wayne Simacek

unread,
Feb 8, 2011, 8:32:34 AM2/8/11
to sahi
I just verified my Java version is 5.0 Update 15. Do I need to put in
an environment variable or update anything for Sahi to find it?

On Feb 8, 7:08 am, Wayne Simacek <wayne.sima...@gmail.com> wrote:
> The documentation I've been using ishttp://sahi.co.in/w/using-sahi
> > > >http://blog.sahi.co.inhttp://twitter.com/_sahi-Hidequotedtext -

Narayan Raman

unread,
Feb 8, 2011, 8:43:13 AM2/8/11
to sa...@googlegroups.com
Hi Wayne,

Could you please paste the contents of your userdata.properties and sahi.properties here, or email it to sup...@sahi.co.in? I think you are modifying the wrong property.

Regards,
Narayan

Wayne Simacek

unread,
Feb 8, 2011, 7:31:32 PM2/8/11
to sahi
I emailed it. Support.ID = 560

On Feb 8, 7:43 am, Narayan Raman <nara...@sahi.co.in> wrote:
> Hi Wayne,
>
> Could you please paste the contents of your userdata.properties and
> sahi.properties here, or email it to supp...@sahi.co.in? I think you are
> modifying the wrong property.
>
> Regards,
> Narayan
>

Wayne Simacek

unread,
Feb 8, 2011, 7:32:30 PM2/8/11
to sahi
# Sahi configuration file

#proxy.port=9999
proxy.port=8080

script.extension=sah;sahi;inc

# dirs. Relative paths are relative to userdata dir. Separate
directories with semi-colon
scripts.dir=scripts;
# default log directory.
logs.dir=logs
# Directory where auto generated ssl cerificates are stored
certs.dir=certs


# Changed 2-6-2011 external proxy server for http
ext.http.proxy.enable=true
ext.http.proxy.host=http://proxy.wellsfargo.com
ext.http.proxy.port=8080
ext.http.proxy.auth.enable=true
ext.http.proxy.auth.name=wsimac
ext.http.proxy.auth.password=****

# Use external proxy server for https
ext.https.proxy.enable=true
ext.https.proxy.host=https://proxy.wellsfargo.com
ext.https.proxy.port=8080
ext.https.proxy.auth.enable=true
ext.https.proxy.auth.name=wsimac
ext.https.proxy.auth.password=****

userdata.properties-------------------------------------------------------------------


# Use external proxy server for http
ext.http.proxy.enable=true
ext.http.proxy.host=http://proxy.wellsfargo.com
ext.http.proxy.port=8080
ext.http.proxy.auth.enable=true
ext.http.proxy.auth.name=wsimac
ext.http.proxy.auth.password=****

# Use external proxy server for https
ext.http.proxy.enable=true
ext.http.proxy.host=http://proxy.wellsfargo.com
ext.http.proxy.port=8080
ext.http.proxy.auth.enable=true
ext.http.proxy.auth.name=wsimac
ext.http.proxy.auth.password=****


On Feb 8, 7:43 am, Narayan Raman <nara...@sahi.co.in> wrote:
> Hi Wayne,
>
> Could you please paste the contents of your userdata.properties and
> sahi.properties here, or email it to supp...@sahi.co.in? I think you are
> modifying the wrong property.
>
> Regards,
> Narayan
>
Reply all
Reply to author
Forward
0 new messages