Agile SDK Is Not Caching Some Class Files
(Doc ID 2123895.1)
Last updated on JANUARY 24, 2024
Applies to:
Oracle Agile PLM Framework - Version 9.3.3.0 and laterInformation in this document applies to any platform.
Symptoms
Actual Behavior
When running createSession() from SDK program, some of the class files are not cached. So when attempting to run the same program from the same client PC again, GET /Agile/LoaderServlet?op=loadClass will be called again.
Expected Behavior
When running createSession() from SDK program, all the class files to be cached appropriately to AgileSDK.cache, so that "GET /Agile/LoaderServlet" will not run again to load the missing class files to improve performance.
Steps to Reproduce
1. On the PC client machine, run createSession() from SDK program
2. Rerun the same SDK program
3. Check access.log on Agile Application server.
4. See log that "GET /Agile/LoaderServlet" is trying to load the class files again:
xx.xxx.x.xx - - [07/3/2016:01:48:36 +0900] "GET
/Agile/LoaderServlet?op=loadClass&val=com%2Fagile%2Fpc%2Fcmserver%2Fpcmhelper%2FPCMHelperSessionBean_9xz6y2_HomeImpl_1211_WLStub.class HTTP/1.1" 404 1164
xx.xxx.x.xx - - [07/3/2016:01:48:36 +0900] "GET
/Agile/LoaderServlet?op=loadClass&val=com%2Fagile%2Fpc%2Fcmserver%2Fpcmhelper%2FPCMHelperSessionBean_9xz6y2_HomeImpl_1211_WLStub.class HTTP/1.1" 404 1164
xx.xxx.x.xx - - [07/3/2016:01:48:36 +0900] "GET
/Agile/LoaderServlet?op=findAndGetResource&val=weblogic%2Fjndi%2Finternal%2Fjndiprovider.properties HTTP/1.1" 404 1164
xx.xxx.x.xx - - [07/3/2016:01:48:36 +0900] "GET
/Agile/LoaderServlet?op=findResources&val=weblogic%2Fjndi%2Finternal%2Fjndiprovider.properties HTTP/1.1" 404 1164
xx.xxx.x.xx - - [07/3/2016:01:48:36 +0900] "GET
/Agile/LoaderServlet?op=loadClass&val=com%2Fagile%2Fpc%2Fcmserver%2Fpcmhelper%2FPCMHelperSessionBean_9xz6y2_EOImpl_1211_WLStub.class HTTP/1.1" 404 1164
..
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |