Recent Posts

Subscribe to Recent Posts 7,903 post(s) found

Jul 21, 2004
Avatar (SF) Matthew... 2 post(s)

Comment Topic: JBidwatcher Help / Memory & CPU utilization

I’m having a problem with the latest jbidwatcher. I recently moved my jbw from freebsd to my solaris box and am seeing the following :

last pid: 11460; load averages: 2.78, 2.53, 2.38 10:37:22
108 processes: 106 sleeping, 1 running, 1 on cpu
last pid: 11461; load averages: 2.58, 2.50, 2.37 10:37:37
108 processes: 104 sleeping, 3 running, 1 on cpu
CPU states: 0.0% idle, 96.3% user, 3.7% kernel, 0.0% iowait, 0.0% swap
Memory: 512M real, 11M free, 503M swap in use, 44M swap free

PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 18770 mteton 31 0 10 116M 50M run 56.0H 86.28% java 11485 dakota 8 48 0 110M 60M sleep 5:42 0.00% mozilla-bin 18627 porkchop 31 18 10 109M 48M sleep 121:57 0.09% java 11455 dakota 30 46 7 106M 43M run 23:40 2.48% java 18342 root 1 48 0 83M 36M sleep 42:31 0.94% Xsun

[snip]

The 3 java processes are all jbidwatchers. The memory and CPU utilizations are HUGE! In fact, I regularly have snipes failing because of it. Is there anything I can do besides move back to the machine that I was ready to retire?

TIA

-matthew

 
Jul 20, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Help / Nuke Tab???

Greetings,
Sorry, I should have clarified.

Delete Tab actually just deletes the tab itself, and moves all entries that were in it, to ‘current’. (Or ‘completed’, although it suddenly strikes me that I haven’t tested deleting a tab that has items that have been moved post-delete…)

Nuke Tab was basically requested as a ‘more dramatic’ version of Delete Tab.

— Morgan Schweers, CyberFOX!

 
Jul 20, 2004
Avatar (SF) Michael... 2 post(s)

Comment Topic: JBidwatcher Help / Nuke Tab???

Hi Morgan,

So if “Nuke Tab” deletes all the entries in the tab and the tab itself, what does “Delete Tab” do differently? Does it delete the entries but leave the tab? Does it delete the tab and move the entries to a different tab automatically? Does it…?

Enquiring minds want to know. ;)

 
Jul 20, 2004
Avatar (SF) modnet25 2 post(s)

Comment Topic: JBidwatcher Help / Exception in thread "main" java.lang.NoClassD

thanks man, that’s it.
the double click does not work.
may be i can reconfigure my system to do the double click (only if u gimmi a hint :-)) )
thanks a lot

 
Jul 19, 2004
Avatar (SF) Don Har... 9 post(s)

Comment Topic: JBidwatcher Help / Dual boot bidwatcher?

Works great. Thanks again for the great tool.

Don

 
Jul 19, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Help / Dual boot bidwatcher?

Greetings,
This is a bit difficult, because of the ‘where files are stored’ issue.

Theoretically, you could do this reasonably well, with two seperate configuration files. The Windows configuration file can be mostly ignored, since you’re going to treat the Windows side as the one that won’t know anything about the Linux side.

The Windows configuration file would be in:
C:\Documents and Settings\{username}\.jbidwatcher
and the other would be in:
~/.jbidwatcher

So, pretending that your Windows drive is mounted and writable on /mnt/win98, for instance, you could change your ~/.jbidwatcher/JBidWatch.cfg like follows:

search.savefile=/mnt/win98/Documents and Settings/{username}/.jbidwatcher/searches.xml
savefile=/mnt/win98/Documents and Settings/{username}/.jbidwatcher/auctions.xml
auctions.savepath=/mnt/win98/Documents and Settings/{username}/.jbidwatcher/auctionsave

That list of changes should allow your Linux box to read the data from the Win98 side.

Now, if anyone else sees this, and thinks ‘Oh, I can run this network mounted to my Windows box, and keep them in synch!’, please don’t. The problem here is that the auctions save file is NEVER RE-READ while the program is running. This means that two programs running at once, pointing to the same location, will repeatedly overwrite each other, and the last one to close will be the only one whose auctions and searches save correctly.

This works for the dual-boot case, because it’s impossible for the two to be running at the same time.

I haven’t updated the ‘advanced configuration’ stuff in a long, long while. I suppose I should… :)

For what it’s worth, this also won’t ‘synchronize’ the display configurations. I believe you wouldn’t want to do that anyway, as the display situation on the two platforms would be so different.

— Morgan Schweers, CyberFOX!

 
Jul 19, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Help / Exception in thread "main" java.lang.NoClassD

Greetings,
The command is:
java -jar JBidWatcher-0.9.3.1.jar

The ‘-jar’ tells Java to run it out of the jar file.

You should also be able to double-click on the .jar file, because the standard Java install adds a handler to Windows allowing automatic execution of .jar files via double-click.

— Morgan Schweers, CyberFOX!

 
Jul 19, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Help / Nuke Tab???

Greetings,
Hey! Glad to hear you like it!

‘Nuke Tab’ should delete all entries in the tab, as well as deleting the tab itself. (I couldn’t think of a better name…)

— Morgan Schweers, CyberFOX!

 
Jul 19, 2004
Avatar (SF) Michael... 2 post(s)

Comment Topic: JBidwatcher Help / Nuke Tab???

Love the new tabs functionality, but what does the “Nuke Tab” option do differently from the “Delete Tab” option?

 
Jul 18, 2004
Avatar (SF) modnet25 2 post(s)

Comment Topic: JBidwatcher Help / Exception in thread "main" java.lang.NoClassD

hi folks,

i downloaded the latest version from here and saved it at the desktop. then is installed the java from java.sun.com and now i have this java version on my pc:

java version “1.4.2_05”
Java™ 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot™ Client VM (build 1.4.2_05-b04, mixed mode)

my CLASSPATH looks like this:
D:\Programme\Java\j2sdk1.4.2_05\bin
and i also tried out this:
D:\Programme\Java\j2re1.4.2_05\bin

All applets in browsers work.
i have win xp sp1.

when executing the following line in cmd.exe

c:\Dokumente und Einstellungen\mod>java JBidWatcher-0.9.3.1

i get constantly this error:

C:\Dokumente und Einstellungen\mod>java JBidWatcher-0.9.3.1.jar
Exception in thread “main” java.lang.NoClassDefFoundError: JBidWatcher-0/9/3/1/j
ar

any ideas what might be wrong?
please help me cause i know the prog and like it very much.

thanks in advance.
modnet25

 
Jul 17, 2004
Avatar (SF) Don Har... 9 post(s)

Comment Topic: JBidwatcher Help / Dual boot bidwatcher?

Hi I have a machine that dual boots to Fedora core2 and windows 98. 9.3.1 seems to work great on both. I would like to use the same files in both oses. I can see the windows in linux. Do you think this will cause any problems?
I see some details in the advanced config section. Will that be enough to do this?

Thanks for this great program! Don

 
Jul 8, 2004
Avatar (SF) Scott S... 11 post(s)

Comment Topic: JBidwatcher Help / Does Not Save or Exit in Windows XP

Ok, a new clue.
I did some testing, and found jbidwatcher hangs if you define a search such as ‘tmaxx’ to repeat every hour.

I have had it running without hanging for about 3 hours now, and the only difference is I did the initial search when I launched the application, but made sure the search was NOT set to repeat every hour like I usually have it….

 
Jun 29, 2004
Avatar (SF) Scott S... 11 post(s)

Comment Topic: JBidwatcher Help / Does Not Save or Exit in Windows XP

Here is an exception while I was actually using it and then it froze up like normal:

Exception in thread “AWT-EventQueue-0” java.util.ConcurrentModificationException

at java.util.AbstractList$Itr.checkForComodification(Unknown Source) at java.util.AbstractList$Itr.next(Unknown Source) at AuctionServer.toXML(AuctionServer.java:300) at AuctionServerManager.toXML(AuctionServerManager.java:149) at AuctionsManager.saveAuctions(AuctionsManager.java:341) at JBidMouse.DoSave(JBidMouse.java:1305) at JBidMouse.DoAction(JBidMouse.java:1507) at JTabManager.actionPerformed(JTabManager.java:125) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour

ce)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

Tue Jun 29 20:37:25 EDT 2004: Loaded 5905670251.
Tue Jun 29 20:37:27 EDT 2004: Loaded 5905870766.
Tue Jun 29 20:37:29 EDT 2004: Loaded 5905679780.
Exception in thread “AWT-EventQueue-0” java.lang.OutOfMemoryError: Java heap spa
ce
Exception in thread “AWT-EventQueue-0” java.lang.OutOfMemoryError: Java heap spa
ce

 
Jun 29, 2004
Avatar (SF) Scott S... 11 post(s)

Comment Topic: JBidwatcher Help / Does Not Save or Exit in Windows XP

By the way, I get these ‘freeze-ups’ even from a fresh run. For example, if I wipe out the settings files, download a fresh cvs (or use the release version), and put in a simple text search such as ‘tmaxx’, and just let the program run in the background (minimize it), it will at some point freeze up. It might take hours, or it might only take minutes, but it eventually will.

Almost every time it says ‘syncronized time with ebay’ at the bottom of the screen, but not ALWAYS

But I seem to always get this:
Exception in thread “Thread-9” java.lang.OutOfMemoryError: Java heap space
Exception in thread “AWT-EventQueue-0” java.lang.OutOfMemoryError: Java heap spa
ce

 
Jun 28, 2004
Avatar (SF) Scott S... 11 post(s)

Comment Topic: JBidwatcher Help / Does Not Save or Exit in Windows XP

I have this happening even in the CVS, though less frequently.

Here is the error when it freezes up that goes to the console:

Mon Jun 28 17:42:30 EDT 2004: Loaded 5906341915.
Exception in thread “AWT-EventQueue-0” java.lang.OutOfMemoryError: Java heap spa
ce
Exception in thread “AWT-EventQueue-0” java.lang.OutOfMemoryError: Java heap spa
ce

C:\jbidwatcher>

 
Jun 26, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Help / search by close time

Greetings,
Well, it’s not quite that simple, but it is possible.

The basic issue is that I really can’t match the complexity of all the possible eBay searches in JBidwatcher. So instead, I went for the ‘90%’ solution, the search that 90% of the users will be best served by.

I allow, however, arbitrary searches to be added through the ‘URL Load’ mechanism.

Go to eBay itself, and their rich search page. Set all the parameters you’d like, and then submit the search.

On the first page of the search, copy the URL from the Location bar at the top of the browser window with whatever key copies to the clipboard. Switch to JBidwatcher, and pull up the Search Manager page.

Change the dropdown (which initially reads ‘Text Search’ to ‘URL Load’. Right click on it and ‘Paste’.

Save, rename, and fire the search! It should load the results from your search into a tab named the same as whatever you renamed the search as.

This is my ‘advanced’ approach to loading searches, because it allows anyone to completely customize their search in ways that I couldn’t really duplicate without effectively rewriting eBay’s search mechanism.

— Morgan Schweers, CyberFOX!

 
Jun 26, 2004
Avatar (SF) Scott S... 11 post(s)

Comment Topic: JBidwatcher Help / search by close time

Is it possible to do searches that will restrict the close time to for example only auctions that close within 1 hour? That would be a great feature if not…

 
Jun 22, 2004
Avatar (SF) Scott S... 11 post(s)

Comment Topic: JBidwatcher Help / Tabs not working?

Well, latest CVS seems to have my 3 extra tabs, so I will keep playing… thanks!

 
Jun 22, 2004
Avatar (SF) Scott S... 11 post(s)

Comment Topic: JBidwatcher Help / Does Not Save or Exit in Windows XP

Well, I looked at a couple of the error logs, including one from tonight where it froze up on me and wouldnt quit, and the save button didnt do anything, and there was nothing in there – it just has a bunch of lines that say ‘updated xxx’, and ‘couldnt update xxx…’ (auction #’s) — there were no actual errors.

The entries in the log file stopped at the time of the freeze, so I assume it also was not updating any of the auctions.

It was however still counting down the times on each I believe.

I will start playing with the latest CVS version and see if this problem happens in that…

 
Jun 21, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Help / Tabs not working?

Greetings,
Hrm! Can you share a search with me, either here, or by email, that I can test it out on?

I’ve just been making a LOT of cleanup changes to the CVS version, including a change to the search URL, so it’s quite possible that I broke some subset of searches. I do test, and searches are working for me right now, including creating new tabs, but I might be doing a simpler or different search than yours.

Also, try the latest version from CVS, as I just made a bunch of changes to SearchManager and the general way that search results (and other stuff) gets added to the auction lists.

— Morgan Schweers, CyberFOX!

 
Jun 21, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Help / Does Not Save or Exit in Windows XP

Greetings,
I’d very much like to get a copy of your error logs.

They’re generally stored in:
Documents and Settings\{username}\.jbidwatcher

If you can upload them and attach them to a bug report, I’d appreciate it a lot. It shouldn’t ever get to a point that it doesn’t allow save or exit.

It used to fail to accept close messages under MacOSX, because of a bug in the custom look and feel for OSX, but I found a workaround, so that’s fixed in the CVS version, and it shouldn’t have been an issue on Windows anyway.

Please upload any error logs, and I’ll check it out and see if I can’t figure out what went wrong…

— Morgan Schweers, CyberFOX!

 
Jun 21, 2004
Avatar (SF) Scott S... 11 post(s)

Comment Topic: JBidwatcher Help / Tabs not working?

Yes, searches work. I even tried a URL copied from ebay that returns results. What is interesting is that if I try the same searches in the ‘release’ jar file downloaded from the site, the tabs seem to work fine. They just dont work in the CVS. However the jar file version seems to hang for me after a while (when it does a time sync)…

 
Jun 21, 2004
Avatar (SF) Scott S... 11 post(s)

Comment Topic: JBidwatcher Help / Does Not Save or Exit in Windows XP

Something I noticed – jBidWatcher seems to hang (not allowing save or exit) for me also, and I have found that it always seems to do it when it says at the bottom of the window that it is or has just syncronized time with ebay. This is after it has been running for a little while…

 
Jun 21, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Help / Does Not Save or Exit in Windows XP

Greetings,
To note, since I wrote that I’ve fixed interactive auction additions so they ignore the deleted list, drag and drop on the ‘completed’ tab now inserts into ‘current’, and searches auto-save when you close the search manager window.

The big difficulties are the parsing eBay code (shipping and error recognition), and making completed items ‘sticky’ in their new tab.

— Morgan Schweers, CyberFOX!

 
Jun 21, 2004
Avatar Morgan Schweers 1,204 post(s)

Comment Topic: JBidwatcher Help / Does Not Save or Exit in Windows XP

Greetings,
I’m sorry, for some reason these messages weren’t emailed to me… I usually get notified when posts happen, so I can respond. sigh I’m so far behind in emails, too.

Mmmm… Yes, the error logs have no upper bound on ‘n’, so it’s not a bad idea to trim them every so often. However, if you have an instance where manual saving fails, without even a message, locating the most recent error log might be very helpful in determining why. It will probably have an exception logged, because that’s the only thing that would really stop it from saving.

ERF! IE shouldn’t DELETE the file contents, it should have only read it and (perhaps) failed to parse it, and left it alone.

I have to admit, 1700 auctions in the ‘saved’ space is high. One of the things I wanted to do was be able to generate a ‘window’ which just viewed the completed auctions. This would let me only load into memory the live auctions, and maybe ones completed within the last day or so. The rest would be stored, but not updated. It’ll require a pretty hefty change to my data model to do this, though. I definitely need to ‘time out’ deleted items, as well as delete the cached HTML + thumbnails when you delete an auction… Lots of cleanup stuff to do.

Thanks very much for the comments on the source! Sniper kitty was a fun addition, since I was going on vacation, and would be away on that day. I don’t very often get to do stuff that day that more than a few people notice. :)

As for (a) (b) and ©…

(a) I plan to eventually allow for ‘arbitrary columns’, so you could include a comment column, and place your rankings in the comments section. Then you could even sort by them… (Right now the ‘Select’ box allows searching in comments, which is a sometimes useful feature.)

(b) post-auction completion tracking is an important feature, and one I definitely want to get in. It relies a bit on user-definable columns, and the ability to edit data in the table on the fly. It’s complex, but it’s something I do want to do.

© Tell me what (non-proprietary please!) format you would like it exported to, and I can see what I can do. I’ve just implemented a preliminary (and kinda sketchy) print option in the CVS tree, which gives me the code to iterate over all the entries by row/column in the table, so I could probably export a CSV file now without much additional work, for instance.

Yeah, I never created a JBidwatcher icon because as yet I don’t have a decent installer for the Windows version. It’s one of the many things I need to do.

To be honest, while Windows has a HUGE userbase, it’s also one of the hardest to target decently. JBidwatcher currently runs on Windows in ‘raw JAR’ mode. I am considering purchasing a tool that creates a EXE file that wraps the java archive so that it looks like a Windows application, including embedded icon and everything. (It won’t make it faster, or not require a JRE, it’s still a .jar file internally, it just hides that.) When I go 1.0, I expect to have installers for Windows, Mac OSX (already done by a wonderful user, a while ago), and Linux, as well as the standard .jar versions for download on any other platform. Unfortunately, in order to do this, I really do need to buy a tool to create Windows-looking executables, as the majority of the Windows userbase isn’t as comfortable with .jar files, and the like.

I’m really glad the program is working well for you now, and please feel free to comment, or post up any other issues you’re having with it!

I’m actively working on getting a new version done, but work has just kicked into higher gear (we were blocked for weeks, and finally we got a new CEO who’s kicking some butt and getting things rolling).

My biggest issues right now are:

Make sure all interactive auction additions ignore the deleted list, while automatic additions respect it.

Determine how eBay is formatting the shipping values again, and fix the parsing to detect it.

Fix the broken detection of underbidded auctions. (Bid $4.01 for an item that has $4.0 as its current high bid, and you’re bidding under the minimum bid requirement. JBidwatcher doesn’t recognize the error that comes back for that, unfortunately.)

It should be impossible to drag and drop auctions to the ‘Completed’ tab, they should auto-redirect to ‘current’.

Completed items should be movable to other tabs, and be ‘sticky’ when they get there. (I.e. not move back to ‘completed’.).

Auto-save searches regularly, like I do for Auctions, so as to not lose new searches if JBidwatcher crashes due to a JVM or other error.


My one big new feature I’m working on right now is ‘print tab’.

A few cleanups to various displays, and a simply VAST amount of code cleanup has been done over the last few days.

— Morgan Schweers, CyberFOX!