Thanks much for quick responses . Here I added more details.
We are not using maven-war-plugin . Also not using war file and web.xml file hence webfrag.xml is not merged into web.xml .
Our application uses jetty-web.xml file and all the precompiled pages (jetty-jspc-maven-plugin) are packaged into jar file along with other model classes for both versions 8.1.4 and 9.4.5
With Jetty version : 8.1.4 : we still seeing a /tmp/jetty-0.0.0.0-9010-webapp-_core-any-/jsp is getting created with 0 files under it. No issues seen.
With Jetty version 9.4.5 : We see /tmp/embedded-jetty-jsp/jsp/org/apache/jsp/pages is getting created with .class jsp pages. The issues we encountered is linux tmpwatch cron job is deleting these files older than 10days . when we access the portal later then the JSP pages are recompiled and located in /tmp location but the problem is we dont see all .class files are generated for all pages /tmp location though we navigate all the pages in portal. Hence we are getting IOException and no class defin found errors.
Error // this caused error due to only 2 folders were created with .class pages - not sure why it could not create other folders as listed below
[ ~]$ cd /tmp/embedded-jetty-jsp/jsp/org/apache/jsp/pages/
[]$ ls -lrt
total 8
drwxr-xr-x 2 xx xx 4096 Sep 7 19:16 product
drwxr-xr-x 2 xxx xx 4096 Sep 14 22:01 model
Expected : if tmp location has all these below folders then we dont encounter any errors
[/tmp/embedded-jetty-jsp/jsp/org/apache/jsp/pages]$ ls -lrt
total 28
drwxr-xr-x 2 ccc ccc 4096 Sep 15 07:39 auth
drwxr-xr-x 2 ccc ccc 4096 Sep 15 08:36 model
drwxr-xr-x 2 ccc ccc 4096 Sep 15 09:44 user
drwxr-xr-x 2 ccc ccc 4096 Sep 15 09:45 role
drwxr-xr-x 2 ccc ccc 4096 Sep 15 15:36 common
drwxr-xr-x 2 ccc ccc 4096 Sep 15 15:36 account
drwxr-xr-x 2 ccc ccc 4096 Sep 15 15:36 product
Please help us on these.
1. why the jetty has recompiled only few pages as shown above when tmpwatch cleaned up /tmp folder ?
2. How to make sure the application uses precompiled jsps only and stop creating .class jsps in /tmp location ? I want application use only precompiled pages - without using web.xml file and war deployment model
Thank you