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 |
|
|
Greetings, To launch JBidwatcher with that flag, you would do something like this:
You have to make sure to disable ‘Use internal web server’ on the ‘Webserver’ tab of the Configuration Manager, because they’ll fight over the port that it listens on. Other than that, I believe multiple instances should live in effective harmony. Let me know if I’m wrong, or you run into any odd behavior, since that’s a pretty new feature of 2.x! — Morgan Schweers, CyberFOX! |
|
|
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 |