[JBoss Seam] - Problems with contexts not being active
by akwatters
I'm trying to invoke a SSB from a servlet filter using Seam 1.2.1 deployed on JBoss 4.2.1.
>From the filter I'm calling the SSB using Component.getInstance("myService", true). At first this failed on calling Component.getInstance throwing a IllegalStateException with the message "No application context active". I 'discovered' org.jboss.seam.web.ContextFilter and added it to my web.xml. The SSB is now called without problems. However, when the request returns to the ContextFilter it fails with another IllegalStateException with the message "No active event context".
java.lang.IllegalStateException: No active event context
at org.jboss.seam.core.Manager.instance(Manager.java:267)
at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:58)
Help please!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100832#4100832
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100832
17Â years, 2Â months
[JBoss Seam] - Pls help: Wierd error: app ear works fine in seam 2.0.0.beta
by hemantsaxena
I am going through very werd problem. Seems to be loosing the bean (which is scoped as "session") when i updated the jars from seam 2.0.0.beta1 to 2.0.0.cr3.
The strange things is bean resolver work for certain part of xhtml ui component and suddenly it throws an error saying:
Property 'searchAction' not found on type org.jboss.seam.Namespace
at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:193)
at javax.el.BeanELResolver.property(BeanELResolver.java:267)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:60)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
if you notice the log below you will see that "searchAction" bean is executed couple of time before throwing property not found exception. Here is the log:
15:37:02,024 INFO [ServletContextListener] Welcome to Seam 2.0.0.CR3
15:37:02,102 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-ioc.jar
15:37:02,133 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/tmp/deploy/tmp17418jboss-seam.jar
15:37:02,289 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-ui.jar
15:37:02,305 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-remoting.jar
15:37:02,320 INFO [Initialization] Namespace: http://jboss.com/products/seam/international, package: org.jboss.seam.international, prefix: org.jboss.seam.international
15:37:02,320 INFO [Initialization] Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security
15:37:02,320 INFO [Initialization] Namespace: http://jboss.com/products/seam/persistence, package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
15:37:02,320 INFO [Initialization] Namespace: http://jboss.com/products/seam/remoting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
15:37:02,320 INFO [Initialization] Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
15:37:02,320 INFO [Initialization] Namespace: http://jboss.com/products/seam/async, package: org.jboss.seam.async, prefix: org.jboss.seam.async
15:37:02,320 INFO [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
15:37:02,320 INFO [Initialization] Namespace: http://jboss.com/products/seam/spring, package: org.jboss.seam.ioc.spring, prefix: org.jboss.seam.ioc.spring
15:37:02,320 INFO [Initialization] Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
15:37:02,320 INFO [Initialization] Namespace: http://jboss.com/products/seam/transaction, package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
15:37:02,320 INFO [Initialization] Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web
15:37:02,320 INFO [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
15:37:02,320 INFO [Initialization] Namespace: http://jboss.com/products/seam/navigation, package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation
15:37:02,320 INFO [Initialization] Namespace: http://jboss.com/products/seam/bpm, package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm
15:37:02,320 INFO [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
15:37:02,320 INFO [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
15:37:02,352 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-pdf.jar
15:37:02,367 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/tmp/deploy/tmp17406adsinvmgr_entity_impl-1.0.jar
15:37:02,367 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-mail.jar
15:37:02,383 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-debug.jar
15:37:02,383 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/tmp/deploy/tmp17408adsinvmgr_service_impl-1.0.jar
15:37:02,383 INFO [Scanner] scanning: C:\hemdata\Projects\ACAR\dev\softwares\jboss-4.2.1.GA\server\default\deploy\adsinvmgr_ear-1.0.ear\adsinvmgr.war\WEB-INF\classes
15:37:02,399 INFO [Initialization] Namespace: http://jboss.com/products/seam/pdf, package: org.jboss.seam.pdf, prefix:
15:37:02,414 INFO [Initialization] reading /WEB-INF/components.xml
15:37:02,836 INFO [Initialization] reading jar:file:/C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/tmp/deploy/tmp17418jboss-seam.jar!/META-INF/components.xml
15:37:02,836 INFO [Initialization] reading jar:file:/C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-ioc.jar!/META-INF/components.xml
15:37:02,851 INFO [Initialization] reading jar:file:/C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-remoting.jar!/META-INF/components.xml
15:37:02,851 INFO [Initialization] reading jar:file:/C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/components.xml
15:37:02,867 INFO [Initialization] reading properties from: /seam.properties
15:37:02,867 INFO [Initialization] reading properties from: /jndi.properties
15:37:02,883 INFO [Initialization] initializing Seam
15:37:02,929 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-pdf.jar
15:37:03,288 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/tmp/deploy/tmp17406adsinvmgr_entity_impl-1.0.jar
15:37:03,491 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-mail.jar
15:37:03,585 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-debug.jar
15:37:03,663 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/tmp/deploy/tmp17408adsinvmgr_service_impl-1.0.jar
15:37:03,819 INFO [Scanner] scanning: C:\hemdata\Projects\ACAR\dev\softwares\jboss-4.2.1.GA\server\default\deploy\adsinvmgr_ear-1.0.ear\adsinvmgr.war\WEB-INF\classes
15:37:04,163 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-ioc.jar
15:37:04,522 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/tmp/deploy/tmp17418jboss-seam.jar
15:37:11,548 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-ui.jar
15:37:12,829 INFO [Scanner] scanning: /C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-remoting.jar
15:37:13,484 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.manager
15:37:13,547 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.transaction.synchronizations
15:37:13,594 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.locale
15:37:13,625 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.bpm.businessProcess
15:37:13,625 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.userPrincipal
15:37:13,640 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.parameters
15:37:13,640 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.resourceLoader
15:37:13,656 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.security.identity
15:37:13,672 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.locale
15:37:13,672 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.persistence.persistenceProvider
15:37:13,672 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.expressions
15:37:13,672 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.isUserInRole
15:37:13,781 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
15:37:13,937 WARN [Initialization] Did not install PojoCache due to NoClassDefFoundError: org/jgroups/MembershipListener
15:37:13,937 INFO [Initialization] Installing components...
15:37:14,062 INFO [Component] Component: DefaultEntityConverter, scope: EVENT, type: JAVA_BEAN, class: com.atc.web.comp.inv.helper.DefaultEntityConverter
15:37:14,187 INFO [Component] Component: SelectionModelConverter, scope: EVENT, type: JAVA_BEAN, class: com.atc.web.comp.inv.helper.SelectionModelConverter
15:37:14,234 WARN [Component] Component class should be serializable: ads.inv.adsInvSearchActionNew
15:37:14,234 INFO [Component] Component: ads.inv.adsInvSearchActionNew, scope: SESSION, type: JAVA_BEAN, class: com.atc.web.comp.inv.AdsInvSearchAction
15:37:14,343 INFO [Component] Component: ads.inv.adsQueryManager, scope: EVENT, type: JAVA_BEAN, class: com.atc.web.mock.MockAdsQueryManager
15:37:14,359 INFO [Component] Component: ads.inv.adsQueryManagerImpl, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: com.autotrader.adsinv.service.AdsInvQueryManagerImpl, JNDI: adsinvmgr_ear-1.0/AdsInvQueryManagerImpl/local
15:37:14,421 INFO [Component] Component: ads.inv.invSearchActionCriteriaHelper, scope: APPLICATION, type: JAVA_BEAN, class: com.atc.web.comp.inv.helper.InvSearchActionCriteriaHelper
15:37:14,437 INFO [Component] Component: ads.inv.searchActionCriteriaHelper, scope: APPLICATION, type: JAVA_BEAN, class: com.atc.web.comp.inv.helper.SearchActionCriteriaHelper
15:37:14,484 WARN [Component] Component class should be serializable: adsInvSearchResult
15:37:14,484 INFO [Component] Component: adsInvSearchResult, scope: SESSION, type: JAVA_BEAN, class: com.atc.web.comp.inv.ResultAction
15:37:14,577 INFO [Component] Component: adsinv.dao.MarketSegmentGroupDao, scope: EVENT, type: JAVA_BEAN, class: com.autotrader.adsinv.entity.dao.MarketSegmentGroupDaoImpl
15:37:14,593 INFO [Component] Component: adsinv.dao.defaultDao, scope: EVENT, type: JAVA_BEAN, class: com.autotrader.adsinv.entity.dao.DefaultEntityDaoImpl
15:37:14,608 INFO [Component] Component: adsinv.service.DefaultService, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: com.autotrader.adsinv.service.DefaultAdsInvServiceImpl, JNDI: adsinvmgr_ear-1.0/DefaultAdsInvServiceImpl/local
15:37:14,655 INFO [Component] Component: adsinv.service.MockDefaultService, scope: EVENT, type: JAVA_BEAN, class: com.atc.web.mock.MockDefaultAdsInvService
15:37:14,733 INFO [Component] Component: entityManager, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.ManagedPersistenceContext
15:37:14,765 INFO [Component] Component: org.jboss.seam.async.dispatcher, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.async.ThreadPoolDispatcher
15:37:14,780 INFO [Component] Component: org.jboss.seam.core.contexts, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Contexts
15:37:14,811 INFO [Component] Component: org.jboss.seam.core.conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
15:37:14,827 INFO [Component] Component: org.jboss.seam.core.conversationEntries, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationEntries
15:37:14,858 INFO [Component] Component: org.jboss.seam.core.conversationListFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
15:37:14,890 INFO [Component] Component: org.jboss.seam.core.conversationPropagation, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationPropagation
15:37:14,905 INFO [Component] Component: org.jboss.seam.core.conversationStackFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
15:37:14,936 INFO [Component] Component: org.jboss.seam.core.events, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Events
15:37:14,952 INFO [Component] Component: org.jboss.seam.core.expressions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesExpressions
15:37:14,983 INFO [Component] Component: org.jboss.seam.core.interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
15:37:14,999 INFO [Component] Component: org.jboss.seam.core.locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.Locale
15:37:15,030 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesManager
15:37:15,077 INFO [Component] Component: org.jboss.seam.core.resourceBundle, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
15:37:15,093 INFO [Component] Component: org.jboss.seam.core.resourceLoader, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.ResourceLoader
15:37:15,124 INFO [Component] Component: org.jboss.seam.core.validators, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Validators
15:37:15,155 INFO [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
15:37:15,186 INFO [Component] Component: org.jboss.seam.debug.hotDeployFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.hot.HotDeployFilter
15:37:15,233 INFO [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
15:37:15,296 INFO [Component] Component: org.jboss.seam.exception.exceptions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.exception.Exceptions
15:37:15,358 INFO [Component] Component: org.jboss.seam.faces.dataModels, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.DataModels
15:37:15,405 INFO [Component] Component: org.jboss.seam.faces.facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesContext
15:37:15,452 INFO [Component] Component: org.jboss.seam.faces.facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesMessages
15:37:15,545 INFO [Component] Component: org.jboss.seam.faces.facesPage, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesPage
15:37:15,561 INFO [Component] Component: org.jboss.seam.faces.httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.HttpError
15:37:15,608 INFO [Component] Component: org.jboss.seam.faces.redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.Redirect
15:37:15,639 INFO [Component] Component: org.jboss.seam.faces.renderer, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.facelet.FaceletsRenderer
15:37:15,655 INFO [Component] Component: org.jboss.seam.faces.switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.faces.Switcher
15:37:15,686 INFO [Component] Component: org.jboss.seam.faces.uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.UiComponent
15:37:15,701 INFO [Component] Component: org.jboss.seam.faces.validation, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.faces.Validation
15:37:15,717 INFO [Component] Component: org.jboss.seam.framework.currentDate, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDate
15:37:15,764 INFO [Component] Component: org.jboss.seam.framework.currentDatetime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDatetime
15:37:15,795 INFO [Component] Component: org.jboss.seam.framework.currentTime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentTime
15:37:15,826 INFO [Component] Component: org.jboss.seam.graphicImage.image, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.Image
15:37:15,858 INFO [Component] Component: org.jboss.seam.international.localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.LocaleSelector
15:37:15,873 INFO [Component] Component: org.jboss.seam.international.messagesFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.Messages
15:37:15,904 INFO [Component] Component: org.jboss.seam.international.timeZone, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZone
15:37:15,936 INFO [Component] Component: org.jboss.seam.international.timeZoneSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZoneSelector
15:37:15,983 INFO [Component] Component: org.jboss.seam.mail.mailSession, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.mail.MailSession
15:37:16,092 INFO [Component] Component: org.jboss.seam.navigation.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.Pages
15:37:16,170 INFO [Component] Component: org.jboss.seam.navigation.safeActions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.SafeActions
15:37:16,217 INFO [Component] Component: org.jboss.seam.pdf.documentStore, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.pdf.DocumentStore
15:37:16,264 INFO [Component] Component: org.jboss.seam.persistence.persistenceContexts, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.PersistenceContexts
15:37:16,295 INFO [Component] Component: org.jboss.seam.persistence.persistenceProvider, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.persistence.HibernatePersistenceProvider
15:37:16,326 INFO [Component] Component: org.jboss.seam.remoting.gwt.gwtToSeamAdapter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.gwt.GWTToSeamAdapter
15:37:16,373 INFO [Component] Component: org.jboss.seam.remoting.remoting, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.Remoting
15:37:16,404 INFO [Component] Component: org.jboss.seam.security.configurationFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.security.Configuration
15:37:16,451 INFO [Component] Component: org.jboss.seam.security.identity, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.security.RuleBasedIdentity
15:37:16,467 INFO [Component] Component: org.jboss.seam.theme.themeFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme
15:37:16,498 INFO [Component] Component: org.jboss.seam.theme.themeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.ThemeSelector
15:37:16,529 INFO [Component] Component: org.jboss.seam.transaction.synchronizations, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.transaction.SeSynchronizations
15:37:16,560 INFO [Component] Component: org.jboss.seam.transaction.transaction, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.transaction.Transaction
15:37:16,623 INFO [Component] Component: org.jboss.seam.ui.EntityConverter, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.EntityConverter
15:37:16,638 INFO [Component] Component: org.jboss.seam.ui.entityConverterStore, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.EntityConverterStore
15:37:16,701 INFO [Component] Component: org.jboss.seam.ui.graphicImage.graphicImageResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.GraphicImageResource
15:37:16,732 INFO [Component] Component: org.jboss.seam.ui.graphicImage.graphicImageStore, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.GraphicImageStore
15:37:16,810 INFO [Component] Component: org.jboss.seam.ui.resource.styleResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.StyleResource
15:37:16,872 INFO [Component] Component: org.jboss.seam.ui.resource.webResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.WebResource
15:37:16,888 INFO [Component] Component: org.jboss.seam.web.ajax4jsfFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.Ajax4jsfFilter
15:37:16,904 INFO [Component] Component: org.jboss.seam.web.ajax4jsfFilterInstantiator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.filter.Ajax4jsfFilterInstantiator
15:37:16,935 INFO [Component] Component: org.jboss.seam.web.exceptionFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.ExceptionFilter
15:37:16,966 INFO [Component] Component: org.jboss.seam.web.isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.IsUserInRole
15:37:16,982 INFO [Component] Component: org.jboss.seam.web.loggingFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.LoggingFilter
15:37:17,013 INFO [Component] Component: org.jboss.seam.web.multipartFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.MultipartFilter
15:37:17,029 INFO [Component] Component: org.jboss.seam.web.parameters, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.Parameters
15:37:17,060 INFO [Component] Component: org.jboss.seam.web.redirectFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.RedirectFilter
15:37:17,091 INFO [Component] Component: org.jboss.seam.web.servletContexts, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.web.ServletContexts
15:37:17,107 INFO [Component] Component: org.jboss.seam.web.session, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.web.Session
15:37:17,138 INFO [Component] Component: org.jboss.seam.web.userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.UserPrincipal
15:37:17,169 WARN [Component] Component class should be serializable: searchAction
15:37:17,169 INFO [Component] Component: searchAction, scope: SESSION, type: JAVA_BEAN, class: com.atc.web.comp.inv.SearchAction
15:37:17,216 INFO [Component] Component: securityRules, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.drools.RuleBase
15:37:17,263 INFO [Component] Component: testcomp, scope: EVENT, type: JAVA_BEAN, class: com.atc.web.comp.inv.testharness.TestComp
15:37:17,263 INFO [Contexts] starting up: org.jboss.seam.ui.resource.styleResource
15:37:17,278 INFO [Contexts] starting up: org.jboss.seam.ui.graphicImage.graphicImageResource
15:37:17,278 INFO [Contexts] starting up: org.jboss.seam.ui.resource.webResource
15:37:17,278 INFO [Contexts] starting up: org.jboss.seam.remoting.remoting
15:37:17,278 INFO [Initialization] done initializing Seam
15:37:17,310 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.loggingFilter
15:37:17,310 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.ajax4jsfFilter
15:37:17,497 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
15:37:17,528 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {org.ajax4jsf.VIEW_HANDLERS=com.sun.facelets.FaceletViewHandler, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, facelets.LIBRARIES=/WEB-INF/tags/autotrader.taglib.xml, facelets.DEVELOPMENT=true, org.richfaces.SKIN=blueSky, javax.faces.DEFAULT_SUFFIX=.xhtml, javax.faces.STATE_SAVING_METHOD=client}
15:37:17,528 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
15:37:17,653 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
15:37:17,653 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {org.ajax4jsf.VIEW_HANDLERS=com.sun.facelets.FaceletViewHandler, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, facelets.LIBRARIES=/WEB-INF/tags/autotrader.taglib.xml, facelets.DEVELOPMENT=true, org.richfaces.SKIN=blueSky, javax.faces.DEFAULT_SUFFIX=.xhtml, javax.faces.STATE_SAVING_METHOD=client}
15:37:17,653 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
15:37:17,653 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.redirectFilter
15:37:17,653 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.exceptionFilter
15:37:17,653 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.multipartFilter
15:37:17,653 INFO [SeamFilter] Initializing filter: org.jboss.seam.debug.hotDeployFilter
15:37:17,809 INFO [EARDeployer] Started J2EE application: file:/C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/
15:37:18,200 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
15:37:18,465 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
15:37:18,684 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 1m:31s:680ms
15:37:42,089 INFO [Contexts] starting up: org.jboss.seam.security.identity
15:37:43,775 INFO [RuleBase] parsing rules: /security.drl
15:37:44,930 INFO [Contexts] starting up: org.jboss.seam.web.session
15:37:47,460 ERROR [STDERR] Oct 31, 2007 3:37:47 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml
15:37:47,476 ERROR [STDERR] Oct 31, 2007 3:37:47 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml
15:37:47,616 ERROR [STDERR] Oct 31, 2007 3:37:47 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
15:37:47,741 ERROR [STDERR] Oct 31, 2007 3:37:47 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
15:37:47,772 ERROR [STDERR] Oct 31, 2007 3:37:47 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
15:37:47,866 ERROR [STDERR] Oct 31, 2007 3:37:47 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
15:37:47,928 ERROR [STDERR] Oct 31, 2007 3:37:47 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
15:37:47,944 ERROR [STDERR] Oct 31, 2007 3:37:47 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
15:37:48,147 ERROR [STDERR] Oct 31, 2007 3:37:48 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
15:37:48,178 ERROR [STDERR] Oct 31, 2007 3:37:48 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
15:37:48,381 ERROR [STDERR] Oct 31, 2007 3:37:48 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
15:37:48,428 ERROR [STDERR] Oct 31, 2007 3:37:48 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/hemdata/Projects/ACAR/dev/softwares/jboss-4.2.1.GA/server/default/deploy/adsinvmgr_ear-1.0.ear/adsinvmgr.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
15:37:50,567 INFO [SearchAction] >>>>>>>>>>>>>>>>> load site list Method executed
15:37:52,503 INFO [STDOUT] Hibernate: select adssite0_.ID as ID6_, adssite0_.NAME as NAME6_, adssite0_.SEGMENTATION_VARIABLE_STATUS as SEGMENTA3_6_, adssite0_.SEGMENTATION_VARIABLE_TYPE as SEGMENTA4_6_, adssite0_.REC_CREATE_DATE as REC5_6_, adssite0_.REC_UPDATE_DATE as REC6_6_, adssite0_.IS_NEG_TARGETABLE as IS7_6_ from ADSINV.ADS_VALUES adssite0_ where (adssite0_.SEGMENTATION_VARIABLE_STATUS like ?) and (adssite0_.SEGMENTATION_VARIABLE_TYPE like ?) order by adssite0_.NAME
15:37:52,940 INFO [SearchAction] >>>>>>>>>>>>>>>>> load site list Method executed
15:37:53,018 INFO [STDOUT] Hibernate: select adssite0_.ID as ID6_, adssite0_.NAME as NAME6_, adssite0_.SEGMENTATION_VARIABLE_STATUS as SEGMENTA3_6_, adssite0_.SEGMENTATION_VARIABLE_TYPE as SEGMENTA4_6_, adssite0_.REC_CREATE_DATE as REC5_6_, adssite0_.REC_UPDATE_DATE as REC6_6_, adssite0_.IS_NEG_TARGETABLE as IS7_6_ from ADSINV.ADS_VALUES adssite0_ where (adssite0_.SEGMENTATION_VARIABLE_STATUS like ?) and (adssite0_.SEGMENTATION_VARIABLE_TYPE like ?) order by adssite0_.NAME
15:37:54,361 INFO [SearchAction] Fetching selectedSegVar: null
15:37:54,392 INFO [STDOUT] getSegVarValues: 1
15:37:54,392 INFO [STDOUT] getSegVarValues: 2
15:37:54,392 INFO [STDOUT] getSegVarValues: 3
15:37:54,392 INFO [SearchAction] getSegmentationVariableTypeValues Method executed
15:37:54,392 INFO [SearchAction] getSegVarValuesFromDB() before checking if search Summary is null
15:37:54,392 INFO [STDOUT] getSegVarValues: 4
15:37:54,471 ERROR [STDERR] Oct 31, 2007 3:37:54 PM com.sun.facelets.FaceletViewHandler handleRenderException
SEVERE: Error Rendering View[/acar_search.xhtml]
javax.el.PropertyNotFoundException: Property 'searchAction' not found on type org.jboss.seam.Namespace
at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:193)
at javax.el.BeanELResolver.property(BeanELResolver.java:267)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:60)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:112)
at org.jboss.seam.navigation.Param.getStringValueFromModel(Param.java:132)
at org.jboss.seam.navigation.Pages.updateStringValuesInPageContextUsingModel(Pages.java:820)
at org.jboss.seam.jsf.SeamStateManager.saveSerializedView(SeamStateManager.java:61)
at org.ajax4jsf.application.AjaxStateManager.saveSerializedView(AjaxStateManager.java:317)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:615)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
15:37:54,549 INFO [SearchAction] >>>>>>>>>>>>>>>>> load site list Method executed
15:37:54,627 INFO [STDOUT] Hibernate: select adssite0_.ID as ID6_, adssite0_.NAME as NAME6_, adssite0_.SEGMENTATION_VARIABLE_STATUS as SEGMENTA3_6_, adssite0_.SEGMENTATION_VARIABLE_TYPE as SEGMENTA4_6_, adssite0_.REC_CREATE_DATE as REC5_6_, adssite0_.REC_UPDATE_DATE as REC6_6_, adssite0_.IS_NEG_TARGETABLE as IS7_6_ from ADSINV.ADS_VALUES adssite0_ where (adssite0_.SEGMENTATION_VARIABLE_STATUS like ?) and (adssite0_.SEGMENTATION_VARIABLE_TYPE like ?) order by adssite0_.NAME
15:37:55,189 INFO [SearchAction] Fetching selectedSegVar: null
15:37:55,220 INFO [STDOUT] getSegVarValues: 1
15:37:55,220 INFO [STDOUT] getSegVarValues: 2
15:37:55,220 INFO [STDOUT] getSegVarValues: 3
15:37:55,220 INFO [SearchAction] getSegmentationVariableTypeValues Method executed
15:37:55,220 INFO [SearchAction] getSegVarValuesFromDB() before checking if search Summary is null
15:37:55,220 INFO [STDOUT] getSegVarValues: 4
15:37:55,220 INFO [STDOUT] getSegVarValues: 1
15:37:55,220 INFO [STDOUT] getSegVarValues: 2
15:37:55,236 INFO [STDOUT] getSegVarValues: 3
15:37:55,236 INFO [SearchAction] getSegmentationVariableTypeValues Method executed
15:37:55,236 INFO [SearchAction] getSegVarValuesFromDB() before checking if search Summary is null
15:37:55,236 INFO [STDOUT] getSegVarValues: 4
15:37:55,251 INFO [STDOUT] getSegVarValues: 1
15:37:55,251 INFO [STDOUT] getSegVarValues: 2
15:37:55,251 INFO [STDOUT] getSegVarValues: 3
15:37:55,251 INFO [SearchAction] getSegmentationVariableTypeValues Method executed
15:37:55,251 INFO [SearchAction] getSegVarValuesFromDB() before checking if search Summary is null
15:37:55,251 INFO [STDOUT] getSegVarValues: 4
========================================
components.xml
<?xml version="1.0" encoding="UTF-8"?>
<components xmlns="http://jboss.com/products/seam/components"
xmlns:core="http://jboss.com/products/seam/core"
xmlns:drools="http://jboss.com/products/seam/drools"
xmlns:persistence="http://jboss.com/products/seam/persistence"
xmlns:security="http://jboss.com/products/seam/security"
xmlns:web="http://jboss.com/products/seam/web"
xmlns:mail="http://jboss.com/products/seam/mail"
xmlns:transaction="http://jboss.com/products/seam/transaction"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.2.xsd
http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd
http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-1.2.xsd
http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.2.xsd
http://jboss.com/products/seam/web http://jboss.com/products/seam/web-1.2.xsd
http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-1.2.xsd
http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.2.xsd">
<!-- <core:init jndi-pattern="${jndi.pattern}"/> -->
<core:init jndi-pattern="adsinvmgr_ear-1.0/#{ejbName}/local" debug="true"/>
<!-- -->
<core:manager conversation-timeout="120000"
concurrent-request-timeout="500"
conversation-id-parameter="cid"/>
<persistence:managed-persistence-context name="entityManager"
auto-create="true"
persistence-unit-jndi-name="java:/AcarInvEntityManagerFactory"/>
<drools:rule-base name="securityRules">
<drools:rule-files>/security.drl</drools:rule-files>
</drools:rule-base>
<security:identity authenticate-method="#{authenticator.authenticate}"
security-rules="#{securityRules}"
remember-me="true"/>
<mail:mail-session host="localhost" port="2525" username="test" password="test" />
<!-- For use with jBPM pageflow or process management -->
<!--
<core:jbpm>
<core:process-definitions></core:process-definitions>
<core:pageflow-definitions></core:pageflow-definitions>
</core:jbpm>
-->
============================================
web.xml
<?xml version="1.0" ?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<!-- Ajax4jsf
<display-name>Ajax4jsf Filter</display-name>
<filter-name>ajax4jsf</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
<filter-mapping>
<filter-name>ajax4jsf</filter-name>
<url-pattern>*.seam</url-pattern>
</filter-mapping>
-->
<context-param>
<param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
<param-value>com.sun.facelets.FaceletViewHandler</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
<context-param>
A semicolon (;) delimitted list of paths to Facelet tag libraries
<param-name>facelets.LIBRARIES</param-name>
<param-value>/WEB-INF/tags/autotrader.taglib.xml</param-value>
</context-param>
<!-- Seam -->
<listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
<servlet-name>Seam Resource Servlet</servlet-name>
<servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
<servlet-mapping>
<servlet-name>Seam Resource Servlet</servlet-name>
<url-pattern>/seam/resource/*</url-pattern>
</servlet-mapping>
<filter-name>Seam Filter</filter-name>
<filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
<filter-mapping>
<filter-name>Seam Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- Facelets development mode (disable in production) -->
<context-param>
<param-name>facelets.DEVELOPMENT</param-name>
<param-value>true</param-value>
</context-param>
<!-- JSF -->
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.seam</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>10</session-timeout>
</session-config>
</web-app>
=========================================
Faces-config.xml
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config>
</faces-config>
===============================
libraries in ear:
adsinvmgr_entity_impl-1.0.jar
adsinvmgr_model-1.0.jar
adsinvmgr_service_impl-1.0.jar
antlr-3.0b7.jar
commons-beanutils-1.7.0.jar
commons-collections-3.2.jar
commons-digester-1.6.jar
drools-compiler-4.0.0.MR2.jar
drools-core-4.0.0.MR2.jar
janino-2.5.6.jar
jboss-el.jar
jboss-seam.jar
mvel14-1.2beta16.jar
ojdbc14.jar
security.drl
=======================================
lib in web-inf/lib
jboss-seam-debug.jar
jboss-seam-ioc.jar
jboss-seam-mail.jar
jboss-seam-pdf.jar
jboss-seam-remoting.jar
jboss-seam-ui.jar
jsf-facelets.jar
richfaces-api-3.1.1-GA.jar
richfaces-impl-3.1.1-GA.jar
richfaces-ui-3.1.1-GA.jar
=================================
Backing bean code:
@Name("searchAction")
@Scope(ScopeType.SESSION)
@Synchronized
public class SearchAction {
@In(value="adsinv.service.DefaultService", create=true)
IAdsInvService service;
@Logger Log log;
@In (required=false, scope=ScopeType.SESSION)
@Out(required=false, scope=ScopeType.SESSION)
Selection siteSelection;
@In (required=false, scope=ScopeType.SESSION)
@Out(required=false, scope=ScopeType.SESSION)
Selection productSelection;
@In (required=false, scope=ScopeType.SESSION)
@Out(required=false, scope=ScopeType.SESSION)
Selection segVarTypeSelection;
@In (required=false, scope=ScopeType.SESSION)
@Out(required=false, scope=ScopeType.SESSION)
List segVarValues = null;
@Out(required=false, scope=ScopeType.SESSION)
SearchResultCriteria fetchCriteria;
@In (required=false, scope=ScopeType.SESSION)
@Out(required=false, scope=ScopeType.SESSION)
Date startDate;
@In (required=false, scope=ScopeType.SESSION)
@Out(required=false, scope=ScopeType.SESSION)
Date endDate;
@In (required=false, scope=ScopeType.SESSION)
@Out(required=false, scope=ScopeType.SESSION)
List searchSummary;
@In (required=false, scope=ScopeType.SESSION)
@Out (required=false, scope=ScopeType.SESSION)
String nonGroupBySummary;
@In (required=false, scope=ScopeType.SESSION)
@Out (required=false, scope=ScopeType.SESSION)
Map<Long, String> lookUpIndividualValues;
// Holds the current user selected Seg Var
public String selectedSegVar;
public SearchAction() {
}
/**
* This method clears all seg var user selcted values for a particular seg var.
*
* */
public void clearSelectionModal(String segVar)
{
log.info(">>>>>>>>>>>>>>>>> clearSelection Method executed for segVar: " + segVar);
=====================================
acar_search.xhtml
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html 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"
xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
xmlns:at="http://www.autotrader.com/jsf"
>
<ui:composition template="layout/template_acar_002.xhtml">
<ui:define name="body">
<h:form id="querySelection">
<s:div styleClass="column span-24 last underlinedOrange">Inventory Query</s:div>
<s:div styleClass="column span-24 last">
<!-- START SITE SELECT -->
<s:div style="float:left;">
<h:outputLabel class="label" for="siteSelectOneMenu" style="display:block;">Site*</h:outputLabel>
<ui:param name="siteSelectionDataModel" value="#{searchAction.loadSiteList}"/>
<h:selectOneMenu
styleClass="greyBorder4 borderAll"
style="width:100px;"
id="siteSelectOneMenu"
value="#{searchAction.siteSelection.currentSelection}"
converter="#{SelectionModelConverter}"
required="true"
tabindex="10"
>
<a4j:support onsubmit="ajax_start();" oncomplete="ajax_end();" event="onchange" reRender="productSelectOneMenu, contSelectOneSegVarType, marketsegmenttree" ajaxSingle="true" action="#{searchAction.getLoadProductList}" ignoreDupResponses="true"/>
<s:selectItems value="#{siteSelectionDataModel.selectionDataModel}" var="dm" noSelectionLabel="-- Select Site --"/>
</h:selectOneMenu>
<h:message style="display:block;" for="siteSelectOneMenu" errorClass="error" fatalClass="fatal" infoClass="info" warnClass="warn" />
</s:div>
<!-- END SITE SELECT -->
<!-- START PRODUCT SELECT -->
<s:div style="float:left;" styleClass="marginLeft">
<h:outputLabel class="label" for="productSelectOneMenu" style="display:block;">Products*</h:outputLabel>
<h:selectOneMenu
styleClass="greyBorder4 borderAll"
style="width:375px;"
id="productSelectOneMenu"
value="#{searchAction.productSelection.currentSelection}"
converter="#{SelectionModelConverter}"
required="true"
tabindex="20"
>
<a4j:support onsubmit="ajax_start();" oncomplete="ajax_end();" event="onchange" reRender="selectOneSegVarType, contSelectOneSegVarType, marketsegmenttree" action="#{searchAction.getLoadSegVarTypeList}" ajaxSingle="true" ignoreDupResponses="true"/>
<s:selectItems value="#{searchAction.productSelection.selectionDataModel}" var="dm" noSelectionLabel="-- Select Product --"/>
</h:selectOneMenu>
<h:message style="display:block;" for="productSelectOneMenu" errorClass="error" fatalClass="fatal" infoClass="info" warnClass="warn" />
</s:div>
<!-- END PRODUCT SELECT -->
<!-- START PRIORITY FIELD -->
<s:div style="float:left;" styleClass="marginLeft">
<h:outputLabel class="label" for="priority" style="display:block;">Priority</h:outputLabel>
<h:inputText readonly="true" styleClass="readOnly input" id="priority" value="#{searchAction.priority}" style="width:50px;" />
</s:div>
<!-- END PRIORITY FIELD -->
<!-- START START DATE -->
<s:div id="contStartDate" style="float:left;" styleClass="marginLeft">
<h:outputLabel for="startDate" class="label" style="display:block;">Start*</h:outputLabel>
<rich:calendar
id="startDate"
value="#{ads.inv.adsInvSearchActionNew.startDate}"
required="true"
inputClass="datePicker input"
datePattern="MM/dd/yyyy"
style="display:block;"
enableManualInput="false"
preloadDateRangeBegin="#{searchAction.dateRangeBegin}"
preloadDateRangeEnd="#{searchAction.dateRangeEnd}"
boundaryDatesMode="select"
tabindex="30"
/>
<h:message style="display:block;" for="startDate" errorClass="error" fatalClass="fatal" infoClass="info" warnClass="warn" />
</s:div>
<!-- END START DATE -->
<!-- START END DATE -->
<s:div id="contEndDate" style="float:left;" styleClass="marginLeft">
<h:outputLabel for="endDate" class="label" style="display:block;">End*</h:outputLabel>
<rich:calendar
id="endDate"
value="#{ads.inv.adsInvSearchActionNew.endDate}"
required="true"
inputClass="datePicker input"
datePattern="MM/dd/yyyy"
style="display:block;"
enableManualInput="false"
preloadDateRangeBegin="#{searchAction.dateRangeBegin}"
preloadDateRangeEnd="#{searchAction.dateRangeEnd}"
boundaryDatesMode="select"
tabindex="40"
/>
<h:message style="display:block;" for="endDate" errorClass="error" fatalClass="fatal" infoClass="info" warnClass="warn" />
</s:div>
<!-- END END DATE -->
<h:commandButton
value="Find Availability"
action="#{searchAction.createSearchQueryCriteria}"
styleClass="button"
style="float:right; margin-top:20px;"
tabindex="50"
/>
</s:div>
<!-- START SPACER -->
<s:div styleClass="column span-24 last" style="height:10px;">
</s:div>
<!-- END SPACER -->
<!-- START MARKET SEGEMENTS -->
<s:div styleClass="column span-6">
<s:div styleClass="underlinedOrange">Market Segments</s:div>
<s:div id="contAvailable" styleClass="borderAll greenBorder" style="height:335px; width:99%; float:left; overflow-y:auto; overflow-x:hidden;">
<s:div styleClass="greyBG6 boxHeader">Available</s:div>
<rich:tree id="marketsegmenttree" switchType="client">
<rich:treeNodesAdaptor id="ms" nodes="#{searchAction.marketSegments}" var="marketSegment">
<rich:treeNode>
<h:outputText value="#{marketSegment.name}" />
</rich:treeNode>
<rich:treeNodesAdaptor id="values" var="value" nodes="#{marketSegment.values}">
<rich:treeNode>
<h:selectBooleanCheckbox value="#{value.isCheckBoxClicked}" rendered="#{empty value.values}">
<a4j:support ajaxSingle="true" event="onchange"
reRender="selectOneSegVarType"
onclick="ajax_start();" oncomplete="ajax_end();" action="#{searchAction.handleMarketSegmentsToSearchSummary(marketSegment.name, value.name, value.isCheckBoxClicked)}" />
</h:selectBooleanCheckbox>
<h:outputText value="#{value.name}" />
</rich:treeNode>
<rich:treeNodesAdaptor id="subvalues" var="subvalue" nodes="#{value.values}">
<rich:treeNode>
<h:selectBooleanCheckbox value="#{subvalue.isCheckBoxClicked}">
<a4j:support ajaxSingle="true" event="onchange"
reRender="selectOneSegVarType"
onclick="ajax_start();" oncomplete="ajax_end();" action="#{searchAction.handleMarketSegmentsToSearchSummary(value.name, subvalue.name, subvalue.isCheckBoxClicked)}" />
</h:selectBooleanCheckbox>
<h:outputText value="#{subvalue.name}" />
</rich:treeNode>
</rich:treeNodesAdaptor>
</rich:treeNodesAdaptor>
</rich:treeNodesAdaptor>
</rich:tree>
</s:div>
</s:div>
<!-- END MARKET SEGEMENTS -->
<!-- START SUMMARY LIST -->
<s:div styleClass="column span-18 last">
<s:div styleClass="underlinedOrange">Search Summary</s:div>
<a4j:outputPanel id="contSelectOneSegVarType" rendered="true">
<h:dataTable
id="selectOneSegVarType"
value="#{searchAction.searchSummary}"
var="segVarBox"
style="width:100%;"
>
<h:column>
<!-- START SEG VAR BOX -->
<s:div styleClass="segVarBox borderAll greyBorder4" style="width:708px;#{segVarBox.borderColor}">
<h:panelGrid styleClass="greyBG7 boxHeader" style="width:100%;" columns="3" columnClasses="boxHeader, boxControl, boxHeader segVarCloseCol">
<h:column>
<a4j:commandLink
ajaxSingle="true"
reRender="selectSegVarTypeValues"
value="#{segVarBox.segVar}"
action="#{searchAction.setSelectedSegVarType(segVarBox.segVar)}"
onclick="ajax_start(); Richfaces.showModalPanel('mp',{width:800, height:500, top:10})"
oncomplete="ajax_end();"
rendered="#{segVarBox.isModalActive}"
>
<f:param name="selectedSegVarOnPage" value="#{segVarBox.segVar}"/>
</a4j:commandLink>
<h:outputText value="#{segVarBox.segVar}" rendered="#{!segVarBox.isModalActive}" />
</h:column>
<h:column>
<h:selectOneRadio style="display:inline;" value="#{segVarBox.queryGrouping}" rendered="#{segVarBox.isTotalIndActive}">
<f:selectItem id="total" itemLabel="Total" itemValue="0" />
<f:selectItem id="individual" itemLabel="Individual" itemValue="1" />
<a4j:support onsubmit="ajax_start();" oncomplete="ajax_end();" event="onclick" action="#{searchAction.changeQueryGrouping(segVarBox.segVar, segVarBox.queryGrouping)}" ajaxSingle="true" ignoreDupResponses="true"/>
</h:selectOneRadio>
<h:outputText value="TOTAL" rendered="#{!segVarBox.isTotalIndActive}" />
</h:column>
<h:column>
<a4j:commandLink
ajaxSingle="true"
reRender="contSelectOneSegVarType"
action="#{searchAction.clearSelectionSummary(segVarBox.segVar)}"
onclick="ajax_start();"
oncomplete="ajax_end();"
rendered="#{segVarBox.isClearAllActive}"
>
<h:outputText title="Click here to clear all selected values for #{segVarBox.segVar}" value= "X" styleClass="btnClose" />
</a4j:commandLink>
</h:column>
</h:panelGrid>
<s:div styleClass="paddingAll">
<rich:dataGrid style="width:100%;" styleClass="noBorder" columnClasses="noBorder summaryBoxCol breakWord" rendered="#{! empty segVarBox.values}" value="#{segVarBox.values}" var="segVarValue" columns="4">
<h:outputText value="#{segVarValue.name}" />
</rich:dataGrid>
</s:div>
</s:div>
<!-- END SEG VAR BOX -->
</h:column>
</h:dataTable>
</a4j:outputPanel>
</s:div>
<!-- END SUMMARY LIST -->
<s:div styleClass="column span-24" style="text-align:right;">
<h:commandButton
value="Find Availability"
action="#{searchAction.createSearchQueryCriteria}"
styleClass="button"
style="margin:0 10px 0 0"
tabindex="60"
/>
</s:div>
</h:form>
<!-- START OF MODAL FORM -->
<rich:modalPanel moveable="false" styleClass="borderAll orangeBorder" id="mp" minHeight="200" minWidth="450" zindex="2000">
<h:form id="modal_form">
<a4j:outputPanel id="contModalPanelControl" ajaxRendered="true">
<h:panelGrid columns="2" styleClass="panelHeader" columnClasses="boxHeader greyBG6, modalControls greyBG6">
<h:outputText value="#{searchAction.selectedSegVar}" />
<h:column>
<a4j:commandLink styleClass="marginRight" value="Reset" reRender="contSelectOneSegVarType, selectSegVarTypeValues" action="#{searchAction.clearSelectionModal(searchAction.selectedSegVar)}" />
<a4j:commandLink
styleClass="marginLeft marginRight"
value="Apply/Close"
reRender="contSelectOneSegVarType"
action="#{searchAction.saveSegVarValuesToSegVar}"
onclick="ajax_start();"
oncomplete="ajax_end(); Richfaces.hideModalPanel('mp')"
/>
</h:column>
</h:panelGrid>
</a4j:outputPanel>
<s:div style="width:775px; height:455px; overflow:auto;">
<h:outputText value="Press ctrl+f for search" />
<a4j:outputPanel id="contselectSegVarTypeValues" ajaxRendered="true">
<rich:dataGrid
styleClass="noBorder"
width="750"
id="selectSegVarTypeValues"
layout="pageDirection"
value="#{searchAction.segVarValues}"
var="dm"
columns="5"
columnClasses="noBorder matrixCell"
rendered="#{! empty searchAction.segVarValues}"
>
<h:column>
<s:div styleClass="matrixLabel">
<s:div style="width:200%;">
<h:selectBooleanCheckbox id="segValue" value="#{dm.selected}" title="#{dm.name}" />
<h:outputLabel for="#{dm.name}" value="#{dm.name}" />
</s:div>
</s:div>
</h:column>
</rich:dataGrid>
</a4j:outputPanel>
</s:div>
</h:form>
</rich:modalPanel>
<!-- END OF MODAL FORM -->
</ui:define>
</ui:composition>
======================================
when i look to debug.seam I dont see "searchAction" in the session context list. But I do see it error page -->"scope variables" --> "session attribute"
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100829#4100829
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100829
17Â years, 2Â months