Just installed earlier this morning, about 10 add-ons failed to update. Most of them actually worked after disabling the compatibility check (using the awesome...
Question for the Swing gurus- I would like to enable Excel-like filtering on a JTable by adding a JComboBox in the TableHeader. I can't seem to find any way to...
looks like some plumbing required to get it to work: http://www.coderanch.com/t/339979/Swing-AWT-SWT-JFace/java/Adding-JComboBox-JTable-header -Brendan...
Brendan Humphreys
brendan.humphreys@...
Jul 6, 2009 6:56 am
59996
Thanks Brendan but that doesn't quite do it. That one displays a popup when you click a colmn header - it doesn't actually render it above the column Regards...
right you are - a bit quick on the send button there :-) How about this one; old, but worked for me. Even more scary plumbing: ...
Brendan Humphreys
brendan.humphreys@...
Jul 6, 2009 11:25 am
59998
I am in need of some advice regarding daemon processes in Java. I am using the term daemon to mean any server process that generally runs "forever" and sleeps...
I saw that one too and it works but I need to study it to see what is going on - no comments in the code :( On Jul 6, 2009, at 7:24 AM, Brendan Humphreys...
I am using an auto start servlet to spawn the thread (or the original Timer). More than anything, I am trying to ensure that I am not missing something ...
I wonder if the author of this story (http://www.slate.com/id/2222096) read this thread. He also points to Box Office Mojo. Steven On Tue, Jun 30, 2009 at...
... I'm pretty sure the JEE spec disallows servlets from spawning either threads or processes; yes, many of the containers quietly look the other way if you do...
Eric Thanks for the info, it is very interesting. Regarding the JEE spec info, I have been thinking that I may need to go in a different direction due to my...
... If you're considering a diff. direction, maybe you can just use standard unix-isms for this. e.g., crontab, /etc/rc.d/init script, add an entry to...
I'm doing long running threads inside a resin server without any problem. The application renders realtime graphics on TV. So it has to be rather stable and...
I have several threads I start on startup using JMX. It seems to work very effectively. One is a mail queue that processes at intervals and never seems to fail...
I had considered Quartz at one point, but decided against it. That was probably a year ago, and now I have no idea why I went against it. I will have to...
Geert, The stopping without any notice is what is bugging me the most. I have a ton of debug logging now, and I still can't see any issues. Rob Diana On Mon,...
What did you try exactly? Just starting a Thread and have a while(true) in the run method? correctly catching exceptions? especially InterruptedException Heinz...
OH yeah! I can't remember the exact reason but some errors are instances of Throwable instead of Exception. In those cases, your try catch will get zero ...
OutOfMemory comes to mind. Also, in a servlet environment, you might get OutofMemory when the permgen space fills up. That might happen (at least this is how I...
Catching Throwable is dangerous. Use this only if you are going to report the errors then exit. You don't want an OutOfMemoryError to get caught then go...
I would have thought I would see a stack trace for OutOfMemory, as that is something I thought could be happening. I will try that later and see what happens. ...
... My guess is that because servlet containers shouldn't allow you start your own threads, Tomcat is letting you fudge thinking you are just doing a little...
To answer both of your points, I will be catching, logging and likely rethrowing the error or just exiting. What you say regarding the thread stuff makes sense...
... ???? I haven't checked the specs, but if the servlet engine doesn't allow me to start threads, I wouldn't like that at all. I don't think that's the task...