Ah, understood. See the logic in PortletTag.java from the JBoss Portal code base to see how to access the underlying HttpServletRequest.
Something like the following will get you access to the underlying ServletRequest:
| ServletRequest req = pageContext.getRequest();
| PortletInvocation invocation = (PortletInvocation)req.getAttribute(ContextDispatcherInterceptor.REQ_ATT_COMPONENT_INVOCATION);
| HttpServletRequest request = invocation.getDispatchedRequest();
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216345#4216345
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216345
Hello! I'm installing JBoss Mail Server 1.0M4.
When I add JBMS to my existing JBoss I see this error while starting server:
[img]http://cs1905.vkontakte.ru/u5502618/84116882/x_91644032.jpg[/img]
And when I installed JBMS with existing JBoss I see these errors whilr starting JBoss:
[img]http://cs1905.vkontakte.ru/u5502618/84116882/x_28f3edaa.jpg[/img]
[img]http://cs1905.vkontakte.ru/u5502618/84116882/x_69675122.jpg[/img]
Could you help me?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216332#4216332
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216332
I'm adding a system property "org.jboss.messaging.default-call-timeout", being parsed into ClientSessionFactoryImpl.
.. which I indend to remove it after a few runs on hudson, unless you guys want to keep it.
It was the easiest way to change the default call timeout for a couple tests on hudson.
I also have created a method threadDump on UnitTestCase. Say if you have an intermitent failure, maybe this method would help to take a dump and maybe help finding eventual locks holding send longer than expected. Right now I'm only using it on MultiThreadFailoverTest. As soon as hudson is back, I will look for more places where I would be interested on a threadDump when the call-timeout failure happened.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216303#4216303
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216303