[jboss-user] [JBoss Seam] - Re: UPDATED: SelectItems (the one with the EntityConverter)
forumer
do-not-reply at jboss.com
Wed Nov 8 08:03:04 EST 2006
Hi Peter,
Thanks for your reply. I am having a little better luck with 1.1.0rc2. But looks like "em" is coming up NULL. Must be something I am not configuring right. I looked at components.xml but can't figure out what to modify, if anything. FYI, I use "em" annotated with @PersistenceContext in my other applications and it works. You must have some other way of achieving the same result.
BTW, JBoss-4.0.4.CR2 is installed with JEMS installer and ejb3 option.
Here is debug-level stack-trace. I am looking forward to your reply... Thanks
| ce'
| 04:17:39,889 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.0.4.CR2/server/all/deploy/jboss-seam-selectitems.ear
| 04:17:42,783 INFO [Ejb3Deployment] EJB3 deployment time took: 40
| 04:17:42,783 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=jboss-seam-selectitems.ear,jar=jboss-seam-selectitems.jar,unitName=selectItemsDatabase with depend
| encies:
| 04:17:42,783 INFO [JmxKernelAbstraction] jboss.jca:name=selectItemsDatasource,service=ManagedConnectionFactory
| 04:17:42,793 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [
| name: selectItemsDatabase
| ...]
| 04:17:42,793 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.seam.example.selectitems.Branch
| 04:17:42,803 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.seam.example.selectitems.Client
| 04:17:42,803 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.seam.example.selectitems.ClientCategory
| 04:17:42,803 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.seam.example.selectitems.ClientType
| 04:17:42,803 INFO [AnnotationBinder] Binding entity from annotated class: org.jboss.seam.example.selectitems.Branch
| 04:17:42,803 INFO [EntityBinder] Bind entity org.jboss.seam.example.selectitems.Branch on table Branch
| 04:17:42,803 INFO [AnnotationBinder] Binding entity from annotated class: org.jboss.seam.example.selectitems.Client
| 04:17:42,813 INFO [EntityBinder] Bind entity org.jboss.seam.example.selectitems.Client on table Client
| 04:17:42,823 INFO [AnnotationBinder] Binding entity from annotated class: org.jboss.seam.example.selectitems.ClientCategory
| 04:17:42,823 INFO [EntityBinder] Bind entity org.jboss.seam.example.selectitems.ClientCategory on table ClientCategory
| 04:17:42,823 INFO [AnnotationBinder] Binding entity from annotated class: org.jboss.seam.example.selectitems.ClientType
| 04:17:42,823 INFO [EntityBinder] Bind entity org.jboss.seam.example.selectitems.ClientType on table ClientType
| 04:17:42,843 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
| 04:17:42,843 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
| 04:17:42,854 INFO [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
| 04:17:42,854 INFO [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
| 04:17:42,854 INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
| 04:17:42,854 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
| 04:17:42,854 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
| 04:17:42,854 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
| 04:17:42,854 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
| 04:17:42,854 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
| 04:17:42,854 INFO [SettingsFactory] JDBC batch size: 15
| 04:17:42,854 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
| 04:17:42,854 INFO [SettingsFactory] Scrollable result sets: enabled
| 04:17:42,854 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
| 04:17:42,854 INFO [SettingsFactory] Connection release mode: auto
| 04:17:42,854 INFO [SettingsFactory] Default batch fetch size: 1
| 04:17:42,854 INFO [SettingsFactory] Generate SQL with comments: disabled
| 04:17:42,854 INFO [SettingsFactory] Order SQL updates by primary key: disabled
| 04:17:42,854 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
| 04:17:42,854 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
| 04:17:42,854 INFO [SettingsFactory] Query language substitutions: {}
| 04:17:42,854 INFO [SettingsFactory] Second-level cache: enabled
| 04:17:42,864 INFO [SettingsFactory] Query cache: disabled
| 04:17:42,864 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
| 04:17:42,864 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
| 04:17:42,864 INFO [SettingsFactory] Structured second-level cache entries: disabled
| 04:17:42,864 INFO [SettingsFactory] Echoing all SQL to stdout
| 04:17:42,864 INFO [SettingsFactory] Statistics: disabled
| 04:17:42,864 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
| 04:17:42,864 INFO [SettingsFactory] Default entity-mode: pojo
| 04:17:42,864 INFO [SessionFactoryImpl] building session factory
| 04:17:42,884 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
| 04:17:42,884 INFO [SchemaExport] Running hbm2ddl schema export
| 04:17:42,884 INFO [SchemaExport] exporting generated schema to database
| 04:17:42,884 INFO [SchemaExport] Executing import script: /import.sql
| 04:17:42,894 INFO [SchemaExport] schema export complete
| 04:17:42,894 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming
| :org.jnp.interfaces}
| 04:17:42,934 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=jboss-seam-selectitems.ear,jar=jboss-seam-selectitems.jar,name=ClientActionBean,service=EJB3 with depende
| ncies:
| 04:17:43,284 INFO [EJBContainer] STARTED EJB: org.jboss.seam.example.selectitems.ClientActionBean ejbName: ClientActionBean
| 04:17:43,414 INFO [EJB3Deployer] Deployed: file:/C:/jboss-4.0.4.CR2/server/all/tmp/deploy/tmp64621jboss-seam-selectitems.ear-contents/jboss-seam-selectitems.jar
| 04:17:43,414 INFO [TomcatDeployer] deploy, ctxPath=/seam-selectitems, warUrl=.../tmp/deploy/tmp64621jboss-seam-selectitems.ear-contents/jboss-seam-selectitems-exp.war/
| 04:17:43,504 INFO [ServletContextListener] Welcome to Seam 1.0.1.GA
| 04:17:43,524 INFO [Initialization] reading components.xml
| 04:17:43,534 INFO [Initialization] reading properties from: /seam.properties
| 04:17:43,534 INFO [Initialization] reading properties from: /jndi.properties
| 04:17:43,534 DEBUG [Initialization] not found: /seam-jndi.properties
| 04:17:43,534 INFO [Initialization] initializing Seam
| 04:17:43,565 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
| 04:17:43,565 DEBUG [Component] org.jboss.seam.core.init.myFacesLifecycleBug=false
| 04:17:43,565 DEBUG [Component] org.jboss.seam.core.init.debug=true
| 04:17:43,575 DEBUG [Component] org.jboss.seam.core.init.jndiPattern=jboss-seam-selectitems/#{ejbName}/local
| 04:17:43,575 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.init
| 04:17:43,585 INFO [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
| 04:17:43,595 INFO [Component] Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events
| 04:17:43,595 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
| 04:17:43,605 DEBUG [Component] org.jboss.seam.core.manager.conversationTimeout=120000
| 04:17:43,615 INFO [Component] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher
| 04:17:43,615 INFO [Component] Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect
| 04:17:43,625 INFO [Component] Component: httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError
| 04:17:43,625 INFO [Component] Component: userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal
| 04:17:43,635 INFO [Component] Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
| 04:17:43,635 INFO [Component] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
| 04:17:43,645 INFO [Component] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
| 04:17:43,655 INFO [Component] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
| 04:17:43,655 INFO [Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
| 04:17:43,655 INFO [Component] Component: pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
| 04:17:43,665 INFO [Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
| 04:17:43,665 INFO [Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
| 04:17:43,665 INFO [Component] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext
| 04:17:43,675 INFO [Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
| 04:17:43,685 INFO [Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
| 04:17:43,685 INFO [Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
| 04:17:43,685 INFO [Component] Component: locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale
| 04:17:43,695 INFO [Component] Component: messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages
| 04:17:43,695 INFO [Component] Component: interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
| 04:17:43,695 INFO [Component] Component: facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages
| 04:17:43,705 INFO [Component] Component: resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
| 04:17:43,705 DEBUG [Component] resourceBundle.bundleName=messages
| 04:17:43,715 INFO [Component] Component: localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector
| 04:17:43,725 INFO [Component] Component: uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent
| 04:17:43,725 INFO [Component] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.Subs
| criptionRegistry
| 04:17:43,725 INFO [Component] Component: pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache
| 04:17:43,755 INFO [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
| 04:17:43,765 INFO [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
| 04:17:43,775 INFO [Component] Component: org.jboss.seam.selectitems.selectItemsConfig, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.selectitems.SelectItemsConfig
| 04:17:43,775 DEBUG [Component] org.jboss.seam.selectitems.selectItemsConfig.persistenceUnitJndiName=java:/selectItemsEntityManagerFactory
| 04:17:43,785 INFO [Component] Component: em, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.ManagedPersistenceContext
| 04:17:43,785 DEBUG [Component] em.persistenceUnitJndiName=java:/selectItemsEntityManagerFactory
| 04:17:43,785 INFO [Scanner] scanning: /C:/jboss-4.0.4.CR2/server/all/tmp/deploy/tmp64621jboss-seam-selectitems.ear-contents/jboss-seam-selectitems.jar
| 04:17:43,795 DEBUG [Scanner] archive: C:\jboss-4.0.4.CR2\server\all\tmp\deploy\tmp64621jboss-seam-selectitems.ear-contents\jboss-seam-selectitems.jar
| 04:17:43,795 DEBUG [Scanner] found: META-INF/
| 04:17:43,795 DEBUG [Scanner] found: META-INF/MANIFEST.MF
| 04:17:43,795 DEBUG [Scanner] found: org/
| 04:17:43,795 DEBUG [Scanner] found: org/jboss/
| 04:17:43,795 DEBUG [Scanner] found: org/jboss/seam/
| 04:17:43,795 DEBUG [Scanner] found: org/jboss/seam/example/
| 04:17:43,795 DEBUG [Scanner] found: org/jboss/seam/example/selectitems/
| 04:17:43,795 DEBUG [Scanner] found: org/jboss/seam/example/selectitems/Branch.class
| 04:17:43,795 DEBUG [Scanner] found: org/jboss/seam/example/selectitems/Client$Discount.class
| 04:17:43,795 DEBUG [Scanner] found: org/jboss/seam/example/selectitems/Client.class
| 04:17:43,795 DEBUG [Scanner] found: org/jboss/seam/example/selectitems/ClientAction.class
| 04:17:43,795 DEBUG [Scanner] found: org/jboss/seam/example/selectitems/ClientActionBean.class
| 04:17:43,795 DEBUG [Scanner] found: org/jboss/seam/example/selectitems/ClientCategory.class
| 04:17:43,795 DEBUG [Scanner] found: org/jboss/seam/example/selectitems/ClientType.class
| 04:17:43,795 DEBUG [Scanner] found: META-INF/persistence.xml
| 04:17:43,795 DEBUG [Scanner] found: import.sql
| 04:17:43,795 DEBUG [Scanner] found: messages.properties
| 04:17:43,795 DEBUG [Scanner] found: seam.properties
| 04:17:43,795 INFO [Component] Component: branch, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.selectitems.Branch
| 04:17:43,795 INFO [Component] Component: clientType, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.selectitems.ClientType
| 04:17:43,795 INFO [Component] Component: client, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.selectitems.Client
| 04:17:43,805 INFO [Component] Component: clientAction, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.selectitems.ClientActionBean, JNDI: jboss-se
| am-selectitems/ClientActionBean/local
| 04:17:43,805 DEBUG [Component] instantiating Seam component: applicationContext
| 04:17:43,805 DEBUG [Component] instantiating Seam component: isUserInRole
| 04:17:43,805 DEBUG [Component] instantiating Seam component: statelessContext
| 04:17:43,805 DEBUG [Component] instantiating Seam component: userPrincipal
| 04:17:43,805 DEBUG [Component] instantiating Seam component: sessionContext
| 04:17:43,805 DEBUG [Component] instantiating Seam component: facesContext
| 04:17:43,805 DEBUG [Component] instantiating Seam component: businessProcessContext
| 04:17:43,805 DEBUG [Component] instantiating Seam component: eventContext
| 04:17:43,805 DEBUG [Component] instantiating Seam component: pageContext
| 04:17:43,805 DEBUG [Component] instantiating Seam component: conversationContext
| 04:17:43,805 INFO [Initialization] done initializing Seam
| 04:17:43,815 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
| 04:17:43,855 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-4.0.4.CR2/server/all/tmp/deploy/tmp64621jboss-seam-selectitems.ear-contents/jboss-seam.jar!/META-INF/faces-
| config.xml
| 04:17:43,865 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-4.0.4.CR2/server/all/tmp/deploy/tmp64621jboss-seam-selectitems.ear-contents/jsf-facelets.jar!/META-INF/face
| s-config.xml
| 04:17:43,865 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-4.0.4.CR2/server/all/tmp/deploy/tmp64621jboss-seam-selectitems.ear-contents/selectitems-1.1.0rc2.jar!/META-
| INF/faces-config.xml
| 04:17:43,885 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
| 04:17:43,895 ERROR [LocaleUtils] Locale name null or empty, ignoring
| 04:17:43,975 INFO [StartupServletContextListener] ServletContext 'C:\jboss-4.0.4.CR2\server\all\.\tmp\deploy\tmp64621jboss-seam-selectitems.ear-contents\jboss-seam-selectitems-exp
| .war\' initialized.
| 04:17:43,995 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-4.0.4.CR2/server/all/deploy/jboss-seam-selectitems.ear
| 04:18:01,781 DEBUG [Lifecycle] >>> Begin web request
| 04:18:02,211 DEBUG [Lifecycle] Session started
| 04:18:02,241 DEBUG [Component] instantiating Seam component: localeSelector
| 04:18:02,261 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.manager
| 04:18:02,261 DEBUG [Manager] No stored conversation
| 04:18:02,271 DEBUG [Contexts] found in application context: org.jboss.seam.core.init
| 04:18:02,271 DEBUG [AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(1)
| 04:18:02,271 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.pages
| 04:18:02,281 INFO [Pages] no pages.xml file found
| 04:18:02,281 DEBUG [Component] instantiating Seam component: facesMessages
| 04:18:07,679 ERROR [STDERR] Nov 8, 2006 4:18:07 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/jboss-4.0.4.CR2/server/all/tmp/deploy/tmp64621jboss-seam-selectitems.ear-contents/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
| 04:18:07,689 ERROR [STDERR] Nov 8, 2006 4:18:07 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/jboss-4.0.4.CR2/server/all/tmp/deploy/tmp64621jboss-seam-selectitems.ear-contents/selectitems-1.1.0rc2.jar!/META-INF/selectitems.taglib.xml
| 04:18:07,699 ERROR [STDERR] Nov 8, 2006 4:18:07 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/jboss-4.0.4.CR2/server/all/tmp/deploy/tmp64621jboss-seam-selectitems.ear-contents/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
| 04:18:07,719 ERROR [STDERR] Nov 8, 2006 4:18:07 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/jboss-4.0.4.CR2/server/all/tmp/deploy/tmp64621jboss-seam-selectitems.ear-contents/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
| 04:18:07,719 ERROR [STDERR] Nov 8, 2006 4:18:07 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/jboss-4.0.4.CR2/server/all/tmp/deploy/tmp64621jboss-seam-selectitems.ear-contents/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
| 04:18:07,739 ERROR [STDERR] Nov 8, 2006 4:18:07 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/jboss-4.0.4.CR2/server/all/tmp/deploy/tmp64621jboss-seam-selectitems.ear-contents/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
| 04:18:07,930 DEBUG [Component] instantiating Seam component: pojoCache
| 04:18:07,930 DEBUG [PojoCache] starting JBoss Cache
| 04:18:08,010 INFO [PropertyConfigurator] Found existing property editor for org.w3c.dom.Element: org.jboss.util.propertyeditor.ElementEditor at 9873b7
| 04:18:08,010 INFO [PropertyConfigurator] attribute size: 14
| 04:18:08,060 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=64;loopback=false;mcast_addr=228.1.2.3;mcast_port=48866;mcast_recv_buf_size=80000;mc
| ast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;
| min_interval=10000):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,
| 2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=fals
| e):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=tr
| ue;up_thread=true)
| 04:18:08,060 WARN [TreeCache] Using deprecated configuration element 'UseMarshalling'. See 'UseRegionBasedMarshalling' instead.
| 04:18:08,070 INFO [TreeCache] Not using an EvictionPolicy
| 04:18:08,120 INFO [InterceptorChainFactory] interceptor chain is:
| class org.jboss.cache.interceptors.CallInterceptor
| class org.jboss.cache.interceptors.PessimisticLockInterceptor
| class org.jboss.cache.interceptors.UnlockInterceptor
| class org.jboss.cache.interceptors.TxInterceptor
| class org.jboss.cache.interceptors.CacheMgmtInterceptor
| 04:18:08,160 INFO [TreeCache] cache mode is local, will not create the channel
| 04:18:08,160 INFO [TreeCache] parseConfig(): PojoCacheConfig is empty
| 04:18:08,160 DEBUG [SeamVariableResolver] resolving name: clientTypes
| 04:18:08,160 DEBUG [Component] instantiating Seam component: clientAction
| 04:18:08,160 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.j
| np.interfaces}
| 04:18:08,210 ERROR [STDERR] javax.ejb.EJBException: java.lang.NullPointerException
| 04:18:08,210 ERROR [STDERR] at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
| 04:18:08,210 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
| 04:18:08,210 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192)
| 04:18:08,210 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 04:18:08,210 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| 04:18:08,210 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 04:18:08,210 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81)
| 04:18:08,210 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 04:18:08,210 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| 04:18:08,210 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 04:18:08,210 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| 04:18:08,210 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 04:18:08,210 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| 04:18:08,210 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 04:18:08,210 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188)
| 04:18:08,210 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| 04:18:08,210 ERROR [STDERR] at $Proxy141.begin(Unknown Source)
| 04:18:08,210 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 04:18:08,210 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 04:18:08,210 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 04:18:08,210 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 04:18:08,210 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 04:18:08,210 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
| 04:18:08,210 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1334)
| 04:18:08,210 ERROR [STDERR] at org.jboss.seam.Component.callCreateMethod(Component.java:1322)
| 04:18:08,210 ERROR [STDERR] at org.jboss.seam.Component.newInstance(Component.java:1312)
| 04:18:08,210 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1263)
| 04:18:08,210 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1246)
| 04:18:08,210 ERROR [STDERR] at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1292)
| 04:18:08,210 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1260)
| 04:18:08,210 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1246)
| 04:18:08,210 ERROR [STDERR] at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
| 04:18:08,210 ERROR [STDERR] at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
| 04:18:08,210 ERROR [STDERR] at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
| 04:18:08,210 ERROR [STDERR] at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
| 04:18:08,210 ERROR [STDERR] at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| 04:18:08,210 ERROR [STDERR] at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
| 04:18:08,210 ERROR [STDERR] at javax.faces.component.UISelectItems.getValue(UISelectItems.java:55)
| 04:18:08,210 ERROR [STDERR] at org.jboss.seam.selectitems.jsf.SelectItemsComponentHandler.setAttributes(SelectItemsComponentHandler.java:48)
| 04:18:08,210 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:140)
| 04:18:08,210 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
| 04:18:08,210 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
| 04:18:08,210 ERROR [STDERR] at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| 04:18:08,210 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
| 04:18:08,210 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
| 04:18:08,210 ERROR [STDERR] at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| 04:18:08,210 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
| 04:18:08,210 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
| 04:18:08,210 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
| 04:18:08,210 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
| 04:18:08,210 ERROR [STDERR] at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| 04:18:08,220 ERROR [STDERR] at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
| 04:18:08,220 ERROR [STDERR] at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| 04:18:08,220 ERROR [STDERR] at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
| 04:18:08,220 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:490)
| 04:18:08,220 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:533)
| 04:18:08,220 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
| 04:18:08,220 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
| 04:18:08,220 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| 04:18:08,220 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 04:18:08,220 ERROR [STDERR] at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| 04:18:08,220 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 04:18:08,220 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 04:18:08,220 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| 04:18:08,220 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 04:18:08,220 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 04:18:08,220 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| 04:18:08,220 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| 04:18:08,220 ERROR [STDERR] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
| 04:18:08,220 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
| 04:18:08,220 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| 04:18:08,220 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| 04:18:08,220 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| 04:18:08,220 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| 04:18:08,220 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| 04:18:08,220 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| 04:18:08,220 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| 04:18:08,220 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| 04:18:08,220 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| 04:18:08,220 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
| 04:18:08,220 ERROR [STDERR] Caused by: java.lang.NullPointerException
| 04:18:08,220 ERROR [STDERR] at org.jboss.seam.example.selectitems.ClientActionBean.begin(ClientActionBean.java:56)
| 04:18:08,220 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 04:18:08,220 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 04:18:08,220 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 04:18:08,220 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 04:18:08,220 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:109)
| 04:18:08,220 ERROR [STDERR] at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
| 04:18:08,220 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 04:18:08,220 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| 04:18:08,220 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 04:18:08,220 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| 04:18:08,220 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 04:18:08,220 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| 04:18:08,220 ERROR [STDERR] ... 78 more
| 04:18:08,220 ERROR [STDERR] Nov 8, 2006 4:18:08 AM com.sun.facelets.FaceletViewHandler handleRenderException
| SEVERE: Error Rendering View[/selectitems.xhtml]
| javax.ejb.EJBException: java.lang.NullPointerException
| at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188)
| at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| at $Proxy141.begin(Unknown Source)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984122#3984122
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984122
More information about the jboss-user
mailing list