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.
Issue when retrieving data from mysql data base
I have placed the 'jdbc6.5-1.2.jar' (the .jar is down loaded from http://jdbc.postgresql.org/download.html) at ..\sahi and
specified the path in sahi.bat, the path like this:
java -classpath ..lib/sahi.jar;C:/sahi/'jdbc6.5-1.2.jar; net.sf.sahi.Proxy and save the file.
When i double click on sahi.bat to start sahi server, the server starts and disappear.
when i run the script to fetch the data from mysql database, the test fails.
Can you please resolve my issue
specified the path in sahi.bat, the path like this:
java -classpath ..lib/sahi.jar;C:/sahi/'jdbc6.5-1.2.jar; net.sf.sahi.Proxy and save the file.
When i double click on sahi.bat to start sahi server, the server starts and disappear.
when i run the script to fetch the data from mysql database, the test fails.
Can you please resolve my issue
Comments
Run your sahi.bat through command prompt. This way you will be able to see what error message is displayed before the proxy closes. that will help in troubleshooting the error.
Regards,
Pankaj.
java -classpath ..lib/sahi.jar;E:/PGIB_Sahi/sahi_20090225/sahi/jdbc6.5-1.2.jar; net.sf.sahi.Proxy
Exception in thread "main" java.lang.NoClassDeFoundError: net/sf/sahi/Proxy
please let know.
Regards
ashok
Change your sahi.bat to:
java -classpath ..lib/sahi.jar net.sf.sahi.Proxy;E:/PGIB_Sahi/sahi_20090225/sahi/jdbc6.5-1.2.jar
Regards,
Pankaj.
It should have been ../lib/sahi.jar. You missed the ../
-Narayan
I have mentioned the same in comment #3, i did not miss ../.
Can you please correct me where i have done mistake.
Regards
Ashok
Ashok do you still get the same error after changing your sahi.bat?
Thanks Narayan & Pankaj.
The issue has resolved.
Regards
Ashok