[JBoss Seam] - Re: Invitation to try new Seam authentication features
by bpatters
I'm trying this out with the 9/6 and 9/5 builds and get NullPointer exceptions in both my application and the example application in the
same spot.
I'm use the special JIRA jboss-4.0.4 with the RC8 of ejb3.
|
| 2006-09-07 15:08:48,957 INFO [org.jboss.remoting.transport.socket.SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://192.168.1.97:3873/]
| 2006-09-07 15:08:49,395 INFO [org.jboss.aop.deployment.AspectDeployer] Deployed AOP: file:/D:/jboss-4.0.4.GA/server/default/deploy/ejb3-interceptors-aop.xml
| 2006-09-07 15:08:50,957 INFO [org.jboss.web.WebService] Using RMI server codebase: http://BRET:8083/
| 2006-09-07 15:08:52,598 INFO [org.jboss.mail.MailService] Mail Service bound to java:/Mail
| 2006-09-07 15:08:52,832 INFO [org.jboss.naming.NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
| 2006-09-07 15:08:52,848 INFO [org.jboss.ws.eventing.mgmt.SubscriptionManager] Bound event dispatcher to java:/EventDispatcher
| 2006-09-07 15:08:53,379 INFO [org.apache.catalina.startup.Embedded] Catalina naming disabled
| 2006-09-07 15:08:53,426 INFO [org.apache.catalina.startup.ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
| 2006-09-07 15:08:53,426 INFO [org.apache.catalina.startup.ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
| 2006-09-07 15:08:53,707 INFO [org.apache.coyote.http11.Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
| 2006-09-07 15:08:53,723 INFO [org.apache.catalina.startup.Catalina] Initialization processed in 297 ms
| 2006-09-07 15:08:53,723 INFO [org.jboss.web.tomcat.tc5.StandardService] Starting service jboss.web
| 2006-09-07 15:08:53,723 INFO [org.apache.catalina.core.StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17
| 2006-09-07 15:08:53,754 INFO [org.apache.catalina.core.StandardHost] XML validation disabled
| 2006-09-07 15:08:53,770 INFO [org.apache.catalina.startup.Catalina] Server startup in 47 ms
| 2006-09-07 15:08:53,895 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
| 2006-09-07 15:08:54,223 INFO [org.apache.catalina.loader.WebappLoader] Dual registration of jndi stream handler: factory already defined
| 2006-09-07 15:08:54,536 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp52361jbossws-exp.war/
| 2006-09-07 15:08:54,692 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
| 2006-09-07 15:08:55,661 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
| 2006-09-07 15:08:55,801 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
| 2006-09-07 15:08:55,832 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
| 2006-09-07 15:08:55,848 INFO [org.jboss.resource.adapter.quartz.inflow.QuartzResourceAdapter] start quartz!!!
| 2006-09-07 15:08:55,926 INFO [org.quartz.simpl.SimpleThreadPool] Job execution threads will use class loader of thread: main
| 2006-09-07 15:08:55,942 INFO [org.quartz.core.QuartzScheduler] Quartz Scheduler v.1.5.2 created.
| 2006-09-07 15:08:55,957 INFO [org.quartz.simpl.RAMJobStore] RAMJobStore initialized.
| 2006-09-07 15:08:55,957 INFO [org.quartz.impl.StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
| 2006-09-07 15:08:55,957 INFO [org.quartz.impl.StdSchedulerFactory] Quartz scheduler version: 1.5.2
| 2006-09-07 15:08:55,957 INFO [org.quartz.core.QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
| 2006-09-07 15:08:56,551 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
| 2006-09-07 15:08:56,770 INFO [org.jboss.mq.server.jmx.Queue.A] Bound to JNDI name: queue/A
| 2006-09-07 15:08:56,770 INFO [org.jboss.mq.server.jmx.Queue.B] Bound to JNDI name: queue/B
| 2006-09-07 15:08:56,770 INFO [org.jboss.mq.server.jmx.Queue.C] Bound to JNDI name: queue/C
| 2006-09-07 15:08:56,770 INFO [org.jboss.mq.server.jmx.Queue.D] Bound to JNDI name: queue/D
| 2006-09-07 15:08:56,770 INFO [org.jboss.mq.server.jmx.Queue.ex] Bound to JNDI name: queue/ex
| 2006-09-07 15:08:56,786 INFO [org.jboss.mq.server.jmx.Topic.testTopic] Bound to JNDI name: topic/testTopic
| 2006-09-07 15:08:56,786 INFO [org.jboss.mq.server.jmx.Topic.securedTopic] Bound to JNDI name: topic/securedTopic
| 2006-09-07 15:08:56,801 INFO [org.jboss.mq.server.jmx.Topic.testDurableTopic] Bound to JNDI name: topic/testDurableTopic
| 2006-09-07 15:08:56,801 INFO [org.jboss.mq.server.jmx.Queue.testQueue] Bound to JNDI name: queue/testQueue
| 2006-09-07 15:08:56,817 INFO [org.jboss.mq.il.uil2.UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
| 2006-09-07 15:08:57,067 INFO [org.jboss.mq.server.jmx.Queue.DLQ] Bound to JNDI name: queue/DLQ
| 2006-09-07 15:08:57,176 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
| 2006-09-07 15:08:57,223 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=securityDatasource' to JNDI name 'java:securityDatasource'
| 2006-09-07 15:08:57,270 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
| 2006-09-07 15:08:57,411 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/D:/jboss-4.0.4.GA/server/default/deploy/seam-security.ear
| 2006-09-07 15:08:58,348 INFO [org.jboss.ejb3.Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to org.jboss.seam.example.security.LoginAction org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@ff0d4b
| 2006-09-07 15:08:58,379 INFO [org.jboss.ejb3.Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to org.jboss.seam.example.security.ProtectedAction org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@2bae98
| 2006-09-07 15:08:58,411 INFO [org.jboss.ejb3.Ejb3Deployment] EJB3 deployment time took: 297
| 2006-09-07 15:08:58,442 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: persistence.units:ear=seam-security.ear,jar=seam-security.jar,unitName=securityDatabase with dependencies:
| 2006-09-07 15:08:58,442 INFO [org.jboss.ejb3.JmxKernelAbstraction] jboss.jca:name=securityDatasource,service=ManagedConnectionFactory
| 2006-09-07 15:08:58,489 INFO [org.hibernate.ejb.Version] Hibernate EntityManager 3.2.0.CR1
| 2006-09-07 15:08:58,504 INFO [org.hibernate.cfg.annotations.Version] Hibernate Annotations 3.2.0.CR1
| 2006-09-07 15:08:58,520 INFO [org.hibernate.cfg.Environment] Hibernate 3.2 cr2
| 2006-09-07 15:08:58,536 INFO [org.hibernate.cfg.Environment] hibernate.properties not found
| 2006-09-07 15:08:58,536 INFO [org.hibernate.cfg.Environment] Bytecode provider name : javassist
| 2006-09-07 15:08:58,536 INFO [org.hibernate.cfg.Environment] using JDK 1.4 java.sql.Timestamp handling
| 2006-09-07 15:08:58,661 INFO [org.hibernate.ejb.Ejb3Configuration] Processing PersistenceUnitInfo [
| name: securityDatabase
| ...]
| 2006-09-07 15:08:58,676 INFO [org.hibernate.ejb.Ejb3Configuration] found EJB3 Entity bean: org.jboss.seam.example.security.Role
| 2006-09-07 15:08:58,676 INFO [org.hibernate.ejb.Ejb3Configuration] found EJB3 Entity bean: org.jboss.seam.example.security.User
| 2006-09-07 15:08:58,676 WARN [org.hibernate.ejb.Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
| 2006-09-07 15:08:58,754 INFO [org.hibernate.cfg.Configuration] Reading mappings from resource: META-INF/orm.xml
| 2006-09-07 15:08:58,754 INFO [org.hibernate.ejb.Ejb3Configuration] [PersistenceUnit: securityDatabase] no META-INF/orm.xml found
| 2006-09-07 15:08:58,817 INFO [org.hibernate.cfg.AnnotationBinder] Binding entity from annotated class: org.jboss.seam.example.security.Role
| 2006-09-07 15:08:58,895 INFO [org.hibernate.cfg.annotations.EntityBinder] Bind entity org.jboss.seam.example.security.Role on table Role
| 2006-09-07 15:08:58,942 INFO [org.hibernate.cfg.AnnotationBinder] Binding entity from annotated class: org.jboss.seam.example.security.User
| 2006-09-07 15:08:58,942 INFO [org.hibernate.cfg.annotations.EntityBinder] Bind entity org.jboss.seam.example.security.User on table User
| 2006-09-07 15:08:59,067 INFO [org.hibernate.cfg.annotations.CollectionBinder] Mapping collection: org.jboss.seam.example.security.User.roles -> Role
| 2006-09-07 15:08:59,129 INFO [org.hibernate.connection.ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
| 2006-09-07 15:08:59,145 INFO [org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider] Using provided datasource
| 2006-09-07 15:08:59,161 INFO [org.hibernate.cfg.SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
| 2006-09-07 15:08:59,161 INFO [org.hibernate.cfg.SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
| 2006-09-07 15:08:59,176 INFO [org.hibernate.dialect.Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
| 2006-09-07 15:08:59,489 INFO [org.hibernate.transaction.TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
| 2006-09-07 15:08:59,504 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
| 2006-09-07 15:08:59,504 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] instantiated TransactionManagerLookup
| 2006-09-07 15:08:59,504 INFO [org.hibernate.cfg.SettingsFactory] Automatic flush during beforeCompletion(): disabled
| 2006-09-07 15:08:59,504 INFO [org.hibernate.cfg.SettingsFactory] Automatic session close at end of transaction: disabled
| 2006-09-07 15:08:59,504 INFO [org.hibernate.cfg.SettingsFactory] JDBC batch size: 15
| 2006-09-07 15:08:59,504 INFO [org.hibernate.cfg.SettingsFactory] JDBC batch updates for versioned data: disabled
| 2006-09-07 15:08:59,504 INFO [org.hibernate.cfg.SettingsFactory] Scrollable result sets: enabled
| 2006-09-07 15:08:59,504 INFO [org.hibernate.cfg.SettingsFactory] JDBC3 getGeneratedKeys(): disabled
| 2006-09-07 15:08:59,504 INFO [org.hibernate.cfg.SettingsFactory] Connection release mode: auto
| 2006-09-07 15:08:59,504 INFO [org.hibernate.cfg.SettingsFactory] Default batch fetch size: 1
| 2006-09-07 15:08:59,504 INFO [org.hibernate.cfg.SettingsFactory] Generate SQL with comments: disabled
| 2006-09-07 15:08:59,504 INFO [org.hibernate.cfg.SettingsFactory] Order SQL updates by primary key: disabled
| 2006-09-07 15:08:59,504 INFO [org.hibernate.cfg.SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
| 2006-09-07 15:08:59,504 INFO [org.hibernate.hql.ast.ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
| 2006-09-07 15:08:59,504 INFO [org.hibernate.cfg.SettingsFactory] Query language substitutions: {}
| 2006-09-07 15:08:59,504 INFO [org.hibernate.cfg.SettingsFactory] Second-level cache: enabled
| 2006-09-07 15:08:59,504 INFO [org.hibernate.cfg.SettingsFactory] Query cache: disabled
| 2006-09-07 15:08:59,504 INFO [org.hibernate.cfg.SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
| 2006-09-07 15:08:59,504 INFO [org.hibernate.cfg.SettingsFactory] Optimize cache for minimal puts: disabled
| 2006-09-07 15:08:59,504 INFO [org.hibernate.cfg.SettingsFactory] Structured second-level cache entries: disabled
| 2006-09-07 15:08:59,520 INFO [org.hibernate.cfg.SettingsFactory] Echoing all SQL to stdout
| 2006-09-07 15:08:59,520 INFO [org.hibernate.cfg.SettingsFactory] Statistics: disabled
| 2006-09-07 15:08:59,520 INFO [org.hibernate.cfg.SettingsFactory] Deleted entity synthetic identifier rollback: disabled
| 2006-09-07 15:08:59,520 INFO [org.hibernate.cfg.SettingsFactory] Default entity-mode: pojo
| 2006-09-07 15:08:59,567 INFO [org.hibernate.impl.SessionFactoryImpl] building session factory
| 2006-09-07 15:08:59,848 INFO [org.hibernate.impl.SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
| 2006-09-07 15:08:59,864 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] Running hbm2ddl schema export
| 2006-09-07 15:08:59,864 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] exporting generated schema to database
| 2006-09-07 15:08:59,864 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] Executing import script: /import.sql
| 2006-09-07 15:08:59,864 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] schema export complete
| 2006-09-07 15:08:59,864 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 2006-09-07 15:08:59,942 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=seam-security.ear,jar=seam-security.jar,name=LoginAction,service=EJB3 with dependencies:
| 2006-09-07 15:09:00,114 INFO [org.jboss.ejb3.EJBContainer] STARTED EJB: org.jboss.seam.example.security.LoginAction ejbName: LoginAction
| 2006-09-07 15:09:00,129 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=seam-security.ear,jar=seam-security.jar,name=ProtectedAction,service=EJB3 with dependencies:
| 2006-09-07 15:09:00,161 INFO [org.jboss.ejb3.EJBContainer] STARTED EJB: org.jboss.seam.example.security.ProtectedAction ejbName: ProtectedAction
| 2006-09-07 15:09:00,161 INFO [org.jboss.ejb3.EJB3Deployer] Deployed: file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp52394seam-security.ear-contents/seam-security.jar
| 2006-09-07 15:09:00,176 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/seam-security, warUrl=.../tmp/deploy/tmp52394seam-security.ear-contents/seam-security-exp.war/
| 2006-09-07 15:09:00,301 INFO [javax.servlet.ServletContextListener] Welcome to Seam 1.0.1.GA
| 2006-09-07 15:09:00,317 INFO [org.jboss.seam.init.Initialization] reading components.xml
| 2006-09-07 15:09:00,332 INFO [org.jboss.seam.init.Initialization] reading properties from: /seam.properties
| 2006-09-07 15:09:00,332 INFO [org.jboss.seam.init.Initialization] reading properties from: /jndi.properties
| 2006-09-07 15:09:00,332 DEBUG [org.jboss.seam.init.Initialization] not found: /seam-jndi.properties
| 2006-09-07 15:09:00,332 INFO [org.jboss.seam.init.Initialization] initializing Seam
| 2006-09-07 15:09:00,395 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
| 2006-09-07 15:09:00,395 DEBUG [org.jboss.seam.Component] org.jboss.seam.core.init.myFacesLifecycleBug=true
| 2006-09-07 15:09:00,411 DEBUG [org.jboss.seam.Component] org.jboss.seam.core.init.jndiPattern=seam-security/#{ejbName}/local
| 2006-09-07 15:09:00,567 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.init
| 2006-09-07 15:09:00,567 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.init
| 2006-09-07 15:09:00,567 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
| 2006-09-07 15:09:00,582 INFO [org.jboss.seam.Component] Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events
| 2006-09-07 15:09:00,582 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
| 2006-09-07 15:09:00,598 DEBUG [org.jboss.seam.Component] org.jboss.seam.core.manager.conversationTimeout=120000
| 2006-09-07 15:09:00,629 INFO [org.jboss.seam.Component] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher
| 2006-09-07 15:09:00,645 INFO [org.jboss.seam.Component] Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect
| 2006-09-07 15:09:00,645 INFO [org.jboss.seam.Component] Component: httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError
| 2006-09-07 15:09:00,661 INFO [org.jboss.seam.Component] Component: userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal
| 2006-09-07 15:09:00,661 INFO [org.jboss.seam.Component] Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
| 2006-09-07 15:09:00,676 INFO [org.jboss.seam.Component] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
| 2006-09-07 15:09:00,692 INFO [org.jboss.seam.Component] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
| 2006-09-07 15:09:00,692 INFO [org.jboss.seam.Component] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
| 2006-09-07 15:09:00,723 INFO [org.jboss.seam.Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
| 2006-09-07 15:09:00,723 INFO [org.jboss.seam.Component] Component: pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
| 2006-09-07 15:09:00,723 INFO [org.jboss.seam.Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
| 2006-09-07 15:09:00,739 INFO [org.jboss.seam.Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
| 2006-09-07 15:09:00,739 INFO [org.jboss.seam.Component] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext
| 2006-09-07 15:09:00,739 INFO [org.jboss.seam.Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
| 2006-09-07 15:09:00,754 INFO [org.jboss.seam.Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
| 2006-09-07 15:09:00,754 INFO [org.jboss.seam.Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
| 2006-09-07 15:09:00,754 INFO [org.jboss.seam.Component] Component: locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale
| 2006-09-07 15:09:00,770 INFO [org.jboss.seam.Component] Component: messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages
| 2006-09-07 15:09:00,770 INFO [org.jboss.seam.Component] Component: theme, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme
| 2006-09-07 15:09:00,786 INFO [org.jboss.seam.Component] Component: themeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.ThemeSelector
| 2006-09-07 15:09:00,786 INFO [org.jboss.seam.Component] Component: interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
| 2006-09-07 15:09:00,786 INFO [org.jboss.seam.Component] Component: facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages
| 2006-09-07 15:09:00,801 INFO [org.jboss.seam.Component] Component: resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
| 2006-09-07 15:09:00,817 INFO [org.jboss.seam.Component] Component: localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector
| 2006-09-07 15:09:00,817 INFO [org.jboss.seam.Component] Component: uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent
| 2006-09-07 15:09:00,817 INFO [org.jboss.seam.Component] Component: renderParameters, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.RenderParameters
| 2006-09-07 15:09:00,832 INFO [org.jboss.seam.Component] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry
| 2006-09-07 15:09:00,832 INFO [org.jboss.seam.Component] Component: org.jboss.seam.remoting.remotingConfig, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.RemotingConfig
| 2006-09-07 15:09:00,864 DEBUG [org.jboss.seam.Component] interceptor stack: [Interceptor(org.jboss.seam.interceptors.ExceptionInterceptor), Interceptor(org.jboss.seam.interceptors.RemoveInterceptor), Interceptor(org.jboss.seam.interceptors.ConversationalInterceptor), Interceptor(org.jboss.seam.interceptors.TransactionInterceptor), Interceptor(org.jboss.seam.interceptors.BusinessProcessInterceptor), Interceptor(org.jboss.seam.interceptors.ConversationInterceptor), Interceptor(org.jboss.seam.interceptors.BijectionInterceptor), Interceptor(org.jboss.seam.interceptors.RollbackInterceptor), Interceptor(org.jboss.seam.interceptors.OutcomeInterceptor), Interceptor(org.jboss.seam.interceptors.ValidationInterceptor)]
| 2006-09-07 15:09:00,864 INFO [org.jboss.seam.Component] Component: pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache
| 2006-09-07 15:09:00,864 INFO [org.jboss.seam.Component] Component: entityManager, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.ManagedPersistenceContext
| 2006-09-07 15:09:00,864 DEBUG [org.jboss.seam.Component] entityManager.persistenceUnitJndiName=java:/securityEntityManagerFactory
| 2006-09-07 15:09:00,879 INFO [org.jboss.seam.Component] Component: org.jboss.seam.security.authenticator, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.security.authenticator.ProviderAuthenticator
| 2006-09-07 15:09:00,895 DEBUG [org.jboss.seam.Component] interceptor stack: [Interceptor(org.jboss.seam.interceptors.ExceptionInterceptor), Interceptor(org.jboss.seam.interceptors.RemoveInterceptor), Interceptor(org.jboss.seam.interceptors.ConversationalInterceptor), Interceptor(org.jboss.seam.interceptors.TransactionInterceptor), Interceptor(org.jboss.seam.interceptors.BusinessProcessInterceptor), Interceptor(org.jboss.seam.interceptors.ConversationInterceptor), Interceptor(org.jboss.seam.interceptors.BijectionInterceptor), Interceptor(org.jboss.seam.interceptors.RollbackInterceptor), Interceptor(org.jboss.seam.interceptors.OutcomeInterceptor), Interceptor(org.jboss.seam.interceptors.ValidationInterceptor)]
| 2006-09-07 15:09:00,895 DEBUG [org.jboss.seam.Component] org.jboss.seam.security.authenticator.adapters=org.jboss.seam.security.adapter.jboss.JBossAuthenticationAdapter
| 2006-09-07 15:09:00,895 DEBUG [org.jboss.seam.Component] org.jboss.seam.security.authenticator.providers=#{authenticatorAction}
| 2006-09-07 15:09:00,895 INFO [org.jboss.seam.deployment.Scanner] scanning: /D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp52394seam-security.ear-contents/seam-security.jar
| 2006-09-07 15:09:00,895 DEBUG [org.jboss.seam.deployment.Scanner] archive: D:\jboss-4.0.4.GA\server\default\tmp\deploy\tmp52394seam-security.ear-contents\seam-security.jar
| 2006-09-07 15:09:00,895 DEBUG [org.jboss.seam.deployment.Scanner] found: META-INF/
| 2006-09-07 15:09:00,895 DEBUG [org.jboss.seam.deployment.Scanner] found: META-INF/MANIFEST.MF
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: org/
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: org/jboss/
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: org/jboss/seam/
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: org/jboss/seam/example/
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: org/jboss/seam/example/security/
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: org/jboss/seam/example/security/AuthenticatorAction.class
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: org/jboss/seam/example/security/LoginAction.class
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: org/jboss/seam/example/security/LoginLocal.class
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: org/jboss/seam/example/security/ProtectedAction.class
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: org/jboss/seam/example/security/ProtectedLocal.class
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: org/jboss/seam/example/security/Role.class
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: org/jboss/seam/example/security/User.class
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: META-INF/ejb-jar.xml
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: META-INF/login-config.xml
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: META-INF/persistence.xml
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: import.sql
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: jboss-service.xml
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: roles.properties
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: seam.properties
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.deployment.Scanner] found: users.properties
| 2006-09-07 15:09:00,911 INFO [org.jboss.seam.Component] Component: login, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.security.LoginAction, JNDI: seam-security/LoginAction/local
| 2006-09-07 15:09:00,911 DEBUG [org.jboss.seam.Component] interceptor stack: [Interceptor(org.jboss.seam.interceptors.ExceptionInterceptor), Interceptor(org.jboss.seam.interceptors.RemoveInterceptor), Interceptor(org.jboss.seam.interceptors.ConversationalInterceptor), Interceptor(org.jboss.seam.interceptors.BusinessProcessInterceptor), Interceptor(org.jboss.seam.interceptors.ConversationInterceptor), Interceptor(org.jboss.seam.interceptors.BijectionInterceptor), Interceptor(org.jboss.seam.interceptors.RollbackInterceptor), Interceptor(org.jboss.seam.interceptors.OutcomeInterceptor), Interceptor(org.jboss.seam.interceptors.ValidationInterceptor)]
| 2006-09-07 15:09:00,926 WARN [org.jboss.seam.Component] Component class should be serializable: user
| 2006-09-07 15:09:00,926 INFO [org.jboss.seam.Component] Component: user, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.security.User
| 2006-09-07 15:09:00,926 INFO [org.jboss.seam.Component] Component: authenticatorAction, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.example.security.AuthenticatorAction
| 2006-09-07 15:09:00,942 DEBUG [org.jboss.seam.Component] interceptor stack: [Interceptor(org.jboss.seam.interceptors.ExceptionInterceptor), Interceptor(org.jboss.seam.interceptors.RemoveInterceptor), Interceptor(org.jboss.seam.interceptors.ConversationalInterceptor), Interceptor(org.jboss.seam.interceptors.TransactionInterceptor), Interceptor(org.jboss.seam.interceptors.BusinessProcessInterceptor), Interceptor(org.jboss.seam.interceptors.ConversationInterceptor), Interceptor(org.jboss.seam.interceptors.BijectionInterceptor), Interceptor(org.jboss.seam.interceptors.RollbackInterceptor), Interceptor(org.jboss.seam.interceptors.OutcomeInterceptor), Interceptor(org.jboss.seam.interceptors.ValidationInterceptor)]
| 2006-09-07 15:09:00,942 WARN [org.jboss.seam.Component] Component class should be serializable: userrole
| 2006-09-07 15:09:00,942 INFO [org.jboss.seam.Component] Component: userrole, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.security.Role
| 2006-09-07 15:09:00,942 INFO [org.jboss.seam.Component] Component: protectedAction, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.security.ProtectedAction, JNDI: seam-security/ProtectedAction/local
| 2006-09-07 15:09:00,942 DEBUG [org.jboss.seam.Component] interceptor stack: [Interceptor(org.jboss.seam.interceptors.ExceptionInterceptor), Interceptor(org.jboss.seam.interceptors.RemoveInterceptor), Interceptor(org.jboss.seam.interceptors.ConversationalInterceptor), Interceptor(org.jboss.seam.interceptors.BusinessProcessInterceptor), Interceptor(org.jboss.seam.interceptors.ConversationInterceptor), Interceptor(org.jboss.seam.interceptors.BijectionInterceptor), Interceptor(org.jboss.seam.interceptors.RollbackInterceptor), Interceptor(org.jboss.seam.interceptors.OutcomeInterceptor), Interceptor(org.jboss.seam.interceptors.ValidationInterceptor)]
| 2006-09-07 15:09:00,957 INFO [org.jboss.seam.contexts.Lifecycle] starting up: applicationContext
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] instantiating Seam component: applicationContext
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] initializing new instance of: applicationContext
| 2006-09-07 15:09:00,957 INFO [org.jboss.seam.contexts.Lifecycle] starting up: isUserInRole
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] instantiating Seam component: isUserInRole
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] initializing new instance of: isUserInRole
| 2006-09-07 15:09:00,957 INFO [org.jboss.seam.contexts.Lifecycle] starting up: statelessContext
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] instantiating Seam component: statelessContext
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] initializing new instance of: statelessContext
| 2006-09-07 15:09:00,957 INFO [org.jboss.seam.contexts.Lifecycle] starting up: userPrincipal
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] instantiating Seam component: userPrincipal
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] initializing new instance of: userPrincipal
| 2006-09-07 15:09:00,957 INFO [org.jboss.seam.contexts.Lifecycle] starting up: sessionContext
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] instantiating Seam component: sessionContext
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] initializing new instance of: sessionContext
| 2006-09-07 15:09:00,957 INFO [org.jboss.seam.contexts.Lifecycle] starting up: facesContext
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesContext
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] initializing new instance of: facesContext
| 2006-09-07 15:09:00,957 INFO [org.jboss.seam.contexts.Lifecycle] starting up: businessProcessContext
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] instantiating Seam component: businessProcessContext
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] initializing new instance of: businessProcessContext
| 2006-09-07 15:09:00,957 INFO [org.jboss.seam.contexts.Lifecycle] starting up: eventContext
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] instantiating Seam component: eventContext
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] initializing new instance of: eventContext
| 2006-09-07 15:09:00,957 INFO [org.jboss.seam.contexts.Lifecycle] starting up: pageContext
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] instantiating Seam component: pageContext
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] initializing new instance of: pageContext
| 2006-09-07 15:09:00,957 INFO [org.jboss.seam.contexts.Lifecycle] starting up: conversationContext
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] instantiating Seam component: conversationContext
| 2006-09-07 15:09:00,957 DEBUG [org.jboss.seam.Component] initializing new instance of: conversationContext
| 2006-09-07 15:09:00,957 INFO [org.jboss.seam.init.Initialization] done initializing Seam
| 2006-09-07 15:09:01,114 INFO [org.apache.myfaces.config.FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
| 2006-09-07 15:09:01,176 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp52394seam-security.ear-contents/jboss-seam.jar!/META-INF/faces-config.xml
| 2006-09-07 15:09:01,176 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/D:/jboss-4.0.4.GA/server/default/lib/jboss-seam-debug.jar!/META-INF/faces-config.xml
| 2006-09-07 15:09:01,192 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/D:/jboss-4.0.4.GA/server/default/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml
| 2006-09-07 15:09:01,207 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/D:/jboss-4.0.4.GA/server/default/lib/jboss-seam.jar!/META-INF/faces-config.xml
| 2006-09-07 15:09:01,207 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/D:/jboss-4.0.4.GA/server/default/lib/jsf-facelets.jar!/META-INF/faces-config.xml
| 2006-09-07 15:09:01,223 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/D:/jboss-4.0.4.GA/server/default/lib/tomahawk-1.1.3.jar!/META-INF/faces-config.xml
| 2006-09-07 15:09:01,286 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp52394seam-security.ear-contents/seam-security-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml
| 2006-09-07 15:09:01,301 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config /WEB-INF/faces-config.xml
| 2006-09-07 15:09:01,411 WARN [org.apache.myfaces.shared_impl.util.LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default locale : en_US
| 2006-09-07 15:09:02,301 INFO [org.apache.myfaces.renderkit.html.HtmlRenderKitImpl] Overwriting renderer with family = facelets rendererType = facelets.ui.Repeat renderer class = com.sun.facelets.component.RepeatRenderer
| 2006-09-07 15:09:02,348 INFO [org.apache.myfaces.webapp.StartupServletContextListener] ServletContext 'D:\jboss-4.0.4.GA\server\default\.\tmp\deploy\tmp52394seam-security.ear-contents\seam-security-exp.war\' initialized.
| 2006-09-07 15:09:02,348 DEBUG [javax.faces.webapp.FacesServlet] init begin
| 2006-09-07 15:09:02,348 DEBUG [javax.faces.webapp.FacesServlet] init end
| 2006-09-07 15:09:02,379 INFO [org.jboss.deployment.EARDeployer] Started J2EE application: file:/D:/jboss-4.0.4.GA/server/default/deploy/seam-security.ear
| 2006-09-07 15:09:02,410 INFO [org.apache.coyote.http11.Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
| 2006-09-07 15:09:02,473 INFO [org.apache.jk.common.ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
| 2006-09-07 15:09:02,489 INFO [org.apache.jk.server.JkMain] Jk running ID=0 time=0/32 config=null
| 2006-09-07 15:09:02,489 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 17s:0ms
| 2006-09-07 15:09:24,176 DEBUG [javax.faces.webapp.FacesServlet] service begin
| 2006-09-07 15:09:24,176 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] before phase: RESTORE_VIEW(1)
| 2006-09-07 15:09:24,176 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
| 2006-09-07 15:09:24,207 DEBUG [org.jboss.seam.contexts.Lifecycle] Session started
| 2006-09-07 15:09:24,207 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.security.authenticator
| 2006-09-07 15:09:24,254 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.security.authenticator
| 2006-09-07 15:09:24,317 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: authenticatorAction
| 2006-09-07 15:09:24,317 DEBUG [org.jboss.seam.Component] instantiating Seam component: authenticatorAction
| 2006-09-07 15:09:24,332 DEBUG [org.jboss.seam.Component] initializing new instance of: authenticatorAction
| 2006-09-07 15:09:24,332 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to Seam component
| 2006-09-07 15:09:24,332 DEBUG [org.jboss.seam.ejb.SeamInterceptor] intercepted: org.jboss.seam.security.authenticator.beginRequest
| 2006-09-07 15:09:24,348 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager
| 2006-09-07 15:09:24,348 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.manager
| 2006-09-07 15:09:24,348 DEBUG [org.jboss.seam.Component] seam component not found: org.jboss.seam.security.authentication
| 2006-09-07 15:09:24,348 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 2006-09-07 15:09:24,379 DEBUG [org.jboss.seam.Component] instantiating Seam component: localeSelector
| 2006-09-07 15:09:24,379 DEBUG [org.jboss.seam.Component] initializing new instance of: localeSelector
| 2006-09-07 15:09:24,395 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] after phase: RESTORE_VIEW(1)
| 2006-09-07 15:09:24,395 DEBUG [org.jboss.seam.core.Manager] No stored conversation
| 2006-09-07 15:09:24,410 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(1)
| 2006-09-07 15:09:24,410 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] before phase: RENDER_RESPONSE(6)
| 2006-09-07 15:09:24,410 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.pages
| 2006-09-07 15:09:24,410 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.pages
| 2006-09-07 15:09:24,410 INFO [org.jboss.seam.core.Pages] no pages.xml file found
| 2006-09-07 15:09:24,410 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesMessages
| 2006-09-07 15:09:24,426 DEBUG [org.jboss.seam.Component] initializing new instance of: facesMessages
| 2006-09-07 15:09:24,926 ERROR [STDERR] Sep 7, 2006 3:09:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
| 2006-09-07 15:09:24,957 ERROR [STDERR] Sep 7, 2006 3:09:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
| 2006-09-07 15:09:24,957 ERROR [STDERR] Sep 7, 2006 3:09:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp52394seam-security.ear-contents/seam-security-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
| 2006-09-07 15:09:24,973 ERROR [STDERR] Sep 7, 2006 3:09:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
| 2006-09-07 15:09:24,988 ERROR [STDERR] Sep 7, 2006 3:09:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp52394seam-security.ear-contents/seam-security-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
| 2006-09-07 15:09:24,988 ERROR [STDERR] Sep 7, 2006 3:09:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/lib/jboss-seam-ui.jar!/META-INF/seam.taglib.xml
| 2006-09-07 15:09:25,004 ERROR [STDERR] Sep 7, 2006 3:09:25 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp52394seam-security.ear-contents/seam-security-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
| 2006-09-07 15:09:25,004 ERROR [STDERR] Sep 7, 2006 3:09:25 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
| 2006-09-07 15:09:25,004 ERROR [STDERR] Sep 7, 2006 3:09:25 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp52394seam-security.ear-contents/seam-security-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
| 2006-09-07 15:09:25,035 ERROR [STDERR] Sep 7, 2006 3:09:25 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
| 2006-09-07 15:09:25,035 ERROR [STDERR] Sep 7, 2006 3:09:25 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp52394seam-security.ear-contents/seam-security-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
| 2006-09-07 15:09:25,301 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
| 2006-09-07 15:09:25,301 DEBUG [org.jboss.seam.Component] instantiating Seam component: user
| 2006-09-07 15:09:25,301 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to Seam component
| 2006-09-07 15:09:25,317 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
| 2006-09-07 15:09:25,317 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
| 2006-09-07 15:09:25,317 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false
| 2006-09-07 15:09:25,317 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false
| 2006-09-07 15:09:25,317 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource
| 2006-09-07 15:09:25,317 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true
| 2006-09-07 15:09:25,332 DEBUG [org.jboss.seam.core.Manager] Discarding conversation state: 1
| 2006-09-07 15:09:25,332 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing page context
| 2006-09-07 15:09:25,332 DEBUG [org.jboss.seam.core.Manager] Discarding conversation state: 1
| 2006-09-07 15:09:25,332 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing page context
| 2006-09-07 15:09:25,379 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] after phase: RENDER_RESPONSE(6)
| 2006-09-07 15:09:25,379 DEBUG [org.jboss.seam.contexts.Lifecycle] After render response, destroying contexts
| 2006-09-07 15:09:25,379 DEBUG [org.jboss.seam.ejb.SeamInterceptor] intercepted: org.jboss.seam.security.authenticator.endRequest
| 2006-09-07 15:09:25,379 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 2006-09-07 15:09:25,379 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context
| 2006-09-07 15:09:25,379 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.manager
| 2006-09-07 15:09:25,379 DEBUG [org.jboss.seam.contexts.Contexts] destroying: class org.apache.myfaces.shared_tomahawk.renderkit.html.util.JavascriptUtils.OLD_VIEW_ID
| 2006-09-07 15:09:25,379 DEBUG [org.jboss.seam.contexts.Contexts] destroying: facelets.Encoding
| 2006-09-07 15:09:25,379 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW
| 2006-09-07 15:09:25,379 DEBUG [org.jboss.seam.contexts.Contexts] destroying: com.sun.facelets.legacy.ELCONTEXT
| 2006-09-07 15:09:25,379 DEBUG [org.jboss.seam.contexts.Contexts] destroying: authenticatorAction
| 2006-09-07 15:09:25,379 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context
| 2006-09-07 15:09:25,379 DEBUG [org.jboss.seam.contexts.Contexts] destroying: user
| 2006-09-07 15:09:25,379 DEBUG [org.jboss.seam.contexts.Contexts] destroying: facesMessages
| 2006-09-07 15:09:25,379 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation context
| 2006-09-07 15:09:25,379 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End web request
| 2006-09-07 15:09:25,395 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
| 2006-09-07 15:09:25,395 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
| 2006-09-07 15:09:25,395 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false
| 2006-09-07 15:09:25,395 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false
| 2006-09-07 15:09:25,395 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource
| 2006-09-07 15:09:25,395 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true
| 2006-09-07 15:09:25,395 DEBUG [javax.faces.webapp.FacesServlet] service end
| 2006-09-07 15:09:29,285 DEBUG [javax.faces.webapp.FacesServlet] service begin
| 2006-09-07 15:09:29,285 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] before phase: RESTORE_VIEW(1)
| 2006-09-07 15:09:29,285 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
| 2006-09-07 15:09:29,285 DEBUG [org.jboss.seam.ejb.SeamInterceptor] intercepted: org.jboss.seam.security.authenticator.beginRequest
| 2006-09-07 15:09:29,285 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager
| 2006-09-07 15:09:29,285 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.manager
| 2006-09-07 15:09:29,285 DEBUG [org.jboss.seam.Component] seam component not found: org.jboss.seam.security.authentication
| 2006-09-07 15:09:29,285 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 2006-09-07 15:09:29,317 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] after phase: RESTORE_VIEW(1)
| 2006-09-07 15:09:29,317 DEBUG [org.jboss.seam.core.Manager] No stored conversation
| 2006-09-07 15:09:29,317 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(2)
| 2006-09-07 15:09:29,317 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] before phase: APPLY_REQUEST_VALUES(2)
| 2006-09-07 15:09:29,317 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] after phase: APPLY_REQUEST_VALUES(2)
| 2006-09-07 15:09:29,317 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] before phase: PROCESS_VALIDATIONS(3)
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.Component] instantiating Seam component: user
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to Seam component
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.contexts.Contexts] found in conversation context: user
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to Seam component
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.contexts.Contexts] found in conversation context: user
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to Seam component
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.contexts.Contexts] found in conversation context: user
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to Seam component
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] after phase: PROCESS_VALIDATIONS(3)
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] before phase: UPDATE_MODEL_VALUES(4)
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.contexts.Contexts] found in conversation context: user
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to Seam component
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.contexts.Contexts] found in conversation context: user
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to Seam component
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] after phase: UPDATE_MODEL_VALUES(4)
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] before phase: INVOKE_APPLICATION(5)
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: login
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.Component] instantiating Seam component: login
| 2006-09-07 15:09:29,332 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 2006-09-07 15:09:29,363 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to Seam component
| 2006-09-07 15:09:29,363 DEBUG [org.jboss.seam.ejb.SeamInterceptor] intercepted: login.login
| 2006-09-07 15:09:29,410 DEBUG [org.jboss.seam.Component] initializing new instance of: login
| 2006-09-07 15:09:29,410 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] after phase: INVOKE_APPLICATION(5)
| 2006-09-07 15:09:29,410 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 2006-09-07 15:09:29,410 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-security].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
| javax.faces.FacesException: Error calling action method of component with id _id2:_id16
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
| at javax.faces.component.UICommand.broadcast(UICommand.java:106)
| at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
| at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.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:595)
| Caused by: javax.faces.el.EvaluationException: /home.xhtml @42,77 action="#{login.login}": java.lang.RuntimeException: java.lang.NullPointerException
| at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73)
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
| ... 27 more
| Caused by: java.lang.RuntimeException: java.lang.NullPointerException
| at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postConstruct(LifecycleInterceptorHandler.java:109)
| at org.jboss.ejb3.EJBContainer.invokePostConstruct(EJBContainer.java:582)
| at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:108)
| at org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:48)
| at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181)
| at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
| at $Proxy79.login(Unknown Source)
| at org.jboss.seam.example.security.LoginLocal$$FastClassByCGLIB$$1cba991d.invoke(<generated>)
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.jboss.seam.interceptors.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
| at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:54)
| at org.jboss.seam.ejb.SeamInterceptor.invokeInContexts(SeamInterceptor.java:170)
| at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:143)
| at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:130)
| at org.jboss.seam.interceptors.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:44)
| at org.jboss.seam.interceptors.ClientSideInterceptor.intercept(ClientSideInterceptor.java:38)
| at org.jboss.seam.example.security.LoginLocal$$EnhancerByCGLIB$$a53eaafd.login(<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 com.sun.el.parser.AstValue.invoke(AstValue.java:151)
| at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
| at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
| at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
| ... 28 more
| Caused by: java.lang.NullPointerException
| at org.jboss.seam.ejb.SeamInterceptor.invokeInContexts(SeamInterceptor.java:168)
| at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:143)
| at org.jboss.seam.ejb.SeamInterceptor.invokeAndHandle(SeamInterceptor.java:115)
| at org.jboss.seam.ejb.SeamInterceptor.postConstruct(SeamInterceptor.java:88)
| 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.ejb3.interceptor.LifecycleInvocationContextImpl.proceed(LifecycleInvocationContextImpl.java:131)
| at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postConstruct(LifecycleInterceptorHandler.java:105)
| ... 60 more
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970205#3970205
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970205
19 years, 7 months
[JBoss Seam] - Re: Problem: Custom validate methods in EJBs crash
by petemuir
I see where you are coming from with validating within the application but IMO the disadvantages are greater
* Your entities get updated with invalid values (less of an issue with manual flushing as Gavin says)
| * That's what @Invalid did and IIRC it didn't work brilliantly
| * As you say, harder to attach errors to the correct component on the page (the ease with which this is possible in JSF is, IMO, one of its real strengths)
In JSF 1.2 there is the findComponent method available; using this it could be possible to get another component, retrieve it's value and use it. It wouldn't really fit with the validator annotations but could be good for custom validators. I will stew on it.
The only way I found around the NotNull/required problem is to have a ModelValidator as a component and, if the notnull annotation is on it's parent's value, automatically sets required=true on it's parent; I did have something like this working in my version of ModelValidator but then dumped it as I felt that (in my application) whether a field was required or not was up to the view not the Entity (e.g. a customer is required to enter more details than a account manager when setting up a new account)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970202#3970202
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970202
19 years, 7 months
[JBoss Seam] - Re: Error RequiredException during finalize on @In component
by gverner
It looks like it is trying to inject during finalize.
Here is the error logged when running the Seam hibernate example. It all starts with the Finalizer and also the timing of the error is delayed.
15:33:50,345 ERROR [STDERR] java.lang.IllegalArgumentException: SessionFactory not found
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.core.ManagedHibernateSession.create(ManagedHibernateSession.java:61)
| 15:33:50,345 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 15:33:50,345 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 15:33:50,345 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 15:33:50,345 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:82)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1479)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.Component.callCreateMethod(Component.java:1456)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.Component.newInstance(Component.java:1446)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1350)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1324)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.Component.getInstanceToInject(Component.java:1516)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.Component.injectFields(Component.java:1103)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.Component.inject(Component.java:846)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:36)
| 15:33:50,345 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 15:33:50,345 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 15:33:50,345 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 15:33:50,345 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:58)
| 15:33:50,345 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 15:33:50,345 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 15:33:50,345 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 15:33:50,345 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:58)
| 15:33:50,345 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 15:33:50,345 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 15:33:50,345 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 15:33:50,345 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
| 15:33:50,345 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
| 15:33:50,360 ERROR [STDERR] at org.jboss.seam.interceptors.TransactionInterceptor.doInTransactionIfNecessary(TransactionInterceptor.java:34)
| 15:33:50,360 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 15:33:50,360 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 15:33:50,360 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 15:33:50,360 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 15:33:50,360 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
| 15:33:50,360 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
| 15:33:50,360 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
| 15:33:50,360 ERROR [STDERR] at org.jboss.seam.interceptors.ConversationalInterceptor.checkConversationForConversationalBean(ConversationalInterceptor.java:80)
| 15:33:50,360 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 15:33:50,360 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 15:33:50,360 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 15:33:50,360 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 15:33:50,360 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
| 15:33:50,360 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
| 15:33:50,360 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
| 15:33:50,360 ERROR [STDERR] at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
| 15:33:50,360 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 15:33:50,360 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 15:33:50,360 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 15:33:50,360 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 15:33:50,360 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
| 15:33:50,360 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
| 15:33:50,360 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
| 15:33:50,360 ERROR [STDERR] at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:44)
| 15:33:50,360 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 15:33:50,360 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 15:33:50,376 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 15:33:50,376 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.invokeInContexts(SeamInterceptor.java:170)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:153)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:130)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:58)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:46)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.example.hibernate.RegisterAction$$EnhancerByCGLIB$$2188ed5a.finalize(<generated>)
| 15:33:50,376 ERROR [STDERR] at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
| 15:33:50,376 ERROR [STDERR] at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
| 15:33:50,376 ERROR [STDERR] at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
| 15:33:50,376 ERROR [STDERR] at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
| 15:33:50,376 ERROR [STDERR] Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory]
| 15:33:50,376 ERROR [STDERR] at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
| 15:33:50,376 ERROR [STDERR] at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
| 15:33:50,376 ERROR [STDERR] at javax.naming.InitialContext.init(InitialContext.java:223)
| 15:33:50,376 ERROR [STDERR] at javax.naming.InitialContext.<init>(InitialContext.java:197)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.util.Naming.getInitialContext(Naming.java:35)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.util.Naming.getInitialContext(Naming.java:47)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.core.ManagedHibernateSession.getSessionFactory(ManagedHibernateSession.java:97)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.core.ManagedHibernateSession.create(ManagedHibernateSession.java:57)
| 15:33:50,376 ERROR [STDERR] ... 80 more
| 15:33:50,376 ERROR [STDERR] Caused by: java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory
| 15:33:50,376 ERROR [STDERR] at java.lang.Class.forName0(Native Method)
| 15:33:50,376 ERROR [STDERR] at java.lang.Class.forName(Class.java:242)
| 15:33:50,376 ERROR [STDERR] at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
| 15:33:50,376 ERROR [STDERR] at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
| 15:33:50,376 ERROR [STDERR] ... 87 more
| 15:33:50,376 ERROR [STDERR] java.lang.NullPointerException
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.core.ManagedHibernateSession.destroy(ManagedHibernateSession.java:91)
| 15:33:50,376 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 15:33:50,376 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 15:33:50,376 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 15:33:50,376 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:82)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1476)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.Component.callDestroyMethod(Component.java:1464)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.java:341)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.contexts.Lifecycle.endCall(Lifecycle.java:84)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:157)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:130)
| 15:33:50,376 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:58)
| 15:33:50,392 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:46)
| 15:33:50,392 ERROR [STDERR] at org.jboss.seam.example.hibernate.RegisterAction$$EnhancerByCGLIB$$2188ed5a.finalize(<generated>)
| 15:33:50,392 ERROR [STDERR] at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
| 15:33:50,392 ERROR [STDERR] at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
| 15:33:50,392 ERROR [STDERR] at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
| 15:33:50,392 ERROR [STDERR] at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
| 15:33:50,392 WARN [Contexts] Could not destroy component: bookingDatabase
| java.lang.NullPointerException
| at org.jboss.seam.core.ManagedHibernateSession.destroy(ManagedHibernateSession.java:91)
| 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:17)
| at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:82)
| at org.jboss.seam.Component.callComponentMethod(Component.java:1476)
| at org.jboss.seam.Component.callDestroyMethod(Component.java:1464)
| at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189)
| at org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.java:341)
| at org.jboss.seam.contexts.Lifecycle.endCall(Lifecycle.java:84)
| at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:157)
| at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:130)
| at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:58)
| at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:46)
| at org.jboss.seam.example.hibernate.RegisterAction$$EnhancerByCGLIB$$2188ed5a.finalize(<generated>)
| at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
| at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
| at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
| at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970200#3970200
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970200
19 years, 7 months