I've seen it, as well. In fact, having a look, I see it on one of my
machines at the moment.
[peter@epiphone peter]$ ls -l /opt/tomcat/temp/
total 578
-rw-rw-r-- 1 root root 587776 Apr 16 12:44 jar_cache62255.tmp
I very clearly remember coming across it. My /tmp is small on that
machine. I kept running out of disk space.
I needed to put
-Djava.io.tmpdir=/opt/tomcat/temp
in my CATALINA_OPTS (and create that directory). The stuff is created
in your temporary directory.
I think there is some other stuff that ends up in that directory, but it
doesn't appear when you do a listing in *nix systems. The numbers
weren't adding up for me. Probably the old trick where you create a
temporary file and unlink it straight away (or whatever, it's been a
while since I've done that).
I'm on build 1.3.1_03-b03 on Linux.
...Peter
Luca Morandini writes:
> Vadim,
>
> I've found evidence of a bug like this under JRE 1.2... but I'm using 1.3.1
> and those files are still there :(
>
> Anyway, I'm wondering if I'm the only one with this problem....
>
> Best regards,
>
> ---------------------------------------------
> Luca Morandini
> GIS Consultant
> [EMAIL PROTECTED]
> http://utenti.tripod.it/lmorandini/index.html
> ---------------------------------------------
>
>
> > -----Original Message-----
> > From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, April 16, 2002 9:53 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: RE: How to clear the jar_cache files ?
> >
> >
> > > From: Luca Morandini [mailto:[EMAIL PROTECTED]]
> > >
> > > > -----Original Message-----
> > > > From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, April 16, 2002 9:08 PM
> > > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > > Subject: RE: How to clear the jar_cache files ?
> > > >
> > > >
> > >
> > > > > They're located in the temp directory of my server and have names
> > > > like:
> > > > > jar_cache35350.tmp, jar_cache35354.tmp... and so on at the tune of
> > > > about 50
> > > > > a day.
> > > >
> > > > I have some files named like this, but in totally different
> > directory:
> > > > %USERPROFILE%\Local Settings\Temp\jar_cache14163.tmp
> > > >
> > > > I'm 90% sure that they were created neither by Tomcat, nor by JDK.
> > > >
> > >
> > > I beg to differ, since I removed Cocoon and they 're still produced
> > (though
> > > in much smaller numbers).
> > > Regarding the different location in the file system, it dependes on
> > the
> > > different setting of the $TEMP directory.
> > >
> > > Any other clue ?
> >
> > :-/
> >
> > Yes. I have got one. Here it is: rt.jar has string "jar_cache" inside. I
> > don't think it is coincidence. This means, JRE is responsible for
> > creating these files.
> >
> > Vadim
> >
> >
> > > Best regards,
> > >
> > > ---------------------------------------------
> > > Luca Morandini
> > > GIS Consultant
> > > [EMAIL PROTECTED]
> > > http://utenti.tripod.it/lmorandini/index.html
> > > ---------------------------------------------
> > >
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> >
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>