Recent Posts by (SF) Chad Cunningham

Subscribe to Recent Posts by (SF) Chad Cunningham 2 post(s) found

Dec 4, 2003
Avatar (SF) Chad Cu... 2 post(s)

Comment Topic: JBidwatcher Help / Installing in Mandrake

Hi,

If you installed the sun java, it’s probably installed somewhere in /usr/java. I don’t know about the jre, perhaps it’s in /usr/java/jre1.4.2_02 or something like that. Look around and find the bin directory that contains the java executable.

I don’t think that linux can launch jar files by double clicking them, I might be wrong. What I’d do is put the jbidwatcher jar somewhere like /usr/local/share/jbidwatcher-whatever.jar and then create a script called /usr/local/bin/jbidwatcher that looks like this:

#!/bin/sh

/usr/java/j2re-1.4.2_02/bin/java -jar /usr/local/share/jbidwatcher-whatever.jar

Substitute what the actual path is for where you found the java binary and the path for wherever the jar is. This would require you to be root to do.

After that you should be able to just type jbidwatcher to launch it.

 
Dec 4, 2003
Avatar (SF) Chad Cu... 2 post(s)

Comment Topic: JBidwatcher Help / error with snipe

I noticed this morning that jbidwatcher failed to snipe an auction that went for $62 and which I had a $75 max on. I looked in the log file and found this.

I see two relevant errors, not sure which one matters. There’s the error about not being able to connect to eBay and then the error saying the server redirected too many times. I’m thinking perhaps the error about not being able to connect was due to the too many redirects errors. I dunno, any thoughts?

Thu Dec 04 01:30:11 EST 2003: Bidding $75.00 on 1 item[s] of ViewSonic VB50HRTV Television Tuner
Thu Dec 04 01:30:15 EST 2003: Submitting: MfcISAPICommand=MakeBid&item=3061712480&maxbid=75.0&quant=1&userid=&key=$2$10389129$L7DiUTXaG7njIkr7siuLa/&javascriptenabled=1&mode=1&user=debtman7&pass=online
Thu Dec 04 01:30:43 EST 2003: Error loading page: http://cgi.ebay.com/aw-cgi/eBayISAPI.dll
Thu Dec 04 01:30:43 EST 2003: Error loading page: http://cgi.ebay.com/aw-cgi/eBayISAPI.dll
java.net.ProtocolException: Server redirected too many times (20)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:718)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURLConnection.java:1208)
at CookieJar.getAllCookiesFromPage(CookieJar.java:93)
at CookieJar.getAllCookiesFromPage(CookieJar.java:43)
at CookieJar.getAllCookiesFromPage(CookieJar.java:108)
at CookieJar.getAllCookiesAndPage(CookieJar.java:18)
at ebayServer.submitRealBid(ebayServer.java:802)
at ebayServer.bid(ebayServer.java:848)
at AuctionEntry.bid(AuctionEntry.java:1225)
at AuctionEntry.snipe(AuctionEntry.java:1122)
at Auctions.fireSnipe(Auctions.java:442)
at Auctions.doAllSnipes(Auctions.java:516)
at Auctions.check(Auctions.java:627)
at AuctionsManager.checkAuctions(AuctionsManager.java:86)
at AuctionsManager.check(AuctionsManager.java:119)
at TimerHandler.run(TimerHandler.java:60)
Thu Dec 04 01:30:43 EST 2003: Exception during the check() operation of class AuctionsManager
java.lang.NullPointerException
at JHTML.preParse(JHTML.java:145)
at JHTML.(JHTML.java:43)
at ebayServer.submitRealBid(ebayServer.java:805)
at ebayServer.bid(ebayServer.java:848)
at AuctionEntry.bid(AuctionEntry.java:1225)
at AuctionEntry.snipe(AuctionEntry.java:1122)
at Auctions.fireSnipe(Auctions.java:442)
at Auctions.doAllSnipes(Auctions.java:516)
at Auctions.check(Auctions.java:627)
at AuctionsManager.checkAuctions(AuctionsManager.java:86)
at TimerHandler.run(TimerHandler.java:60)