[jboss-user] [JBoss Portal] - sendRedirect not working

sudarshanacharya do-not-reply at jboss.com
Tue Mar 18 16:20:43 EDT 2008


I am calling the sendRedirect method from the processAction using the actionResponse.

actionResponse.sendRedirect(absoluteURL);

I get the following error. I know there was a bug with sendRedirect sometime ago. Is it still not solved? If so, how do I workaround it?

I am using JbossAs 4.0.5.GA and JbossPortal2.6 beta

2008-03-18 15:02:58,041 ERROR [org.jboss.portal.server.servlet.PortalServlet.service()] Unexpected exception
java.lang.IllegalStateException
	at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:432)
	at org.jboss.portal.core.controller.classic.AbstractResponseHandler.sendRedirect(AbstractResponseHandler.java:57)
	at org.jboss.portal.core.controller.portlet.PortletResponseHandler.handleResponse(PortletResponseHandler.java:91)
	at org.jboss.portal.core.controller.classic.ClassicController.handleResponse(ClassicController.java:167)
	at org.jboss.portal.core.controller.classic.ClassicController.handle(ClassicController.java:91)
	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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137579#4137579

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137579



More information about the jboss-user mailing list