[JBoss Seam] - Re: What do you guys think of this idea?
by iradix
Just some observations on how this might be done. Figured this is a more appropriate place to have this discussion than within the JIRA issue. Parsing the XML from the view seems to have three drawbacks as far as I can see.
The first is that the page has to be XML, this doesn't affect me and I'd imagine most SEAM users are using Facelets as well, but still it would be nice if it worked with any faces view type.
The second is I agree with bsmithjj that it might be nice to nest these within templates. If you directly parse the XML it seems to me that you would have to either ignore definitions in templates or tie the parser to the view technology (Facelets) and parse all templates/includes as well.
The last is that if this ties in to the existing method in Pages of reading a Page definition and then caching it, these won't be reloadable without reloading the context which might confuse people since it is not how they are familiar with views working. Of course that could be worked around.
As an alternative what about making these actual UIComponents and then walking the Component tree in beforeRender if no page definition is found elsewhere?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987621#3987621
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987621
19Â years, 5Â months
[JBoss Seam] - Re: Local server is not initialized error when calling a met
by fmi2
Thanks for responding.
To tell you the truth, I'm not sure what that file is used for...I was just taking steps to try and resolve the error. Before including that file I was getting the following
2006-11-21 11:27:42,062 INFO [org.apache.myfaces.config.FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
| 2006-11-21 11:27:42,531 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/C:/tomcat/webapps/caGridAdminPortal/WEB-INF/lib/apache-myfaces-tomahawk-1.1.3.jar!/META-INF/faces-config.xml
| 2006-11-21 11:27:42,593 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/C:/tomcat/webapps/caGridAdminPortal/WEB-INF/lib/jboss-seam-10.1GA.jar!/META-INF/faces-config.xml
| 2006-11-21 11:27:42,625 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config /WEB-INF/faces-config.xml
| 2006-11-21 11:27:42,750 WARN [org.apache.myfaces.shared_impl.util.LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default locale : en_US
| 2006-11-21 11:27:43,484 INFO [org.apache.myfaces.webapp.StartupServletContextListener] ServletContext 'C:\tomcat\webapps\caGridAdminPortal\' initialized.
| 2006-11-21 11:27:43,484 INFO [javax.servlet.ServletContextListener] Welcome to Seam 1.0.1.GA
| 2006-11-21 11:27:43,484 INFO [org.jboss.seam.init.Initialization] reading components.xml
| 2006-11-21 11:27:43,625 INFO [org.jboss.seam.init.Initialization] reading properties from: /seam.properties
| 2006-11-21 11:27:43,625 DEBUG [org.jboss.seam.init.Initialization] not found: /jndi.properties
| 2006-11-21 11:27:43,625 DEBUG [org.jboss.seam.init.Initialization] not found: /seam-jndi.properties
| 2006-11-21 11:27:43,625 INFO [org.jboss.seam.init.Initialization] initializing Seam
| 2006-11-21 11:27:43,765 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
| 2006-11-21 11:27:43,796 DEBUG [org.jboss.seam.Component] org.jboss.seam.core.init.myFacesLifecycleBug=false
| 2006-11-21 11:27:43,796 DEBUG [org.jboss.seam.Component] org.jboss.seam.core.init.debug=true
| 2006-11-21 11:27:43,796 DEBUG [org.jboss.seam.Component] org.jboss.seam.core.init.jndiPattern=#{ejbName}/local
| 2006-11-21 11:27:44,109 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.init
| 2006-11-21 11:27:44,125 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
| 2006-11-21 11:27:44,140 INFO [org.jboss.seam.Component] Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events
| 2006-11-21 11:27:44,140 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
| 2006-11-21 11:27:44,187 INFO [org.jboss.seam.Component] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher
| 2006-11-21 11:27:44,187 INFO [org.jboss.seam.Component] Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect
| 2006-11-21 11:27:44,203 INFO [org.jboss.seam.Component] Component: httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError
| 2006-11-21 11:27:44,218 INFO [org.jboss.seam.Component] Component: userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal
| 2006-11-21 11:27:44,218 INFO [org.jboss.seam.Component] Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
| 2006-11-21 11:27:44,234 INFO [org.jboss.seam.Component] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
| 2006-11-21 11:27:44,250 INFO [org.jboss.seam.Component] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
| 2006-11-21 11:27:44,250 INFO [org.jboss.seam.Component] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
| 2006-11-21 11:27:44,265 INFO [org.jboss.seam.Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
| 2006-11-21 11:27:44,265 INFO [org.jboss.seam.Component] Component: pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
| 2006-11-21 11:27:44,296 INFO [org.jboss.seam.Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
| 2006-11-21 11:27:44,312 INFO [org.jboss.seam.Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
| 2006-11-21 11:27:44,312 INFO [org.jboss.seam.Component] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext
| 2006-11-21 11:27:44,312 INFO [org.jboss.seam.Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
| 2006-11-21 11:27:44,328 INFO [org.jboss.seam.Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
| 2006-11-21 11:27:44,328 INFO [org.jboss.seam.Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
| 2006-11-21 11:27:44,343 INFO [org.jboss.seam.Component] Component: locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale
| 2006-11-21 11:27:44,343 INFO [org.jboss.seam.Component] Component: messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages
| 2006-11-21 11:27:44,343 INFO [org.jboss.seam.Component] Component: interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
| 2006-11-21 11:27:44,359 INFO [org.jboss.seam.Component] Component: facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages
| 2006-11-21 11:27:44,390 INFO [org.jboss.seam.Component] Component: resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
| 2006-11-21 11:27:44,390 INFO [org.jboss.seam.Component] Component: localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector
| 2006-11-21 11:27:44,406 INFO [org.jboss.seam.Component] Component: uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent
| 2006-11-21 11:27:44,406 INFO [org.jboss.seam.Component] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry
| 2006-11-21 11:27:44,421 INFO [org.jboss.seam.Component] Component: pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache
| 2006-11-21 11:27:44,437 INFO [org.jboss.seam.Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
| 2006-11-21 11:27:44,468 INFO [org.jboss.seam.Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
| 2006-11-21 11:27:44,484 INFO [org.jboss.seam.deployment.Scanner] scanning: C:\tomcat\webapps\caGridAdminPortal\WEB-INF\classes
| 2006-11-21 11:27:44,484 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGridAdminPortal\WEB-INF\classes
| 2006-11-21 11:27:44,484 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGridAdminPortal\WEB-INF\classes\conf
| 2006-11-21 11:27:44,515 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGridAdminPortal\WEB-INF\classes\gov
| 2006-11-21 11:27:44,515 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGridAdminPortal\WEB-INF\classes\gov\nih
| 2006-11-21 11:27:44,515 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGridAdminPortal\WEB-INF\classes\gov\nih\nci
| 2006-11-21 11:27:44,515 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGridAdminPortal\WEB-INF\classes\gov\nih\nci\cagrid
| 2006-11-21 11:27:44,515 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGridAdminPortal\WEB-INF\classes\gov\nih\nci\cagrid\portal
| 2006-11-21 11:27:44,515 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGridAdminPortal\WEB-INF\classes\gov\nih\nci\cagrid\portal\command
| 2006-11-21 11:27:44,546 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGridAdminPortal\WEB-INF\classes\gov\nih\nci\cagrid\portal\domain
| 2006-11-21 11:27:44,609 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGridAdminPortal\WEB-INF\classes\gov\nih\nci\cagrid\portal\messages
| 2006-11-21 11:27:44,625 INFO [org.jboss.seam.Component] Component: search, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: gov.nih.nci.cagrid.portal.command.SearchBean, JNDI: SearchBean/local
| 2006-11-21 11:27:44,671 INFO [org.jboss.seam.Component] Component: searchCriteria, scope: SESSION, type: JAVA_BEAN, class: gov.nih.nci.cagrid.portal.command.SearchCriteria
| 2006-11-21 11:27:44,687 DEBUG [org.jboss.seam.Component] instantiating Seam component: applicationContext
| 2006-11-21 11:27:44,687 DEBUG [org.jboss.seam.Component] instantiating Seam component: isUserInRole
| 2006-11-21 11:27:44,687 DEBUG [org.jboss.seam.Component] instantiating Seam component: statelessContext
| 2006-11-21 11:27:44,687 DEBUG [org.jboss.seam.Component] instantiating Seam component: userPrincipal
| 2006-11-21 11:27:44,687 DEBUG [org.jboss.seam.Component] instantiating Seam component: sessionContext
| 2006-11-21 11:27:44,687 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesContext
| 2006-11-21 11:27:44,687 DEBUG [org.jboss.seam.Component] instantiating Seam component: businessProcessContext
| 2006-11-21 11:27:44,687 DEBUG [org.jboss.seam.Component] instantiating Seam component: eventContext
| 2006-11-21 11:27:44,687 DEBUG [org.jboss.seam.Component] instantiating Seam component: pageContext
| 2006-11-21 11:27:44,687 DEBUG [org.jboss.seam.Component] instantiating Seam component: conversationContext
| 2006-11-21 11:27:44,687 INFO [org.jboss.seam.init.Initialization] done initializing Seam
| 2006-11-21 11:28:14,453 DEBUG [org.jboss.seam.contexts.Lifecycle] Session started
| 2006-11-21 11:28:14,484 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
| 2006-11-21 11:28:14,500 DEBUG [org.jboss.seam.Component] instantiating Seam component: localeSelector
| 2006-11-21 11:28:14,531 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager
| 2006-11-21 11:28:14,531 DEBUG [org.jboss.seam.core.Manager] No stored conversation
| 2006-11-21 11:28:14,531 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.jboss.seam.core.init
| 2006-11-21 11:28:14,531 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(1)
| 2006-11-21 11:28:14,656 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.pages
| 2006-11-21 11:28:14,656 INFO [org.jboss.seam.core.Pages] no pages.xml file found
| 2006-11-21 11:28:14,656 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesMessages
| 2006-11-21 11:28:14,812 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
| 2006-11-21 11:28:14,812 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
| 2006-11-21 11:28:14,812 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource
| 2006-11-21 11:28:14,812 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true
| 2006-11-21 11:28:14,828 DEBUG [org.jboss.seam.core.Manager] Discarding conversation state: 1
| 2006-11-21 11:28:14,828 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing page context
| 2006-11-21 11:28:14,859 DEBUG [org.jboss.seam.contexts.Lifecycle] After render response, destroying contexts
| 2006-11-21 11:28:14,859 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context
| 2006-11-21 11:28:14,859 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.servlet.forward.request_uri
| 2006-11-21 11:28:14,859 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.servlet.forward.context_path
| 2006-11-21 11:28:14,859 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.servlet.forward.servlet_path
| 2006-11-21 11:28:14,859 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.manager
| 2006-11-21 11:28:14,859 DEBUG [org.jboss.seam.contexts.Contexts] destroying: class org.apache.myfaces.shared_tomahawk.renderkit.html.util.JavascriptUtils.OLD_VIEW_ID
| 2006-11-21 11:28:14,859 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.faces.webapp.UIComponentTag.UNIQUE_ID_COUNTER
| 2006-11-21 11:28:14,859 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW
| 2006-11-21 11:28:14,859 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context
| 2006-11-21 11:28:14,859 DEBUG [org.jboss.seam.contexts.Contexts] destroying: facesMessages
| 2006-11-21 11:28:14,859 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation context
| 2006-11-21 11:28:14,859 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End web request
| 2006-11-21 11:28:14,875 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
| 2006-11-21 11:28:14,875 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
| 2006-11-21 11:28:14,875 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource
| 2006-11-21 11:28:14,875 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true
| 2006-11-21 11:28:38,093 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
| 2006-11-21 11:28:38,093 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager
| 2006-11-21 11:28:38,093 DEBUG [org.jboss.seam.core.Manager] No stored conversation
| 2006-11-21 11:28:38,093 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.jboss.seam.core.init
| 2006-11-21 11:28:38,093 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(2)
| 2006-11-21 11:28:38,093 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesMessages
| 2006-11-21 11:28:38,500 WARN [org.apache.myfaces.shared_impl.taglib.UIComponentBodyTagBase] Component with id 'hfpanel' (org.apache.myfaces.taglib.html.HtmlPanelGridTag tag) and path : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /BasicSearch.jsp][Class: javax.faces.component.html.HtmlPanelGrid,Id: hfpanel]}renders it's children, but has embedded JSP or HTML code. Use the <f:verbatim> tag for nested HTML. For comments use <%/* */%> style JSP comments instead of <!-- --> style HTML comments.
| BodyContent:
| <!-- use two tabs for Research Center and Service results, and el(expression language)-->
| 2006-11-21 11:28:38,515 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: search_msg
| 2006-11-21 11:28:38,515 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: search_msg
| 2006-11-21 11:28:38,515 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
| 2006-11-21 11:28:38,531 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriteria
| 2006-11-21 11:28:38,531 DEBUG [org.jboss.seam.Component] instantiating Seam component: searchCriteria
| 2006-11-21 11:28:38,609 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
| 2006-11-21 11:28:38,640 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: search_msg
| 2006-11-21 11:28:38,640 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: search_msg
| 2006-11-21 11:28:38,640 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
| 2006-11-21 11:28:38,640 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriteria
| 2006-11-21 11:28:38,640 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCriteria
| 2006-11-21 11:28:38,640 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
| 2006-11-21 11:28:38,640 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriteria
| 2006-11-21 11:28:38,640 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCriteria
| 2006-11-21 11:28:38,640 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
| 2006-11-21 11:28:38,656 DEBUG [org.jboss.seam.core.Manager] Discarding conversation state: 2
| 2006-11-21 11:28:38,656 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing page context
| 2006-11-21 11:28:38,718 DEBUG [org.jboss.seam.contexts.Lifecycle] After render response, destroying contexts
| 2006-11-21 11:28:38,718 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context
| 2006-11-21 11:28:38,718 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.manager
| 2006-11-21 11:28:38,718 DEBUG [org.jboss.seam.contexts.Contexts] destroying: class org.apache.myfaces.shared_tomahawk.renderkit.html.util.JavascriptUtils.OLD_VIEW_ID
| 2006-11-21 11:28:38,718 DEBUG [org.jboss.seam.contexts.Contexts] destroying: search_msg
| 2006-11-21 11:28:38,718 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.faces.webapp.UIComponentTag.UNIQUE_ID_COUNTER
| 2006-11-21 11:28:38,718 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW
| 2006-11-21 11:28:38,718 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context
| 2006-11-21 11:28:38,718 DEBUG [org.jboss.seam.contexts.Contexts] destroying: facesMessages
| 2006-11-21 11:28:38,718 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation context
| 2006-11-21 11:28:38,718 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End web request
| 2006-11-21 11:28:40,328 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
| 2006-11-21 11:28:40,390 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager
| 2006-11-21 11:28:40,390 DEBUG [org.jboss.seam.core.Manager] No stored conversation
| 2006-11-21 11:28:40,390 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.jboss.seam.core.init
| 2006-11-21 11:28:40,390 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(3)
| 2006-11-21 11:28:40,390 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriteria
| 2006-11-21 11:28:40,390 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCriteria
| 2006-11-21 11:28:40,390 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
| 2006-11-21 11:28:40,390 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriteria
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCriteria
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriteria
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCriteria
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriteria
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCriteria
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriteria
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCriteria
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriteria
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCriteria
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriteria
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCriteria
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: search
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.Component] instantiating Seam component: search
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{}
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{}
| 2006-11-21 11:28:40,406 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{}
| 2006-11-21 11:28:40,437 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/caGridAdminPortal].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
| javax.faces.FacesException: Error calling action method of component with id _idJsp14:_idJsp23
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
| at javax.faces.component.UICommand.broadcast(UICommand.java:106)
| at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
| at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
| at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{search.performBasicSearch}
| at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165)
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
| ... 23 more
| Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: search
| at org.jboss.seam.Component.newInstance(Component.java:735)
| at org.jboss.seam.Component.newInstance(Component.java:1308)
| at org.jboss.seam.Component.getInstance(Component.java:1263)
| at org.jboss.seam.Component.getInstance(Component.java:1246)
| at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
| at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
| at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:574)
| at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
| at org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:455)
| at org.apache.myfaces.el.MethodBindingImpl.resolveToBaseAndProperty(MethodBindingImpl.java:180)
| at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:114)
| ... 24 more
| Caused by: javax.naming.NameNotFoundException: Name SearchBean is not bound in this Context
| at org.apache.naming.NamingContext.lookup(NamingContext.java:769)
| at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
| at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
| at org.jboss.seam.Component.instantiate(Component.java:774)
| at org.jboss.seam.Component.newInstance(Component.java:731)
| ... 34 more
On looking up the 'Bean not bound in this Conetxt' error in the forum, I concluded that i needed that file. With the file in the project I no longer get the above errors but the one in my previous post ...'Local server not initialized'
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987618#3987618
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987618
19Â years, 5Â months