users@glassfish.java.net

Re: Auth problems with UR1

From: Shing Wai Chan <Shing-Wai.Chan_at_Sun.COM>
Date: Mon, 19 Jun 2006 12:49:44 -0700

Hi JeanFrancois and Jan,
There are some IOException in server.log before authentication happens.
Any idea?
Thanks.
     Shing Wai Chan

Edson Carlos Ericksson Richter wrote:
> Additional info!
>
> Before asking for user/password, it throws:
>
> executePhase(RENDER_RESPONSE
> 6,com.sun.faces.context.FacesContextImpl_at_1025f9f) threw exception
> javax.faces.FacesException
> at
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:111)
>
> at
> com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266)
> at
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
> at
> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
>
> at
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
>
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
>
> at
> com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
>
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
>
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
> at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
> at
> com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
>
> at
> com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
>
> at
> com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
>
> at
> com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
>
> at
> com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
>
> at
> com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
> at
> com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
>
> Caused by: ClientAbortException: java.io.IOException: Uma conexão
> estabelecida foi anulada pelo software no computador host
> at
> org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.java:414)
>
> at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:302)
> at
> org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.java:247)
>
> at
> sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
> at
> sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:395)
> at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136)
> at java.io.OutputStreamWriter.write(OutputStreamWriter.java:191)
> at
> org.apache.tomcat.util.buf.WriteConvertor.write(C2BConverter.java:201)
> at
> org.apache.tomcat.util.buf.C2BConverter.convert(C2BConverter.java:92)
> at
> org.apache.coyote.tomcat5.OutputBuffer.realWriteChars(OutputBuffer.java:610)
>
> at
> org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:438)
> at
> org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:355)
> at
> org.apache.coyote.tomcat5.OutputBuffer.flush(OutputBuffer.java:338)
> at
> org.apache.coyote.tomcat5.CoyoteResponse.flushBuffer(CoyoteResponse.java:590)
>
> at
> org.apache.coyote.tomcat5.CoyoteResponseFacade.flushBuffer(CoyoteResponseFacade.java:277)
>
> at
> com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:208)
>
> at
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
>
> ... 27 more
> Caused by: java.io.IOException: Uma conexão estabelecida foi anulada
> pelo software no computador host
> at sun.nio.ch.SocketDispatcher.write0(Native Method)
> at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
> at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
> at sun.nio.ch.IOUtil.write(IOUtil.java:75)
> at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
> at
> com.sun.enterprise.web.connector.grizzly.OutputWriter.flushChannel(OutputWriter.java:52)
>
> at
> com.sun.enterprise.web.connector.grizzly.SocketChannelOutputBuffer.flushChannel(SocketChannelOutputBuffer.java:115)
>
> at
> com.sun.enterprise.web.connector.grizzly.SocketChannelOutputBuffer.realWriteBytes(SocketChannelOutputBuffer.java:105)
>
> at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:404)
> at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:326)
> at
> org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:789)
>
> at
> org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:136)
>
> at
> org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:583)
>
> at org.apache.coyote.Response.doWrite(Response.java:575)
> at
> org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.java:409)
>
> ... 43 more
> |#]
> StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet
> Faces Servlet threw exception
> java.io.IOException: Uma conexão estabelecida foi anulada pelo
> software no computador host
> at sun.nio.ch.SocketDispatcher.write0(Native Method)
> at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
> at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
> at sun.nio.ch.IOUtil.write(IOUtil.java:75)
> at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
> at
> com.sun.enterprise.web.connector.grizzly.OutputWriter.flushChannel(OutputWriter.java:52)
>
> at
> com.sun.enterprise.web.connector.grizzly.SocketChannelOutputBuffer.flushChannel(SocketChannelOutputBuffer.java:115)
>
> at
> com.sun.enterprise.web.connector.grizzly.SocketChannelOutputBuffer.realWriteBytes(SocketChannelOutputBuffer.java:105)
>
> at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:404)
> at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:326)
> at
> org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:789)
>
> at
> org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:136)
>
> at
> org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:583)
>
> at org.apache.coyote.Response.doWrite(Response.java:575)
> at
> org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.java:409)
>
> at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:302)
> at
> org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.java:247)
>
> at
> sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
> at
> sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:395)
> at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136)
> at java.io.OutputStreamWriter.write(OutputStreamWriter.java:191)
> at
> org.apache.tomcat.util.buf.WriteConvertor.write(C2BConverter.java:201)
> at
> org.apache.tomcat.util.buf.C2BConverter.convert(C2BConverter.java:92)
> at
> org.apache.coyote.tomcat5.OutputBuffer.realWriteChars(OutputBuffer.java:610)
>
> at
> org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:438)
> at
> org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:355)
> at
> org.apache.coyote.tomcat5.OutputBuffer.flush(OutputBuffer.java:338)
> at
> org.apache.coyote.tomcat5.CoyoteResponse.flushBuffer(CoyoteResponse.java:590)
>
> at
> org.apache.coyote.tomcat5.CoyoteResponseFacade.flushBuffer(CoyoteResponseFacade.java:277)
>
> at
> com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:208)
>
> at
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
>
> at
> com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266)
> at
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
> at
> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
>
> at
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
>
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
>
> at
> com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
>
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
>
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
> at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
> at
> com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
>
> at
> com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
>
> at
> com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
>
> at
> com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
>
> at
> com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
>
> at
> com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
> at
> com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
>
>
> I'm using FireFox 1.5.0.4, WinXP with all updates, firewall and
> anti-virus/anti-spyware. I already made a test disabling anti-virus
> and firewall, but made no difference. Occur with Internet Explorer too.
>
> Richter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>