[ http://jira.codehaus.org/browse/WAGON-254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Tran closed WAGON-254. -------------------------- Assignee: Dan Tran Resolution: Fixed Fix Version/s: 1.0-beta-5 > wagon-ftp :: error uploading site:: too many open files > ------------------------------------------------------- > > Key: WAGON-254 > URL: http://jira.codehaus.org/browse/WAGON-254 > Project: Maven Wagon > Issue Type: Bug > Affects Versions: 1.0-beta-4 > Environment: Maven version: 2.1.0-M1 > Java version: 1.6.0_10-rc2 > Default locale: en_GB, platform encoding: UTF-8 > OS name: "linux" version: "2.6.26-1-amd64" arch: "amd64" family: "unix" > Reporter: Richard Gomes > Assignee: Dan Tran > Priority: Minor > Fix For: 1.0-beta-5 > > Attachments: wagon-ftp_too-many-open-files.tar.bz2 > > > A complete log file is attached. Below you can see the stack trace: > [INFO] Error uploading site > Embedded error: IOException caught while attempting to upload > /home/rgomes/workspace/jquantlib/target/site/testapidocs/org/jquantlib/testsuite/math/distributions/InverseCumulativeNormalTest.dot > Too many open files > [INFO] > ------------------------------------------------------------------------ > [DEBUG] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading site > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:701) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:538) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:517) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:369) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:330) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:302) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading > site > at > org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:203) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:458) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:676) > ... 16 more > Caused by: org.apache.maven.wagon.TransferFailedException: IOException caught > while attempting to upload > /home/rgomes/workspace/jquantlib/target/site/testapidocs/org/jquantlib/testsuite/math/distributions/InverseCumulativeNormalTest.dot > at > org.apache.maven.wagon.providers.ftp.FtpWagon.ftpRecursivePut(FtpWagon.java:639) > at > org.apache.maven.wagon.providers.ftp.FtpWagon.ftpRecursivePut(FtpWagon.java:580) > at > org.apache.maven.wagon.providers.ftp.FtpWagon.ftpRecursivePut(FtpWagon.java:573) > at > org.apache.maven.wagon.providers.ftp.FtpWagon.ftpRecursivePut(FtpWagon.java:573) > at > org.apache.maven.wagon.providers.ftp.FtpWagon.ftpRecursivePut(FtpWagon.java:573) > at > org.apache.maven.wagon.providers.ftp.FtpWagon.ftpRecursivePut(FtpWagon.java:573) > at > org.apache.maven.wagon.providers.ftp.FtpWagon.ftpRecursivePut(FtpWagon.java:573) > at > org.apache.maven.wagon.providers.ftp.FtpWagon.ftpRecursivePut(FtpWagon.java:573) > at > org.apache.maven.wagon.providers.ftp.FtpWagon.putDirectory(FtpWagon.java:500) > at > org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:187) > ... 18 more > Caused by: java.net.SocketException: Too many open files > at java.net.Socket.createImpl(Socket.java:388) > at java.net.Socket.<init>(Socket.java:362) > at java.net.Socket.<init>(Socket.java:180) > at > org.apache.commons.net.DefaultSocketFactory.createSocket(DefaultSocketFactory.java:53) > at > org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:513) > at > org.apache.commons.net.ftp.FTPClient.__storeFile(FTPClient.java:388) > at org.apache.commons.net.ftp.FTPClient.storeFile(FTPClient.java:1388) > at > org.apache.maven.wagon.providers.ftp.FtpWagon.ftpRecursivePut(FtpWagon.java:603) > ... 27 more > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 22 minutes 26 seconds > [INFO] Finished at: Wed Dec 31 10:49:27 GMT 2008 > [INFO] Final Memory: 132M/370M > [INFO] > ------------------------------------------------------------------------ -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira