[jboss-user] [JBoss Portal] - Re: Why - solution

hubertg do-not-reply at jboss.com
Tue Jul 11 04:40:21 EDT 2006


hi,
i found a solution for this problem:

as of cvs version 1.89 of /portal-core-sar/META-INF/jboss-service.xml the bridge interceptor has been switched off temporarily.

my solution:
i added the following in line 281 (after SessionPostDispatch) to the file jboss-service.xml
<depends-list-element>portal:service=Interceptor,type=Portlet,name=Bridge</depends-list-element>
  | 

restart jboss, then it works. of course I do not know why the  Bridge interceptor has been deactivaed, maybe there exist good reasons for doing this?

now i have additional questions:

as said, I use the following code to get the servletRequest

  | JBossServletContextProvider prov = new JBossServletContextProvider();
  | HttpServletRequest hreq = prov.getHttpServletRequest(this, rRequest);
  | 

imho the returned HttpServletRequest should behave like a standard servlet's HttpServletRequest, but it doesn't! eg: getParameter never returns any parameter values, there are simply no parameters at all; also hreq.getServletPath() returns null.

is this normal behaviour? is there a documentation about what to except when using the JBossServletContextProvider's HttpServletRequest?

thank you very much for any answers!
r
hubert

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

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



More information about the jboss-user mailing list