Re: [dbcp] connection error while querying to db after being 7+ hours idle.

2010-07-23 Thread Cyrille
Hi Thomas, I have not worked a lot with mysql, but did you try to set testOnBorrow to true with a validation query such as SELECT 1 ? This will trigger a new validation query before uysing the connection, and will drop the connection if it is not valid. Cyrille Le 22/07/10 23:55, Mark

Re: [dbcp] connection error while querying to db after being 7+ hours idle.

2010-07-23 Thread Dennis Lundberg
On 2010-07-22 23:48, Minhaj wrote: Hi Dennis, Thanks for your reply. Well, some one told me to put the testWhileIdle property true but it's not working for me still same issue; no luck :( Secondly, You must be talking about minEvictableIdleTimeMillis property? Aren't you? No, I don't

[scxml] Query on usage of datamodel

2010-07-23 Thread Prem Chand Majeti
Hi, I'm new to SCXML. I had a query on usage of datamodel and data. E.g.:- data name=foo / 1) Is it possible to set data values from Java program dynamically? 2) Can I declare this data at document level and use it in all the states for further processing? If it is possible, can

Re: [scxml] Query on usage of datamodel

2010-07-23 Thread Rahul Akolkar
On Fri, Jul 23, 2010 at 9:16 AM, Prem Chand Majeti prem.maj...@aricent.com wrote: Hi, I'm new to SCXML. I had a query on usage of datamodel and data. E.g.:- data name=foo / 1)       Is it possible to set data values from Java program dynamically? 2)       Can I declare this data at

Re: [vfs] Does VFS already has support for FTPS (FTP over SSL)?

2010-07-23 Thread J-Pro
Sorry for bothering you guys, but can anyone please answer my question? It's very important for me, I'm afraid of that you'll forget about this question. Thank you very much in advance! J-Pro wrote: Hello, dear VFS developers! I was wondering if Apache Commons VFS library supports FTPS and

RE: [daemon]UnsatisfiedLinkError: net exception thown through JSVC but not when natively called

2010-07-23 Thread Martin Gainty
sometimes when programmers strip their debug code they also strip working code so the rule is debug library always work..a programmer could'nt declare working code without a debug library production library (without the debug statements) usually work..if not fall back to debug library

Re: [validator] download 1.4 version ?

2010-07-23 Thread Henri Yandell
Correct, it's not been released so you need to download the source from svn and build. I've built a snapshot version of the latest source code for you in case that's a pain in the arse :) http://people.apache.org/~bayard/commons-validator-1.4-SNAPSHOT-bin.zip Feedback is very much

Re: [SANSELAN] Distributing Applications That Use Sanselan

2010-07-23 Thread Henri Yandell
Embedding the classes from one jar in another tends to lead to jar hell; namely people wondering why putting a later version of sanselan in their classpath isn't working. If you're a user end application then you can get away with it. Legally; follow the license. For me that means including the

Re: [dbcp] query timeout?

2010-07-23 Thread Ricardo Duval
Hi, Why don't you set the max timeout per query on your transaction manager, they usually have a timeout property? 2010/7/22 Paul Libbrecht p...@activemath.org Hello list, could there be a way for me to set a DBCP configuration stopping a query if it takes too long? Ideally, this should be

Re: [dbcp] query timeout?

2010-07-23 Thread Minhaj
Hi Paul, I think you should experiment to set the values of maxWait property or removeAbandoned/removeAbandonedTimeout properties. here you can check complete list to parameters http://commons.apache.org/dbcp/configuration.html Regards Minhaj On Fri, Jul 23, 2010 at 2:42 AM, Paul Libbrecht

[scxml] send and param children

2010-07-23 Thread Fabrizio Morbini
Hi, is the param child of the send element supported? i added the following in the onentry of a node but got no parser debug messages while loading the scxml file and the parameter doesn't seem to be added to the params argument of the dispatcher's send method (though the event is sent

RE: [daemon]UnsatisfiedLinkError: net exception thown through JSVC but not when natively called

2010-07-23 Thread Jason.C.Burns
Sorry Martin, still at a loss. I don't get the reference as to how stripping debug code from libraries applies here (I understand what you're saying and agree with it, I just don't see how it is relevant here). I have an application that ran fine under IBM JRE 5 and jsvc 1.0.1 and 1.0.2. I