Support #869
ecustody slowness on weblogic server
Status: | Work Completed-End life cycle | Start date: | May 03, 2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | May 03, 2011 | |
Assignee: | Ahmad Hazri | % Done: | 100% | |
Category: | - | Estimated time: | 3.00 hours | |
Target version: | - | Spent time: | - |
Description
find tune on weblogic server for slowness issue
History
#1 Updated by Ahmad Hazri over 13 years ago
- Status changed from New - Begin Life Cycle to Development / Work In Progress
- Assignee set to Ahmad Hazri
- % Done changed from 0 to 10
Able to resolve the slowness issue by add below parameters in WEB-INF/weblogic.xml
<?xml version="1.0" encoding="ISO-8859-1"?> <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd"> <container-descriptor> <prefer-web-inf-classes>true</prefer-web-inf-classes> </container-descriptor> <jsp-descriptor> <precompile>true</precompile> </jsp-descriptor> </weblogic-web-app>
Will monitoring the status till Friday.
#2 Updated by Ahmad Hazri over 13 years ago
- % Done changed from 10 to 20
JSP precompile explanation
In case of web applications (webapps) deployed on WebLogic Server (WLS), each time the server is restarted, the Java Sever Pages (JSP) of the applications are recompiled.
In this scenario, when the request is sent to a particular JSP, this one is compiled at that time, resulting in performance issue for the first request, i.e., processing of the first request takes a long time.
To avoid this issue, the parameter precompile is set to true in the weblogic.xml file of the webapps which ideally should precompile all the JSPs at the time of server restart itself.
#3 Updated by Tan Lee Yong about 13 years ago
Is this issue resolved? Please update by today.
#4 Updated by Ahmad Hazri almost 13 years ago
- Status changed from Development / Work In Progress to Work Completed-End life cycle
- % Done changed from 20 to 100
issue resolved