I just made additional test.
I deployed app on Sun App Server 9 (running as Service on WinXP), and
got completelly different stack trace (so I suspect some code generated
by NetBeans is faulty):
Don't ask me why Glassfish (either b48 and UR1) didn't catch this:
[#|2006-06-20T11:38:07.000-0300|WARNING|sun-appserver-pe9.0|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=21;_ThreadName=httpWorkerThread-8080-0;_RequestID=cc985190-f1da-4385-b5b6-c1f6f3bc00e7;|executePhase(RENDER_RESPONSE
6,com.sun.faces.context.FacesContextImpl_at_1f21b01) threw exception
javax.faces.FacesException: javax.el.ELException: Exception
[TOPLINK-8030] (Oracle TopLink Essentials - 2006.5 (Build 060511)):
oracle.toplink.essentials.exceptions.EJBQLException
Exception Description: Unknown state or association field [nuEvento] of
class [br.com.fortuna.combineit.entity.EventoProdutoPK].
at javax.faces.component.UIData.getValue(UIData.java:580)
at javax.faces.component.UIData.getDataModel(UIData.java:1056)
at javax.faces.component.UIData.setRowIndex(UIData.java:417)
at
com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:82)
at
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:809)
at javax.faces.component.UIData.encodeBegin(UIData.java:873)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:881)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:827)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
at
com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:258)
at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176)
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)
Caused by: javax.el.ELException: Exception [TOPLINK-8030] (Oracle
TopLink Essentials - 2006.5 (Build 060511)):
oracle.toplink.essentials.exceptions.EJBQLException
Exception Description: Unknown state or association field [nuEvento] of
class [br.com.fortuna.combineit.entity.EventoProdutoPK].
at javax.el.BeanELResolver.getValue(BeanELResolver.java:278)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
at
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:58)
at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
at javax.faces.component.UIData.getValue(UIData.java:577)
... 40 more
Caused by: Exception [TOPLINK-8030] (Oracle TopLink Essentials - 2006.5
(Build 060511)): oracle.toplink.essentials.exceptions.EJBQLException
Exception Description: Unknown state or association field [nuEvento] of
class [br.com.fortuna.combineit.entity.EventoProdutoPK].
at
oracle.toplink.essentials.exceptions.EJBQLException.unknownAttribute(EJBQLException.java:398)
at
oracle.toplink.essentials.internal.parsing.DotNode.validate(DotNode.java:80)
at
oracle.toplink.essentials.internal.parsing.Node.validate(Node.java:85)
at
oracle.toplink.essentials.internal.parsing.BinaryOperatorNode.validate(BinaryOperatorNode.java:43)
at
oracle.toplink.essentials.internal.parsing.EqualsNode.validate(EqualsNode.java:49)
at
oracle.toplink.essentials.internal.parsing.WhereNode.validate(WhereNode.java:43)
at
oracle.toplink.essentials.internal.parsing.ParseTree.validate(ParseTree.java:215)
at
oracle.toplink.essentials.internal.parsing.ParseTree.validate(ParseTree.java:192)
at
oracle.toplink.essentials.internal.parsing.ParseTree.validate(ParseTree.java:182)
at
oracle.toplink.essentials.internal.parsing.EJBQLParseTree.populateReadQueryInternal(EJBQLParseTree.java:119)
at
oracle.toplink.essentials.internal.parsing.EJBQLParseTree.populateQuery(EJBQLParseTree.java:93)
at
oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:214)
at
oracle.toplink.essentials.queryframework.EJBQLPlaceHolderQuery.processEjbQLQuery(EJBQLPlaceHolderQuery.java:96)
at
oracle.toplink.essentials.internal.sessions.AbstractSession.processEJBQLQueries(AbstractSession.java:2045)
at
oracle.toplink.essentials.internal.sessions.AbstractSession.processEJBQLQueries(AbstractSession.java:2032)
at
oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.postConnectDatasource(DatabaseSessionImpl.java:679)
at
oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:559)
at
oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:181)
at
oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:248)
at
oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:84)
at
oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:127)
at
oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:121)
at
oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:76)
at
com.sun.enterprise.util.EntityManagerFactoryWrapper.createEntityManager(EntityManagerFactoryWrapper.java:181)
at
br.com.fortuna.combineit.controller.TabelaController.getEM(TabelaController.java:291)
at
br.com.fortuna.combineit.controller.TabelaController.getTabelaList(TabelaController.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:273)
... 45 more
|#]
Jeanfrancois Arcand escreveu:
> Hi Richter,
>
> it seems your the client is closing/badly handling the connection.
> From the code
>
>>
>> } catch (IOException e) {
>> // An IOException on a write is almost always due to
>> // the remote client aborting the request. Wrap this
>> // so that it can be handled better by the error
>> dispatcher.
>> throw new ClientAbortException(e);
>
> Can you send me your app so I can test it? Do I need to use Netbeans
> to reproduce the problem or you are able to reproduce it by just using
> GlassFish.
>
> Thanks
>
> -- Jeanfrancois
>
> Edson Carlos Ericksson Richter wrote:
>> Forgot to mention: I'm running Glassfish (either b48 and UR1) from
>> inside NetBeans 5.5 Daily build 200606120200.
>>
>> Thanks,
>>
>> Richter
>>
>> Edson Carlos Ericksson Richter escreveu:
>>> Bellow is exception on server.log. It appears like infamous
>>> "connection reset".
>>> Most of time, error occur in page that starts with:
>>>
>>> <%_at_page contentType="text/html" pageEncoding="ISO-8859-1"%>
>>> <%@taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
>>> <%@taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
>>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>>> "http://www.w3.org/TR/html4/loose.dtd">
>>>
>>> <html>
>>> <head>
>>> <meta http-equiv="Content-Type" content="text/html;
>>> charset=ISO-8859-1">
>>> <title>System XYZ</title>
>>> <jsp:include page="/format/menu.jsp"/>
>>> <div class='cit_content'>
>>> <p class='header1'>Aux tables</p>
>>> <p class='body'>Conversão subjetivo x discreto</p>
>>> <br>
>>> <f:view>
>>> <h:messages errorStyle="color: red; font-size: 16px;
>>> font-weight: bold;" infoStyle="color: blue; font-size: 16px;
>>> font-weight: bold;" layout="table"/>
>>> <h:form>
>>>
>>> (where /format/menu.jsp is a page that uses JSTL, and loads CSS and
>>> Yahoo JavaScripts, show current user, and add some html elements).
>>> Nothing special.
>>>
>>>
>>> The exception on error.log:
>>>
>>> [#|2006-06-19T18:57:41.375-0300|WARNING|sun-appserver-pe9.0|javax.enterprise.system.stream.err|_ThreadID=14;_ThreadName=httpWorkerThread-8080-1;_RequestID=e5c6e047-14d8-4695-892e-46d9f2b5f04c;|
>>>
>>> true|#]
>>>
>>> [#|2006-06-19T18:57:41.515-0300|WARNING|sun-appserver-pe9.0|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=15;_ThreadName=httpWorkerThread-8080-0;_RequestID=83c6e220-7895-4dcc-8bc4-a0b73bd3c25a;|executePhase(RENDER_RESPONSE
>>> 6,com.sun.faces.context.FacesContextImpl_at_487471) threw exception
>>> javax.faces.FacesException
>>> at
>>> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:111)
>>>
>>> at
>>> com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:242)
>>> at
>>> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
>>> 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.writeAfterViewContent(ViewHandlerImpl.java:707)
>>>
>>> at
>>> com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:178)
>>>
>>> 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)
>>>
>>> ... 44 more
>>> |#]
>>>
>>> [#|2006-06-19T18:57:41.515-0300|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=httpWorkerThread-8080-0;_RequestID=83c6e220-7895-4dcc-8bc4-a0b73bd3c25a;|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.writeAfterViewContent(ViewHandlerImpl.java:707)
>>>
>>> at
>>> com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:178)
>>>
>>> at
>>> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
>>>
>>> at
>>> com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:242)
>>> at
>>> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
>>> 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)
>>>
>>> |#]
>>>
>>>
>>> Edson Carlos Ericksson Richter escreveu:
>>>> I've tried to increase time to 1800 minutes, but still same
>>>> problem. After exception, session is reset and authentication is
>>>> required again.
>>>> Occur with Glassfish b48 and Glassfish UR_1.
>>>>
>>>> Richter
>>>>
>>>>
>>>> I'll appreciate any tips.
>>>> Shing Wai Chan escreveu:
>>>>> 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
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>
>