[ http://jira.codehaus.org/browse/CONTINUUM-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Venisse closed CONTINUUM-1247. --------------------------------------- Assignee: Emmanuel Venisse Resolution: Won't Fix Fix Version/s: (was: Future) It isn't a Continuum bug > Too many open files Exception when building large projects > ---------------------------------------------------------- > > Key: CONTINUUM-1247 > URL: http://jira.codehaus.org/browse/CONTINUUM-1247 > Project: Continuum > Issue Type: Bug > Affects Versions: 1.0.3 > Environment: Linux (debian) > Reporter: Ivo van Dongen > Assignee: Emmanuel Venisse > > When building large projects we run into a problem in the last stages of a > maven2 build. We've alreadye upped the OS limits on open file handles per > proces and in general. > The last part of the maven output is: > [INFO] [war:war] > [INFO] Exploding webapp... > [INFO] Copy webapp webResources to > /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT > [INFO] Copy webapp webResources to > /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT > [INFO] Assembling webapp tesis in > /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT > [INFO] Generating war > /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT.war > [INFO] Building war: > /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT.war > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error assembling WAR: Problem creating war: > /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar > (Too many open files) > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: Error assembling WAR: > Problem creating war: > /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar > (Too many open files) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) > 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:585) > 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 assembling > WAR: Problem creating war: > /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar > (Too many open files) > at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:149) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) > ... 16 more > Caused by: org.codehaus.plexus.archiver.ArchiverException: Problem creating > war: > /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar > (Too many open files) > at > org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:403) > at > org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchive(AbstractZipArchiver.java:229) > at > org.apache.maven.archiver.MavenArchiver.createArchive(MavenArchiver.java:332) > at > org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:183) > at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:133) > ... 18 more > Caused by: java.io.FileNotFoundException: > /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar > (Too many open files) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.(FileInputStream.java:106) > at > org.codehaus.plexus.archiver.zip.AbstractZipArchiver.zipFile(AbstractZipArchiver.java:679) > at > org.codehaus.plexus.archiver.zip.AbstractZipArchiver.addResources(AbstractZipArchiver.java:492) > at > org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:330) > ... 22 more > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 3 minutes 54 seconds > [INFO] Finished at: Thu Apr 19 14:26:45 CEST 2007 > [INFO] Final Memory: 106M/209M > [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