[JBoss Messaging] - Re: JBoss Messaging Locked Up
by rtm333
Tim,
Thanks for the quick replies. I will try the fix from TRUNK on Monday.
In the meantime here are some further observations from my last tests with GA:
I suppose part of the memory issues stem from the use of HSQL (for easier reproducability I use the out-of-the-box messaging configuration for the tests). It happens if one of the test subscribers has a very long session restart cycle time and the publishers produce messages faster than they can be consumed. As is to be expected memory usage starts to grow after more than 200.000 messages build up in the subscription.
What I also observed when messages started to be persisted is that the JMS system locked up temporarily several times for about 6 to 8 minutes! After that time message publishing and consuming resumed. I suppose some timer task has performed some cleanup operation at that time, although I have no idea what it might be.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052154#4052154
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052154
18Â years, 10Â months
[JBoss Seam] - Problem with
by endremr
Hello!
We have a Seam 1.2.1 application that runs as a portlet under JBoss Portal. We use a really simple subclass of "MyFacesGenericPortlet" called "SmsPortlet" just to do some checking on url parameters, nothing else, just calling super methods.
Our application is "pinged" every 5 minute to check if it responds as it should. This works, but we have had some trouble that after a couple of days, the application fails for the ping with the stack that is included below.
It seems that there are something wrong with the sessions. But the ping doesn't use cookies, so new sessions are created for each request.
Do anybody have a clue of what could be wrong? Some times after starting to get this exception, it continues to come for almost every request to the spesific url, and we have to restart JBoss.
Thanks in advance for any suggestions :)
[17:30:55,863,SmsPortlet] Exception occured while facesRender
| java.lang.IllegalStateException: getAttribute: Session already invalidated
| at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:1011)
| at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:109)
| at org.jboss.seam.servlet.ServletSessionImpl.getAttribute(ServletSessionImpl.java:32)
| at org.jboss.seam.contexts.WebSessionContext.get(WebSessionContext.java:49)
| at org.jboss.seam.Component.getInstance(Component.java:1621)
| at org.jboss.seam.Component.getInstance(Component.java:1599)
| at org.jboss.seam.Component.getInstance(Component.java:1594)
| at org.jboss.seam.core.LocaleSelector.instance(LocaleSelector.java:171)
| at org.jboss.seam.jsf.SeamViewHandler.calculateLocale(SeamViewHandler.java:32)
| at org.jboss.seam.jsf.SeamViewHandler.calculateLocale(SeamViewHandler.java:25)
| at org.jboss.seam.jsf.SeamViewHandler.calculateLocale(SeamViewHandler.java:25)
| at com.sun.facelets.FaceletViewHandler.calculateLocale(FaceletViewHandler.java:707)
| at org.apache.myfaces.application.jsp.JspViewHandlerImpl.createView(JspViewHandlerImpl.java:130)
| at org.jboss.seam.jsf.SeamViewHandler.createView(SeamViewHandler.java:43)
| at org.jboss.seam.jsf.SeamViewHandler.createView(SeamViewHandler.java:43)
| at org.jboss.seam.jsf.SeamViewHandler.createView(SeamViewHandler.java:43)
| at com.sun.facelets.FaceletViewHandler.createView(FaceletViewHandler.java:718)
| at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:320)
| at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298)
| at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380)
| at no.schibstedsok.commons.portlet.SmsPortlet.doView(SmsPortlet.java:100)
| at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
| at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
| at no.schibstedsok.commons.portlet.SmsPortlet.render(SmsPortlet.java:75)
| at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519)
| at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440)
| at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:143)
| at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
| at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:85)
| at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
| at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
| at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101)
| at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
| at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
| at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
| at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49)
| at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:50)
| at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:59)
| at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:45)
| at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
| at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:76)
| at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124)
| at sun.reflect.GeneratedMethodAccessor379.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:104)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
| at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
| at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
| at org.jboss.portal.portlet.impl.spi.AbstractRequestContext.include(AbstractRequestContext.java:193)
| at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:68)
| at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:84)
| at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:74)
| at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:50)
| at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:65)
| at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:61)
| at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
| at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:114)
| at sun.reflect.GeneratedMethodAccessor378.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy44.invoke(Unknown Source)
| at org.jboss.portal.portlet.state.producer.StatefulPortletInvoker.invoke(StatefulPortletInvoker.java:249)
| at sun.reflect.GeneratedMethodAccessor377.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy46.invoke(Unknown Source)
| at org.jboss.portal.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:139)
| at org.jboss.portal.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:155)
| at sun.reflect.GeneratedMethodAccessor376.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy48.invoke(Unknown Source)
| at org.jboss.portal.portlet.test.TestPortletInvoker$1.dispatch(TestPortletInvoker.java:63)
| at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
| at org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:85)
| at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:93)
| at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:83)
| at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
| at org.jboss.portal.portlet.test.TestPortletInvoker.invoke(TestPortletInvoker.java:123)
| at sun.reflect.GeneratedMethodAccessor370.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy30.invoke(Unknown Source)
| at org.jboss.portal.core.impl.model.instance.InstanceImpl.invoke(InstanceImpl.java:273)
| at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:108)
| at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
| at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:171)
| at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
| at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
| at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
| at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
| at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
| at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91)
| at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:148)
| at org.jboss.portal.core.command.MarkupCommand.renderPortletWindow(MarkupCommand.java:463)
| at org.jboss.portal.core.command.RenderPageCommand.renderFragments(RenderPageCommand.java:76)
| at org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:340)
| at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
| at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:171)
| at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
| at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
| at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
| at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
| at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
| at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91)
| at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:78)
| at org.jboss.portal.core.CoreController.handle(CoreController.java:126)
| at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
| at $Proxy509.handle(Unknown Source)
| at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:79)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
| at org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:64)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:74)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:174)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:92)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
| at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:275)
| at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
| at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
| at org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:294)
| at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:172)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
| at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
| at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
| at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
| at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
| at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
| at java.lang.Thread.run(Thread.java:595)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052151#4052151
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052151
18Â years, 10Â months
[JBoss Seam] - Re: Seam + Maven + Richfaces + softeu
by maku01
Here is the solution for me working with the softeu maven tool:
e.g.
1) Generate a maven based project with:
mvn archetype:create -DarchetypeArtifactId=softeu-archetype-seam -DremoteRepositories=http://maven.softeu.cz/ -DgroupId=at.test -DartifactId=testapp
|
This is equivalent to the seam generator (seam new-project)
After the generation process you are able to run the application e.g. with "mvn jetty:run".
When I pointed the browser to the app it seams first that the app runs fine.
But in my case I had the problem that richfaces tags are not resolved.
(The browser receives html code like <rich:panel> </rich:panel> and so on)
2)
The solution for the problem (at least for me) was to eliminate the following dependency from the pom.xml
<dependency>
|
| <groupId>jboss.seam.profiles</groupId>
|
| <artifactId>seam-ajax4jsf</artifactId>
|
| <version>${seam.version}</version>
|
| <scope>compile</scope>
|
| </dependency>
|
and to add new dependencies (only existing in my local repository) like this:
<!--- START ajax4jsf locally installed -->
|
| <dependency>
|
| <groupId>richfaces</groupId>
|
| <artifactId>richfaces</artifactId>
|
| <version>3.0.1</version>
|
| </dependency>
|
|
|
| <dependency>
|
| <groupId>ajax4jsf</groupId>
|
| <artifactId>ajax4jsf</artifactId>
|
| <version>1.1.1</version>
|
| </dependency>
|
|
|
| <dependency>
|
| <groupId>opensymphony</groupId>
|
| <artifactId>oscache</artifactId>
|
| <version>2.3.2</version>
|
| </dependency>
|
| <!--- END ajax4jsf locally installed -->
|
(for me it worked only with the version richfaces 3.0.1 and ajax4jsf 1.1.1)
Hope this helps for anybody who has the same problem.
3)
Although, I'm NOT really happy with this solution. It is my strong believe that a maven based tool supported from JBoss would be a real huge benefit for the developer community.
>From my point of view maven is a really good tool.
Especially when you work in a larger enterprise and you have many projects and dependencies between them I can not easy handle the dependencies with a tool like ant.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052150#4052150
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052150
18Â years, 10Â months