You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/07/19 11:17:51 UTC

DO NOT REPLY [Bug 30177] New: - File.mkdirs fails in java programs started with daemon on debian woody

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30177>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30177

File.mkdirs fails in java programs started with daemon on debian woody

           Summary: File.mkdirs fails in java programs started with daemon
                    on debian woody
           Product: Commons
           Version: 1.0 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Daemon
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: morus.walter@gmx.de


There are problems when running tomcat started by daemon under debian woody that
are described on the tomcat user mailing list. Thread starting with
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg131293.html.
Tomcat doesn't create directories.
The problem was tracked down to the point, that File.mkdirs fails in this
situation, when it has to create more than one directory.
The problems occur on specific systems only, one of them is debian woody.
(Debian testing/unstable does not show this problem.)

The problem can be solved by linking jsvc against libpthread.

So I suggest to add -lpthread to the linking of jsvc in Makefile.in (unless
there are known/expected issues with that).

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org