Unable to Start Tomcat9 - The system cannot open the file.(Error in event logs)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Unable to Start Tomcat9 - The system cannot open the file.(Error in event logs)
Hi,
I am also facing the same issue, Tomcat fails to start, and I see the same error message in the system event logs:
The Apache Tomcat 9.0 Tomcat9 service terminated with the following service-specific error: The system cannot open the file.
Could anyone who has resolved this issue provide some guidance or share their solution?
Thank you!
Solved! Go to Solution.
- Labels:
-
Troubleshooting
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @SD_10908519 ,
This is a permission issue. Check if Tomcat is running in Administrative mode. That's the root cause.
Thanks,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @SD_10908519 Check the environment variable set for new java re-move the older path and check tomcat java option has connected to the new path.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Surya_Tiwari ,
1. I've confirmed that the Java environment variable is updated and correct.
2. Just to clarify, should I verify the JRE details from the Tomcat configuration? I’ve attached the relevant configuration file for your reference. Could you please provide more details on ensuring the Tomcat Java option is connected to the new path?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @SD_10908519 Run the java version command in cmd and check the latest version shown and check at the Apache Tomcat Java Options:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @SD_10908519,
I wanted to see if you got the help you needed.
If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Please note that industry experts also review the replies and may eventually accept one of them as solution on your behalf.
Of course, if you have more to share on your issue, please pursue the conversation.
Thanks,
PTC Community Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @SD_10908519 ,
This is a permission issue. Check if Tomcat is running in Administrative mode. That's the root cause.
Thanks,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
