[Daemon] jsvc.exec error: Cannot register native methods

2010-09-01 Thread David Parks
Anyone have a clue what this means? I just built jsvc on a fedora 12 linux box (built from the most recent "commons-daemon-1.0.3-src.tar.gz" source). I'm launching tomcat under it: /usr/local/tomcat/bin/jsvc \ -jvm server \ -user tomcat \ -home $JAVA_HOME \ -outfil

[Email] How to extend Email.send()

2010-08-23 Thread David Parks
I'd like to extend the send() method of class Email (to enable some throttling & custom error check + retry functionality) I'd love to just extend this and make it all seamless. It looks like there's this createMimeMessage() designed to allow something like this. But I'm not wrapping my bra

RE: [Email] Email send hangs thread indefinitely on intermittent failure

2010-08-21 Thread David Parks
nto the email session for (javax.mail) while the two others are set directly on Email - see http://java.sun.com/products/javamail/javadocs/com/sun/mail/smtp/package-sum mary.html Cheers, Siegfried Goeschl PS: Agreed on the fact the you should not hang indefinitely with a default configuration On 21

RE: [Email] Email send hangs thread indefinitely on intermittent failure

2010-08-21 Thread David Parks
with a default configuration On 21.08.10 05:23, David Parks wrote: > I set up a simple test to send 50 emails through google app's SMTP server > with a short delay between them (just testing to see what I'm allowed to > do). > > I set this up by opening 50 threads and p

[Email] Email send hangs thread indefinitely on intermittent failure

2010-08-20 Thread David Parks
I set up a simple test to send 50 emails through google app's SMTP server with a short delay between them (just testing to see what I'm allowed to do). I set this up by opening 50 threads and pausing at different intervals for each thread. I notice that I sometimes end up with a thread that hangs

[dbcp] New user: what is the state of Statement pooling

2010-06-07 Thread David Parks
Hi I'm new, both to this list and DB pooling (I'm a developer that can readily hack together some SQL, but not qualified at optimizing it). I am building an app that will execute a Statement or Call thousands times per minute, but only one Statement/Call per time the connection is borrowed from