I think that I have my settings all correct and I have worked out all of the 
errors that I can.  There is something happening that isn't showing up as an 
error that is stopping me.  Here is the debug code:

DEBUG 07-12 02:53:40,468 (LifecycleImpl.java:render:366)  -exiting 
renderResponse in org.apache.myfaces.lifecycle.LifecycleImpl
  | DEBUG 07-12 02:53:40,468 (FacesServlet.java:service:132)  -service end
  | DEBUG 07-12 02:53:42,328 (FacesServlet.java:service:99)  -service begin
  | DEBUG 07-12 02:53:42,328 
(ServletExternalContextImpl.java:lookupCharacterEncoding:166)  -Incoming 
request has Content-Type header without character encoding: 
application/x-www-form-urlencoded
  | DEBUG 07-12 02:53:42,328 (LifecycleImpl.java:restoreView:103)  -entering 
restoreView in org.apache.myfaces.lifecycle.LifecycleImpl
  | DEBUG 07-12 02:53:42,328 (?:beginRequest:?)  ->>> Begin web request
  | DEBUG 07-12 02:53:42,328 (?:lookupInStatefulContexts:?)  -found in 
application context: org.jboss.seam.core.manager.component
  | DEBUG 07-12 02:53:42,328 (?:newInstance:?)  -instantiating Seam component: 
org.jboss.seam.core.manager
  | DEBUG 07-12 02:53:42,328 (?:lookupInStatefulContexts:?)  -found in 
application context: org.jboss.seam.core.manager.component
  | DEBUG 07-12 02:53:42,328 
(JspStateManagerImpl.java:restoreTreeStructure:173)  -Tree structure restored 
from server session
  | DEBUG 07-12 02:53:42,328 (?:lookupInStatefulContexts:?)  -found in event 
context: org.jboss.seam.core.manager
  | DEBUG 07-12 02:53:42,328 (?:lookupInStatefulContexts:?)  -found in 
application context: org.jboss.seam.core.manager.component
  | DEBUG 07-12 02:53:42,328 (?:restore:?)  -No stored conversation
  | DEBUG 07-12 02:53:42,328 (?:lookupInStatefulContexts:?)  -found in 
application context: org.jboss.seam.core.init
  | DEBUG 07-12 02:53:42,328 (?:lookupInStatefulContexts:?)  -found in 
application context: org.jboss.seam.core.init.component
  | DEBUG 07-12 02:53:42,328 (?:restoreAnyConversationContext:?)  -After 
restore view, conversation context: ConversationContext(4)
  | DEBUG 07-12 02:53:42,328 (?:<init>:?)  -Created BusinessProcessContext
  | DEBUG 07-12 02:53:42,328 (LifecycleImpl.java:restoreView:173)  -exiting 
restoreView in org.apache.myfaces.lifecycle.LifecycleImpl
  | DEBUG 07-12 02:53:42,328 (LifecycleImpl.java:applyRequestValues:186)  
-entering applyRequestValues in org.apache.myfaces.lifecycle.LifecycleImpl
  | DEBUG 07-12 02:53:42,328 (LifecycleImpl.java:applyRequestValues:213)  
-exiting applyRequestValues in org.apache.myfaces.lifecycle.LifecycleImpl
  | DEBUG 07-12 02:53:42,328 (LifecycleImpl.java:processValidations:226)  
-entering processValidations in org.apache.myfaces.lifecycle.LifecycleImpl
  | DEBUG 07-12 02:53:42,343 (?:resolveVariable:?)  -resolving name: user
  | DEBUG 07-12 02:53:42,343 (?:newInstance:?)  -seam component not found: user
  | DEBUG 07-12 02:53:42,343 (VariableResolverImpl.java:resolveVariable:336)  
-Variable 'user' could not be resolved.
  | DEBUG 07-12 02:53:42,343 (?:resolveVariable:?)  -could not resolve name
  | DEBUG 07-12 02:53:42,359 (?:resolveVariable:?)  -resolving name: user
  | DEBUG 07-12 02:53:42,359 (?:newInstance:?)  -seam component not found: user
  | DEBUG 07-12 02:53:42,359 (VariableResolverImpl.java:resolveVariable:336)  
-Variable 'user' could not be resolved.
  | DEBUG 07-12 02:53:42,359 (?:resolveVariable:?)  -could not resolve name
  | DEBUG 07-12 02:53:42,359 (LifecycleImpl.java:shouldRenderResponse:388)  
-exiting from lifecycle.execute in processValidations because getRenderResponse 
is true from one of the after listeners
  | DEBUG 07-12 02:53:42,359 (LifecycleImpl.java:render:340)  -entering 
renderResponse in org.apache.myfaces.lifecycle.LifecycleImpl
  | DEBUG 07-12 02:53:42,359 (?:storeAnyConversationContext:?)  -Before render 
response
  | DEBUG 07-12 02:53:42,359 (?:lookupInStatefulContexts:?)  -found in event 
context: org.jboss.seam.core.manager
  | DEBUG 07-12 02:53:42,375 (?:lookupInStatefulContexts:?)  -found in 
application context: org.jboss.seam.core.manager.component
  | DEBUG 07-12 02:53:42,375 (?:store:?)  -Discarding conversation state: 4
  | DEBUG 07-12 02:53:42,375 (?:lookupInStatefulContexts:?)  -found in event 
context: org.jboss.seam.core.manager
  | DEBUG 07-12 02:53:42,375 (?:lookupInStatefulContexts:?)  -found in 
application context: org.jboss.seam.core.manager.component
  | DEBUG 07-12 02:53:42,375 (?:endRequest:?)  -After render response, 
destroying contexts
  | DEBUG 07-12 02:53:42,375 (?:endRequest:?)  -flushing busines process context
  | DEBUG 07-12 02:53:42,375 (?:flush:?)  -no in-memory state to flush to jBPM 
context
  | DEBUG 07-12 02:53:42,375 (?:flush:?)  -no jBPM context to which to flush
  | DEBUG 07-12 02:53:42,375 (?:endRequest:?)  -destroying event context
  | DEBUG 07-12 02:53:42,375 (?:lookupInStatefulContexts:?)  -found in 
application context: org.jboss.seam.core.manager.component
  | DEBUG 07-12 02:53:42,375 (?:destroy:?)  -destroying: 
org.jboss.seam.core.manager
  | DEBUG 07-12 02:53:42,375 (?:lookupInStatefulContexts:?)  -found in event 
context: org.jboss.seam.core.manager
  | DEBUG 07-12 02:53:42,375 (?:lookupInStatefulContexts:?)  -found in 
application context: org.jboss.seam.core.manager.component
  | DEBUG 07-12 02:53:42,375 (?:endRequest:?)  -destroying conversation context
  | DEBUG 07-12 02:53:42,375 (?:destroy:?)  -destroying: 
org.jboss.seam.bpm.recoverableState
  | DEBUG 07-12 02:53:42,375 (?:endRequest:?)  -flushing server-side 
conversation context
  | DEBUG 07-12 02:53:42,375 (?:lookupInStatefulContexts:?)  -found in event 
context: org.jboss.seam.core.manager
  | DEBUG 07-12 02:53:42,375 (?:lookupInStatefulContexts:?)  -found in 
application context: org.jboss.seam.core.manager.component
  | DEBUG 07-12 02:53:42,375 (?:endRequest:?)  -<<< End web request
  | DEBUG 07-12 02:53:42,390 (DebugUtils.java:traceView:142)  -View after 
rendering
  | ========================================
  | <UIViewRoot id="NULL" family="javax.faces.ViewRoot" locale="en" 
renderKitId="HTML_BASIC" rendered="true" rendererType="NULL" 
rendersChildren="false" transient="false" viewId="/applications/login.jsp">
  |   <html.ext.HtmlMessages id="NULL" com.sun.facelets.MARK_ID="_tagId0" 
com.sun.facelets.APPLIED="[EMAIL PROTECTED]" detailFormat="NULL" 
enabledOnUserRole="NULL" errorClass="NULL" errorStyle="NULL" 
family="javax.faces.Messages" fatalClass="NULL" fatalStyle="NULL" 
globalOnly="true" globalSummaryFormat="NULL" infoClass="NULL" infoStyle="NULL" 
layout="list" rendered="true" rendererType="org.apache.myfaces.Messages" 
rendersChildren="false" replaceIdWithLabel="false" showDetail="false" 
showSummary="true" style="NULL" styleClass="NULL" summaryFormat="NULL" 
title="NULL" tooltip="false" transient="false" visibleOnUserRole="NULL" 
warnClass="NULL" warnStyle="NULL"/>
  |   <html.HtmlForm id="frmRegister" com.sun.facelets.MARK_ID="_tagId1" 
com.sun.facelets.APPLIED="[EMAIL PROTECTED]" 
org.apache.myfaces.renderkit.html.HtmlFormRendererBase.HIDDEN_COMMAND_INPUTS_SET="[frmRegister:_link_hidden_]"
 accept="NULL" acceptcharset="NULL" dir="NULL" 
enctype="application/x-www-form-urlencoded" family="javax.faces.Form" 
lang="NULL" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" 
onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" 
onmouseover="NULL" onmouseup="NULL" onreset="NULL" onsubmit="NULL" 
rendered="true" rendererType="javax.faces.Form" rendersChildren="false" 
style="NULL" styleClass="NULL" submitted="false" target="NULL" title="NULL" 
transient="false">
  |     <html.HtmlCommandButton id="btnRegister" 
com.sun.facelets.MARK_ID="_tagId2" accesskey="NULL" action="" 
actionListener="NULL" alt="NULL" dir="NULL" disabled="false" 
family="javax.faces.Command" image="Themes/byuvad/body/forms/btnRegister.png" 
immediate="false" lang="NULL" onblur="NULL" onchange="NULL" onclick="NULL" 
ondblclick="NULL" onfocus="NULL" onkeydown="NULL" onkeypress="NULL" 
onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" 
onmouseover="NULL" onmouseup="NULL" onselect="NULL" readonly="false" 
rendered="true" rendererType="javax.faces.Button" rendersChildren="false" 
style="NULL" styleClass="NULL" tabindex="NULL" title="NULL" transient="false" 
type="submit" value="NULL"/>
  |   </html.HtmlForm>
  |   <html.HtmlForm id="frmLogin" com.sun.facelets.MARK_ID="_tagId3" 
com.sun.facelets.APPLIED="[EMAIL PROTECTED]" 
org.apache.myfaces.renderkit.html.HtmlFormRendererBase.HIDDEN_COMMAND_INPUTS_SET="[frmLogin:_link_hidden_]"
 accept="NULL" acceptcharset="NULL" dir="NULL" 
enctype="application/x-www-form-urlencoded" family="javax.faces.Form" 
lang="NULL" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" 
onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" 
onmouseover="NULL" onmouseup="NULL" onreset="NULL" onsubmit="NULL" 
rendered="true" rendererType="javax.faces.Form" rendersChildren="false" 
style="NULL" styleClass="NULL" submitted="true" target="NULL" title="NULL" 
transient="false">
  |     <html.HtmlInputText id="username" com.sun.facelets.MARK_ID="_tagId4" 
accesskey="NULL" alt="NULL" converter="NULL" dir="NULL" disabled="false" 
family="javax.faces.Input" immediate="false" lang="NULL" localValue="NULL" 
localValueSet="false" maxlength="-2147483648" onblur="NULL" onchange="NULL" 
onclick="NULL" ondblclick="NULL" onfocus="NULL" onkeydown="NULL" 
onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" 
onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" onselect="NULL" 
readonly="false" rendered="true" rendererType="javax.faces.Text" 
rendersChildren="false" required="false" size="-2147483648" style="NULL" 
styleClass="NULL" submittedValue="" tabindex="NULL" title="NULL" 
transient="false" valid="false" validator="NULL" value="#{user.username}" 
valueChangeListener="NULL"/>
  |     <html.HtmlMessage id="msgUsername" com.sun.facelets.MARK_ID="_tagId5" 
errorClass="NULL" errorStyle="NULL" family="javax.faces.Message" 
fatalClass="NULL" fatalStyle="NULL" for="username" infoClass="NULL" 
infoStyle="NULL" rendered="true" rendererType="javax.faces.Message" 
rendersChildren="false" showDetail="true" showSummary="false" style="NULL" 
styleClass="NULL" title="NULL" tooltip="false" transient="false" 
warnClass="NULL" warnStyle="NULL"/>
  |     <html.HtmlInputText id="password" com.sun.facelets.MARK_ID="_tagId6" 
accesskey="NULL" alt="NULL" converter="NULL" dir="NULL" disabled="false" 
family="javax.faces.Input" immediate="false" lang="NULL" localValue="NULL" 
localValueSet="false" maxlength="-2147483648" onblur="NULL" onchange="NULL" 
onclick="NULL" ondblclick="NULL" onfocus="NULL" onkeydown="NULL" 
onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" 
onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" onselect="NULL" 
readonly="false" rendered="true" rendererType="javax.faces.Text" 
rendersChildren="false" required="false" size="-2147483648" style="NULL" 
styleClass="NULL" submittedValue="" tabindex="NULL" title="NULL" 
transient="false" valid="false" validator="NULL" value="#{user.password}" 
valueChangeListener="NULL"/>
  |     <html.HtmlMessage id="msgPassword" com.sun.facelets.MARK_ID="_tagId7" 
errorClass="NULL" errorStyle="NULL" family="javax.faces.Message" 
fatalClass="NULL" fatalStyle="NULL" for="password" infoClass="NULL" 
infoStyle="NULL" rendered="true" rendererType="javax.faces.Message" 
rendersChildren="false" showDetail="true" showSummary="false" style="NULL" 
styleClass="NULL" title="NULL" tooltip="false" transient="false" 
warnClass="NULL" warnStyle="NULL"/>
  |     <html.HtmlCommandButton id="btnLogin" 
com.sun.facelets.MARK_ID="_tagId8" accesskey="NULL" action="" 
actionListener="NULL" alt="NULL" dir="NULL" disabled="false" 
family="javax.faces.Command" image="Themes/byuvad/body/forms/btnLogin.png" 
immediate="false" lang="NULL" onblur="NULL" onchange="NULL" onclick="NULL" 
ondblclick="NULL" onfocus="NULL" onkeydown="NULL" onkeypress="NULL" 
onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" 
onmouseover="NULL" onmouseup="NULL" onselect="NULL" readonly="false" 
rendered="true" rendererType="javax.faces.Button" rendersChildren="false" 
style="NULL" styleClass="NULL" tabindex="NULL" title="NULL" transient="false" 
type="submit" value="NULL"/>
  |   </html.HtmlForm>
  | </UIViewRoot>
  | ========================================

It is almost like there is an error between the JSF component and the Seam 
component.  Maybe an instiantion error--meaning the instance of the User class 
(from booking example) can't be created because it can't find it.  Maybe it 
can't find it because it gets destroyed; or the session gets invalidated.

I'm thinking there is a Seam setting that isn't getting set correctly by me and 
I can't figure it out--thats okay; I can wait until Thomas finishes the example 
app.  I just want to know if the problem I am having above is a JNDI problem or 
a Seam problem.  Can you tell from the information that I gave or should I 
submit more?

Thank you for your help so far.  I have been very impressed by how active you 
guys are in the forms and I have enjoyed learning about Seam very much.

Cheers.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911107#3911107

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911107


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to