Connection refused.

Hi,

I'm using pro v2.6 and trying to scrape from an external java application. When I run the java application I get a 'Connection refused' message in the Eclipse IDE output console.

Also,
1. The scrape java program is just like the one in Tutorial 2.
2. I'm running on Mac OS X 10.4.5.
3. I've started start_server.sh from the Terminal window as 'sh start_server.sh'. It seems to have started.
4. When I see the running processes in Mac OS' Activity Monitor, I don't see another screen-scraper process apart from the screen-scraper client I'm already running.
5. When I do an IP port scan using the utility program in Mac OS X, for IP 127.0.0.1, it doesn't pick up any of the screen-scraper set ports.
6. The scrape works fine if I do it all in screen-scraper client.

Please assist.

thanks
Amrit.

Connection refused.

Excellent news. Thanks for the follow-up. We'll be including that fix in our next version.

Best,

Todd

Connection refused.

thanks Todd.

It's working fine now.... appreciate the quick turn-around.

regards
Amrit

Connection refused.

Hi Amrit,

As fortune would have it the Java Service Wrapper developers have come up with a fix for this. I've bundled it up here

http//www.screen-scraper.com/screen-scraper/updates/mac_2.6.0.5a_update.zip

You can download that file, unzip it, then copy its contents on top of the existing files in your screen-scraper instance. I've tested it and it looks to fix the bug. Would you mind trying it to see if you find the same?

Thanks,

Todd

Connection refused.

Hi Amrit,

Coincidentally, we're in the process of investigating this Mac OS X bug right now. We use a third-party library called Java Service Wrapper (here) to handle running screen-scraper as a server, and it appears to have a bug in some versions of Mac OS X: here.

As a temporary workaround, you can run the screen-scraper server in interactive mode. Simply open a terminal, cd to the directory where screen-scraper is installed, and type the following:


java -jar screen-scraper.jar --start-server --interactive

Kind regards,

Todd Wilson