Hello Tomas,
did you follow the Userguide example?
http://commons.apache.org/proper/commons-email/userguide.html
Greetings
Bernd
Am Mon, 24 Mar 2014 12:43:16 +0100
schrieb Tomás García Rodríguez toma...@servicioexterno.inditex.com:
Hi,
I am having trouble when creating emails from Java
Hello,
did you try to write actual line endings?
I tested your code and it worked on Windows (cygwin bash) after adding
\n like:
os.write(export MY_VAR=test\n);
os.flush();
os.write(echo myvar:$MY_VAR\n);
Gruss
Bernd
I also think the use of the common-executor makes
Hello,
I can do some preparation work like reviewing the open issue, verifying
the completeness of the changelog, maybe writing some release/upgrade
notes and checking the dependency versions.
I dont feel fit in doing the actual release, maybe you can assist me
with that gary. What else would
Hello,
I think directory content refers to directories which can also be
read as a stream. For example for WebDAV XML properties. FTP has no
such thing.
BTW: I am currently working in getting 2.1 out the door, so it might be
a good time to have a look at the trunk and speak up on showstoppers.
if the page contains a link to [1] for
the capability definitions.
Cheers,
Woonsan
[1]
http://commons.apache.org/proper/commons-vfs/apidocs/org/apache/commons/vfs2/Capability.html
On Thursday, May 1, 2014 9:55 PM, Bernd Eckenfels
e...@zusammenkunft.net wrote:
Hello,
I
Hello,
I think to recall it is related to the getType(), especially is this a
file or a directory.
All core providers besides URL define the capability. URL provider can
only tell 404/200 apart but has no concept of Directories.
Thats why there are no decisions made on the capability, it is
Hallo,
Really no idea, it is not used anywhere. And GET_LAST_MODIFIED is
there since the 1.0 API, so it can not even be explained with
backward compatibility. There is also nothing in JIRA or the Wiki.
I guess I would put a deprecated tag in javadoc and forget about it?
Gruss
Bernd
Am Wed, 14
15:19, Gary Gregory wrote:
I suppose... not sure what the best path is. You pick ;)
Gary
Original message
From: Bernd Eckenfels
Date:05/16/2014 21:42 (GMT-05:00)
To: Schalk Cronjé
Cc: user@commons.apache.org
Subject: Re: [VFS] LAST_MODIFIED vs
I Wonder if we should add the sandbox providers to the normal providers.xml
with a existence condition, so you get it preconfigured as soon as the JAR is
on the classpath.
(i noticed there is some Service discovery plugin stuff in the
StandardfileSystemManager, but I guess this will not pick
Hello,
It hasnt seen much activity but we still are working slowly towards a 2.1
Version. It is a bit unclear how it fits into newer Java offered FileSystem
abstractions, but it has still quite a few Providers no other solutions offer.
--
http://bernd.eckenfels.net
- Ursprüngliche
Hello Jörg,
is this (or a similiar installation) somewhere available over the
internet, I would like to debug what types are returned here.
(I am not sure I understand what this has to do with XMLConfiguration)
I dont think it is a problem of your code, that casting problem should
never happen.
old { } style in VFS for a long time. I
think I even queried the community about it a long time ago and got no
objections. Feel free to have your IDE reformat it all ;-)
Gary
On Wed, Aug 6, 2014 at 3:54 PM, Bernd Eckenfels
e...@zusammenkunft.net wrote:
On nemo.sonarqube.org
Hello,
First of all: Your DBMS might have SQL methods to calculate typical aggregates.
This is not only easier to program, but also most likely faster and less
resource intensive than doing it in an extra application.
But since this is the commons list: If You want to use the Commons Math
(M_SecondsAtStatus);
ds.addValue(observation);
}
System.out.println(min: + ds.getMin());
System.out.println(max: + ds.getMax()); ...
HTH,
Brent
On Tue, Aug 26, 2014 at 9:41 AM, Bernd Eckenfels
e...@zusammenkunft.net wrote:
Hello,
First of all: Your DBMS might have SQL
Hello,
your JIRA report looks good! I took the liberty to modify
it a bit and included JIRA markup {code} before and after the code, so
it does do formatting and syntax highliting.
BTW: I added some more print in my local version of your reproducer and
adding the thread name, so it is clear when
Hello,
i am hated at work to introduce char[] parameters for passwords, and after
having a few years of experience with it I can say they are hardly worth it:
Most often the caller has strings to work with anyway and need to copy them to
char Array or the called Code Works with strings, or it
Am Tue, 11 Nov 2014 00:09:57 -0500
schrieb Anil Ambati aamb...@us.ibm.com:
Why does the Tomcat server keep the PID file locked, preventing other
processes to even read the file? Is there a work around or solution
for this problem?
I think the reason for that is, that you can this way detect
Hello,
there are a number of leak fixes in the trunk (upcoming 2.1), this
might be needed to get the close really purge the cache. Arbi, can you
check and let us know if it works in 2.0 and if not, if 2.1 is fine?
(and yes, I also wonder why we have no .close() on FileSystem :)
Gruss
Bernd
Hello,
instead of the SFTP connections you can pool channels or sessions. Each
of them will only have a single borrower, but multiple threads could
use the same physical connection.
This is possible because ssh protocol allows some multiplexing. But in
most scenarios I am not sure if the work
Hm,
you can try the following:
a) specify the JVM directly, maybe the auto does not work outside a
user session.
b) try tu use the prunmsgr to edit the settings instead of the command
line
c) turn on logging and check the logfile
Is the S:\ drive a share? can you try with a local disk as well?
Hello,
it does not work to set a value with a valid CDATA tag, that is what
the API is about: it will automatically properly escape all strings so
it cannot be produce broken xml.
I guess it does not allow you to influence the escape style (so that
you can enforce it to use CDATA), but the
Am Wed, 25 Mar 2015 17:48:03 +0100
schrieb Helge Waastad he...@waastad.org:
If I bundle the commons-vfs2 (2.1-SNAPSHOT/2.0) with the rar I get
then exception:
FileSystemException: Could not load VFS configuration from
Am Thu, 26 Mar 2015 11:26:26 +0100
schrieb Benedikt Ritter brit...@apache.org:
We could add a section with 3rd party providers to our website...
There is a related projects in the Wiki:
https://wiki.apache.org/commons/VFS
I have added vfs-azure.
Gruss
Bernd
Hello,
I noticed that with Oracle drivers you cannot kill a busy connection
by closing it (since close(), _getPC(), isOpen() and stmt.close() all
will synchronize on the (busy) physical connection.
I noticed this in a custom persistence layer, so I thought to check out
if DBCP handles this
Hello,
you can use FileSystemManager.toFileObject(File):
https://commons.apache.org/proper/commons-vfs/apidocs/org/apache/commons/vfs2/FileSystemManager.html#toFileObject%28java.io.File%29
Gruss
Bernd
Am Sat, 25 Jul 2015 18:13:14 +0300
schrieb Alexander Nozik alta...@gmail.com:
Hello,
I've
?
On 25-Jul-15 18:17, Bernd Eckenfels wrote:
Hello,
you can use FileSystemManager.toFileObject(File):
https://commons.apache.org/proper/commons-vfs/apidocs/org/apache/commons/vfs2/FileSystemManager.html#toFileObject%28java.io.File%29
Gruss
Bernd
Am Sat, 25 Jul 2015 18:13:14
Hello Roger,
sounds useful to me. Do you plan to parse a string range ("1-100") or
define a min and max property?
Gruss
Bernd
Am Mon, 7 Dec 2015 13:26:35 -0800
schrieb Roger Membreno :
> Hello Apache Community, how are you doing?
>
> We use Commons VFS in our FTP
We discused the same (for an older Version) here:
https://issues.apache.org/jira/browse/IO-461?jql=text%20~%20%22veracode%22
Basically this is wrapper around a dangerous API, you might not use it
in your code. If you do, you need to review your code.
Note that the topic was quite popular with
Hello,
if you have a concerete bug you should open a JIRA ticket and attach
your fix (first search if the ticket already exists).
If you want to discuss the direction your patch is taking, it is better
to write a note to dev@commons "I am working on CLI-x and would
like to submit a patch which
Hello,
I am not sure I understand how the configuration of HTTPClient with
HttpConnectionManagerParams works. Especially not what the
* ConnectionManager set methods must be called after the host & port
* and proxy host & port are set in the HostConfiguration.
comment means. But I guess since
Hello,
http headers are essentially ASCII. Especially for things like the
boundary. The arguments (filename) might be QP, but not all browsers
like that.
Gruss
Bernd
Am Mon, 1 Aug 2016 12:10:24 -0700
schrieb Gary Gregory :
> I can see that
> in
Hello,
I am not sure about your NPE, but this code here ignores the result of
the read call. It cannot deal with short reads:
Am Sun, 28 Aug 2016
15:50:36 +0200 schrieb Oliver Zemann :
> byte b[] =new byte[4096];
> while (inputStream.read(b) != -1) {
> fos.write(b);
>
If this is unix/Linux you cannot type \ on the command line without quoting,
that's not related to Java. You can double the backslash or put it in "quotes".
If you expect more characters which should not interpreted by the shell, use
single quotes. CLI cannot work around this, it simply does
These are just examples, depending on your use case. But I would agree that
thread is a bad one, as it is quite normal to create and start them in start.
Gruss
Bernd
--
http://bernd.eckenfels.net
From: Andrea Lo Pumo
Sent: Monday, June 5, 2017
, 2017 4:11:26 PM
To: Commons Users List
Subject: Re: How to list out files from UNC path?
Am more interested to use apache license libraries only.
Can you please tell me that Jcifs applicable under common-vfs library or
both libraries different?
On 13-Sep-2017 6:51 PM, "Bernd Ec
VFS has no real/clear concept of relative file path (at least not for FileName
or File objects). For some providers (like FTP) there are some hacks in regards
to login directories. So yes maybe isAbsolute() can and should be implemented,
however it is not clear how.
Do you have a specific
t children of that shared folder present in UNC Path.
am googling but not find better solution.
Could you give any suggestion for solve that issue?
Best,
Mahendran
On Wed, Sep 13, 2017 at 5:08 PM, Bernd Eckenfels <e...@zusammenkunft.net>
wrote:
> Hello,
>
> Yes and no. With the Cifs pr
Hello,
Yes and no. With the Cifs provider contained in the VFS Sandbox you can
directly connect to a SMB1.0 server (and use the normal VFS API to list files).
However for licensing reasons we do not ship binaries, so you have to compile
the provider on your own. The other problem is, that it
426 sounds like a server error, did you try to use a different client with your
server?
Gruss
Bernd
--
http://bernd.eckenfels.net
From: SeungWook Kim
Sent: Wednesday, October 25, 2017 6:34:02 PM
To: user@commons.apache.org
Subject:
Depends on a number of factors, but with Java I typically not start to worry
because of a few 100mb (especially since there are quite a few different
metrics, real virtual or resident).
But since your question is about the service runner I would definitely compare
it to java.exe launcher and
I guess the most simple explanation is that this is not a 7z Archive, have you
tried the normal zip archives instead? (The 7zip program supports multiple
formats)
--
https://Bernd.eckenfels.net
Von: Dan Tran
Gesendet: Samstag, August 4, 2018 6:27 PM
An:
Hello,
Can you proof that this puts additional pressure on the database? It does make
some uneccessary round-trips but the database will just ignore the rollbacks
when there are no open changes/transactions IMHO. Did you see somewhere on the
database otherwise?
Using rolllback unconditionally
Hello Bruce,
This sounds a bit like a discussion we had about missing wakeups. I think it’s
was related to depleted pools. Didn’t find the discussion, hopefully somebody
else recalls the conditions? I think it was not fixed.
Gruss
Bernd
--
http://bernd.eckenfels.net
I think it is best you direct your tomcat pool related questions and comments
about their documentation to the tomcat mailing lists. (On the other hand the
tomcat documentation on their own pool including a description why they don't
use dbcp 1.x looks rather comprehensive to me:
g from the command line with java -Xmx300m -jar my.jar the
setting is honored. Tested by setting the Xmx to 100m which will cause OOM.
What is right for the service wrapper?
On Thu, Apr 26, 2018 at 11:39 AM, Bernd Eckenfels <e...@zusammenkunft.net>
wrote:
> Depends on a number of factors
AFAIK with recent Windows Security improvements there is a separation between
services and Desktop, the session a service get cannot anymore display GUI
controls.
The NoInteractiveService setting can be turned off, but you should probably
not. It is described here:
Hello,
There is no 1.4 Release, see the tags here:
https://git-wip-us.apache.org/repos/asf?p=commons-fileupload.git
The latest CI snapshot seems to be 6 month old:
https://builds.apache.org/job/commons-fileupload/lastBuild/commons-fileupload$commons-fileupload/
The site is labeled with 1.4
Hello Bo,
Sounds like you want to ask the Tomcat user mailing-list, instead.
Gruss
Bernd
--
http://bernd.eckenfels.net
Von: Bo
Gesendet: Donnerstag, Dezember 20, 2018 5:07 AM
An: user@commons.apache.org
Betreff: user@commons.apache.org
I'm trying to migrate a
Unless you use QuoteMode.NONE or the wrong quoteChar you should be fine. 1.5
quoted more cases than 1.6 but both should quote all known critical characters.
Gruss
Bernd
Gruss
Bernd
--
http://bernd.eckenfels.net
Von: RaguNath Hariharan
Gesendet: Mittwoch, März
A 10ms sleep is problematic as a test case since some OS only allow Worse Timer
Resolution (for some like Windows it even depends on which timer is currently
active, the default timer uses 15,6ms which is only changed in latest Windows
10 I think). So the variation you see is more likely caused
Hello,
It is probably unlikely that somebody can give you a legal interpretation
(especially with CDDL), but let me suggest you this: publish it anyway, even
better try to merge it upstream.
Gruss
Bernd
--
http://bernd.eckenfels.net
Von: 이준균
Gesendet:
You need to define what you mean by support. In most cases open Source
components should be considered as „not commercially supported“ unless you have
a contract with a commercial entity which is willing to give you this
guarantee. Having said that, assuming all proper commons component have
Hello,
Jurrie if you make contributors spent their time defending themself you won’t
speed up the process. If you need it urgently just compile it yourself. A
release takes time, especially if it is done in people’s sparetime.
Gruss
Bernd
--
http://bernd.eckenfels.net
Hello
I think the problem in your case is that the default filesystem manager does
not know about the ftp: scheme. The error message is a bit missleading (since a
fix done, probably we should file a bug for this).
The default manager does try to load the FtpProvider and tries to register it
What about the failing DefaultFileMonitor tests, do we know what’s going on
with those? (I saw them on Windows while validating my last commit)? Is that
VFS-299 related?
--
https://Bernd.eckenfels.net
Von: Gary Gregory
Gesendet: Donnerstag, Oktober 17, 2019
An: Commons Users List
Betreff: Re: Apache Commons VFS2 version 2.4.2 release?
Hi Bernd,
Where do you see tests failing?
I see green builds:
- https://github.com/apache/commons-vfs/actions
- https://travis-ci.org/apache/commons-vfs (except Java 14-EA)
Gary
On Thu, Oct 17, 2019 at 11:21 AM Bernd
It seems to forward the call from this.activate() to the delegee
("this.connection.activate()"). So this is not a endless recursion by itself
(unless "this.connection" points back to "this" or to a chain of delegated
connections looping back to itself. Both should not be the case normally.
I
Hello,
You can create a new service with any binary you want to run. This will not
answer service control commands, so it will fail to respond, but the binary is
started and can do your testing. You just won't get desktop access. (This is
similar to what psexec does).
I would suspect context
Hello,
Seems not possible to pass options beside the known ones:
https://gitbox.apache.org/repos/asf?p=commons-daemon.git;a=blob;f=src/native/unix/native/arguments.c;h=8160c72944a7d7dae9cc8d43ec244f43a664a82f;hb=HEAD#l425
One option is to pass all unknown options to java, another is to pass
parameter?
On Fri, Mar 20, 2020 at 10:57 PM Bernd Eckenfels
wrote:
> Hello,
>
> Seems not possible to pass options beside the known ones:
>
>
> https://gitbox.apache.org/repos/asf?p=commons-daemon.git;a=blob;f=src/native/unix/native/arguments.c;h=8160c72944a7d7dae9cc8d43ec24
Yes, the VFS providers can be nested and the access is controlled by a layered
URL, something like zip:file:/dir/1.zip!2.jpg can be resolved into a FileObject.
The second example here does the same for entries in a JAR file:
https://commons.apache.org/proper/commons-vfs/api.html
Gruss
Bernd
It’s not really a question of „last supported“ it is the „minimum runtime
requirement“. VFS is compiled with Java 8 and therefore you can’t use it
(easily) with Java 7 or older (depending on the VFS version). All Java after 8
should work and if there are problems, it’s a good idea to report
I have not done formal testing of all features, but we use it in production on
Java 11.
Gruss
Bernd
--
http://bernd.eckenfels.net
Von: Vivek Madangeri
Gesendet: Friday, May 14, 2021 3:23:22 PM
An: user@commons.apache.org
Betreff: Apache Common VFS Version and
I think the important point for connection pols is, that a double close is not
harming a returned „physical“ connection. This is done by throwing away the
logical checked out wrapper connection - disassociating it from the pooled one.
(And also never exposing the physical connection, which is a
BTW the Windows directory stream in NIO passes the file meta attributes from
FindNextFile, it does not have to open/stat the files. Maybe this is the reason
why it does Not need to resolve them (and it’s generally more efficient than
using traditional Files.list).
--
Hello,
I don’t really agree, a generic CSV tool should have a flag to protect against
this, since it is a very common requirement. The situation is very unfortunate,
this is why there is no good solution by default, but I can asume many software
vendors working in the area of windows based
Hello,
Not sure how PDFBox works, but if you cannot specify a logger, than you will
need to register a global common s logging SPI which in turn forwards the log
events to your thread local logger. Or you use log4j impl, and then append such
an Appender or Category to log4j.
Gruss
Bernd
--
You can add the Java launcher (maybe a private copy for your ftp client) as a
new application in the Advanced Windows Firewall allow rules and allow it to
open all ports.
Alternative would be to specify a local bind port and allow that one by number
in the firewall. That probably requires code
VFS is not very well suited to parallel usage, especially not if the meta data
operations are relatively slow. One thing you can do (besides checking why the
particular operation which blocks is slow) is to use multiple instances of the
filesystems I think. (Won’t work with the default manager
Hello Shivaraj,
Good to hear that you trust the open source from Apache Commons.
Regarding your question I would ask you to do the testing for yourself. The
following should help you with it:
Each project publishes a documentation where the minimum versions are
published, not all publish test
Yes, those dependencies can be left out. The optional=True seems to be missing
for one of the libs. If you get a new manager it will not load the provide if
it can’t load the dependencies.
If you want you could contribute a jira ticket and a patch. Thanks for
notifying us.
Gruss
Bernd
--
Just a BTW I think the two statements are not from you/DBCP but the driver
emits them when you use the setAutocommit(). In some cases drivers remember the
state and don’t emit something, in most cases they do. So a config option to
not set/reset that state on checking/checkout - if you need to
Hello,
Apache a commons are a number of community supported open source projects,
there is no guaranteed support provided. The good thing is you can always join
the project and help.
Having said that, 1.15 is the current released version, so if a new version is
released you only need to
The minimum version required is java 7, I don’t see open issues with later
versions. If you encounter problems, feel free to report them.
Gruss
Bernd
--
http://bernd.eckenfels.net
Von: Abhishek Kant Rattan
Gesendet: Tuesday, July 19, 2022 4:53:27 PM
An:
Hello,
You are mailing the wrong Apache project (none of those are Commons). Also,
none of the ASF project have commercial support and you normally find the
statements on updates and recent ess on each projects homepage.
BTW maybe coordinate such questions with the Ericsson Open Source Office.
75 matches
Mail list logo