Gavin, Thanks for helping me out. I now have my ejb's deploying, but I I still get the same error
In attribute requires value for component: selectItems.stateBean ... Here is my startup log. | 14:21:18,936 INFO [EARDeployer] Init J2EE application: file:/usr/local/jboss/jboss-4.0.4GA/server/default/deploy/sweetcakes.ear | 14:21:20,169 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.sweetcakes.model.StateListAction [EMAIL PROTECTED] | 14:21:20,234 INFO [Ejb3Deployment] EJB3 deployment time took: 119 | 14:21:20,279 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=sweetcakes.ear,jar=sweetcakes.jar,unitName=sweetCakesDatabase with dependencies: | 14:21:20,280 INFO [JmxKernelAbstraction] jboss.jca:name=sweetCakesDatasource,service=ManagedConnectionFactory | 14:21:20,306 INFO [Ejb3Configuration] found EJB3 Entity bean: com.sweetcakes.model.Address | 14:21:20,321 INFO [Ejb3Configuration] found EJB3 Entity bean: com.sweetcakes.model.Customer | 14:21:20,325 INFO [Ejb3Configuration] found EJB3 Entity bean: com.sweetcakes.model.State | 14:21:20,345 INFO [Ejb3Configuration] found EJB3 Entity bean: com.sweetcakes.model.cakes.Cake | 14:21:20,348 INFO [Ejb3Configuration] found EJB3 Entity bean: com.sweetcakes.model.cakes.filling.Filling | 14:21:20,424 WARN [Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null. | 14:21:20,473 INFO [Configuration] Reading mappings from resource: META-INF/orm.xml | 14:21:20,475 INFO [Ejb3Configuration] [PersistenceUnit: sweetCakesDatabase] no META-INF/orm.xml found | 14:21:20,499 INFO [AnnotationBinder] Binding entity from annotated class: com.sweetcakes.model.Address | 14:21:20,515 INFO [EntityBinder] Bind entity com.sweetcakes.model.Address on table Address | 14:21:20,581 INFO [AnnotationBinder] Binding entity from annotated class: com.sweetcakes.model.Customer | 14:21:20,583 INFO [EntityBinder] Bind entity com.sweetcakes.model.Customer on table Customer | 14:21:20,606 INFO [AnnotationBinder] Binding entity from annotated class: com.sweetcakes.model.State | 14:21:20,609 INFO [EntityBinder] Bind entity com.sweetcakes.model.State on table State | 14:21:20,615 INFO [AnnotationBinder] Binding entity from annotated class: com.sweetcakes.model.cakes.Cake | 14:21:20,616 INFO [EntityBinder] Bind entity com.sweetcakes.model.cakes.Cake on table Cake | 14:21:20,631 INFO [AnnotationBinder] Binding entity from annotated class: com.sweetcakes.model.cakes.filling.Filling | 14:21:20,632 INFO [EntityBinder] Bind entity com.sweetcakes.model.cakes.filling.Filling on table Filling | 14:21:21,038 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider | 14:21:21,047 INFO [InjectedDataSourceConnectionProvider] Using provided datasource | 14:21:21,049 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.19-max | 14:21:21,049 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.12 ( $Date: 2005-11-17 15:53:48 +0100 (Thu, 17 Nov 2005) $, $Revision$ ) | 14:21:21,051 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect | 14:21:21,052 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory | 14:21:21,054 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup | 14:21:21,055 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup | 14:21:21,056 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled | 14:21:21,056 INFO [SettingsFactory] Automatic session close at end of transaction: disabled | 14:21:21,057 INFO [SettingsFactory] JDBC batch size: 15 | 14:21:21,057 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled | 14:21:21,057 INFO [SettingsFactory] Scrollable result sets: enabled | 14:21:21,058 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled | 14:21:21,058 INFO [SettingsFactory] Connection release mode: auto | 14:21:21,059 INFO [SettingsFactory] Maximum outer join fetch depth: 2 | 14:21:21,059 INFO [SettingsFactory] Default batch fetch size: 1 | 14:21:21,060 INFO [SettingsFactory] Generate SQL with comments: disabled | 14:21:21,060 INFO [SettingsFactory] Order SQL updates by primary key: disabled | 14:21:21,061 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory | 14:21:21,062 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory | 14:21:21,062 INFO [SettingsFactory] Query language substitutions: {} | 14:21:21,063 INFO [SettingsFactory] Second-level cache: enabled | 14:21:21,063 INFO [SettingsFactory] Query cache: disabled | 14:21:21,063 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider | 14:21:21,064 INFO [SettingsFactory] Optimize cache for minimal puts: disabled | 14:21:21,065 INFO [SettingsFactory] Structured second-level cache entries: disabled | 14:21:21,065 INFO [SettingsFactory] Echoing all SQL to stdout | 14:21:21,066 INFO [SettingsFactory] Statistics: disabled | 14:21:21,066 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled | 14:21:21,067 INFO [SettingsFactory] Default entity-mode: pojo | 14:21:21,152 INFO [SessionFactoryImpl] building session factory | 14:21:21,183 INFO [PojoInstantiator] no default (no-argument) constructor for class: com.sweetcakes.model.Customer (class must be instantiated by Interceptor) | 14:21:21,250 WARN [CacheFactory] read-only cache configured for mutable class: com.sweetcakes.model.State | 14:21:21,398 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured | 14:21:21,445 INFO [SchemaExport] Running hbm2ddl schema export | 14:21:21,447 INFO [SchemaExport] exporting generated schema to database | 14:21:21,509 INFO [SchemaExport] schema export complete | 14:21:21,545 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 14:21:21,612 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=sweetcakes.ear,jar=sweetcakes.jar,name=StateListAction,service=EJB3 with dependencies: | 14:21:21,613 INFO [JmxKernelAbstraction] persistence.units:ear=sweetcakes.ear,jar=sweetcakes.jar,unitName=sweetCakesDatabase | 14:21:21,652 INFO [EJBContainer] STARTED EJB: com.sweetcakes.model.StateListAction ejbName: StateListAction | 14:21:21,706 INFO [EJB3Deployer] Deployed: file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp35208sweetcakes.ear-contents/sweetcakes.jar | 14:21:21,729 INFO [TomcatDeployer] deploy, ctxPath=/sweetcakes, warUrl=.../tmp/deploy/tmp35208sweetcakes.ear-contents/sweetcakes-exp.war/ | 14:21:21,994 INFO [ServletContextListener] Welcome to Seam 1.0.1.GA | 14:21:22,016 INFO [Initialization] reading components.xml | 14:21:22,036 INFO [Initialization] reading properties from: /seam.properties | 14:21:22,039 INFO [Initialization] reading properties from: /jndi.properties | 14:21:22,051 INFO [Initialization] initializing Seam | 14:21:22,176 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init | 14:21:22,229 INFO [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages | 14:21:22,271 INFO [Component] Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events | 14:21:22,283 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager | 14:21:22,449 INFO [Component] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher | 14:21:22,464 INFO [Component] Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect | 14:21:22,474 INFO [Component] Component: httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError | 14:21:22,488 INFO [Component] Component: userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal | 14:21:22,503 INFO [Component] Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole | 14:21:22,536 INFO [Component] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation | 14:21:22,556 INFO [Component] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList | 14:21:22,564 INFO [Component] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack | 14:21:22,573 INFO [Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext | 14:21:22,582 INFO [Component] Component: pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext | 14:21:22,590 INFO [Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext | 14:21:22,714 INFO [Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext | 14:21:22,727 INFO [Component] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext | 14:21:22,739 INFO [Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext | 14:21:22,752 INFO [Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext | 14:21:22,780 INFO [Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext | 14:21:22,794 INFO [Component] Component: locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale | 14:21:22,811 INFO [Component] Component: messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages | 14:21:22,850 INFO [Component] Component: interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator | 14:21:22,865 INFO [Component] Component: facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages | 14:21:22,886 INFO [Component] Component: resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle | 14:21:22,904 INFO [Component] Component: localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector | 14:21:22,918 INFO [Component] Component: uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent | 14:21:22,952 INFO [Component] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry | 14:21:22,971 INFO [Component] Component: pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache | 14:21:22,981 INFO [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector | 14:21:23,109 INFO [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts | 14:21:23,142 INFO [Scanner] scanning: /usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp35208sweetcakes.ear-contents/sweetcakes.jar | 14:21:23,202 INFO [Component] Component: stateList, scope: SESSION, type: STATEFUL_SESSION_BEAN, class: com.sweetcakes.model.StateListAction, JNDI: sweetcakes/StateListAction/local | 14:21:23,298 INFO [Component] Component: order, scope: EVENT, type: JAVA_BEAN, class: com.sweetcakes.controller.OrderAction | 14:21:23,330 INFO [Component] Component: selectItems, scope: APPLICATION, type: JAVA_BEAN, class: com.sweetcakes.web.util.SelectItems | 14:21:23,342 INFO [Component] Component: state, scope: CONVERSATION, type: ENTITY_BEAN, class: com.sweetcakes.model.State | 14:21:23,344 INFO [Component] Component: cake, scope: SESSION, type: ENTITY_BEAN, class: com.sweetcakes.model.cakes.Cake | 14:21:23,346 INFO [Component] Component: customer, scope: SESSION, type: ENTITY_BEAN, class: com.sweetcakes.model.Customer | 14:21:23,349 INFO [Component] Component: address, scope: SESSION, type: ENTITY_BEAN, class: com.sweetcakes.model.Address | 14:21:23,351 INFO [Component] Component: register, scope: EVENT, type: JAVA_BEAN, class: com.sweetcakes.controller.RegisterAction | 14:21:23,393 INFO [Component] Component: filling, scope: SESSION, type: ENTITY_BEAN, class: com.sweetcakes.model.cakes.filling.Filling | 14:21:23,408 INFO [Initialization] done initializing Seam | 14:21:23,410 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml | 14:21:23,534 INFO [FacesConfigurator] Reading config jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp35208sweetcakes.ear-contents/jboss-seam.jar!/META-INF/faces-config.xml | 14:21:23,598 INFO [FacesConfigurator] Reading config jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp35208sweetcakes.ear-contents/sweetcakes-exp.war/WEB-INF/lib/jboss-seam-debug.jar!/META-INF/faces-config.xml | 14:21:23,637 INFO [FacesConfigurator] Reading config jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp35208sweetcakes.ear-contents/sweetcakes-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml | 14:21:23,656 INFO [FacesConfigurator] Reading config jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp35208sweetcakes.ear-contents/sweetcakes-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml | 14:21:23,673 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml | 14:21:23,701 ERROR [LocaleUtils] Locale name null or empty, ignoring | 14:21:23,966 INFO [StartupServletContextListener] ServletContext '/usr/local/jboss/jboss-4.0.4GA/server/default/./tmp/deploy/tmp35208sweetcakes.ear-contents/sweetcakes-exp.war/' initialized. | 14:21:24,111 INFO [EARDeployer] Started J2EE application: file:/usr/local/jboss/jboss-4.0.4GA/server/default/deploy/sweetcakes.ear | 14:22:00,489 INFO [Pages] no pages.xml file found | 14:22:04,297 ERROR [STDERR] Oct 9, 2006 2:22:04 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp35208sweetcakes.ear-contents/sweetcakes-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml | 14:22:04,349 ERROR [STDERR] Oct 9, 2006 2:22:04 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp35208sweetcakes.ear-contents/sweetcakes-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml | 14:22:04,371 ERROR [STDERR] Oct 9, 2006 2:22:04 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp35208sweetcakes.ear-contents/sweetcakes-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml | 14:22:04,522 ERROR [STDERR] Oct 9, 2006 2:22:04 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp35208sweetcakes.ear-contents/sweetcakes-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml | 14:22:04,537 ERROR [STDERR] Oct 9, 2006 2:22:04 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp35208sweetcakes.ear-contents/sweetcakes-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/seam.taglib.xml | 14:22:04,581 ERROR [STDERR] Oct 9, 2006 2:22:04 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp35208sweetcakes.ear-contents/sweetcakes-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml | 14:22:05,369 WARN [HtmlLabelRenderer] Unable to find component 'street' (calling findComponent on component 'registerForm:_id29') | 14:22:05,627 ERROR [STDERR] org.jboss.seam.RequiredException: In attribute requires value for component: selectItems.stateBean | 14:22:05,629 ERROR [STDERR] at org.jboss.seam.Component.getInstanceToInject(Component.java:1382) | 14:22:05,630 ERROR [STDERR] at org.jboss.seam.Component.injectFields(Component.java:1024) | 14:22:05,630 ERROR [STDERR] at org.jboss.seam.Component.inject(Component.java:795) | 14:22:05,631 ERROR [STDERR] at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:30) | 14:22:05,632 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 14:22:05,632 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 14:22:05,633 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 14:22:05,633 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 14:22:05,634 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 14:22:05,634 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | 14:22:05,635 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 14:22:05,635 ERROR [STDERR] at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:82) | 14:22:05,636 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 14:22:05,637 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 14:22:05,638 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 14:22:05,639 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 14:22:05,639 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 14:22:05,640 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | 14:22:05,640 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 14:22:05,641 ERROR [STDERR] at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60) | 14:22:05,641 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 14:22:05,643 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 14:22:05,644 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 14:22:05,644 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 14:22:05,645 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 14:22:05,645 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | 14:22:05,646 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 14:22:05,647 ERROR [STDERR] at org.jboss.seam.interceptors.TransactionInterceptor.doInTransactionIfNecessary(TransactionInterceptor.java:34) | 14:22:05,647 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 14:22:05,648 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 14:22:05,648 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 14:22:05,649 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 14:22:05,649 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 14:22:05,650 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | 14:22:05,651 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 14:22:05,651 ERROR [STDERR] at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) | 14:22:05,652 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 14:22:05,652 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 14:22:05,653 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 14:22:05,654 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 14:22:05,654 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 14:22:05,655 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | 14:22:05,655 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 14:22:05,656 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73) | 14:22:05,656 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45) | 14:22:05,657 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:51) | 14:22:05,657 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:39) | 14:22:05,658 ERROR [STDERR] at com.sweetcakes.web.util.SelectItems$$EnhancerByCGLIB$$55004314.onCreate(<generated>) | 14:22:05,659 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 14:22:05,659 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 14:22:05,660 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 14:22:05,660 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 14:22:05,661 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 14:22:05,661 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | 14:22:05,666 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1334) | 14:22:05,667 ERROR [STDERR] at org.jboss.seam.Component.callCreateMethod(Component.java:1322) | 14:22:05,668 ERROR [STDERR] at org.jboss.seam.Component.newInstance(Component.java:1312) | 14:22:05,668 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1263) | 14:22:05,669 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1246) | 14:22:05,669 ERROR [STDERR] at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) | 14:22:05,670 ERROR [STDERR] at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134) | 14:22:05,670 ERROR [STDERR] at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65) | 14:22:05,671 ERROR [STDERR] at com.sun.el.parser.AstValue.getValue(AstValue.java:106) | 14:22:05,671 ERROR [STDERR] at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192) | 14:22:05,672 ERROR [STDERR] at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | 14:22:05,672 ERROR [STDERR] at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) | 14:22:05,673 ERROR [STDERR] at javax.faces.component.UISelectItems.getValue(UISelectItems.java:55) | 14:22:05,673 ERROR [STDERR] at org.apache.myfaces.util.SelectItemsIterator.hasNext(SelectItemsIterator.java:103) | 14:22:05,674 ERROR [STDERR] at org.apache.myfaces.renderkit.RendererUtils.internalGetSelectItemList(RendererUtils.java:485) | 14:22:05,674 ERROR [STDERR] at org.apache.myfaces.renderkit.RendererUtils.getSelectItemList(RendererUtils.java:461) | 14:22:05,675 ERROR [STDERR] at org.apache.myfaces.renderkit.html.HtmlRendererUtils.internalRenderSelect(HtmlRendererUtils.java:272) | 14:22:05,676 ERROR [STDERR] at org.apache.myfaces.renderkit.html.HtmlRendererUtils.renderMenu(HtmlRendererUtils.java:246) | 14:22:05,676 ERROR [STDERR] at org.apache.myfaces.renderkit.html.HtmlMenuRendererBase.encodeEnd(HtmlMenuRendererBase.java:54) | 14:22:05,677 ERROR [STDERR] at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331) | 14:22:05,678 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242) | 14:22:05,678 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | 14:22:05,679 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | 14:22:05,679 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554) | 14:22:05,680 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | 14:22:05,680 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | 14:22:05,681 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | 14:22:05,681 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 14:22:05,683 ERROR [STDERR] at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | 14:22:05,683 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | 14:22:05,684 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 14:22:05,684 ERROR [STDERR] at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | 14:22:05,685 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | 14:22:05,685 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 14:22:05,686 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | 14:22:05,686 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | 14:22:05,688 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 14:22:05,688 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | 14:22:05,689 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | 14:22:05,690 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | 14:22:05,690 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | 14:22:05,691 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | 14:22:05,691 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | 14:22:05,692 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | 14:22:05,692 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | 14:22:05,693 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | 14:22:05,693 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | 14:22:05,694 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | 14:22:05,694 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | 14:22:05,695 ERROR [STDERR] at java.lang.Thread.run(Thread.java:613) | 14:22:05,699 ERROR [STDERR] Oct 9, 2006 2:22:05 PM com.sun.facelets.FaceletViewHandler handleRenderException | SEVERE: Error Rendering View[/register.xhtml] | org.jboss.seam.RequiredException: In attribute requires value for component: selectItems.stateBean | at org.jboss.seam.Component.getInstanceToInject(Component.java:1382) | at org.jboss.seam.Component.injectFields(Component.java:1024) | at org.jboss.seam.Component.inject(Component.java:795) | at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:30) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:82) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.TransactionInterceptor.doInTransactionIfNecessary(TransactionInterceptor.java:34) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45) | at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:51) | at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:39) | at com.sweetcakes.web.util.SelectItems$$EnhancerByCGLIB$$55004314.onCreate(<generated>) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | at org.jboss.seam.Component.callComponentMethod(Component.java:1334) | at org.jboss.seam.Component.callCreateMethod(Component.java:1322) | at org.jboss.seam.Component.newInstance(Component.java:1312) | 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 com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134) | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65) | at com.sun.el.parser.AstValue.getValue(AstValue.java:106) | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192) | at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) | at javax.faces.component.UISelectItems.getValue(UISelectItems.java:55) | at org.apache.myfaces.util.SelectItemsIterator.hasNext(SelectItemsIterator.java:103) | at org.apache.myfaces.renderkit.RendererUtils.internalGetSelectItemList(RendererUtils.java:485) | at org.apache.myfaces.renderkit.RendererUtils.getSelectItemList(RendererUtils.java:461) | at org.apache.myfaces.renderkit.html.HtmlRendererUtils.internalRenderSelect(HtmlRendererUtils.java:272) | at org.apache.myfaces.renderkit.html.HtmlRendererUtils.renderMenu(HtmlRendererUtils.java:246) | at org.apache.myfaces.renderkit.html.HtmlMenuRendererBase.encodeEnd(HtmlMenuRendererBase.java:54) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | 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.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | 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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | 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.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | 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 | 14:22:05,708 ERROR [STDERR] ) | 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.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:613) | 14:22:05,709 ERROR [SeamExceptionFilter] uncaught exception handled by Seam | javax.servlet.ServletException: In attribute requires value for component: selectItems.stateBean | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) | 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.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | 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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | 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.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | 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.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:613) | 14:22:05,737 INFO [SeamExceptionFilter] killing transaction | 14:22:05,744 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | org.jboss.seam.RequiredException: In attribute requires value for component: selectItems.stateBean | at org.jboss.seam.Component.getInstanceToInject(Component.java:1382) | at org.jboss.seam.Component.injectFields(Component.java:1024) | at org.jboss.seam.Component.inject(Component.java:795) | at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:30) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:82) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.TransactionInterceptor.doInTransactionIfNecessary(TransactionInterceptor.java:34) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45) | at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:51) | at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:39) | at com.sweetcakes.web.util.SelectItems$$EnhancerByCGLIB$$55004314.onCreate(<generated>) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | at org.jboss.seam.Component.callComponentMethod(Component.java:1334) | at org.jboss.seam.Component.callCreateMethod(Component.java:1322) | at org.jboss.seam.Component.newInstance(Component.java:1312) | 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 com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134) | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65) | at com.sun.el.parser.AstValue.getValue(AstValue.java:106) | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192) | at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) | at javax.faces.component.UISelectItems.getValue(UISelectItems.java:55) | at org.apache.myfaces.util.SelectItemsIterator.hasNext(SelectItemsIterator.java:103) | at org.apache.myfaces.renderkit.RendererUtils.internalGetSelectItemList(RendererUtils.java:485) | at org.apache.myfaces.renderkit.RendererUtils.getSelectItemList(RendererUtils.java:461) | at org.apache.myfaces.renderkit.html.HtmlRendererUtils.internalRenderSelect(HtmlRendererUtils.java:272) | at org.apache.myfaces.renderkit.html.HtmlRendererUtils.renderMenu(HtmlRendererUtils.java:246) | at org.apache.myfaces.renderkit.html.HtmlMenuRendererBase.encodeEnd(HtmlMenuRendererBase.java:54) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | 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.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | 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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | 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.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | 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.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:613) | | Here is my code for the SelectItems.java object | /** | * | */ | package com.sweetcakes.web.util; | | import java.util.*; | | import static org.jboss.seam.ScopeType.APPLICATION; | import static org.jboss.seam.InterceptionType.ALWAYS; | | import javax.faces.model.SelectItem; | | import org.jboss.seam.annotations.*; | | import org.jboss.logging.Logger; | | import com.sweetcakes.model.State; | import com.sweetcakes.model.StateList; | | /** | * @author goat | */ | @Name("selectItems") | @Scope(APPLICATION) | @Intercept(ALWAYS) | public class SelectItems { | private static final Logger log = Logger.getLogger(SelectItems.class); | | @In(create = true) | private StateList stateList; | | private Map<Class<? extends Lookup>, Map<String, ? extends Lookup>> entityMapMap = new HashMap<Class<? extends Lookup>, Map<String, ? extends Lookup>>(); | | private Map<Class<? extends Lookup>, List<SelectItem>> selectItemListMap = new HashMap<Class<? extends Lookup>, List<SelectItem>>(); | | public SelectItems() { | } | | @Create | public void onCreate() { | log.info("Initializing SelectItems"); | List<State> states = stateList.list(); | addLookup(State.class, states); | return; | } | | private <T extends Lookup> void addLookup(Class<T> entityClass, | List<T> entityList) { | // add entityMap | Map<String, T> entityMap = new HashMap<String, T>(); | for (T entity : entityList) { | Lookup l = (Lookup) entity; | entityMap.put(l.getKey(), entity); | } | entityMapMap.put(entityClass, entityMap); | | // add selectItemList | List<SelectItem> selectItemList = new ArrayList<SelectItem>(); | for (T entity : entityList) { | Lookup l = (Lookup) entity; | SelectItem item = new SelectItem(entity, l.getKey(), l.getName()); | selectItemList.add(item); | } | selectItemListMap.put(entityClass, selectItemList); | } | | public <T extends Lookup> Map<String, T> getEntityMap(Class<T> entityClass) { | return (Map<String, T>) entityMapMap.get(entityClass); | } | | public <T extends Lookup> List<SelectItem> getSelectItemList( | Class<T> entityClass) { | return selectItemListMap.get(entityClass); | } | | public List<SelectItem> getStates() { | return getSelectItemList(State.class); | } | | @Destroy | public void destroy() { | // not sure if this is required for application context | log.info("destroyed"); | } | | } | Here is my code for StateList | /** | * @author goat | * | */ | | @Local | public interface StateList { | public List<State> list(); | } | Here is the code for the StateListAction | | @Stateful | @Scope(SESSION) | @org.jboss.seam.annotations.Name("stateList") | public class StateListAction implements StateList, Serializable { | /** | * | */ | private static final long serialVersionUID = 4298982983675483488L; | | @PersistenceContext | EntityManager em; | | @DataModel | List<State> stateList; | | @Factory("stateList") | @SuppressWarnings("unchecked") | public List<State> list() { | List<State> stateList = em.createQuery("from state").getResultList(); | return stateList; | } | | @Destroy | @Remove | public void destroy() { | } | } | This is how I implement it in the html. <h:selectOneMenu id="state" | value="#{address.state}" converter="StateConverter"> | <f:selectItems value="#{selectItems.states}" /> | </h:selectOneMenu><h:inputSecret id="state" value="#{address.state}" /> Thanks for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977068#3977068 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977068 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user