Recent Posts by bitumen.surfer

Subscribe to Recent Posts by bitumen.surfer 8 post(s) found

Jul 2, 2008
Avatar bitumen.surfer 8 post(s)

Comment Topic: JBidwatcher Help / Starting Multiple Instances

Brilliant !!! Thanks Morgan, much appreciated.

I have now created a simple shell script ( below) to launch my two (or more) instances of JBidWatcher. I have included my script in case it helps

One other minor query. Is there an official location to download the JBW icon ? If I simply use the jar file it comes with no icons and I have to select a random image for adding the shortcut to my panel or menus – Of course I could just save your icon from this conversation – but thought I’d be polite.

Thanks to the kind soul who added the coding options to my script – much appreciated
--—( my script, save as jbidwatcher.sh )

#!/bin/bash

# 1) Place this script in $HOME/bin & make executable ( chmod +x )
# 2) Place your JBidWatcher jar in $HOME/bin
# 3) Alter EBAY_IDS to reflect your ids
# 4) Either create a soft link to the jar file or alter JBW_jar below

# Java
JAVA=/usr/bin/java
JAVA_OPTS="-Xmx512m" 

# this is soft link to current version in same location
JBW_jar=$HOME/bin/JBidWatcher.jar
JBW_root=$HOME/.jbidwatcher
EBAY_IDS="id1 id2 id3 etc" 

for id in $EBAY_IDS; do
    ebay_root=$JBW_root"_"$id
    #echo $ebay_root
    cd $ebay_root

    # ideally this *should* capture the output - but doesn't (java oddity?)
    $JAVA $JAVA_OPTS -jar $JBW_jar --usb 2>&1 >| $ebay_root/session_log &
done

-

 
Jul 1, 2008
Avatar bitumen.surfer 8 post(s)

Comment Topic: JBidwatcher Help / Starting Multiple Instances

My objective is to start multiple instances of JBW ( for multiple eBay accounts ) and I’m trying to figure out how to do that on Linux.

At present I know that my auction/user data is saved under ~user/.jbidwatcher. What I’d like to know is whether it is possible to a) specify a different “root” for each instance on the command line (& how to do so) i.e. change ~user/.jbidwatcher to ~user/.jbidwatcher.ebay_name b) will multiple running instances co-exist on linux – i.e. no communication between themselves ?

At present, I’d settle for knowing how to specify command line options to java/JbidWatcher (sorry, bit of a java newbie)

Many thanks
J

 
Aug 9, 2007
Avatar bitumen.surfer 8 post(s)

Comment Topic: Announcements / 1.0.2pre6 - Fixes currencies and title issues

Hi Morgan,

I hate to seem like I’m making trouble but have just spotted one other feature that isn’t working.

I have a number of ebay accounts and I used to be able to change my login between my ebay accounts without having to close JBidWatcher but now when I try it I get this message: “Your sign in information appears to be incorrect, according to eBay. Please fix it in the …..”.

However without altering my eBay login information if I now exit and reopen JBidWatcher then my login works and is valid.

Possibly this is related to my previous post with the proxy settings.

Cheers

J

 
Aug 8, 2007
Avatar bitumen.surfer 8 post(s)

Comment Topic: Announcements / 1.0.2pre6 - Fixes currencies and title issues

Hi Morgan,

have just been experimenting with different configurations of proxy settings. Achieved partial success eventually – but I suspect not in the proper manner.

What I did:
a) enabled “HTTP Web Proxy” and set Host: proxy.mydomain.com.au, Port: 8080 User & Passwd to my proxies username & password. i) Tried with no HTTPS option set – > It won’t get the login cookie. error below:

Thu Aug 09 09:21:29 EST 2007: Couldn’t sign in!
java.io.IOException: Unable to tunnel through proxy. Proxy returns “HTTP/1.0 407 Proxy Authentication Required” at sun.reflect.GeneratedConstructorAccessor15.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedE…(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getIn…(Unknown Source) at Http.receiveData(Unknown Source) at Http.receivePage(Unknown Source) at ebayServer.getSignInCookie(Unknown Source) at ebayServer.getSignInCookie(Unknown Source) at ebayServer.getNecessaryCookie(Unknown Source) at ebayServer.messageAction(Unknown Source) at PlainMessageQueue.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Unable to tunnel through proxy. Proxy returns “HTTP/1.0 407 Proxy Authentication Required” at sun.net.www.protocol.http.HttpURLConnection.doTunneling(Unknown Source) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConn…(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getHeaderFi…(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHe…(Unknown Source) at CookieJar.getAllCookiesFromPage(Unknown Source) at CookieJar.getAllCookiesFromPage(Unknown Source) ... 6 more

ii) now I tried with the HTTPS option set and the HOST set to proxy.mydomain.com.au Port:8080 -> same error as above.

iii) tried the HTTPS with port 80 ( in case a port issue) -> same error as previous.

Now if i understand correctly one of the above options should have worked and the HOST variable should not have a “http://” prepended to it.

Finally I tried prepending a “http://” to the HTTPS host variable and it now works. Essentially the same technique i was using before. But this now allows me to remain logged in and get my items – not sure about bidding yet.

Cheers

J

 
Aug 8, 2007
Avatar bitumen.surfer 8 post(s)

Comment Topic: Announcements / 1.0.2pre6 - Fixes currencies and title issues

Hi Morgan

Thanks for your response. Firstly, thanks for creating this program – much appreciated. I don’t think you have received nealy enough congratulations for doing this.

Ok. I was prior to mid July able to use Jbid.. at work. And I have never needed to use the HTTPS option. It is possible I suppose that work has changed the firewall again.

In my response to the pre5 announcement I listed my entries as:
Host: proxy.mydomain
Port: 8080
Username & Password for my proxy

I did, when I made my original report, play with setting the https option – with no success. Unfortunately I am now at home so i can’t test it again. (I’m feeling tired – I can’t be bothered setting up the VPN & SSH program under Windoze to access my work machine)

tomorrow I will try the https option again with Host: proxy.mydomain
and other setting as appropriate i.e. no http:// and see if that works.

Cheers

J

 
Aug 8, 2007
Avatar bitumen.surfer 8 post(s)

Comment Topic: Announcements / 1.0.2pre6 - Fixes currencies and title issues

Hi,

I’m still encountering issues with the proxy settings with pre6

In a nutshell the issue is this:
a) to get the login cookie (have I said that right?) I have to prepend “http://” to the “Host” variable. If I don’t have this then I get the error message (from leaving mouse over the “Not logged in…”)
“Unable to tunnel through proxy. Proxy returns “HTTP/1.0 407 Proxy Authentication Required” “

b) In order to get “My Ebay items” after I have successfully got a login cookie I need to remove the “http://” from the host variable. Otherwise it fails with connection time out (due to inability to get past/through the proxy)

I haven’t attempted to bid like this, but i suspect it won’t work.

I suspect one of two causes:
a) a presumption that proxies are port 80 ( my organisations is 8080 ) .
b) a missing “http://” string from the request to get a login cookie.

J

 
Jul 31, 2007
Avatar bitumen.surfer 8 post(s)

Comment Topic: Announcements / 1.0.2pre5 - Fixes save issues

Firehorse,

Are you using a proxy ? or behind a firewall ? Your symptoms sound familiar to the issues I reported earlier ( see previous post in this thread ).

If you are using a proxy, I’d be curious to know if you can duplicate the same problems. I’d try adding/removing “http://” from your proxy host variable and see if that enables you to login.

J

 
Jul 26, 2007
Avatar bitumen.surfer 8 post(s)

Comment Topic: Announcements / 1.0.2pre5 - Fixes save issues

The proxy settings are no longer working correctly. This may or may not be related but it has occured at the same time as this issue because prior to the latest ebay/Jbidwatcher changes it has worked ok. I’m using 1.0.2pre5

In order to login to ebay.com.au I enable the http proxy option ( no https proxy ) and set the fields as follows
Host: http://proxy.mydomain.com.au
Port: 8080 ( yes, this is correct )
Username & Password correct for the proxy

This enables me to login to ebay but doesn’t permit me to “get my ebay items” -> fails with connection issues
However if I change the Host setting from that above to: (i.e. remove the leading “http://” )
Host: proxy.mydomain.com.au

Then I can get my ebay items (provided my ebay login was previosuly done and is still valid ). If I now attempt to “refresh the session” I get this error message
“Unable to tunnel through proxy. Proxy returns “HTTP/1.0 407 Proxy Authentication Required”

Is anyone else encountering this ?

Possibly a simple solution associated with “http://” missing from the request to login to ebay ?