Re: on 8.5.40, random tmpFile.renameTo with jsp files

2019-06-11 Thread Alex O'Ree
OK some updates. I compiled this afternoon off of the tomcat 8.5.x branch and made changes to SmapUtil.java around line 206 give or take. The changes were basically if (!tmpFile.renameTo(...)) { Files.move(tmpFile.toPath(), classFile.toPath(), StandardCopyOption.REPLACE_EXISTING); } Variables:

Re: on 8.5.40, random tmpFile.renameTo with jsp files

2019-06-10 Thread Alex O'Ree
> Anything unusual about that file system? Nope, just a standard NTFS windows 7 setup. I've seen in a development environment (no special file permissions) and in more of a production environment on win10 and server 2016 whereby the file system is locked down in a similar fashion to how it's done

Re: on 8.5.40, random tmpFile.renameTo with jsp files

2019-06-10 Thread Mark Thomas
On 10/06/2019 19:45, Mark Thomas wrote: > On 10/06/2019 12:08, Alex O'Ree wrote: >> I am on windows 7. Same partition as the os. > > Hmm. That is odd. A few random (ish) questions: > > Anything unusual about that file system? > > How much load (users, req/s) is the system under? > > Any changes

Re: on 8.5.40, random tmpFile.renameTo with jsp files

2019-06-10 Thread Mark Thomas
On 10/06/2019 12:08, Alex O'Ree wrote: > I am on windows 7. Same partition as the os. Hmm. That is odd. A few random (ish) questions: Anything unusual about that file system? How much load (users, req/s) is the system under? Any changes from default JSP Servlet (Jasper) settings? Does the acce

Re: on 8.5.40, random tmpFile.renameTo with jsp files

2019-06-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 6/10/19 14:21, Alex O'Ree wrote: > in tomcat/work/Catalina/localhost/(mywebapp)/org/apache/jsp/dir/ I > have something like help_jsp.java help_jsp.classtmp > > all other jsp pages have the pattern page_jsp.java page_jsp.class Hmm. There are a l

Re: on 8.5.40, random tmpFile.renameTo with jsp files

2019-06-10 Thread Alex O'Ree
in tomcat/work/Catalina/localhost/(mywebapp)/org/apache/jsp/dir/ I have something like help_jsp.java help_jsp.classtmp all other jsp pages have the pattern page_jsp.java page_jsp.class On Mon, Jun 10, 2019 at 11:53 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP S

Re: on 8.5.40, random tmpFile.renameTo with jsp files

2019-06-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alex, On 6/10/19 03:20, Mark Thomas wrote: > On 07/06/2019 15:35, Alex O'Ree wrote: >> HTTP Status 500 – Internal Server Error Type Exception Report >> >> Message Unable to compile class for JSP >> >> Description The server encountered an unexpect

Re: on 8.5.40, random tmpFile.renameTo with jsp files

2019-06-10 Thread Alex O'Ree
I am on windows 7. Same partition as the os. On Mon, Jun 10, 2019, 3:20 AM Mark Thomas wrote: > On 07/06/2019 15:35, Alex O'Ree wrote: > > HTTP Status 500 – Internal Server Error > > Type Exception Report > > > > Message Unable to compile class for JSP > > > > Description The server encountered

Re: on 8.5.40, random tmpFile.renameTo with jsp files

2019-06-10 Thread Mark Thomas
On 07/06/2019 15:35, Alex O'Ree wrote: > HTTP Status 500 – Internal Server Error > Type Exception Report > > Message Unable to compile class for JSP > > Description The server encountered an unexpected condition that > prevented it from fulfilling the request. Not as helpful as I had hoped. Giv

Re: on 8.5.40, random tmpFile.renameTo with jsp files

2019-06-07 Thread Alex O'Ree
HTTP Status 500 – Internal Server Error Type Exception Report Message Unable to compile class for JSP Description The server encountered an unexpected condition that prevented it from fulfilling the request. Exception org.apache.jasper.JasperException: Unable to compile class for JSP o

Re: on 8.5.40, random tmpFile.renameTo with jsp files

2019-06-07 Thread Mark Thomas
On 06/06/2019 20:38, Alex O'Ree wrote: > I've upgraded from .34 to .40 somewhat recently (on windows) and have been > getting random errors rendering jsp pages recently. The trace is always > related to jasper failing to rename a file. I'm not really sure what the > issue is. Has anyone seen this o

on 8.5.40, random tmpFile.renameTo with jsp files

2019-06-06 Thread Alex O'Ree
I've upgraded from .34 to .40 somewhat recently (on windows) and have been getting random errors rendering jsp pages recently. The trace is always related to jasper failing to rename a file. I'm not really sure what the issue is. Has anyone seen this or something similar? Usually retrying the requ