[JBoss Seam] - Re: Ajax4jsf UnboundedFifoBuffer
by alesj
"pete.muir(a)jboss.org" wrote : Ales, please try with current CVS, I've fixed the drools problem, and put a temporary fix in place for the commons-beanutils problem.
Great, it works now, no more UnboundedFifoBuffer exception. :-)
Thanks Pete!
But now I'm getting this - for every request where jbpm is used:
| 13:36:42,546 INFO [CachedConnectionManager] Closing a connection for you. Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection@121052
| java.lang.Throwable: STACKTRACE
| at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:290)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:417)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
| at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
| at org.jbpm.persistence.db.DbPersistenceService.getConnection(DbPersistenceService.java:178)
| at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:101)
| at org.jbpm.JbpmContext.getSession(JbpmContext.java:506)
| at org.jboss.seam.bpm.ManagedJbpmContext.joinTransaction(ManagedJbpmContext.java:88)
| at org.jboss.seam.bpm.ManagedJbpmContext.getJbpmContext(ManagedJbpmContext.java:73)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
| at org.jboss.seam.Component.callComponentMethod(Component.java:2083)
| at org.jboss.seam.Component.unwrap(Component.java:2109)
| at org.jboss.seam.Component.getInstance(Component.java:1888)
| at org.jboss.seam.Component.getInstance(Component.java:1853)
| at org.jboss.seam.Component.getInstance(Component.java:1830)
| at org.jboss.seam.Component.getInstance(Component.java:1825)
| at org.jboss.seam.bpm.ManagedJbpmContext.instance(ManagedJbpmContext.java:165)
| at org.jboss.seam.bpm.PooledTaskInstanceList.getPooledTaskInstanceList(PooledTaskInstanceList.java:32)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
| at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.bpm.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:49)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:38)
| at org.jboss.seam.util.Work.workInTransaction(Work.java:40)
| at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:32)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
| at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:155)
| at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:91)
| at org.jboss.seam.bpm.PooledTaskInstanceList_$$_javassist_5.getPooledTaskInstanceList(PooledTaskInstanceList_$$_javassist_5.java)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
| at org.jboss.seam.Component.callComponentMethod(Component.java:2083)
| at org.jboss.seam.Component.unwrap(Component.java:2109)
| at org.jboss.seam.Component.getInstance(Component.java:1888)
| at org.jboss.seam.Component.getInstance(Component.java:1841)
| at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
| at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
| at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:177)
| at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
| at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
| at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
| at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
| at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
| at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| at javax.faces.component.UIData.getValue(UIData.java:582)
| at javax.faces.component.UIData.getDataModel(UIData.java:1063)
| at javax.faces.component.UIData.setRowIndex(UIData.java:417)
| at com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:85)
| at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788)
| at javax.faces.component.UIData.encodeBegin(UIData.java:879)
| at javax.faces.component.UIComponent.encodeAll(UIComponent.java:884)
| at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
| at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
| at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:577)
| at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
| at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
| at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
| at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
| at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
| at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
| at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
| at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| at java.lang.Thread.run(Thread.java:595)
|
Looks like JbpmContext doesn't close session/connection.
Is this a known issue or should I start a new post?
Or is this my problem? :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087854#4087854
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087854
18 years, 7 months
[JBoss Messaging] - Re: Bridge cannot find session with QOS_ONCE_AND_ONLY_ONCE
by julians37
Since there's been no follow-up, let me quickly summarize this issue from my point of view:
First of all, your advice of using unique ServerPeerIDs across the board fixed this issue for me, and in my environment it is a viable solution. So let me say thanks a lot for sticking with me and helping me track this one down, I appreciate your help and patience very much.
>From this point on it's not about solving a problem of mine but rather I'm just making suggestions as to how JBM as a product could become better by making its setup and its interoperation with other JBM providers smoother.
All I'm saying is that from my point of view, the requirement of having to explicitly assign unique IDs to nodes in a cluster is cumbersome to begin with, but having to make sure they are unique across clusters appears unfortunate. I do not have a personal interest in getting this improved but I would suggest to look into ways of simplifying the configuration process.
Speaking with my limited background on JBM internals, one approach might be to try and take into account more information than the ServerPeerID. The partition a node is part of could be one such piece of information. Whether a node is clustered at all could be another since if it's not, there is no point in assuming a peer could be the same as "this" node.
Another approach might be to not default the ServerPeerID to a numeric constant but rather, if that's possible at all, to a string identifier derived from information such as an external interface address of localhost and possibly a port number.
At any rate, thanks once more for your patience and your advice and I'm sorry should my last posts have come off as confrontational.
All the best,
Julian
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087851#4087851
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087851
18 years, 7 months
[JBoss Seam] - Embedded s:link in a rich:tree
by jbeaken
Hi,
using seam 1.2.1GA, jboss 4.2.1, richfaces 3.1.0.
Upon using a rich:tree, I wish to embedd an s:link with an action that takes a method parameter. The method parameter is derived from the current treerow, declared from the var="item" attribute, like :
| <rich:tree style="width:300px" switchType="ajax">
| <rich:recursiveTreeNodesAdaptor roots="#{listUsersFoldersService.folderTree}" var="item" nodes="#{item.childFoldersAsArray}">
| <rich:treeNode>
| <h:outputText value="#{item.name}"/>
| <h:outputText value="#{item.id}"/>
| <s:link action="#{viewFolderService.view(item.id)}">
| <img class="listiconfix" title="..: VIEW :.." src="assets/images/view_icon.png" alt="..: VIEW :.." />
| </s:link>
| </rich:treeNode>
| .......
The <h:outputText value="#{item.id}"/> outputs the correct id, but the
<s:link action="#{viewFolderService.view(item.id)}">
always passes a null id,
anybody got any ideas, can you not use the assigned variable this way?
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087843#4087843
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087843
18 years, 7 months