JSF application randomly crashes
tomas.kotrbaty Nov 15, 2010 5:49 AMWe have a problem running web application (jsf, richfaces) called "RefCar".
The operating system is Linux (the devel environment). The same behaviour is on the AIX OS (test and production environment).
I always test the application after application server restart (until it crashes).
I use the application (clicking, POST data, GET data, ajax requests) and it works normally until something happens and the application crashes. There are errors in the SystemOut.log.
After the error occurs than it shows again and again (even when I restart the web browser) when I want to access the web page. When I restart the application than it works correctly until the error occurs again.
The error occurs in richfaces-ui-3.3.3.Final.jar in the class AbstractExtendedTableRenderer on this command (line 1654):
writer.writeAttribute(HTML.id_ATTRIBUTE, clientId + ":sepSpan",
null);
But when I compile the class with some logging, it is impossible to write out what is in the "clientId" (I am not joking). Normaly there is an id of the component (line of the header in rich:extendedDataTable), something like this: "j_id_jsp_1478228369_101:j_id_jsp_1478228369_136:j_id_jsp_1478228369_161header:sepSpan".
Sometimes after application server restart the application works correctly and it is impossible to reproduce the error again. When I restart the application server than the error occurs again. So it is very random behaviour.
When I test the application on my local machine (Win XP) on IBM WAS or on Tomcat I never get this error.
For testing I use JMeter and of course it is possible to cause this error by "hand" clicking into the application.
My environment is:
Linux or AIX, Internet Explorer 7, Firefox 3.6.12, IBM WebSphere Application Server Network Deployment 7.0.0.13
Thanks for any ideas.
Tomas.
-
web.xml 10.3 KB
-
SystemOut.log.zip 11.8 KB
-
screenshot.JPG 134.1 KB
-
libraries.txt.zip 531 bytes