File download dialog (providing source) instead of a page
---------------------------------------------------------
Key: JBSEAM-1732
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1732
Project: JBoss Seam
Issue Type: Bug
Components: JSF
Affects Versions: 1.2.1.GA
Environment: AS 4.0.5.GA + EJB 3, Seam 1.2.1.GA
Firefox 2 (Linux, Mac & Windows)
IE 7 (XP SP 2)
Reporter: Stephan Heffner
Sometimes after a restart of the JBoss Server, accessing our Seam based application
results in a file download dialog instead of the redirection to the login page. Restarting
the server again solved this usually.
To get a better understanding whats going on, I activated Charles in my Firefox and get
the attached session Infos. The redirect happens and the page data will be send, but the
last response is this:
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.ajax4jsf.org/rich"
template="layout/template_no_sidebar.xhtml">
<ui:define name="main">
<h:form id="login">
<rich:panel styleClass="loginPanel">
<f:facet name="header">Login</f:facet>
<p>Bitte melden Sie Sich an:</p>
<s:decorate template="/layout/display.xhtml">
<ui:define name="label">Username</ui:define>
<h:inputText id="username"
value="#{identity.username}"/>
</s:decorate>
<s:decorate template="/layout/display.xhtml">
<ui:define name="label">Passwort</ui:define>
<h:inputSecret id="password"
value="#{identity.password}"/>
</s:decorate>
<s:decorate template="/layout/display.xhtml">
<ui:define name="label"></ui:define>
<h:selectBooleanCheckbox id="rememberMe"
value="#{identity.rememberMe}"/>
<h:outputLabel for="rememberMe">Auf diesem Computer
merken</h:outputLabel>
</s:decorate>
<div class="actionButtons">
<h:commandButton value="Login"
action="#{identity.login}"/>
</div>
</rich:panel>
</h:form>
</ui:define>
</ui:composition>
As you can see, the server sends the source instead of a rendered page.
Any ideas what's going on?
Stephan
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira