I'm unable to start screen-scraper in server mode. How can I troubleshoot this?
The most likely cause to this is that the Java Runtime Environment that ships with screen-scraper is not compatible with your system. See our Installation Instructions page for help in troubleshooting this.
Also, if you're having trouble starting screen-scraper in server mode or running scraping sessions in server mode run the following command in a batch or shell script as an alternate way to start the server.
jre/bin/java -Xmx128M -jar screen-scraper.jar --start-server --interactive
If running under Windows it may be necessary to surround the path to the Java executable in quotes.
"jre/bin/java" -Xmx128M -jar screen-scraper.jar --start-server --interactive
Running the server in this way does two things to help you troubleshoot your scraping sessions and the program itself.
- Bypasses the service daemon program, running the screen-scraper.jar file directly.
- Writes out to the console/command window any messages sent to standard out.
You also have two commands you can use within the console/command window:
- status - Indicates the number of sessions running as "clients currently connected".
- quit - Stops the server.