Re: [jexl] Unexpected Integer - Byte conversion

2012-07-05 Thread henrib
Hi Tomas, Your previous issue (JEXL-135) has been solved in the trunk (2.1.2 and 3.0). Not sure about this one, I can't reproduce it on the trunk using the following test: {code} public void test135() throws Exception { JexlEngine jexl = new JexlEngine(); JexlContext jc = new

Re: Question regarding scxmlgui tool

2012-07-05 Thread Rahul Akolkar
On Wed, Jun 20, 2012 at 4:22 AM, Nir Shemesh nirshe...@gmail.com wrote: Hi Apache Users, I need your help regarding my question below snip/ See inline below. Many thanks Nir -- Forwarded message -- From: Fabrizio Morbini fmorb...@gmail.com Date: Tue, Jun 19, 2012 at

[dbcp]

2012-07-05 Thread Witte de, Daniel
Hi List, We are having an issue using commons dbcp to connect to databases worldwide from our ESB. We have one in Genua, Italy which has an unstable connection, at times when we try to insert records in that database our local linux server starts tcp re-transmitting messages because the

Re: [jxpath] - Error trying to query boolean values

2012-07-05 Thread Matt Benson
On Tue, Jul 3, 2012 at 8:58 PM, Lucas Reginato lucas.regin...@gmail.com wrote: I will try to make this change (from is method to get method) tomorrow and will send the results. But imagine the scenario: you have a product (which was already shipped to customers) that has an API. And your

[math]

2012-07-05 Thread Italo Maia
Thanks Giles! I was looking in the wrong place. Any suggestions on examples for these classes (a math function example would be very nice)? I've found this link (very helpful) but I don't know what to code in the gradient method. In ParametricUnivariateFunction.value I just returned my

Re: [math]

2012-07-05 Thread Gilles Sadowski
Hi. Thanks Giles! I was looking in the wrong place. Any suggestions on examples for these classes (a math function example would be very nice)? I've found this link (very helpful) but I don't know what to code in the gradient method. In ParametricUnivariateFunction.value I just returned

RE: [math]

2012-07-05 Thread Italo Maia
Some context below: Did you have a look at the classes in the package org.apache.commons.math3.optimization ? No, I did not. Let's see... Which function? This little devil: http://dpaste.com/hold/767050/ public static double fnc(double t, double a, double b, double c){ return

[exec] Portability of Different Approaches across Windows and OpenVMS

2012-07-05 Thread Jordan Grant
I have written two implementations using commons-exec that are functionally the same in Windows, but our production environment is in OpenVMS. I am curious as to whether one approach or the other is preferred for portability. I noticed that the CommandLauncherFactory is capable of producing a

Re: [jxpath] - Error trying to query boolean values

2012-07-05 Thread Lucas Reginato
I tried your suggestion without success. :( Using the xPath myschema.MyEntity.new() returns a new object. Cool. But using the xPath myschema.MyEntity.getName() I got the following exception: *org.apache.commons.jxpath.JXPathInvalidAccessException: Cannot invoke public java.lang.String

Re: [jxpath] - Error trying to query boolean values

2012-07-05 Thread Matt Benson
On Thu, Jul 5, 2012 at 2:25 PM, Lucas Reginato lucas.regin...@yoppa.com wrote: I tried your suggestion without success. :( Using the xPath myschema.MyEntity.new() returns a new object. Cool. But using the xPath myschema.MyEntity.getName() I got the following exception:

[exec] Portability of Different Approaches across Windows and OpenVMS

2012-07-05 Thread Jordan Grant
I have written two implementations using commons-exec that are functionally the same in Windows, but our production environment is in OpenVMS. I am curious as to whether one approach or the other is preferred for portability. I noticed that the CommandLauncherFactory is capable of producing a

Re: [math]

2012-07-05 Thread Gilles Sadowski
On Thu, Jul 05, 2012 at 06:16:11PM +, Italo Maia wrote: Some context below: Did you have a look at the classes in the package org.apache.commons.math3.optimization ? No, I did not. Let's see... Which function? This little devil: http://dpaste.com/hold/767050/ public

RE: [math]

2012-07-05 Thread Italo Maia
No juice. Hell! The initial function I'm trying to fit is: f(t, a, b, c) = a * t^b * exp(t*-c) I had the log of it to make it linear: f(t, a, b, c) = log(a) + b*log(t) - c*t I was using the log to do the fitting in python with scipy. With CurveFitter should I do the same? Date: Thu, 5

Re: [jxpath] - Error trying to query boolean values

2012-07-05 Thread Matt Benson
On Thu, Jul 5, 2012 at 2:25 PM, Lucas Reginato lucas.regin...@yoppa.com wrote: I tried your suggestion without success. :( Using the xPath myschema.MyEntity.new() returns a new object. Cool. But using the xPath myschema.MyEntity.getName() I got the following Okay, I see you're saying you're

Re: [math]

2012-07-05 Thread Gilles Sadowski
On Thu, Jul 05, 2012 at 08:35:28PM +, Italo Maia wrote: No juice. Hell! The initial function I'm trying to fit is: f(t, a, b, c) = a * t^b * exp(t*-c) I had the log of it to make it linear: f(t, a, b, c) = log(a) + b*log(t) - c*t I was using the log to do the fitting in python

RE: [math]

2012-07-05 Thread Italo Maia
Here you go: http://pastebin.com/UR0GV7ST Unfortunatly I can't provide the matrix data. : / Date: Thu, 5 Jul 2012 23:06:18 +0200 From: gil...@harfang.homelinux.org To: user@commons.apache.org Subject: Re: [math] On Thu, Jul 05, 2012 at 08:35:28PM +, Italo Maia wrote: No juice.

RE: [math]

2012-07-05 Thread Italo Maia
Whoops! Where you read new double[n][n] is actually new double[n][2] From: italom...@hotmail.com To: user@commons.apache.org Subject: RE: [math] Date: Thu, 5 Jul 2012 21:19:17 + Here you go: http://pastebin.com/UR0GV7ST Unfortunatly I can't provide the matrix data. : /

[ANNOUNCEMENT] Apache Commons IO 2.4 released

2012-07-05 Thread Gary Gregory
The Commons IO team is pleased to announce the Commons IO 2.4 release! Commons IO is a package of Java utility classes like java.io. Classes in this package are considered to be so standard and of such high reuse as to justify existence in java.io. The Commons IO library contains utility