I had a similar problem and disabling the unit cache seemed to have
fixed the problem.

Try to add "-Dgwt.persistentunitcache=false" to the compiler arguments


On Oct 3, 9:13 am, Thomas Bachmann <i...@thobach.de> wrote:
> Can you post the full stack trace? I am having similar problems but
> one cause mentioned in the stack trace is:
>  Caused by: java.io.IOException: Too many open files
> The strange thing for me is, that sometimes the compilation works and
> sometimes it doesn't (even on the same machine).
>
> On 13 Aug., 18:40, Matthias Rauer <rauer1...@googlemail.com> wrote:
>
>
>
>
>
>
>
> > Yes, first I thought the same, and closed Eclipse. Seems to work...
> > but the next attemp it doesnt work.
>
> > May be a memory problem? Or virus scanner block the files (i am using
> > avira prof.)?
> > Can windows (32-bit) only handle for example 1000 open files?
>
> > On 12 Aug., 20:38, Magno Machado <magn...@gmail.com> wrote:
>
> > > Isn't there any other process that may be blocking the folder/files?
>
> > > On Fri, Aug 12, 2011 at 1:53 PM, Matthias Rauer 
> > > <rauer1...@googlemail.com>wrote:
>
> > > > Yes, you are right,there are some classes you cannot use on client
> > > > side. But in this case I ll get another compile exception.
>
> > > > The other team member haven't these problems, that I have :-( They use
> > > > Windows 7 64-bit.
>
> > > > On 11 Aug., 15:44, Juan Pablo Gardella <gardellajuanpa...@gmail.com>
> > > > wrote:
> > > > > At first, I think you can't use File classes in GWT (client side).
>
> > > > > 2011/8/11 Matthias Rauer <rauer1...@googlemail.com>> Hello,
>
> > > > > > I am getting compile errors. Looks like caching or synchronize
> > > > > > problems.
> > > > > >    [java] Caused by: javax.imageio.IIOException: Can't create cache
> > > > > > file!
> > > > > >     [java]     at
> > > > > > javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:397)
> > > > > >     [java]     at javax.imageio.ImageIO.write(ImageIO.java:1558)
> > > > > >     [java]     ... 35 more
> > > > > >     [java] Caused by: java.io.FileNotFoundException: Z:
> > > > > > \imageio2197704682044189508.tmp (Der Prozess kann nicht auf die 
> > > > > > Datei
> > > > > > zugreifen, da sie von einem anderen Prozess verwendet wird)
> > > > > >     [java]     at java.io.RandomAccessFile.open(Native Method)
> > > > > >     [java]     at
> > > > java.io.RandomAccessFile.<init>(RandomAccessFile.java:
> > > > > > 212)
> > > > > >     [java]     at
>
> > > > javax.imageio.stream.FileCacheImageOutputStream.<init>(FileCacheImageOutput
> > > >  ­­Stream.java:
> > > > > > 73)
> > > > > >     [java]     at
>
> > > > com.sun.imageio.spi.OutputStreamImageOutputStreamSpi.createOutputStreamInst
> > > >  ­­ance(OutputStreamImageOutputStreamSpi.java:
> > > > > > 50)
> > > > > >     [java]     at
> > > > > > javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:393)
> > > > > >     [java]     ... 36 more
>
> > > > > > ---
>
> > > > > > C:\...\build\build.xml:459: IOException in 
> > > > > > C:\...\build\tmp\web\WEB-INF
> > > > > > \config\coreReportInvoiceConfig.xml - 
> > > > > > java.io.FileNotFoundException:C:
> > > > > > \...build\tmp\web\WEB-INF\config\rep1473609419171320889.tmp (Der
> > > > > > Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen
> > > > > > Prozess verwendet wird)
> > > > > > in english: process cannot access file, another process uses this 
> > > > > > file
>
> > > > > > ---
> > > > > > same exception again... but different file
>
> > > > > >     [java] Caused by: javax.imageio.IIOException: Can't create cache
> > > > > > file!
> > > > > >     [java]     at
> > > > > > javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:397)
> > > > > >     [java]     at javax.imageio.ImageIO.write(ImageIO.java:1558)
> > > > > >     [java]     ... 35 more
> > > > > >     [java] Caused by: java.io.FileNotFoundException: Z:
> > > > > > \imageio5137244568657246113.tmp (Der Prozess kann nicht auf die 
> > > > > > Datei
> > > > > > zugreifen, da sie von einem anderen Prozess verwendet wird)
> > > > > >     [java]     at java.io.RandomAccessFile.open(Native Method)
> > > > > >     [java]     at
> > > > java.io.RandomAccessFile.<init>(RandomAccessFile.java:
> > > > > > 212)
> > > > > >     [java]     at
>
> > > > javax.imageio.stream.FileCacheImageOutputStream.<init>(FileCacheImageOutput
> > > >  ­­Stream.java:
> > > > > > 73)
> > > > > >     [java]     at
>
> > > > com.sun.imageio.spi.OutputStreamImageOutputStreamSpi.createOutputStreamInst
> > > >  ­­ance(OutputStreamImageOutputStreamSpi.java:
> > > > > > 50)
> > > > > >     [java]     at
> > > > > > javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:393)
> > > > > >     [java]     ... 36 more
> > > > > > ---
>
> > > > > > If I compile again and again, I got different exceptions, like 
> > > > > > these:
>
> > > > > > I already changed the extra and workDir to an RamDisk, deleted these
> > > > > > directories before compiling, Deleted these directories before the
> > > > > > build, but got same errors again. I also changed number of workers 
> > > > > > to
> > > > > > 1.
>
> > > > > > Any suggestions?
>
> > > > > > Greetings,
> > > > > > Matthias
>
> > > > > > --
> > > > > > You received this message because you are subscribed to the Google
> > > > Groups
> > > > > > "Google Web Toolkit" group.
> > > > > > To post to this group, send email to
> > > > google-web-toolkit@googlegroups.com.
> > > > > > To unsubscribe from this group, send email to
> > > > > > google-web-toolkit+unsubscr...@googlegroups.com.
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > > > --
> > > > You received this message because you are subscribed to the Google 
> > > > Groups
> > > > "Google Web Toolkit" group.
> > > > To post to this group, send email to 
> > > > google-web-toolkit@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > google-web-toolkit+unsubscr...@googlegroups.com.
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > > --
> > > Magno Machado 
> > > Paulohttp://blog.magnomachado.com.brhttp://code.google.com/p/emballo/-Ziti...Text
> > >  ausblenden -
>
> > > - Zitierten Text anzeigen -

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to