Internal Server Error - Read

2013-07-10 Thread Arnab Ghosh
500 error/exception in tomcat. One more interesting facts - it says client closed the connection with response body -0 Thanks, Arnab Ghosh

Overriding Close method of a Output print writer through HttpServletResponseWrapper

2013-02-02 Thread Arnab Ghosh
called when using with JSP. What can be the issue -  I have overridden the getOutPutStream/Getwriter method and those method will return my custom classes. I have also overridden the flushbuffer method. Thanks, Arnab Ghosh    

Single Sign On Valve

2010-04-19 Thread Arnab Ghosh
hanks, Arnab Ghosh

Re: Uniqueness of a sessionId

2010-01-09 Thread Arnab Ghosh
Dear Friends, Actually in my app I will be having 100 - 200 separte application/context which will forward request to a separate application / context running under same tomcat. I am doing this using cross-context mechanism. By this way I can reuse the servlets/jsp instances of that context. But

Fwd: Tomcat Session Id generation Overriding!!

2010-01-09 Thread Arnab Ghosh
ease tell me whether it will have any other problem or not?? Or can you give any alternative solution?? Actually I kept the existing code. With that I addeda a static set. And I am keeping the generated session in set also. While generating Id I am trying to add that to set. if successfully added then I will return that key. Thanks Arnab Ghosh

Re: Uniqueness of a sessionId

2010-01-08 Thread Arnab Ghosh
Dear Friends, How it will be I create a new manager which will extend standardmanager and then if overload the generateSessionId() method. I will mot change the session Id generation code. Instead of that I will add a new static set and will store all generated sessionId there. I will continue th

Re: Uniqueness of a sessionId

2010-01-08 Thread Arnab Ghosh
Dear Joseph, Actually I am working on a cross-context application. There is one main application say A . It is a very big application . Now I want to create some more separate context which will reuse the context A. These other context will be very lightweight and will contain only one servlet and

Uniqueness of a sessionId

2010-01-08 Thread Arnab Ghosh
Dear Friends, I have an doubt.Tomcat is using *org.apache.catalina.session.ManagerBase* to generate sessionId. Now I wants to know whether this generated key will be unique in all context running under a tomcat service or it will be unique under a particular context?? Thanks, Ghosh

Re: Cross Context Session Creation-

2010-01-08 Thread Arnab Ghosh
> In that case - suppose a session with a *D52869941C38BC234** > > CD9A940429C403A > > * Id is already present in context B (forwarded from context C ). Now a > new > > request with same jsessionID came to context A . Then context A forwarded > > the request to context B .then will it override the

Re: Cross Context Session Creation-

2010-01-08 Thread Arnab Ghosh
ere be any session?? Thanks, Ghosh On Fri, Jan 8, 2010 at 2:55 PM, Mark Thomas wrote: > On 08/01/2010 07:18, Arnab Ghosh wrote: > > I found that session created in A and B are different and invisible to > each > > other. But the session ID is same. I want to know is there

Cross - context forwarding event!!!!!!!!!!!

2010-01-08 Thread Arnab Ghosh
Dear Friends, Is there any way to capture event while forwarding a request from one context to another context. Can I put a filter for that?? but it should execute only if it is a cross-context forwarding. Is there any listener available to capture that event?? I am looking for a request listener

Re: Cross Context Session Creation-

2010-01-07 Thread Arnab Ghosh
Request Forwarded I found that session created in A and B are different and invisible to each other. But the session ID is same. I want to know is there any chance of overriding existing session in context B?? Is it a mere coincidence or is there any logic behind this same session Id scenario?

Cross Context Session Creation-

2010-01-07 Thread Arnab Ghosh
Hello Friends, I am using a cross context mode in my web application. Suppose there are 3 web conext A , B, C. They will access another web application D through cross context forwarding. Now I want to know while forwarding a request from A to D , whether session will go from A to D or a new sessi