[JBossCache] - Problem in Replication with Jboss Pojo Cache.
by kumar_iitm
Hi
We are evaluating Jboss Pojo Cache to cluster our application. We are checking with each module. Right now I'm trying to use Pojo Cache to cache one of my module. This is not actually a POJO but a Manager object which is using in memory data. So we want to store the data in distributed cache so that, even one node goes down data can be retrived from the cache on the other node.
I'm trying to cache the Manager object which has a Map with String as key.
We are using Syncrounus replication mode. We are testing with 2 nodes. When we are caching the top level Manager object, it's reflected in both the JVMS. Then i'm stroing an object in the Map against to a String key in one JVM and trying to get that object from the Manager object with the key from the map in other JVM. I'm getting the values in the same JVM but unable to get them in the other JVM.
So, the data is not replicated to other JVM.
Is there any thing that i'm missing here?
Can any one please guide me in this aspect?
Thanku
Santi
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976483#3976483
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976483
19 years, 7 months
[JBoss Seam] - Re: In attribute requires value for component: selectItems.s
by jimjamz
Thanks. I think am progressing. Now I get a different exception.
| 20:52:30,399 INFO [ServletContextListener] Welcome to Seam 1.0.1.GA
| 20:52:30,423 INFO [Initialization] reading components.xml
| 20:52:30,517 INFO [Initialization] reading properties from: /seam.properties
| 20:52:30,519 INFO [Initialization] reading properties from: /jndi.properties
| 20:52:30,530 INFO [Initialization] initializing Seam
| 20:52:30,677 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
| 20:52:30,764 INFO [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
| 20:52:30,814 INFO [Component] Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events
| 20:52:30,850 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
| 20:52:30,894 INFO [Component] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher
| 20:52:30,932 INFO [Component] Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect
| 20:52:30,943 INFO [Component] Component: httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError
| 20:52:30,955 INFO [Component] Component: userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal
| 20:52:30,970 INFO [Component] Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
| 20:52:30,979 INFO [Component] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
| 20:52:31,020 INFO [Component] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
| 20:52:31,034 INFO [Component] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
| 20:52:31,043 INFO [Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
| 20:52:31,056 INFO [Component] Component: pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
| 20:52:31,065 INFO [Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
| 20:52:31,075 INFO [Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
| 20:52:31,083 INFO [Component] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext
| 20:52:31,123 INFO [Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
| 20:52:31,132 INFO [Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
| 20:52:31,141 INFO [Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
| 20:52:31,150 INFO [Component] Component: locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale
| 20:52:31,158 INFO [Component] Component: messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages
| 20:52:31,170 INFO [Component] Component: interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
| 20:52:31,180 INFO [Component] Component: facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages
| 20:52:31,254 INFO [Component] Component: resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
| 20:52:31,269 INFO [Component] Component: localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector
| 20:52:31,309 INFO [Component] Component: uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent
| 20:52:31,324 INFO [Component] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry
| 20:52:31,343 INFO [Component] Component: pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache
| 20:52:31,383 INFO [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
| 20:52:31,564 INFO [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
| 20:52:31,585 INFO [Component] Component: sweetcakesDatabase, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.ManagedHibernateSession
| 20:52:31,598 INFO [Component] Component: org.jboss.seam.core.hibernate, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Hibernate
| 20:52:31,606 INFO [Component] Component: org.jboss.seam.core.microcontainer, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Microcontainer
| 20:52:31,628 INFO [Scanner] scanning: /usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp64776sweetcakes-exp.war
| 20:52:31,660 INFO [Scanner] scanning: /usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp64776sweetcakes-exp.war/WEB-INF/lib/sweetcakes.jar
| 20:52:31,722 INFO [Component] Component: stateBean, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: com.sweetcakes.model.StateBean, JNDI: sweetcakes/StateBean/local
| 20:52:31,808 INFO [Component] Component: cake, scope: SESSION, type: ENTITY_BEAN, class: com.sweetcakes.model.cakes.Cake
| 20:52:31,820 INFO [Component] Component: selectItems, scope: APPLICATION, type: JAVA_BEAN, class: com.sweetcakes.web.util.SelectItems
| 20:52:31,834 INFO [Component] Component: filling, scope: SESSION, type: ENTITY_BEAN, class: com.sweetcakes.model.cakes.filling.Filling
| 20:52:31,842 INFO [Component] Component: customer, scope: SESSION, type: ENTITY_BEAN, class: com.sweetcakes.model.Customer
| 20:52:31,850 INFO [Component] Component: address, scope: SESSION, type: ENTITY_BEAN, class: com.sweetcakes.model.Address
| 20:52:31,853 INFO [Component] Component: register, scope: EVENT, type: JAVA_BEAN, class: com.sweetcakes.controller.RegisterAction
| 20:52:31,881 INFO [Component] Component: order, scope: EVENT, type: JAVA_BEAN, class: com.sweetcakes.controller.OrderAction
| 20:52:31,955 INFO [Configuration] configuring from resource: /hibernate.cfg.xml
| 20:52:31,956 INFO [Configuration] Configuration resource: /hibernate.cfg.xml
| 20:52:31,970 INFO [Configuration] Configured SessionFactory: java:/sweetCakesDatabase
| 20:52:32,000 INFO [AnnotationBinder] Binding entity from annotated class: com.sweetcakes.model.Customer
| 20:52:32,006 INFO [EntityBinder] Bind entity com.sweetcakes.model.Customer on table Customer
| 20:52:32,018 INFO [AnnotationBinder] Binding entity from annotated class: com.sweetcakes.model.Address
| 20:52:32,020 INFO [EntityBinder] Bind entity com.sweetcakes.model.Address on table Address
| 20:52:32,031 INFO [AnnotationBinder] Binding entity from annotated class: com.sweetcakes.model.cakes.Cake
| 20:52:32,033 INFO [EntityBinder] Bind entity com.sweetcakes.model.cakes.Cake on table Cake
| 20:52:32,045 INFO [AnnotationBinder] Binding entity from annotated class: com.sweetcakes.web.model.State
| 20:52:32,046 INFO [EntityBinder] Bind entity com.sweetcakes.web.model.State on table State
| 20:52:32,122 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 20:52:32,135 INFO [DatasourceConnectionProvider] Using datasource: java:/sweetCakesDataSource
| 20:52:32,136 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.19-max
| 20:52:32,136 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$ )
| 20:52:32,138 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
| 20:52:32,140 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JTATransactionFactory
| 20:52:32,142 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 20:52:32,143 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
| 20:52:32,145 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
| 20:52:32,146 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
| 20:52:32,147 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
| 20:52:32,148 INFO [SettingsFactory] Automatic flush during beforeCompletion(): enabled
| 20:52:32,148 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
| 20:52:32,149 INFO [SettingsFactory] JDBC batch size: 15
| 20:52:32,149 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
| 20:52:32,150 INFO [SettingsFactory] Scrollable result sets: enabled
| 20:52:32,150 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
| 20:52:32,151 INFO [SettingsFactory] Connection release mode: after_statement
| 20:52:32,152 INFO [SettingsFactory] Maximum outer join fetch depth: 2
| 20:52:32,152 INFO [SettingsFactory] Default batch fetch size: 1
| 20:52:32,153 INFO [SettingsFactory] Generate SQL with comments: disabled
| 20:52:32,153 INFO [SettingsFactory] Order SQL updates by primary key: disabled
| 20:52:32,154 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
| 20:52:32,160 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
| 20:52:32,160 INFO [SettingsFactory] Query language substitutions: {}
| 20:52:32,161 INFO [SettingsFactory] Second-level cache: enabled
| 20:52:32,161 INFO [SettingsFactory] Query cache: disabled
| 20:52:32,162 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
| 20:52:32,164 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
| 20:52:32,165 INFO [SettingsFactory] Structured second-level cache entries: disabled
| 20:52:32,166 INFO [SettingsFactory] Echoing all SQL to stdout
| 20:52:32,166 INFO [SettingsFactory] Statistics: disabled
| 20:52:32,167 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
| 20:52:32,168 INFO [SettingsFactory] Default entity-mode: pojo
| 20:52:32,178 INFO [SessionFactoryImpl] building session factory
| 20:52:32,221 WARN [CacheFactory] read-only cache configured for mutable class: com.sweetcakes.web.model.State
| 20:52:32,233 INFO [PojoInstantiator] no default (no-argument) constructor for class: com.sweetcakes.model.Customer (class must be instantiated by Interceptor)
| 20:52:32,274 INFO [SessionFactoryObjectFactory] Factory name: java:/sweetCakesDatabase
| 20:52:32,275 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 20:52:32,299 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: java:/sweetCakesDatabase
| 20:52:32,299 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
| 20:52:32,332 INFO [SchemaExport] Running hbm2ddl schema export
| 20:52:32,333 INFO [SchemaExport] exporting generated schema to database
| 20:52:32,373 INFO [SchemaExport] schema export complete
| 20:52:32,374 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 20:52:32,406 INFO [Initialization] done initializing Seam
| 20:52:32,412 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
| 20:52:32,548 INFO [FacesConfigurator] Reading config jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp64776sweetcakes-exp.war/WEB-INF/lib/jboss-seam-debug.jar!/META-INF/faces-config.xml
| 20:52:32,564 INFO [FacesConfigurator] Reading config jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp64776sweetcakes-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml
| 20:52:32,581 INFO [FacesConfigurator] Reading config jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp64776sweetcakes-exp.war/WEB-INF/lib/jboss-seam.jar!/META-INF/faces-config.xml
| 20:52:32,602 INFO [FacesConfigurator] Reading config jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp64776sweetcakes-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml
| 20:52:32,650 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
| 20:52:32,681 ERROR [LocaleUtils] Locale name null or empty, ignoring
| 20:52:33,019 INFO [StartupServletContextListener] ServletContext '/usr/local/jboss/jboss-4.0.4GA/server/default/./tmp/deploy/tmp64776sweetcakes-exp.war/' initialized.
| 20:53:25,409 INFO [Pages] no pages.xml file found
| 20:53:28,108 ERROR [STDERR] Oct 5, 2006 8:53:28 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp64776sweetcakes-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
| 20:53:28,219 ERROR [STDERR] Oct 5, 2006 8:53:28 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp64776sweetcakes-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
| 20:53:28,252 ERROR [STDERR] Oct 5, 2006 8:53:28 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp64776sweetcakes-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
| 20:53:28,271 ERROR [STDERR] Oct 5, 2006 8:53:28 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp64776sweetcakes-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
| 20:53:28,381 ERROR [STDERR] Oct 5, 2006 8:53:28 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp64776sweetcakes-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
| 20:53:28,396 ERROR [STDERR] Oct 5, 2006 8:53:28 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/usr/local/jboss/jboss-4.0.4GA/server/default/tmp/deploy/tmp64776sweetcakes-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/seam.taglib.xml
| 20:53:29,030 WARN [HtmlLabelRenderer] Unable to find component 'street' (calling findComponent on component 'registerForm:_id29')
| 20:53:29,143 ERROR [STDERR] org.jboss.seam.InstantiationException: Could not instantiate Seam component: stateBean
| 20:53:29,146 ERROR [STDERR] at org.jboss.seam.Component.newInstance(Component.java:735)
| 20:53:29,147 ERROR [STDERR] at org.jboss.seam.Component.newInstance(Component.java:1308)
| 20:53:29,147 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1263)
| 20:53:29,148 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1246)
| 20:53:29,150 ERROR [STDERR] at org.jboss.seam.Component.getInstanceToInject(Component.java:1366)
| 20:53:29,151 ERROR [STDERR] at org.jboss.seam.Component.injectFields(Component.java:1024)
| 20:53:29,152 ERROR [STDERR] at org.jboss.seam.Component.inject(Component.java:795)
| 20:53:29,152 ERROR [STDERR] at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:30)
| 20:53:29,153 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 20:53:29,153 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 20:53:29,154 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 20:53:29,154 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 20:53:29,155 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 20:53:29,155 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90)
| 20:53:29,156 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 20:53:29,156 ERROR [STDERR] at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:82)
| 20:53:29,158 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 20:53:29,158 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 20:53:29,159 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 20:53:29,159 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 20:53:29,160 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 20:53:29,161 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90)
| 20:53:29,161 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 20:53:29,162 ERROR [STDERR] at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60)
| 20:53:29,162 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 20:53:29,163 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 20:53:29,163 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 20:53:29,164 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 20:53:29,165 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 20:53:29,166 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90)
| 20:53:29,167 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 20:53:29,167 ERROR [STDERR] at org.jboss.seam.interceptors.TransactionInterceptor.doInTransactionIfNecessary(TransactionInterceptor.java:34)
| 20:53:29,168 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 20:53:29,168 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 20:53:29,169 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 20:53:29,169 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 20:53:29,170 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 20:53:29,170 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90)
| 20:53:29,171 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 20:53:29,171 ERROR [STDERR] at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
| 20:53:29,172 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 20:53:29,173 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 20:53:29,173 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 20:53:29,174 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 20:53:29,174 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 20:53:29,175 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90)
| 20:53:29,175 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 20:53:29,176 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73)
| 20:53:29,176 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45)
| 20:53:29,177 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:51)
| 20:53:29,177 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:39)
| 20:53:29,178 ERROR [STDERR] at com.sweetcakes.web.util.SelectItems$$EnhancerByCGLIB$$99b594e3.onCreate(<generated>)
| 20:53:29,178 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 20:53:29,179 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 20:53:29,179 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 20:53:29,180 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 20:53:29,181 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 20:53:29,182 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
| 20:53:29,182 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1334)
| 20:53:29,183 ERROR [STDERR] at org.jboss.seam.Component.callCreateMethod(Component.java:1322)
| 20:53:29,184 ERROR [STDERR] at org.jboss.seam.Component.newInstance(Component.java:1312)
| 20:53:29,184 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1263)
| 20:53:29,185 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1246)
| 20:53:29,185 ERROR [STDERR] at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
| 20:53:29,186 ERROR [STDERR] at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
| 20:53:29,187 ERROR [STDERR] at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
| 20:53:29,187 ERROR [STDERR] at com.sun.el.parser.AstValue.getValue(AstValue.java:106)
| 20:53:29,188 ERROR [STDERR] at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
| 20:53:29,188 ERROR [STDERR] at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| 20:53:29,189 ERROR [STDERR] at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
| 20:53:29,189 ERROR [STDERR] at javax.faces.component.UISelectItems.getValue(UISelectItems.java:55)
| 20:53:29,190 ERROR [STDERR] at org.apache.myfaces.util.SelectItemsIterator.hasNext(SelectItemsIterator.java:103)
| 20:53:29,190 ERROR [STDERR] at org.apache.myfaces.renderkit.RendererUtils.internalGetSelectItemList(RendererUtils.java:485)
| 20:53:29,191 ERROR [STDERR] at org.apache.myfaces.renderkit.RendererUtils.getSelectItemList(RendererUtils.java:461)
| 20:53:29,191 ERROR [STDERR] at org.apache.myfaces.renderkit.html.HtmlRendererUtils.internalRenderSelect(HtmlRendererUtils.java:272)
| 20:53:29,192 ERROR [STDERR] at org.apache.myfaces.renderkit.html.HtmlRendererUtils.renderMenu(HtmlRendererUtils.java:246)
| 20:53:29,192 ERROR [STDERR] at org.apache.myfaces.renderkit.html.HtmlMenuRendererBase.encodeEnd(HtmlMenuRendererBase.java:54)
| 20:53:29,193 ERROR [STDERR] at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331)
| 20:53:29,193 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
| 20:53:29,194 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
| 20:53:29,195 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
| 20:53:29,196 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554)
| 20:53:29,196 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
| 20:53:29,197 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
| 20:53:29,197 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| 20:53:29,198 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 20:53:29,198 ERROR [STDERR] at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
| 20:53:29,199 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 20:53:29,201 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 20:53:29,202 ERROR [STDERR] at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| 20:53:29,203 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 20:53:29,203 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 20:53:29,204 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| 20:53:29,205 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 20:53:29,205 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 20:53:29,206 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| 20:53:29,206 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| 20:53:29,207 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| 20:53:29,208 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| 20:53:29,209 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| 20:53:29,209 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| 20:53:29,210 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| 20:53:29,210 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| 20:53:29,211 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| 20:53:29,211 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| 20:53:29,212 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| 20:53:29,212 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| 20:53:29,213 ERROR [STDERR] at java.lang.Thread.run(Thread.java:613)
| 20:53:29,215 ERROR [STDERR] Caused by: javax.naming.NameNotFoundException: sweetcakes not bound
| 20:53:29,215 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| 20:53:29,216 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| 20:53:29,217 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
| 20:53:29,217 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
| 20:53:29,218 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
| 20:53:29,257 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
| 20:53:29,259 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:351)
| 20:53:29,260 ERROR [STDERR] at org.jboss.seam.Component.instantiate(Component.java:774)
| 20:53:29,261 ERROR [STDERR] at org.jboss.seam.Component.newInstance(Component.java:731)
| 20:53:29,261 ERROR [STDERR] ... 107 more
| 20:53:29,266 ERROR [STDERR] Oct 5, 2006 8:53:29 PM com.sun.facelets.FaceletViewHandler handleRenderException
| SEVERE: Error Rendering View[/register.xhtml]
| org.jboss.seam.InstantiationException: Could not instantiate Seam component: stateBean
| at org.jboss.seam.Component.newInstance(Component.java:735)
| at org.jboss.seam.Component.newInstance(Component.java:1308)
| at org.jboss.seam.Component.getInstance(Component.java:1263)
| at org.jboss.seam.Component.getInstance(Component.java:1246)
| at org.jboss.seam.Component.getInstanceToInject(Component.java:1366)
| 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$$99b594e3.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.apach
| 20:53:29,275 ERROR [STDERR] e.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)
| Caused by: javax.naming.NameNotFoundException: sweetcakes not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
| at org.jboss.seam.Component.instantiate(Component.java:774)
| at org.jboss.seam.Component.newInstance(Component.java:731)
| ... 107 more
| 20:53:29,278 ERROR [SeamExceptionFilter] uncaught exception handled by Seam
| javax.servlet.ServletException: Could not instantiate Seam component: 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)
| 20:53:29,282 INFO [SeamExceptionFilter] killing transaction
| 20:53:29,287 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
| org.jboss.seam.InstantiationException: Could not instantiate Seam component: stateBean
| at org.jboss.seam.Component.newInstance(Component.java:735)
| at org.jboss.seam.Component.newInstance(Component.java:1308)
| at org.jboss.seam.Component.getInstance(Component.java:1263)
| at org.jboss.seam.Component.getInstance(Component.java:1246)
| at org.jboss.seam.Component.getInstanceToInject(Component.java:1366)
| 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$$99b594e3.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)
| Caused by: javax.naming.NameNotFoundException: sweetcakes not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
| at org.jboss.seam.Component.instantiate(Component.java:774)
| at org.jboss.seam.Component.newInstance(Component.java:731)
| ... 107 more
|
|
My seam.properties file
| org.jboss.seam.core.init.jndiPattern = sweetcakes/#{ejbName}/local
|
My components.xml file
<components>
|
|
|
| <component name="org.jboss.seam.core.init">
| <property name="myFacesLifecycleBug">true</property>
| <property name="jndiPattern">sweetcakes/#{ejbName}/local</property>
| <property name="debug">true</property>
| </component>
| <!-- <component class="org.jboss.seam.core.Ejb" installed="true"/> -->
| <!-- 120 second conversation timeout -->
| <component name="org.jboss.seam.core.manager">
| <property name="conversationTimeout">120000</property>
| </component>
|
| <!-- Bootstrap Hibernate -->
|
| <component name="sweetcakesDatabase"
|
| class="org.jboss.seam.core.ManagedHibernateSession"/>
|
| <component class="org.jboss.seam.core.Hibernate"/>
|
| <component class="org.jboss.seam.core.Microcontainer"
|
| installed="true"/>
| </components>
|
My StateBean
package com.sweetcakes.model;
|
| import java.util.List;
|
| import javax.persistence.EntityManager;
|
| import org.jboss.seam.annotations.Begin;
| import org.jboss.seam.annotations.Factory;
| import org.jboss.seam.annotations.In;
| import org.jboss.seam.annotations.datamodel.DataModel;
|
| import com.sweetcakes.web.model.State;
|
| @javax.ejb.Stateless
| @javax.interceptor.Interceptors (org.jboss.seam.ejb.SeamInterceptor.class)
| @org.jboss.seam.annotations.Name ("stateBean")
| public class StateBean{
| @In EntityManager em;
|
| @DataModel List<State> stateList;
|
|
| @Factory("stateList")
| @SuppressWarnings("unchecked")
| public List<State> list ()
| {
| List<State> stateList= em.createQuery("from state").getResultList();
| return stateList;
| }
|
| }
|
My State object is
/**
| *
| */
| package com.sweetcakes.web.model;
|
| import javax.persistence.*;
| import org.hibernate.validator.* ;
| import org.hibernate.annotations.* ;
|
| import com.sweetcakes.web.util.Lookup;
|
| @javax.persistence.Entity
| @Cache (usage = CacheConcurrencyStrategy.READ_ONLY)
| public class State
| implements java.io.Serializable, Lookup
| {
| /**
| *
| */
| private static final long serialVersionUID = 1L;
|
| @Id
| @Length (min = 2, max = 2)
| protected String id ;
|
| @NotNull
| @Length (min = 1, max = 50)
| protected String name ;
|
| public State ()
| {
| }
|
| public State (String id, String name)
| {
| this.id = id ;
| this.name = name ;
| }
|
| public String getId () { return this.id ; }
| public String getName () { return this.name ; }
|
| public void setId (String p) { this.id = p ; }
| public void setName (String p) { this.name = p ; }
|
| public String getKey () { return this.id ; }
|
| public String toString()
| {
| return this.id ;
| }
|
|
| }
|
I think that I almost have it, thanks for any help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976478#3976478
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976478
19 years, 7 months