Thanks Tim,
          But so far i did not get any thing of this kind in my logs.. i am
using the same package for the past 4 years.I am getting all of a sudden !
That is quite suprising me...


Regards,
Thangavel Sankaranarayanan




                                                                           
             Tim Funk                                                      
             <[EMAIL PROTECTED]                                             
             rg>                                                        To 
                                       Tomcat Users List                   
             08/25/2008 04:27          <users@tomcat.apache.org>           
             PM                                                         cc 
                                                                           
                                                                   Subject 
             Please respond to         Re:                                 
               "Tomcat Users           java.lang.IllegalStateException:    
                   List"               Cannot create a session after the   
             <[EMAIL PROTECTED]         response has been committed         
                 che.org>                                                  
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




I bet au.com.objectconsulting.catalina.valves.SetRemoteUserValve is
calling HttpServletRequest.getSession() or
HttpServletRequest.getSession(true) after the request is made and the
response is sent to the client. (And the response did not contain an
active session)

au.com.objectconsulting.catalina.valves.SetRemoteUserValve.invoke(SetRemoteUserValve.java:34)


[ What also may be helpful too:
http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q16 ]


-Tim


Thangavel Sankaranarayanan wrote:
> Hi,
>
> My tomcat container's logs is fully populated with the following
Exception
>
> What can be done for it to resolve ?Please help me...
>
>
> CoyoteAdapter An exception or error occurred in the container during the
> request processing
> java.lang.IllegalStateException: Cannot create a session after the
response
> has been committed
>       at
>
org.apache.coyote.tomcat4.CoyoteRequest.doGetSession(CoyoteRequest.java:1911)

>       at
>
org.apache.coyote.tomcat4.CoyoteRequest.getSession(CoyoteRequest.java:1758)
>       at
>
org.apache.coyote.tomcat4.CoyoteRequestFacade.getSession(CoyoteRequestFacade.java:361)

>       at
>
org.apache.coyote.tomcat4.CoyoteRequestFacade.getSession(CoyoteRequestFacade.java:366)

>       at
>
au.com.objectconsulting.catalina.valves.SetRemoteUserValve.invoke(SetRemoteUserValve.java:34)

>       at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

>       at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>       at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)

>       at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

>       at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>       at
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
>       at
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:324)
>       at
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:395)
>       at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
>       at
>
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)

>       at
> org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
>       at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

>       at java.lang.Thread.run(Thread.java:536)


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




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

Reply via email to