open -n -a Safari.app http://sahi.example.com/_s_/dyn/Driver_initialized
Safari can’t find the server.
Safari can’t open the page “http://sahi.example.com/_s_/dyn/Driver_initialized” because Safari can’t find the server “sahi.example.com”.
In userdata.properties I set up:
ext.http.proxy.host=localhost
ext.http.proxy.port=9999
Jan 9, 2013 11:47:48 AM net.sf.sahi.test.ProcessHelper execute
INFO: open -n -a Safari.app http://sahi.example.com/_s_/dyn/Driver_start?sahisid=50eda4d8b07c5__SahiAmpersandSahi__startUrl=http://sahi.example.com/_s_/dyn/Driver_initialized?startUrl=
Socket closed
Jan 9, 2013 11:48:00 AM net.sf.sahi.util.ProxySwitcher execCommand
SEVERE: null
java.io.IOException: Cannot run program "/sahi/tools/proxy_config.exe": error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:466)
at net.sf.sahi.util.Utils.executeCommand(Utils.java:528)
at net.sf.sahi.util.ProxySwitcher.execCommand(ProxySwitcher.java:40)
at net.sf.sahi.util.ProxySwitcher.revertSystemProxy(ProxySwitcher.java:24)
at net.sf.sahi.ui.Dashboard$3.windowClosing(Dashboard.java:240)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:332)
at java.awt.Window.processWindowEvent(Window.java:1862)
at javax.swing.JFrame.processWindowEvent(JFrame.java:274)
at java.awt.Window.processEvent(Window.java:1820)
at java.awt.Component.dispatchEventImpl(Component.java:4714)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:91)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
... 21 more
logout
[Process completed]
Going by your first email, sahi is trying to set proxy configuration but is trying to use a Windows application on osx. This is a bug.
Please set the system proxy, and then browse to the URL using safari. You should also test once with Firefox just to reassure yourself that you've set the system proxy configuration correctly.
Ram
--
You received this message because you are subscribed to the Google Groups "sahi" group.
To view this discussion on the web visit https://groups.google.com/d/msg/sahi/-/u1KvbLSvT88J.
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.
Thanks for the explanation, Christopher. I myself use windows and Solaris, ask I'll have to try this out once on Osx.
I'll file a bug and push a fix this weekend for being able to set the proxy automatically on Osx.
Sriram
To view this discussion on the web visit https://groups.google.com/d/msg/sahi/-/7ZMkaPLxkI4J.