Re: Need doc for "Apache Tomcat Native"

2011-08-11 Thread Guy Rouillier
On 8/11/2011 11:30 AM, Emi Lu wrote: http://tomcat.apache.org/native-doc/ this doc does not say too much about what "Apache Tomcat Native" is , and it can provide what feature. I need to know is it a web server? a what? The website only provides how to install it, how to run it. But I want to k

[MATH] Holt Winters?

2011-08-11 Thread Ashwin Jayaprakash
Are there any plans to add Holt-Winters to Commons Math? There is a simple implementation here - http://n-chandra.blogspot.com/2011/04/holt-winters-triple-exponential.html Thanks, Ashwin.

Re: [dbcp] pool exhuasted

2011-08-11 Thread Phil Steitz
On 8/11/11 4:00 PM, Ji, Jason wrote: > Hi Guys, > I see this exceptions in our production : > > > Caused by: java.sql.SQLException: Cannot get a connection, pool error: Pool > exhausted > at > org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:188) > at java.sql.Driv

[dbcp] pool exhuasted

2011-08-11 Thread Ji, Jason
Hi Guys, I see this exceptions in our production : Caused by: java.sql.SQLException: Cannot get a connection, pool error: Pool exhausted at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:188) at java.sql.DriverManager.getConnection(DriverManager.java:582)

Re: [MATH]: question about HypergeometricDistributionImpl class

2011-08-11 Thread Phil Steitz
On 8/11/11 3:21 PM, Marzieh Ayati wrote: > HypergeometricDistributionImpl u = new > HypergeometricDistributionImpl(14761461, 1035 ,1841 ); > System.out.println(u.upperCumulativeProbability(0)); Thanks for reporting this. The value reported should obviously be exactly 1. Due to limited pr

Re: [MATH]: question about HypergeometricDistributionImpl class

2011-08-11 Thread Marzieh Ayati
Thanks for your reply. here is the code and sample of number that the result is greater than 1: import org.apache.commons.math.distribution.HypergeometricDistributionImpl; public class Main { public static void main(String[] args) { HypergeometricDistributionImpl u = new Hypergeome

Re: [MATH]: question about HypergeometricDistributionImpl class

2011-08-11 Thread Gilles Sadowski
Hello. > I am using the commons-Math library. I have used the > HypergeometricDistributionImpl. I used upperCumulativeProbability method. I > have got some probability greater that 1 which is impossible. > I would appreciate if you can help me to know why it happens. > > Thanks, in advance, for y

Re: [jdk compatibility]Using commons libraries on java 6

2011-08-11 Thread Henri Yandell
Simple answer: They're probably fine. JDBC is the only item that usually causes trouble. To be more sure, go to SVN and check out the source code for each. Then build it under JDK 6. Upgrading to the latest versions of these would also be useful. Although we may release a component by using a spe

Re: [lang] java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils Exception

2011-08-11 Thread Henri Yandell
We should update the article to cover that. Or make a FAQ item :) Hen On Thu, Aug 11, 2011 at 7:31 AM, Gary Gregory wrote: > 3.x is not a drop-in replacement for 2.x. So it only makes sense to ADD 3.x > if you are coding to the 3.x API. > > Gary > > -Original Message- > From: Christian

Re: File reload for in CombinedConfiguration

2011-08-11 Thread Jon Smith
Thanks Oliver. CONFIGURATION-460 is now created. J On Wednesday, August 10, 2011, Oliver Heger wrote: > Am 11.08.2011 02:23, schrieb Jon Smith: >> >> Hi, >> >> File reload doesn't seem to be working for files inside tag >> using DefaultConfigurationBuilder. Reload works fine for files inside >

[MATH]: question about HypergeometricDistributionImpl class

2011-08-11 Thread Marzieh Ayati
Hi, I am using the commons-Math library. I have used the HypergeometricDistributionImpl. I used upperCumulativeProbability method. I have got some probability greater that 1 which is impossible. I would appreciate if you can help me to know why it happens. Thanks, in advance, for your kind help.

Re: Need doc for "Apache Tomcat Native"

2011-08-11 Thread Christian Grobmeier
> I need to know is it a web server? a what? The website only provides how to > install it, how to run it. But I want to know is what is it? It's totally > new to me. You need to ask there: http://tomcat.apache.org/lists.html It is a Native Windows and Unix wrapper for platform integration -

Re: Need doc for "Apache Tomcat Native"

2011-08-11 Thread Emi Lu
On 08/11/2011 11:19 AM, Andriy Kharchuk wrote: Please check http://lmgtfy.com/?q=Apache+Tomcat+Native On Thu, Aug 11, 2011 at 9:50 AM, Emi Lu wrote: http://tomcat.apache.org/native-doc/ this doc does not say too much about what "Apache Tomcat Native" is , and it can provide what feature.

Re: Need doc for "Apache Tomcat Native"

2011-08-11 Thread Andriy Kharchuk
Please check http://lmgtfy.com/?q=Apache+Tomcat+Native On Thu, Aug 11, 2011 at 9:50 AM, Emi Lu wrote: > Hello, > > Can someone tell me what "Apache Tomcat Native" is please? > > Could you provide some online docs about what "Apache Tomcat Native" is? > > thanks a lot! > Emi > > -

Re: Need doc for "Apache Tomcat Native"

2011-08-11 Thread sebb
On 11 August 2011 14:50, Emi Lu wrote: > Hello, > > Can someone tell me what "Apache Tomcat Native" is please? > > Could you provide some online docs about what "Apache Tomcat Native" is? This is off-topic for the Commons User list. Try starting at http://tomcat.apache.org/native-doc/

RE: [lang] java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils Exception

2011-08-11 Thread Gary Gregory
3.x is not a drop-in replacement for 2.x. So it only makes sense to ADD 3.x if you are coding to the 3.x API. Gary -Original Message- From: Christian Grobmeier [mailto:grobme...@gmail.com] Sent: Thursday, August 11, 2011 10:28 AM To: Commons Users List; em...@encs.concordia.ca Subject:

Re: [lang] java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils Exception

2011-08-11 Thread Christian Grobmeier
Emi, I think you need both lang jars in your classpath Cheers Christian On Thu, Aug 11, 2011 at 4:25 PM, Emi Lu wrote: > Hi Gary, > >> https://commons.apache.org/lang/article3_0.html > > It clearly shows lang -> lang3. > > But could you tell me which jar cause the dependence exception please? I

Re: [lang] java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils Exception

2011-08-11 Thread Emi Lu
Hi Gary, https://commons.apache.org/lang/article3_0.html It clearly shows lang -> lang3. But could you tell me which jar cause the dependence exception please? Is it "org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)"? Or struts2, or xwork?

RE: [lang] java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils Exception

2011-08-11 Thread Gary Gregory
Please see https://commons.apache.org/lang/article3_0.html Gary -Original Message- From: Emi Lu [mailto:em...@encs.concordia.ca] Sent: Thursday, August 11, 2011 9:47 AM To: user@commons.apache.org Subject: [lang] java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils Except

Need doc for "Apache Tomcat Native"

2011-08-11 Thread Emi Lu
Hello, Can someone tell me what "Apache Tomcat Native" is please? Could you provide some online docs about what "Apache Tomcat Native" is? thanks a lot! Emi - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For add

[lang] java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils Exception

2011-08-11 Thread Emi Lu
Good morning, After I downloaded commons-lang.3.0.1, I got the following exceptions: java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:198) at org.apache.struts2.conf

[dbcp] PoolingDataSource setup problem

2011-08-11 Thread Andrea Sodomaco
Hi, I tried to follow this example http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/doc/PoolingDataSourceExample.java?view=markup but at lines 148/149 148 PoolableConnectionFactory poolableConnectionFactory = 149 new PoolableConnectionFactory(connectionFactory); it fails because,

Re: [Configuration] ConfigurationException

2011-08-11 Thread Antonio Rodriges
Thank you, Oliver! - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org