Thank you!

Dream * Excel * Explore * Inspire
Jon McAlexander
Asst Vice President

Middleware Product Engineering
Enterprise CIO | Platform Services | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com


This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.


-----Original Message-----
From: Mark Thomas <ma...@apache.org> 
Sent: Wednesday, June 10, 2020 10:59 AM
To: users@tomcat.apache.org
Subject: Re: File access error on Windows Server 2019 after upgrading to Tomcat 
8.5.45

On 09/06/2020 17:22, jonmcalexan...@wellsfargo.com.INVALID wrote:
> Mark,
> 
> Was the change with 8.5.44 implemented when you run the service.bat file?

It should be. The change was made in Commons Daemon (the .exe files) so it 
should apply however you install the service.

Mark


> 
> Thanks,
> 
> 
> Dream * Excel * Explore * Inspire
> Jon McAlexander
> Asst Vice President
> 
> Middleware Product Engineering
> Enterprise CIO | Platform Services | Middleware | Infrastructure 
> Solutions
> 
> 8080 Cobblestone Rd | Urbandale, IA 50322
> MAC: F4469-010
> Tel 515-988-2508 | Cell 515-988-2508
> 
> jonmcalexan...@wellsfargo.com
> 
> 
> This message may contain confidential and/or privileged information. If you 
> are not the addressee or authorized to receive this for the addressee, you 
> must not use, copy, disclose, or take any action based on this message or any 
> information herein. If you have received this message in error, please advise 
> the sender immediately by reply e-mail and delete this message. Thank you for 
> your cooperation.
> 
> 
> -----Original Message-----
> From: Mark Thomas <ma...@apache.org>
> Sent: Tuesday, June 9, 2020 8:46 AM
> To: users@tomcat.apache.org
> Subject: Re: File access error on Windows Server 2019 after upgrading 
> to Tomcat 8.5.45
> 
> On 08/06/2020 22:54, BOSECKER Nancy wrote:
>> I've been tasked with upgrading Tomcat from 8.5.41, but have run into a 
>> problem that begins with release 8.5.45. Hopefully someone here can help.
> 
> What was the last version where this worked? 8.5.43? I ask as 8.5.44 was not 
> formally released.
> 
>> I have a servlet that tries to update a file that was previously written by 
>> a separate servlet. Prior to 8.5.45, this works as expected and the file is 
>> updated.
>>
>> In 8.5.45, I get the Java error: File not Found exception - Access is 
>> denied. The file exists and is readable, but must be being held onto by some 
>> unknown process. I've tried Windows process manager and resource manager, 
>> but neither of these can tell me what is holding the file handle. I can open 
>> the file in an editor with no error. I can also delete the file without any 
>> error.
>>
>> Note that the error occurs on Windows Server 2019. When I run the same code 
>> on Windows 10 there is no error.
> 
> This might be related to the user Tomcat is running under. As of 8.5.44 the 
> default user is LocalService rather than LocalSystem. LocalService has fewer 
> privileges.
> 
> Mark
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to