[JBossCache] - Over 100 of the same error stack trace in the log per reques
by rwillie6
My setup:
3 - machine glassfish v2 cluster
Hibernate 3.2 for persistence
JBoss TreeCache provider for Hibernate second-level caching
Whenever I request a page, I see over a hundred copies of the stack trace below show up in the server log. I'm confused by a few things,
1) It seems to be a problem yet is logged at level info?
2) Why are there SO many of them for one request?
3) Part way through that, it mentions (in bold) a class in my app that I use for an EL function in my JSP. Without the cache, this works just fine. How does it manifest into a problem with the cache?
Does this have something to do with lazy-initialization?
Thanks!
Log Level INFO
Logger org.jboss.cache.interceptors.TxInterceptor
Name-Value Pairs _ThreadID=23;_ThreadName=httpSSLWorkerThread-38080-5;
Record Number 740
Message ID
There was a problem handling this request java.lang.NullPointerException at org.jboss.cache.interceptors.OptimisticNodeInterceptor.invoke(OptimisticNodeInterceptor.java
Complete Message
68) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:67) at org.jboss.cache.interceptors.OptimisticCreateIfNotExistsInterceptor.invoke(OptimisticCreateIfNotExistsInterceptor.java:68) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:67) at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.invoke(OptimisticValidatorInterceptor.java:76) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:67) at org.jboss.cache.interceptors.OptimisticLockingInterceptor.invoke(OptimisticLockingInterceptor.java:116) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:67) at org.jboss.cache.interceptors.InvalidationInterceptor.invoke(InvalidationInterceptor.java:54) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:67) at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:330) at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:141) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:67) at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:181) at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:4952) at org.jboss.cache.TreeCache.remove(TreeCache.java:3338) at org.jboss.cache.TreeCache.remove(TreeCache.java:2882) at org.hibernate.cache.OptimisticTreeCache.writeLoad(OptimisticTreeCache.java:76) at org.hibernate.cache.TransactionalCache.put(TransactionalCache.java:55) at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:156) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854) at org.hibernate.loader.Loader.doQuery(Loader.java:729) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236) at org.hibernate.loader.Loader.loadCollection(Loader.java:1994) at org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:36) at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:565) at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:60) at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1716) at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:344) at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86) at org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:109) at org.hibernate.collection.PersistentBag.size(PersistentBag.java:225) at com.stag.helpers.ELFunctions.getCollectionSize(ELFunctions.java:293) at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.el.parser.AstFunction.getValue(AstFunction.java:127) at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206) at org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:984) at org.apache.jsp.WEB_002dINF.jsps.EventChooser_jsp._jspx_meth_c_forEach_1(Unknown Source) at org.apache.jsp.WEB_002dINF.jsps.EventChooser_jsp._jspService(Unknown Source) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) at com.stag.servlet.EventServlet.doGet(EventServlet.java:92) at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at com.stag.servlet.filter.SecurityTokenFilter.doFilter(SecurityTokenFilter.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212) at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:361) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109730#4109730
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109730
17 years
[JBoss jBPM] - TaskInstance and ProcessInstance not ending
by Sowmya Yellamilli
Hi ,
In my processDefinition the taskNode before End-State is not ending....and so the process is not ending...I mean if I have 2 TaskNodes the one before end-state is not ending....If I have 1 taskNode that one is also not ending
Here is the processDefinition:
<?xml version="1.0" encoding="UTF-8" ?>
| <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="ManagerAllocation">
| <swimlane name="Agent">
| <assignment class="com.expeditor.workallocation.ManagerAssignmentHandler">
| <domainTable>AgentTrans</domainTable>
| </assignment>
| </swimlane>
| <swimlane name="QcAgent">
| <assignment class="com.expeditor.workallocation.QCAssignmentHandler">
| <domainTable>AgentTrans</domainTable>
| <qcDomainTable>QcTrans</qcDomainTable>
| </assignment>
| </swimlane>
| <start-state name="Start">
| <transition name="To Process Maintanence Request" to="Process Maintanence Request" />
| </start-state>
| <task-node name="Process Maintanence Request">
| <task name="Process Maintanence Request" swimlane="Agent">
| </task>
| <transition name="To Perform QC" to="Perform QC" ></transition>
| </task-node>
| <task-node name="Perform QC">
| <task name="Perform QC" swimlane="QcAgent" >
| </task>
| <transition name="To End Process" to="End Process"></transition>
| </task-node>
| <end-state name="End Process" />
| </process-definition>
|
Any Help Please....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109719#4109719
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109719
17 years