<!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;"> </p><p>I deployed jboss  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;"> </p><p><span style="font-family: arial,helvetica,sans-serif;">Some users are  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  HTTP/1.1" 302 -</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </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;"> </p><p>I think it is more like configuration issues.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Here is the web.xml</p><p>+++++++++++++</p><p><?xml version="1.0" ?><br/><span><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>   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>   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/>   version="2.5"></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <!-- RichFaces --></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <context-param><br/>      <param-name>org.richfaces.SKIN</param-name><br/>      <param-value>deepMarine</param-value><br/>   </context-param></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <!-- Suppress spurious stylesheets --></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <context-param><br/>      <param-name>org.richfaces.CONTROL_SKINNING</param-name><br/>      <param-value>disable</param-value><br/>   </context-param></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <context-param><br/>      <param-name>org.richfaces.CONTROL_SKINNING_CLASSES</param-name><br/>      <param-value>disable</param-value><br/>   </context-param></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <!-- Change load strategy to DEFAULT to disable sending scripts/styles as packs --></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <context-param><br/>      <param-name>org.richfaces.LoadStyleStrategy</param-name><br/>      <param-value>ALL</param-value><br/>   </context-param></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <context-param><br/>      <param-name>org.richfaces.LoadScriptStrategy</param-name><br/>      <param-value>ALL</param-value><br/>   </context-param></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <!-- Seam --></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <listener><br/>      <listener-class>org.jboss.seam.servlet.SeamListener</listener-class><br/>   </listener></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <filter><br/>      <filter-name>Seam Filter</filter-name><br/>      <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class><br/>   </filter></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <filter-mapping><br/>      <filter-name>Seam Filter</filter-name><br/>      <url-pattern>/*</url-pattern><br/>   </filter-mapping></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <servlet><br/>      <servlet-name>Seam Resource Servlet</servlet-name><br/>      <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class><br/>   </servlet></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <servlet-mapping><br/>      <servlet-name>Seam Resource Servlet</servlet-name><br/>      <url-pattern>/seam/resource/*</url-pattern><br/>   </servlet-mapping></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <!-- Facelets development mode (disable in production) --></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <context-param><br/>      <param-name>facelets.DEVELOPMENT</param-name><br/>      <param-value>false</param-value><br/>   </context-param></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <!-- JSF --></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <context-param><br/>      <param-name>javax.faces.DEFAULT_SUFFIX</param-name><br/>      <param-value>.xhtml</param-value><br/>   </context-param></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <servlet><br/>      <servlet-name>Faces Servlet</servlet-name><br/>      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class><br/>      <load-on-startup>1</load-on-startup><br/>   </servlet></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <servlet-mapping><br/>      <servlet-name>Faces Servlet</servlet-name><br/>      <url-pattern>*.seam</url-pattern><br/>   </servlet-mapping></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <security-constraint><br/>      <display-name>Restrict raw XHTML Documents</display-name><br/>      <web-resource-collection><br/>         <web-resource-name>XHTML</web-resource-name><br/>         <url-pattern>*.xhtml</url-pattern><br/>      </web-resource-collection><br/>      <auth-constraint/><br/>   </security-constraint></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <!-- uncomment <ejb-local-ref> entries when deploying to GlassFish and (optionally) JBoss AS 5 --></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <!--</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <ejb-local-ref></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      <ejb-ref-name>kelc/AuthenticatorBean/local</ejb-ref-name></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      <ejb-ref-type>Session</ejb-ref-type></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      <local-home/></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      <local>com.mydomain.kelc.action.Authenticator</local></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   </ejb-local-ref></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   --></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <!-- Add entries for each EJB session bean which is also a Seam component (not required on JBoss AS) --></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <persistence-unit-ref></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      <persistence-unit-ref-name>kelc/pu</persistence-unit-ref-name></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      <!-- The relative reference doesn't work on GlassFish. Instead, set the <persistence-unit-name> to "kelc",</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>           package persistence.xml in the WAR, and add a <jar-file> element in persistence.xml with value "../../kelc.jar". --></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      <persistence-unit-name>../kelc.jar#kelc</persistence-unit-name></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   </persistence-unit-ref></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p></web-app></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>+++++++++</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>and this faces-config.xml</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>++++++++++++</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><?xml version='1.0' encoding='UTF-8'?><br/><faces-config version="1.2"<br/><span>              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>              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>              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>"></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <application><br/>      <locale-config><br/>         <default-locale>en</default-locale><br/>         <supported-locale>bg</supported-locale><br/>         <supported-locale>de</supported-locale><br/>         <supported-locale>en</supported-locale><br/>         <supported-locale>fr</supported-locale><br/>         <supported-locale>it</supported-locale><br/>         <supported-locale>tr</supported-locale><br/>      </locale-config><br/>      <view-handler>com.sun.facelets.FaceletViewHandler</view-handler><br/>   </application></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p></faces-config></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>+++++++++++++</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I am using jboss jboss-4.2.3.GA.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Thanks in advance</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </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>