Search the web
Sign In
New User? Sign Up
straight_talking_java · Former JDJ Straight Talking list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 59993 - 60022 of 60595   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
59993
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...
Nils Winkler
nils_winkler
Offline Send Email
Jul 1, 2009
7:40 am
59994
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...
Victor Grazi
vgrazi899
Offline Send Email
Jul 5, 2009
2:34 am
59995
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@...
Send Email
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...
Victor Grazi
vgrazi899
Offline Send Email
Jul 6, 2009
9:25 am
59997
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@...
Send Email
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...
Robert Diana
rob_diana
Online Now Send Email
Jul 6, 2009
11:35 am
59999
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...
Victor Grazi
vgrazi899
Offline Send Email
Jul 6, 2009
12:31 pm
60000
How about an auto start servlet?...
Victor Grazi
vgrazi899
Offline Send Email
Jul 6, 2009
12:34 pm
60001
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 ...
Robert Diana
rob_diana
Online Now Send Email
Jul 6, 2009
12:38 pm
60002
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...
Steven Berkowitz
sjb47
Offline Send Email
Jul 6, 2009
12:48 pm
60003
I guess we are a group of trend setters. Simon Mac Donald Email: simon.macdonald@... Twitter: http://twitter.com/macdonst Blog:...
Simon MacDonald
macdonst
Offline Send Email
Jul 6, 2009
1:28 pm
60004
... 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 Rizzo
asmalltalker
Online Now Send Email
Jul 6, 2009
1:54 pm
60005
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...
Robert Diana
rob_diana
Online Now Send Email
Jul 6, 2009
2:00 pm
60006
... 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...
David Rosenstrauch
darose2
Offline Send Email
Jul 6, 2009
2:03 pm
60007
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...
Geert Van Damme
darlingvandamme
Offline Send Email
Jul 6, 2009
2:09 pm
60008
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...
Mica Cooper
mica.cooper
Online Now Send Email
Jul 6, 2009
2:13 pm
60009
... Quartz. You can use the Quartz library in Java to get crontabism behaviour. scot...
Scot Mcphee
scotartt
Online Now Send Email
Jul 6, 2009
2:34 pm
60010
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...
Robert Diana
rob_diana
Online Now Send Email
Jul 6, 2009
2:42 pm
60011
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,...
Robert Diana
rob_diana
Online Now Send Email
Jul 6, 2009
2:43 pm
60012
What did you try exactly? Just starting a Thread and have a while(true) in the run method? correctly catching exceptions? especially InterruptedException Heinz...
Geert Van Damme
darlingvandamme
Offline Send Email
Jul 6, 2009
2:58 pm
60013
Rob, Your catching with Throwable instead of Exception right? Just checking. Mica ... From: straight_talking_java@yahoogroups.com ...
Mica Cooper
mica.cooper
Online Now Send Email
Jul 6, 2009
4:11 pm
60014
Hmm.....Actually, I am just catching Exception. I thought I looked at that but is there something specific I should be looking for? Rob Diana...
Robert Diana
rob_diana
Online Now Send Email
Jul 6, 2009
4:18 pm
60015
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 ...
Mica Cooper
mica.cooper
Online Now Send Email
Jul 6, 2009
4:23 pm
60016
Throwable though are usually things like OutOfMemoryError and other JVM-related issues that most likely, you can't deal with. scot ... -- ...
Scot Mcphee
scotartt
Online Now Send Email
Jul 6, 2009
4:31 pm
60017
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...
Geert Van Damme
darlingvandamme
Offline Send Email
Jul 6, 2009
4:32 pm
60018
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...
Curtis Cooley
TheDarkSavant
Offline Send Email
Jul 6, 2009
4:34 pm
60019
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. ...
Robert Diana
rob_diana
Online Now Send Email
Jul 6, 2009
4:34 pm
60020
... 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...
Curtis Cooley
TheDarkSavant
Offline Send Email
Jul 6, 2009
4:39 pm
60021
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...
Robert Diana
rob_diana
Online Now Send Email
Jul 6, 2009
4:46 pm
60022
... ???? 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...
Geert Van Damme
darlingvandamme
Offline Send Email
Jul 6, 2009
5:30 pm
Messages 59993 - 60022 of 60595   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help