Dmitry Goldenberg | 15 May 19:50 2016
Picon

commons vfs next release - ?

Hi,

Apologies if this is posted somewhere already. What is the current roadmap
for the release of commons vfs2 version 2.1?  Is there a specific target
date when it'll become available on Maven Central?

Is the HDFS provider in a completed state? It appears that the write to
HDFS capability is there. Just curious if this is complete.

Thanks.
Mansour Al Akeel | 14 May 15:19 2016
Picon

[SCXML] How to obtain a collection of valid events

Hello all,

Based on my understanding, a state machine provides feedback about the
input. If the token is not recognized, it should report this.

I am prototyping in SCXML, and trying to find a way to find if the
supplied event/token is recognized or not. I am unable to find a way
to tell. May be someone else had luck with this, and can share the way
with me.

So my question is, I am working in an AbstractStateMachine, and I have
an instance of SCXMLExcutor obtained from getEngine(). How can I find
the valid inputs ??

Thank you
Victor Rodriguez | 12 May 23:42 2016

[net] FTPClient retrieveFile doesn't finish

?Hi!

I'm having an issue where sometimes FTPClient.retrieveFile doesn't finish and it doesn't timeout either.

ftpClient.enterLocalPassiveMode();
ftpClient.setControlKeepAliveTimeout(60);
ftpClient.setControlKeepAliveReplyTimeout(60000);
ftpClient.setDataTimeout(60000);
ftpClient.setBufferSize(8256000);
ftpClient.setReceiveBufferSize(8256000);
ftpClient.setReceieveDataSocketBufferSize(8256000);

The BufferedOutputStream I'm using is defined as follows...

outputStream = new BufferedOutputStream(new FileOutputStream(localFile), 8256000);

What I'm doing is connecting, logging in, transferring a bunch of files one at a time, logging out,
disconnecting.  Is there any way I can prevent retrieveFile from hanging or make it so that retrieveFile
times out after a while so that I can try again?  If there is no configurable timeout, what strategies are
people using to interrupt the call to retrieveFile and try again?

Thoughts?

Thanks!

Victor

This electronic communication and any attachments may contain confidential and proprietary
information of DigitalGlobe, Inc. If you are not the intended recipient, or an agent or employee
responsible for delivering this communication to the intended recipient, or if you have received this
(Continue reading)

ruchi ahuja | 12 May 12:00 2016
Picon

[POOL] Common pool eviction thread not working

I am using apache commons pool 2 for object pooling.

The commons pool eviction thread is invoking the destroy method in test
environment. However I don't see it getting called in production.

How do I find the reason why it's not getting called?
ruchi ahuja | 12 May 11:33 2016
Picon

[POOL] Common pool eviction thread not working

I am using apache commons pool 2 for object pooling.

The commons pool eviction thread is invoking the destroy method in test
environment. However I don't see it getting called in production.

How do I find the reason why it's not getting called?
sebb | 11 May 16:32 2016
Picon

[NET] was: [FTP] No disconnected event? Should poll periodically?

I assume you are referring to Commons NET here.

You should probably use isAvailable() instead as that performs more checks.

However as the method Javadoc says, the only sure way to check if the
connection is still available is to use it.

Commons NET does not provide idle connection checking and so there is
no event for it.

You will need to implement your own checks, e.g. using sendNoOp()
every so often.
Care must be taken to ensure that you only send such probes when the
connnection is not being used otherwise you might interfere with other
commands.

Note that Commons NET is only intended to provide basic access to
Internet protocols.
For example it is not intended to replace a full FTP Client, merely to
provide some building blocks.

On 11 May 2016 at 15:09, Mailing User <mailinglist <at> mail.com> wrote:
> I think the connection to a FTP server can be lost. Reasons can be, network disconnection or client idling.
>
> If that happens, can I be notified of the disconnection? I cannot find any "event" for that. Should I keep
polling the state by periodically calling "isConnected()"?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe <at> commons.apache.org
> For additional commands, e-mail: user-help <at> commons.apache.org
(Continue reading)

Mailing User | 11 May 16:09 2016
Picon

[FTP] No disconnected event? Should poll periodically?

I think the connection to a FTP server can be lost. Reasons can be, network disconnection or client idling. 
 
If that happens, can I be notified of the disconnection? I cannot find any "event" for that. Should I keep
polling the state by periodically calling "isConnected()"?
Benedikt Ritter | 9 May 21:53 2016
Picon
Gravatar

[ANNOUNCE] Apache Commons Crypto component established

The Apache Commons team is pleased to announce the establishment of a new
component: Apache Commons Crypto.

Apache Commons Crypto is a cryptographic library optimized with AES-NI
(Advanced Encryption Standard New Instructions). It provides Java API for
both cipher level and Java stream level. Developers can use it to implement
high performance AES encryption/decryption with the minimum code and
effort. Please note that Apache Commons Crypto doesn't implement the
cryptographic algorithm such as AES directly. It wraps to Openssl or JCE
which implement the algorithms.

The Apache Commons team is currently working on the initial release, which
is expected soon. We invite everybody interested to join the development on
Apache Commons Crypto.

More information can be found on the project website:

http://commons.apache.org/crypto

The source code is available in the Apache Commons Crypto git repository:

https://git-wip-us.apache.org/repos/asf/commons-crypto.git

Have fun!
Benedikt Ritter, on behalf of the Apache Commons Community
Benedikt Ritter | 9 May 20:14 2016
Picon
Gravatar

[ANNOUNCE] Apache Commons CSV 1.3 released

The Apache Commons team is pleased to announce the release of Apache
Commons CSV 1.3.

The Apache Commons CSV library provides a simple interface for reading and
writing
CSV files of various types.

The main changes are:
- Addition of default formats for Informix UNLOAD and UNLOAD CSV
- Possibility for defining a CSVFormat header, using a Java enum
- Support for ignoring trailing delimiter in CSVFormat
- Support trimming leading and trailing blanks in CSVFormat

Details of all changes in 1.3 can be found in the changelog:

http://commons.apache.org/proper/commons-csv/changes-report.html

1.3 is fully binary compatible to the last release. No client code
changes are required to migrate from version 1.2 to 1.3.
The minimum required JDK version for this release is 1.6.

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

http://commons.apache.org/proper/commons-csv/download_csv.cgi

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

http://www.apache.org/dist/commons/KEYS

(Continue reading)

Mansour Al Akeel | 6 May 08:56 2016
Picon

Re: [SCXML] Next states

Thank you Woonsan,
The use case is to report transition failure or invalid path.
Using the listener is good, but it wont be triggered unless the
transition happens.
For example this was written to test commons SCXML 1:

 <at> Override
    public boolean fireEvent(String event) {
        List<Transition> lst = this.getCurrentState().getTransitionsList(event);
        if (lst == null) {
            System.out.println("unknown event: " + event);
            return false;  // this should return true if final only
        }
        State before = this.getCurrentState();
        boolean evnetFired = super.fireEvent(event);

        State after = this.getCurrentState();

        if (after.equals(before)) {

            Status stauts = this.getEngine().getCurrentStatus();

            Set<State> valid = stauts.getStates();

            System.out.println("We are in " + before.getId() + ".
Possible next states: ");

            for (Transition transition : lst) {
                System.out.println(transition.getTarget().getId());
            }
(Continue reading)

sebb | 5 May 18:03 2016
Picon

[ANNOUNCE] Apache Commons NET 3.5 released

The Apache Commons team are pleased to announce the release of
Commons Net version 3.5.

This is a bug fix release. All users are encouraged to upgrade to 3.5.

For details of the fixes and new features please see:

http://www.apache.org/dist/commons/net/RELEASE-NOTES.txt

[These are also included with the binary and source archives]

The changes are also available at:
http://commons.apache.org/net/changes-report.html

Binary and source archives are available from:

http://commons.apache.org/proper/commons-net/download_net.cgi

Please see the Apache Commons Net website for full details:

http://commons.apache.org/net/

The Maven coordinates are:

    <groupId>commons-net</groupId>
    <artifactId>commons-net</artifactId>
    <version>3.5</version>

Gmane