[Performance Tuning] - JOPR Alert issues
by bpinkham
I just downloaded and installed the jopr agent and server components. I am able to get the monitoring up and running, but I get an error when i try to setup a new Alert. Here is a snipit from the Stack Trace display: javax.servlet.jsp.JspException: ServletException in '/portal/ColumnsLayout.jsp': javax.servlet.jsp.JspException: ServletException in '/resource/common/monitor/alerts/config/NewDefinition.jsp': Servlet execution threw an exception at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:923) at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462) at org.apache.jsp.portal.MainLayout_jsp._jspx_meth_tiles_005finsert_005f2(MainLayout_jsp.java:441) at org.apache.jsp.portal.MainLayout_jsp._jspx_meth_html_005fhtml_005f0(MainLayout_jsp.java:161) at org.apache.jsp.portal.MainLayout_jsp._jspService(MainLayout_jsp.java:81) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225592#4225592
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225592
17 years, 3 months
[Clustering/JBoss] - Re: How to configure region based caching & use multiple cac
by aman21cent
Could you please verify below steps on how this will be working -
Region X - needs to be replicated
Region Y - doesn't need to be replicated
Thread # 1 - Writes/puts into Region X in below steps
a. Writes/puts into Region X
Thread # 2 - Writes into Region Y at exact same time as Thread # 1 in below steps
a. Before writing/putting into the cache, call setCacheModeLocal(true)
b. Writes/puts into Region Y
Thread # 3 - Writes into Region X at exact same time as Thread # 1 in below steps
a. Writes/puts into Region X
As per your comments Thread # 2 step a) setCacheModeLocal variable is stored locally to it's own thread.
Let's go step by step -
1. Thread # 1 step a) is about to write into the region X & before it completes it's writing/putting step....
2. Thread # 2 step a) sets it to local cache mode.
3. Thread # 1 step a) is now actually writing into the cache - assuming default value of local cache mode variable is false this will be replicated - right?
4. Thread # 2 step b) writes into region Y - it stores locally.
5. Thread # 3 step a) - same as Thread # 1 - correct?
So I just need to call setCacheModeLocal(true) only before writing/putting into Region Y. Default value of this variable in local threads is false - right?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225587#4225587
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225587
17 years, 3 months