<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    jboss seam web app throws errors for unkown reasons
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/dkim18">Daniel Kim</a> in <i>JBoss AS Development Deployment Framework</i> - <a href="http://community.jboss.org/message/550035#550035">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I deployed jboss&#160; seam web app that collects data from users and generates PDF reports. It is a relatively simple web app and it went fairly for 1st quarter. However we are having some issues for 2nd quarter.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: arial,helvetica,sans-serif;">Some users are&#160; experiencing log in problem(users see </span>"something bad happened." jboss error messages)<span style="font-family: arial,helvetica,sans-serif;"> and some pages throws jboss error messages as well.<br/> When I checked log file, all I see is some buch of this error message:<br/> <br/> 68.93.192.64 - - [28/Jun/2010:10:03:40 -0400] "GET /error.seam?cid=195&#160; HTTP/1.1" 302 -</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>However, when I tested production site I didn't get any problem for log in. However, I saw jboss error messages on some pages occassionally, but if I logout/login then try again, it worked fine. So, I thought it was some sort of glithces, but it looks like some users are having more severe problems.</p><p>IE causes the problem the most and google Chrome gives the least issues.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I think it is more like configuration issues.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Here is the web.xml</p><p>+++++++++++++</p><p>&lt;?xml version="1.0" ?&gt;<br/><span>&lt;web-app xmlns="</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/javaee" target="_blank">http://java.sun.com/xml/ns/javaee</a><span>"</span><br/><span>&#160;&#160; xmlns:xsi="</span><a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a><span>"</span><br/><span>&#160;&#160; xsi:schemaLocation="</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/javaee" target="_blank">http://java.sun.com/xml/ns/javaee</a><span> </span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" target="_blank">http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd</a><span>"</span><br/>&#160;&#160; version="2.5"&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;!-- RichFaces --&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;context-param&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;param-name&gt;org.richfaces.SKIN&lt;/param-name&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;param-value&gt;deepMarine&lt;/param-value&gt;<br/>&#160;&#160; &lt;/context-param&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;!-- Suppress spurious stylesheets --&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;context-param&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;param-name&gt;org.richfaces.CONTROL_SKINNING&lt;/param-name&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;param-value&gt;disable&lt;/param-value&gt;<br/>&#160;&#160; &lt;/context-param&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;context-param&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;param-name&gt;org.richfaces.CONTROL_SKINNING_CLASSES&lt;/param-name&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;param-value&gt;disable&lt;/param-value&gt;<br/>&#160;&#160; &lt;/context-param&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;!-- Change load strategy to DEFAULT to disable sending scripts/styles as packs --&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;context-param&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;param-name&gt;org.richfaces.LoadStyleStrategy&lt;/param-name&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;param-value&gt;ALL&lt;/param-value&gt;<br/>&#160;&#160; &lt;/context-param&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;context-param&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;param-name&gt;org.richfaces.LoadScriptStrategy&lt;/param-name&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;param-value&gt;ALL&lt;/param-value&gt;<br/>&#160;&#160; &lt;/context-param&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;!-- Seam --&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;listener&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;listener-class&gt;org.jboss.seam.servlet.SeamListener&lt;/listener-class&gt;<br/>&#160;&#160; &lt;/listener&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;filter&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;filter-name&gt;Seam Filter&lt;/filter-name&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;filter-class&gt;org.jboss.seam.servlet.SeamFilter&lt;/filter-class&gt;<br/>&#160;&#160; &lt;/filter&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;filter-mapping&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;filter-name&gt;Seam Filter&lt;/filter-name&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;url-pattern&gt;/*&lt;/url-pattern&gt;<br/>&#160;&#160; &lt;/filter-mapping&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;servlet&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;servlet-name&gt;Seam Resource Servlet&lt;/servlet-name&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;servlet-class&gt;org.jboss.seam.servlet.SeamResourceServlet&lt;/servlet-class&gt;<br/>&#160;&#160; &lt;/servlet&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;servlet-mapping&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;servlet-name&gt;Seam Resource Servlet&lt;/servlet-name&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;url-pattern&gt;/seam/resource/*&lt;/url-pattern&gt;<br/>&#160;&#160; &lt;/servlet-mapping&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;!-- Facelets development mode (disable in production) --&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;context-param&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;param-name&gt;facelets.DEVELOPMENT&lt;/param-name&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;param-value&gt;false&lt;/param-value&gt;<br/>&#160;&#160; &lt;/context-param&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;!-- JSF --&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;context-param&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;param-name&gt;javax.faces.DEFAULT_SUFFIX&lt;/param-name&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;param-value&gt;.xhtml&lt;/param-value&gt;<br/>&#160;&#160; &lt;/context-param&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;servlet&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;servlet-class&gt;javax.faces.webapp.FacesServlet&lt;/servlet-class&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;<br/>&#160;&#160; &lt;/servlet&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;servlet-mapping&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;url-pattern&gt;*.seam&lt;/url-pattern&gt;<br/>&#160;&#160; &lt;/servlet-mapping&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;security-constraint&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;display-name&gt;Restrict raw XHTML Documents&lt;/display-name&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;web-resource-collection&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;web-resource-name&gt;XHTML&lt;/web-resource-name&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;url-pattern&gt;*.xhtml&lt;/url-pattern&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;/web-resource-collection&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;auth-constraint/&gt;<br/>&#160;&#160; &lt;/security-constraint&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;!-- uncomment &lt;ejb-local-ref&gt; entries when deploying to GlassFish and (optionally) JBoss AS 5 --&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;!--</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;ejb-local-ref&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;ejb-ref-name&gt;kelc/AuthenticatorBean/local&lt;/ejb-ref-name&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;ejb-ref-type&gt;Session&lt;/ejb-ref-type&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;local-home/&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;local&gt;com.mydomain.kelc.action.Authenticator&lt;/local&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;/ejb-local-ref&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; --&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;!-- Add entries for each EJB session bean which is also a Seam component (not required on JBoss AS) --&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;persistence-unit-ref&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;persistence-unit-ref-name&gt;kelc/pu&lt;/persistence-unit-ref-name&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;!-- The relative reference doesn't work on GlassFish. Instead, set the &lt;persistence-unit-name&gt; to "kelc",</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; package persistence.xml in the WAR, and add a &lt;jar-file&gt; element in persistence.xml with value "../../kelc.jar". --&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;persistence-unit-name&gt;../kelc.jar#kelc&lt;/persistence-unit-name&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;/persistence-unit-ref&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;/web-app&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>+++++++++</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>and this faces-config.xml</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>++++++++++++</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;?xml version='1.0' encoding='UTF-8'?&gt;<br/>&lt;faces-config version="1.2"<br/><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns="</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/javaee" target="_blank">http://java.sun.com/xml/ns/javaee</a><span>"</span><br/><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:xsi="</span><a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a><span>"</span><br/><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xsi:schemaLocation="</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/javaee" target="_blank">http://java.sun.com/xml/ns/javaee</a><span> </span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd" target="_blank">http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd</a><span>"&gt;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;application&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;locale-config&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;default-locale&gt;en&lt;/default-locale&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;supported-locale&gt;bg&lt;/supported-locale&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;supported-locale&gt;de&lt;/supported-locale&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;supported-locale&gt;en&lt;/supported-locale&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;supported-locale&gt;fr&lt;/supported-locale&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;supported-locale&gt;it&lt;/supported-locale&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;supported-locale&gt;tr&lt;/supported-locale&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;/locale-config&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;view-handler&gt;com.sun.facelets.FaceletViewHandler&lt;/view-handler&gt;<br/>&#160;&#160; &lt;/application&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;/faces-config&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>+++++++++++++</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am using jboss jboss-4.2.3.GA.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thanks in advance</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Daniel</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/550035#550035">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss AS Development Deployment Framework at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2072">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>