RE: [io] Are FileUtils and IOUtils thread safe?

2012-10-01 Thread Yungwei Chen
Specifically FileUtils.writeStringToFile(file, data, encoding, false), which in turn calls IOUtils.write(). Thanks. -Original Message- From: Daniel Pitts [mailto:coloraura@gmail.com] Sent: Saturday, September 29, 2012 1:10 AM To: Commons Users List Subject: Re: [io] Are FileUtils

Re: [io] Are FileUtils and IOUtils thread safe?

2012-10-01 Thread James Carman
Would you have two different threads attempting to write to the same file? On Mon, Oct 1, 2012 at 12:55 PM, Yungwei Chen yung...@resolvity.com wrote: Specifically FileUtils.writeStringToFile(file, data, encoding, false), which in turn calls IOUtils.write(). Thanks. -Original

RE: [io] Are FileUtils and IOUtils thread safe?

2012-10-01 Thread Yungwei Chen
No. -Original Message- From: jcar...@carmanconsulting.com [mailto:jcar...@carmanconsulting.com] On Behalf Of James Carman Sent: Monday, October 01, 2012 12:03 PM To: Commons Users List Subject: Re: [io] Are FileUtils and IOUtils thread safe? Would you have two different threads

[daemon] Problems with commons-daemon, The data area passed to a system call is too small.

2012-10-01 Thread Jehova Witness
I am using Commons Daemon procrun (1.0.10.0 32-bit) on Windows 7 64bit (need to deliver a solution to customers that will work with 32bit and 64bit). Here is my install.bat file ( Server.exe was formerly named prunsrv.exe ) .\Server.exe //IS//MyServiceName ^ --Install=Server.exe ^

[daemon] Is this project dead?

2012-10-01 Thread J.V.
I am googling around trying to find the solution to problems I am having and see dozens and dozens of posts with the same issues but no resolution. It is the exact same issue and no response. Is this project dead? Can it be taken down from Apache Commons? Project rot.

Re: [daemon] Is this project dead?

2012-10-01 Thread Dave Newton
AFAICT there was a release in Feb of this year; I guess I don't consider that dead, but that may just be me. Dave On Mon, Oct 1, 2012 at 6:26 PM, J.V. jvsr...@gmail.com wrote: I am googling around trying to find the solution to problems I am having and see dozens and dozens of posts with the

Re: [daemon] Is this project dead?

2012-10-01 Thread Greg Thomas
On 1 October 2012 23:26, J.V. jvsr...@gmail.com wrote: Is this project dead? Can it be taken down from Apache Commons? Project rot. Absolutely not. Apache Tomcat (and possibly others in the Apache stable) make use of commons-daemon for running as a server. It works, and given the dependency

Re: [daemon] Is this project dead?

2012-10-01 Thread J.V.
When I try to start the service (installs successfully), I get this message: The data area passed to a system call is too small. and there is nothing in the log files. I am using a JDK 1.6.0_35 32bit on Windows 7 64bit. Is there any reason the service would fail to start? Why have

[daemon] My installed service does not appear in service list

2012-10-01 Thread J.V.
I have successfully created a windows service (but not yet been able to start). With just having it installed, I expect to see the service in the services list in the windows UI and also when I do: $net start= I expect to see the service in the list here, but there is nothing.

Re: [daemon] My installed service does not appear in service list

2012-10-01 Thread Greg Thomas
On 2 October 2012 01:01, J.V. jvsr...@gmail.com wrote: I have successfully created a windows service (but not yet been able to start). With just having it installed, I expect to see the service in the services list in the windows UI and also when I do: $net start= I expect to see