Re: [Freemarker-devel] Object lock in freemarker
Generates text that depends on changing data (like dynamic HTML).
Brought to you by:
revusky
From: Attila S. <sze...@gm...> - 2016-08-01 17:48:32
|
Does your dump show another thread holding the lock? Also, note this list is retired (I’m surprised I still get mail from it, especially since I no longer am active in the project…) See <http://freemarker.org/mailing-lists.html <http://freemarker.org/mailing-lists.html>> for the current lists, or any of the other options in the “Community” sidebar on the website. Attila. > On 01 Aug 2016, at 12:02, sreenath579 <sre...@gm...> wrote: > > Hi, > > We have a system developed in Struts2 and deployed in Weblogic 10.3.6. But > there is an object lock is appearing while analyzing the thread dump . i am > using freemarker-2.3.13.jar. > > "[ACTIVE] ExecuteThread: '276' for queue: 'weblogic.kernel.Default > (self-tuning)'" daemon prio=10 tid=0x00002b8c54e76800 nid=0x3e18 waiting for > monitor entry [0x00002b8c8ca06000] > java.lang.Thread.State: BLOCKED (on object monitor) > at freemarker.ext.beans.BeansModelCache.create(BeansModelCache.java:31) > - waiting to lock <0x00000005243d7bf0> (a java.util.HashMap) > at freemarker.ext.util.ModelCache.getInstance(ModelCache.java:115) > at freemarker.ext.beans.BeansWrapper.wrap(BeansWrapper.java:468) > at > freemarker.template.WrappingTemplateModel.wrap(WrappingTemplateModel.java:134) > at > org.apache.struts2.views.freemarker.ScopesHashModel.get(ScopesHashModel.java:94) > at freemarker.core.Environment.getGlobalVariable(Environment.java:1088) > at freemarker.core.Environment.getVariable(Environment.java:1074) > at freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70) > at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) > at freemarker.core.Dot._getAsTemplateModel(Dot.java:74) > at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) > at freemarker.core.BuiltIn$defaultBI._getAsTemplateModel(BuiltIn.java:907) > at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) > at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:86) > at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) > at freemarker.core.Expression.getStringValue(Expression.java:93) > > > > > > > -- > View this message in context: http://freemarker.624813.n4.nabble.com/Object-lock-in-freemarker-tp4655639.html > Sent from the freemarker-devel mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > FreeMarker-devel mailing list > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/freemarker-devel |