I just checked on that machine and the global limit is 6'297'272, and the user limit for the user running the gwt compiler is 1024. Does gwt really need to open so many files? What would you recommend to set?
On Jun 2, 1:23 am, googelybear <[email protected]> wrote: > Hi Chris, > > yes it's a linux box (ubuntu). The weird thing is that it compiles > fine on my workstation (also Ubuntu Linux) without tweaking (I run the > gwt compiler via eclipse and not via ant but I thinkg that shouldn't > make a difference). > > Thanks for your pointer, I will try to increase the limit tomorrow. > > Dennis > > On Jun 1, 1:17 am, Chris Lercher <[email protected]> wrote: > > > > > Hi, > > > are you on Linux? There's a limit ofopenfilesyou can have. Google > > for "Toomanyopenfiles" to find a solution. Here's a good > > page:http://confluence.atlassian.com/display/CONF29/Fix+'Too+many+open+fil... > > > If your parameters are in a normal range before calling the GWT > > compiler, then there may be a problem with GWT though, because I'm not > > sure, if it's supposed to use somanyopenfiles. > > > HTH > > Chris > > > On Jun 1, 12:28 am, googelybear <[email protected]> wrote: > > > > Hi, > > > > When I compile my gwt project via ant I regularly get the following > > > error > > > '[java] Invoking > > > com.google.gwt.dev.javac.standardgeneratorcont...@28e4f4ad > > > [java] [ERROR] Generator > > > 'com.google.gwt.uibinder.rebind.UiBinderGenerator' threw threw an > > > exception while rebinding (...) > > > [java] java.lang.RuntimeException: java.io.FileNotFoundException: > > > (...)web/core/client/ui/LanguageBarPanel.ui.xml (Toomanyopen > > >files)' > > > [java] at > > > com.google.gwt.uibinder.rebind.W3cDomHelper.documentFor(W3cDomHelper.java: > > > 100) > > > [java] at > > > com.google.gwt.uibinder.rebind.UiBinderGenerator.getW3cDoc(UiBinderGenerato > > > r.java: > > > 147) > > > [java] at > > > com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGener > > > ator.java: > > > 124) > > > [java] at > > > com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator > > > .java: > > > 105) > > > [java] at > > > com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGene > > > ratorContext.java: > > > 418) > > > [java] at > > > com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java: > > > 38) > > > [java] at com.google.gwt.dev.shell.StandardRebindOracle > > > $Rebinder.tryRebind(StandardRebindOracle.java:108) > > > [java] at com.google.gwt.dev.shell.StandardRebindOracle > > > $Rebinder.rebind(StandardRebindOracle.java:54) > > > [java] at > > > com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.j > > > ava: > > > 154) > > > [java] at > > > com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.j > > > ava: > > > 143) > > > [java] at com.google.gwt.dev.Precompile > > > $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.ja > > > va: > > > 317) > > > [java] at > > > com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRe > > > binds(WebModeCompilerFrontEnd.java: > > > 95) > > > [java] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox > > > $CompilerImpl.process(AbstractCompiler.java:200) > > > [java] at > > > org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444) > > > [java] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox > > > $CompilerImpl.compile(AbstractCompiler.java:123) > > > [java] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox > > > $CompilerImpl.compile(AbstractCompiler.java:234) > > > [java] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox > > > $CompilerImpl.access$200(AbstractCompiler.java:109) > > > [java] at > > > com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java: > > > 522) > > > [java] at > > > com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations( > > > BasicWebModeCompiler.java: > > > 112) > > > [java] at > > > com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclaratio > > > ns(WebModeCompilerFrontEnd.java: > > > 47) > > > [java] at > > > com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScript > > > Compiler.java: > > > 422) > > > [java] at > > > com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.jav > > > a: > > > 32) > > > [java] at > > > com.google.gwt.dev.Precompile.precompile(Precompile.java:522) > > > [java] at > > > com.google.gwt.dev.Precompile.precompile(Precompile.java:414) > > > [java] at com.google.gwt.dev.Compiler.run(Compiler.java:201) > > > [java] at com.google.gwt.dev.Compiler$1.run(Compiler.java:152) > > > [java] at > > > com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87) > > > [java] at > > > com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRu > > > nner.java: > > > 81) > > > [java] at com.google.gwt.dev.Compiler.main(Compiler.java:159) > > > > followed by (probably subsequent errors) like the following > > > (truncated): > > > > [java] java.lang.NullPointerException > > > [java] at com.google.gwt.dev.util.Util.copyNoClose(Util.java: > > > 259) > > > [java] at com.google.gwt.dev.util.Util.copy(Util.java:180) > > > [java] at > > > com.google.gwt.dev.util.Util.readStreamAsString(Util.java:755) > > > [java] at com.google.gwt.dev.javac.Shared.readSource(Shared.java: > > > 150) > > > > Does anyone have similar problems or is this a known bug? Is there any > > > more information I should provide that could help? > > > > thanks for any help, > > > > Dennis -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
