|
|
|
JOLTPOOLING 3 Months, 2 Weeks ago
|
|
|
Just want to share, this is how the JOLTPOOLING is being taken care at the servlet level, this same snippet is being used in the all the servlets like psc, psp, SchedulerTransfer, PSAttachServelt, etc. We disable/enable them at the servlet basis only in web.xml. Whereas the web.xml act as the servlet configuration file and even also also termed as weblogic descriptors files (web.xml, weblogic.xml). Once you make this change then this snippet is called in in the respective servlet. For reading these codes, we need to use the Java Dcompiler to read all the servlet files at the location (PS_HOME\webserv\peoplesoft\applications\peoplesoft\PORTAL\WEB-INF\classes\psft\pt8) to understand the JOLTPOOLING, how it has been embeded in all the servelets meant for PeopleSoft. In WL console, we would find the link for JOLTPOOLING but it would be empty as in Peoplesoft JOLTPOOLING is being taken care at the servlet level.
public void init(ServletConfig servletconfig)
throws ServletException
{
super.init(servletconfig);
PIAContext piacontext = PIAContext.getPIAContext();
piacontext.init1(servletconfig);
CacheUtil.loadCacheContext(piacontext);
configDir = servletconfig.getInitParameter("configDir");
PSAuthenticator.initConfiguration(servletconfig);
String s = servletconfig.getInitParameter("joltPooling");
if(s != null)
{
LoginInfo.setJoltPooling(s);
} else
{
LoginInfo.setJoltPooling("false");
}
String s1 = servletconfig.getInitParameter("maxPoolSize");
if(s1 != null)
{
LoginInfo.setMaxPoolSize(Integer.valueOf(s1).intValue());
}
log = Logger.getSingleton();
config = servletconfig;
}
|
|
|
|
Logged
|
|
|
|
|