18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Browser not opening from dashboard
I'm facing issue with opening any browser from the dashboard. The console shows an error as below. Due to this I'm stuck and unable to proceed with scripting. Please help
---
--- ERROR: Port 9999 is already being used ---
---
C:\Program Files\Mozilla Firefox\firefox.exe -profile "D:\Sahi\userdata/browser/
ff/profiles/sahi0" -no-remote http://sahi.example.com/_s_/dyn/Driver_initialized
Apr 26, 2013 3:55:41 PM net.sf.sahi.ui.Dashboard execCommand
SEVERE: null
java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The
system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at net.sf.sahi.util.Utils.executeCommand(Utils.java:528)
at net.sf.sahi.ui.Dashboard.execCommand(Dashboard.java:283)
at net.sf.sahi.ui.Dashboard.access$600(Dashboard.java:49)
at net.sf.sahi.ui.Dashboard$4$1.run(Dashboard.java:270)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 7 more
---
--- ERROR: Port 9999 is already being used ---
---
C:\Program Files\Mozilla Firefox\firefox.exe -profile "D:\Sahi\userdata/browser/
ff/profiles/sahi0" -no-remote http://sahi.example.com/_s_/dyn/Driver_initialized
Apr 26, 2013 3:55:41 PM net.sf.sahi.ui.Dashboard execCommand
SEVERE: null
java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The
system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at net.sf.sahi.util.Utils.executeCommand(Utils.java:528)
at net.sf.sahi.ui.Dashboard.execCommand(Dashboard.java:283)
at net.sf.sahi.ui.Dashboard.access$600(Dashboard.java:49)
at net.sf.sahi.ui.Dashboard$4$1.run(Dashboard.java:270)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 7 more
Best Answer
-
Hi,
Please go through the below url.
http://sahi.co.in/forums/discussion/4831/browser-not-opening-from-dashboard-after-java-update-
Regards,
Pratik Shah

Answers
Please have a look at the below link,
http://sahi.co.in/forums/discussion/2953/error-port-9999-is-already-being-used/p1
Good Luck !!!
-Umashankar
SAHI_HOME: ..\..
SAHI_USERDATA_DIR: ..
SAHI_EXT_CLASS_PATH:
Sahi properties file =
Sahi user properties file =
>>>> Sahi started. Listening on port: 9999
>>>> Configure your browser to use this server and port as its proxy
>>>> Browse any page and CTRL-ALT-DblClick on the page to bring up the Sahi Cont
roller
Reading browser types from:
Firefox 4 was not found at C:\Program Files\Mozilla Firefox 4.0 Beta 7\firefox.e
xe
Chrome was not found at C:\Users\dme421\AppData\Local\Google\Chrome\Application\
chrome.exe
C:\Program Files\Internet Explorer\iexplore.exe -noframemerging http://sahi.exam
ple.com/_s_/dyn/Driver_initialized
Apr 26, 2013 5:30:59 PM net.sf.sahi.ui.Dashboard execCommand
SEVERE: null
java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The
system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at net.sf.sahi.util.Utils.executeCommand(Utils.java:528)
at net.sf.sahi.ui.Dashboard.execCommand(Dashboard.java:283)
at net.sf.sahi.ui.Dashboard.access$600(Dashboard.java:49)
at net.sf.sahi.ui.Dashboard$4$1.run(Dashboard.java:270)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 7 more
http://sahi.co.in/w/configure-browser-proxy