Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Beta
-
Fix Version/s: 2.0.1
-
Component/s: Push Library
-
Labels:None
-
Environment:ICEfaces, GlassFish 3.0.1
Description
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
<async-supported>true</async-supported>
</servlet>
Running on GlassFish 3.0.1 results in:
Caused by: java.lang.IllegalStateException: Not Suspended
at com.sun.grizzly.tcp.Response.resume(Response.java:752)
at org.apache.catalina.connector.Request.asyncComplete(Request.java:3782)
at org.apache.catalina.connector.AsyncContextImpl.complete(AsyncContextImpl.java:223)
at org.icepush.servlet.AsyncAdaptingServlet$AsyncRequestResponse.respondWith(AsyncAdaptingServlet.java:66)
at org.icepush.BlockingConnectionServer.respondIfPendingRequest(BlockingConnectionServer.java:196)
-
- Glassfish-error.txt
- 10 kB
- Arran Mccullough
-
Hide
- IceSamples2GA.war
- 9.67 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- WEB-INF/classes/.../util/ClockBean$1.class 2 kB
- WEB-INF/classes/com/.../util/ClockBean.class 2 kB
- WEB-INF/classes/.../beans/ColorBean.class 2 kB
- WEB-INF/classes/.../beans/MessageBean.class 2 kB
- WEB-INF/classes/.../model/TextModel.class 1.0 kB
- WEB-INF/lib/commons-beanutils.jar 223 kB
- WEB-INF/lib/commons-collections.jar 554 kB
- WEB-INF/lib/commons-digester.jar 137 kB
- WEB-INF/lib/commons-logging.jar 30 kB
- WEB-INF/lib/icefaces-ace.jar 4.92 MB
- WEB-INF/lib/icefaces-compat.jar 2.59 MB
- WEB-INF/lib/icefaces.jar 183 kB
- WEB-INF/lib/icepush.jar 233 kB
- WEB-INF/lib/jxl.jar 689 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 148 kB
- WEB-INF/sun-web.xml 0.5 kB
- WEB-INF/web.xml 2 kB
- color.xhtml 1 kB
- welcomeICEfaces.xhtml 1 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
ICEpush running on Glassfish 3.0.1/Mac works well. I can see 'Servlet 3.0 AsyncContext environment' message in the logs which confirms that async features are used.
Support reports the issue still occurs after approx. 30 secs of operation. Please investigate.
Investigated. Ran ICEpush's 'basic' and 'auction' tests configured with async. support. Both ran fine without any issues.
Attached my test case where I see the issue. This is using the ICEfaces 2.0 release code and also not overriding the Glassfish JSF jars. I did test with the 2.0 trunk jars and over rode the GLassfish jars with the JSF jars in the trunk and I could still see the issue.
The exception occurs after some time, I found it usually occurs after connecting two clients to the application.
It turns out that this issue is caused by the changes introduced by MOBI-1 and it wasn't specific only to Glassfish server.
This should likely be fixed for ICEfaces 2.0.1.