tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: nsapi_redirector.so file
Date Mon, 07 Jul 2008 10:06:17 GMT
sandeep gelli wrote:
> Hi Rainer,
> 
> Finally got it. I have changed my page redirection from response.redirect()
> to requestDispatcher.forward() and it worked. This was actually a trail and

Thanks for letting us know.

> error that i did, any logic behind this?

No, not really. Do you see the final request, i.e. the redirect request 
(the one for form_bt1.jsp) in the web server access log?

Do you get the same response, if you call the URL e.g. via the "curl" 
client (and also set the cookie)?

Is every redirect broken? I.e. do you have 301 or 302 status codes in 
your access log and the app works across those requests?

Maybe there is some interaction with the j2ee plugin defined in 
magnus.conf and the block

<Object name="jsp092">
...
</Object>

in obj.conf.

Regards,

Rainer

> On 7/5/08, Rainer Jung <rainer.jung@kippdata.de> wrote:
>> sandeep gelli schrieb:
>>
>>> Hi Rainer,
>>>
>>> Any advise on this?
>>>
>> The log looks fine. All requests, that are processed by the plugin are
>> forwarded to the backend and return a result to the client. Those requests
>> are:
>>
>> 10.111.33.24 port=443 uri=/XXX/balance_transfer/form_bt0.jsp
>> 10.111.33.24 port=443 uri=/XXX/css/font.css
>> 10.111.33.24 port=443 uri=/XXX/js/formvalidation.js
>> 10.111.33.24 port=443 uri=/XXX/js/pageprogress.js
>> 10.111.33.24 port=443
>> uri=/XXX/balance_transfer/js/custom_formvalidation.js
>> 10.111.33.24 port=443 uri=/XXX/balance_transfer/images/hd_bt.jpg
>> 10.111.33.24 port=443 uri=/XXX/balance_transfer/images/spacer.gif
>> 10.111.33.24 port=443 uri=/XXX/images/spinner.gif
>> 10.111.33.24 port=443 uri=/XXX/balance_transfer/form_controller
>>
>> Only the last one doesn't produce a full response page. Instead your
>> application returns a redirect to:
>>
>> https://10.111.33.24/XXX/balance_transfer/form_bt1.jsp
>>
>> Is that the same server, port and protocol, that you use when you call the
>> start page with the browser? I guess the redirect is using the wrong
>> server/port/protocol and that's why the request for
>>
>> https://10.111.33.24/XXX/balance_transfer/form_bt1.jsp
>>
>> doesn't reach the plugin.
>>
>> Regards,
>>
>> Rainer
>>
>> Thanks
>>>> On 7/3/08, Rainer Jung <rainer.jung@kippdata.de> wrote:
>>>>
>>>>> sandeep gelli wrote:
>>>>>
>>>>>
>>>>> see the title page. When i submit the page, i can see the logs in the
>>>>>
>>>>>> tomcat
>>>>>> and tomcat successfully responding to the request. But, the webserver
>>>>>> is
>>>>>> unable to get the response from the tomcat. The 404 status is from
the
>>>>>> webserver.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message