Phil Steitz | 31 Dec 15:52 2014
Picon

[ANNOUNCEMENT] Apache Commons Pool 2.3 released

The Apache Commons Team is pleased to announce the release of Apache
Commons Pool 2.3.

The Apache Commons Pool open source software library provides an
object-pooling API and a number of object pool implementations.

No client code changes are required to migrate from any of the 2.x
versions to 2.3. Users of version 1.x should consult the migration
guide on the Commons Pool web site.

Source and binary distributions are available for download from the
Apache Commons download site:
http://commons.apache.org/proper/commons-pool/download_pool.cgi

When downloading, please verify signatures using the KEYS file
available at the above location.

Full details of all the changes in 2.3 can be found in the changelog:
http://commons.apache.org/proper/commons-pool/changes-report.html

For complete information on Commons Pool, including instructions on
how to submit bug reports, patches, or suggestions for improvement,
see the Apache Commons Pool website:
http://commons.apache.org/proper/commons-pool/

Phil Steitz, on behalf of the Apache Commons community
Luc Maisonobe | 28 Dec 17:06 2014

[ANNOUNCEMENT] Apache Commons Math 3.4 Released

The Apache Commons Team is pleased to announce the availability of
Apache Commons Math 3.4.

Apache Commons Math is a library of lightweight, self-contained
mathematics and statistics components addressing the most common
problems not available in the Java programming language or Commons Lang.

Version 3.4 is a minor release: It combines bug fixes and new features.
Changes to existing features were made in a backwards-compatible way
such as to allow drop-in replacement of the v3.3 JAR file. Most notable
among the new features are: new distributions (Gumbel, Laplace,
Logistic, Nakagami), and improvements on percentiles algorithms (better
handling for NaNs in the regular algorithm, plus a new storeless
implementation). Bicubic and tricubic interpolators have been fixed and
new implementations added. There have been numerous bug fixes and
several improvements on performances or robustness. The minimum version
of the Java platform required to compile and use Apache Commons Math is
Java 5. Users are encouraged to upgrade to this version as this release
not only includes bug fixes but also deprecates numerous classes and
methods that will be deleted from the next major release (4.0).

A full list of all changes can be found in the release notes at
  http://www.apache.org/dist/commons/math/RELEASE-NOTES.txt

Source and binary distributions are available for download from the
Apache Commons download site:

http://commons.apache.org/proper/commons-math/download_math.cgi

When downloading, please verify signatures using the KEYS file available
(Continue reading)

R.C. Hoekstra | 27 Dec 12:32 2014
Picon

[scxml] xsd schema

Hi list, 

We have fairly complex scxml files and would like to validate them against a schema. I know there are the
schema files from w3c, but the scxml files do not validate by those. 

The problem is we are using the state src attribute, which is not in that schema (but which can easily be
added). However, validation still fails because with multiple files you can refer to state id's which
exist in the other files referenced via src. 

I was wondering if anyone has an adapted scxml schema for this. 

best regards, Rinke
Arbi Akhina | 24 Dec 11:29 2014
Picon

[vfs] How to properly clear VFS Ram filesystem

Hi, I'm using VFS2 to construct an in-memory filesystem (uring the ram scheme)
for tests. After each test I've to clean up (destroy all created files and
folders), I'm using the following command:

VFS.getManager().getFilesCache().close();

However this doesn't seem to clear everything! what's the proper way to do
it?

question on stackoverflow
<http://stackoverflow.com/questions/27619994/how-to-properly-clear-vfs-ram-filesystem>
Harshit Dwivedi | 23 Dec 03:07 2014

[Math] Cannot download 3.4

Hi,

I am unable to download Apache Commons Math 3.4 from any of the mirrors. Can you suggest when the latest jar
will be available?

Best,
Harshit Dwivedi
________________________________
Disclaimer:

The information contained in this communication is intended solely for the use of the individual or entity
to whom it is addressed and others authorized to receive it. This e-mail message may contain
confidential, proprietary or legally privileged information. It should not be used by anyone who is not
the original intended recipient. The recipient acknowledges that Mirae Asset or its subsidiaries and
associated companies, (collectively "Mirae Asset Group"), are unable to exercise control or ensure or
guarantee the integrity of/over the contents of the information contained in e-mail transmissions and
further acknowledges that any views expressed in this message are those of the individual sender and no
binding nature of the message shall be implied or assumed unless the sender does so expressly with due
authority of Mirae Asset Group. If you are not the intended recipient you are hereby notified that any
disclosure, copying, distribution or taking any action in reliance on the contents of this information
is strictly prohibited and may be unlawful. If you have received this communication in error, please
notify us immediately by responding to this email and then delete it from your system. Mirae Asset is
neither liable for the proper and complete transmission of the information contained in this
communication nor for any delay in its receipt. Nothing in the message is capable or intended to create any
legally binding obligations on either party. The information contained in this communication does not
constitute a representation that any investment strategy is suitable or appropriate for an investor's
individual circumstances. Further, this communication should not be regarded by investors as a
substitute for independent professional advice or the exercise of their own judgment. The information
contained in this document is for information purposes only and does not constitute any recommendation,
offer or solicitation to buy, sell or subscribe to any securities or financial instruments in any
(Continue reading)

Oliver Heger | 20 Dec 18:30 2014
Picon

[ANNOUNCEMENT] Commons Configuration 2.0-alpha2 Released

The Apache Commons Team is pleased to announce the availability of
Apache Commons Configuration 2.0-alpha2.

The Commons Configuration software library provides a generic
configuration interface which enables an application to read
configuration data from a variety of sources.

This is the second alpha release for version 2.0 of Commons
Configuration containing some more API fine-tuning.

Version 2 is a major redesign of the Configuration API.
It breaks compatibility in many areas and, therefore, is not a drop-in
replacement for Commons Configuration 1.x. The main purpose of this
series of alpha releases is to gather feedback from the community about
the reworked API. IT IS NOT YET PRODUCTION READY. There may still be
some changes on the public API.

A full list of all changes can be found in the release notes at
  http://www.apache.org/dist/commons/configuration/RELEASE-NOTES.txt

There is also an upgrade guide available for users of version 1.x at
  http://commons.apache.org/configuration/userguide/upgradeto2_0.html

Source and binary distributions are available for download from the
Apache Commons download site:

http://commons.apache.org/proper/commons-configuration/download_configuration.cgi

When downloading, please verify signatures using the KEYS file available
at the above location when downloading the release. (Note: Because this
(Continue reading)

Pier-Luc Caron St-Pierre | 19 Dec 23:21 2014
Picon

Commons Validator 1.4.1

Hello,

There is a bug in 1.4.0 that is fixed in 1.4.1 that affecting my software.

What does it need to be done to move the release forward?

Thank you.

--

-- 
Cordialement,
Pier-Luc
Alex Licota | 17 Dec 00:05 2014
Picon

OGNL expression offset

Hi there,
I'm sorry if it's a dumb question but I'm having a really hard time figuring out what I'm doing wrong here.

I'm using OGNL 3.0.6 in a struts2 project and I get a constant offset in the value that I should get from the
ognl expression.

One of my .jsp is iterating over a List(questions) of objects(question) to print radio buttons. When I
submit a selected radio button, it maps either 1, 2 or 3 with the key question.id

<s:iterator value="questions" var="question" status="rowstatus">
	<p><s:property value="id" /></p>
	<p>
		<s:radio name="test['%{id}']" list="#{'1':''}" />
		<s:radio name="test['%{id}']" list="#{'2':''}" />
		<s:radio name="test['%{id}']" list="#{'3':''}" />
	</p>
</s:iterator>

Everything works except that the id I get from the OGNL EL is offset by 48 everytime... (e.g if the tag
<s:property value="id" /> shows 5, I get 53 in my map key).

If someone could help me I would be really grateful.

Thanks :)
Clebert Suconic | 15 Dec 19:44 2014
Picon

BeanUtilsBean thread safe? Why wouldn't you make Fluent default?

Hello There..

I'm going to use BeanUtils on ActiveMQ6 to solve properties on my URL parsing:

I'm setting the BeanUtils instance static on a class.

and I'm going to eventually use it for setting things on my factory:

https://gist.github.com/clebertsuconic/be31b2789e7271db002b

This is a link to my branch:
https://github.com/clebertsuconic/activemq-6/blob/master-uri/activemq-commons/src/main/java/org/apache/activemq/utils/uri/URISchema.java

However that's a transient branch, and that's why I added a gist here.

So, is BeanUtilsBean thread safe? Do I need the synchronized around
the class? I tried to read the code and I believed it wouldn't be safe
to do it in multi-thread. (That's probably why you guys use a
ThreadLocal).  The usage here will be very minimal (at my startup time
only), so I didn't really mind having the synchronized...   but I
wanted to double check for correctness..

also: Why won't you make the FluentIntrospector default on the default
BeanUtils? it's not 2005 any more :)

Anyways: I have worked with you guys before here... long time ago:
https://issues.apache.org/jira/browse/BEANUTILS-291

It was fun seeing something I did (my collaboration with Niall) almost
10 years ago still in place at the current master :)
(Continue reading)

Alfonso Mateos | 15 Dec 13:12 2014
Picon

[beanutils] recursive populate does not instantiate nested properties from Map to my bean

Hi guys,

I can execute the following code:

I've got the following bean:

        RecruitingPersonDto rPersonDto = new RecruitingPersonDto();

        rPersonDto.setProcessInstanceId("pid-000-1");

        TgssPersonDtoAudited tgssPersonDtoAudited = new
TgssPersonDtoAudited();

        tgssPersonDtoAudited.setId("27");

        tgssPersonDtoAudited.setBirthday(new LocalDate(2014, 12, 31));

        rPersonDto.setTgssPersonDtoAudited(tgssPersonDtoAudited);

Then I get a Map from my bean, this is done without a glitch:

        LocalDateConverter converter = new LocalDateConverter("yyyy-MM-dd");

        ConvertUtils.register(converter, LocalDate.class);

Then I try to recover its contents to another bean:

        RecruitingPersonDto rPersonDto2 = new RecruitingPersonDto();

        rPersonDto2.setTgssPersonDtoAudited(new TgssPersonDtoAudited());
(Continue reading)

vaithal | 15 Dec 05:40 2014
Picon

Service could not be stopped in OpenJdk

Hi Friends,

We have converted java applications into windows services using
"procrun.exe". When we were using Oracle's Java, "net stop <serviceName>"
was working fine without any issues. Recently we switched to OpenJDK. Since
then, it fails with error message "could not be stopped" soon after 10sec.
But, it takes another 20sec to actually stop the service. It is not waiting
for value specified for "--StopTimeout" parameter. Do you know whether have
you come across this issue and how to fix it?

thanks,
Veena.

--
View this message in context: http://apache-commons.680414.n4.nabble.com/Service-could-not-be-stopped-in-OpenJdk-tp4669639.html
Sent from the Commons - User mailing list archive at Nabble.com.

Gmane