Discussion

getsectionhtml causing performance issues

Hi,

We are facing server response issues and both pega alert and pega rules log point to this Pega Pro-Com activity. Am pasting the log below. Any suggestion highly appreciated..

com.pega.pegarules.pub.PRRuntimeException: Encountered a withEmbedded tag with property "$save(actionPage)" of non-page mode Unknown; it will be ignored
at com.pega.pegarules.jsptags.WithEmbeddedTag.evaluateWithStart(WithEmbeddedTag.java:106)
at com.pega.pegarules.jsptags.WithTag.doStartTag(WithTag.java:79)
at com.pegarules.generated.html.ra_stream_loan_work_request__flowactionhtml_inputenabled_32ef80add2fd685d5d657c6b20fa8783._jspService(ra_stream_loan_work_request__flowactionhtml_inputenabled_32ef80add2fd685d5d657c6b20fa8783.java:255)
at com.pegarules.generated.html.ra_stream_loan_work_request__flowactionhtml_inputenabled_32ef80add2fd685d5d657c6b20fa8783.execute(ra_stream_loan_work_request__flowactionhtml_inputenabled_32ef80add2fd685d5d657c6b20fa8783.java:92)
at com.pega.pegarules.engine.runtime.Executable.getStream(Executable.java:3210)
at com.pega.pegarules.engine.runtime.Executable.getStream(Executable.java:3111)
at com.pegarules.generated.html_section.ra_stream_loan_work_request__flowactionhtml_simple_inputenabled_2e1519fdcd8906e1ef81c49c6cb84541._jspService(ra_stream_loan_work_request__flowactionhtml_simple_inputenabled_2e1519fdcd8906e1ef81c49c6cb84541.java:224)
at com.pegarules.generated.html_section.ra_stream_loan_work_request__flowactionhtml_simple_inputenabled_2e1519fdcd8906e1ef81c49c6cb84541.execute(ra_stream_loan_work_request__flowactionhtml_simple_inputenabled_2e1519fdcd8906e1ef81c49c6cb84541.java:92)
at com.pega.pegarules.engine.runtime.Executable.getStream(Executable.java:3210)
at com.pega.pegarules.engine.runtime.Executable.getStream(Executable.java:3111)
at com.pegarules.generated.activity.ra_action_rule_html_section_getsectionhtml_87e13e28cb1fd66a74cd81b0af792e89.step3_circum0(ra_action_rule_html_section_getsectionhtml_87e13e28cb1fd66a74cd81b0af792e89.java:320)
at com.pegarules.generated.activity.ra_action_rule_html_section_getsectionhtml_87e13e28cb1fd66a74cd81b0af792e89.perform(ra_action_rule_html_section_getsectionhtml_87e13e28cb1fd66a74cd81b0af792e89.java:103)
at com.pega.pegarules.engine.runtime.Executable.doActivity(Executable.java:2929)
at com.pega.pegarules.engine.context.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:383)
at com.pega.pegarules.engine.context.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:484)
at com.pega.pegarules.services.HttpAPI.runActivities(HttpAPI.java:1529)
at com.pega.pegarules.services.EngineAPI$1.run(EngineAPI.java:255)
at com.pega.pegarules.engine.context.PREnvironment.doWithRequestorLocked(PREnvironment.java:721)
at com.pega.pegarules.engine.context.PREnvironment.doWithRequestorLocked(PREnvironment.java:543)
at com.pega.pegarules.services.EngineAPI.doWithRequestorLocked(EngineAPI.java:226)
at com.pega.pegarules.services.EngineAPI.processRequest(EngineAPI.java:242)
at com.pega.pegarules.services.HttpAPI.invoke(HttpAPI.java:433)
at com.pega.pegarules.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:255)
at com.pega.pegarules.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:214)
at com.pega.pegarules.etier.ejb.EngineBean.invokeEngine(EngineBean.java:220)
at com.pega.pegarules.etier.interfaces.EJSLocalStatelessEngineBMT_832fc0a1.invokeEngine(Unknown Source)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:270)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:215)
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:265)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:163)
at com.pega.pegarules.web.servlet.WebStandard.doPost(WebStandard.java:89)
at com.pega.pegarules.web.servlet.WebStandard.doGet(WebStandard.java:78)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:111)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

April 16, 2010 - 11:43am

Hi Radhav,

Is there a resolution to the problem originally noted? I am facing the same problem now in Pega 5.4 SP3.

March 16, 2009 - 3:42pm

Share your HTML code so that will known whether the Code issue or some thing else.

March 18, 2009 - 8:33am

Following is captured from preview of the activity:
Activity: GetSectionHtml

The GetSectionHtml Activity applies to Rule-HTML-Section and is defined in the Pega-ProCom RuleSet, version 05-03-01
.

Short Description: GetSectionHtml
Availability: Final

Steps
disable RulesInspector Settings
This is a Java step.
Create page tempPage of class param.ClassName
This is a Java step.
Remove tempPage from memory.
restore restore RuleInspector Settings
This is a Java step.
Return contents of property local parameter strSectionHtml on the primary page as XML

Parameters
Name Data type Required Description
ClassName String Required Class Name of the R-Html-Section
StreamName String Required Stream Name of the R-Html-Section
ReadOnly True or False Optional true - show stream as read only

Pages and Classes
The primary page is an instance of Rule-HTML-Section
The Page tempPage is an instance of $None

History
Created by ericosman5.3, on Wed Jan 17 11:23:20 EST 2007
Last modified by ericosman5.3, on Wed Jan 17 11:24:51 EST 2007

Close

March 19, 2009 - 11:40am

When I tried the same activity I didnt received any exceptions.
Please set logger level as ALL for the below class Rule_Obj_Activity.GetSectionHtml.Rule_HTML_Section and let me know if you get any exceptions while running activity.