-
15. Re: Invitation to try new Seam authentication features
shane.bryzak Aug 23, 2006 8:08 PM (in response to shane.bryzak)"msteiner" wrote:
Ok I know where is the problem.
To replicate exception take security example from cvs, set property debug of org.jboss.seam.core.init = true in components.xml like this:
<property name="debug">true</property>
add seam-debug.jar to web-inf/lib in war.
When I turned off debug in my application and it started working fine.
I've made some changes to allow it to now work with debug mode turned on. -
16. Re: Invitation to try new Seam authentication features
smokingapipe Aug 25, 2006 7:39 PM (in response to shane.bryzak)I would like to try this, but it seems complicated to set up and I didn't want to run CVS code in production, so I'll wait. I ended up using a plain old Servlet Filter, like I have always done. I would prefer to use more Seam-oriented methods, including being able to restrict which user classes can access which methods in other objects, but for now, a filter is it.
I also took a long look at JAAS but it seemed like a bad idea. It looked like a lot of work just to get a login page working, it doesn't work with my entities, and it doesn't install my entities into the Session, which is where they need to be.
It is unfortunate that Java has such an advanced security system, but I can't use it to do stupid-simple Web application authentication: "Check the password. If the password is correct put the user object into the session and redirect to a welcome page." That should NOT be something that requires five XML files and a complicated configuration. -
17. Re: Invitation to try new Seam authentication features
msteiner Sep 4, 2006 5:00 AM (in response to shane.bryzak)"sbryzak2" wrote:
I've made some changes to allow it to now work with debug mode turned on.
Still doesnt work. Now i get NPE:10:58:40,383 ERROR [ExceptionInterceptor] redirecting to debug page java.lang.NullPointerException at org.jboss.seam.security.adapter.jboss.JBossAuthenticationAdapter.endRequest(JBossAuthenticationAdapter.java:43) at org.jboss.seam.security.authenticator.Authenticator.endRequest(Authenticator.java:92) at org.jboss.seam.security.authenticator.ProviderAuthenticator$$EnhancerByCGLIB$$a5851025.CGLIB$endRequest$4(<generated>) at org.jboss.seam.security.authenticator.ProviderAuthenticator$$EnhancerByCGLIB$$a5851025$$FastClassByCGLIB$$c5a66c51.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167) at org.jboss.seam.interceptors.JavaBeanInterceptor$1.proceed(JavaBeanInterceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:54) at org.jboss.seam.interceptors.ValidationInterceptor.validateTargetComponent(ValidationInterceptor.java:64) at sun.reflect.GeneratedMethodAccessor176.invoke(Unknown Source) 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.interceptors.Interceptor.aroundInvoke(Interceptor.java:125) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61) at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21) at sun.reflect.GeneratedMethodAccessor175.invoke(Unknown Source) 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.interceptors.Interceptor.aroundInvoke(Interceptor.java:125) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61) at org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:30) at sun.reflect.GeneratedMethodAccessor174.invoke(Unknown Source) 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.interceptors.Interceptor.aroundInvoke(Interceptor.java:125) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61) at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:39) at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source) 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.interceptors.Interceptor.aroundInvoke(Interceptor.java:125) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61) at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:58) at sun.reflect.GeneratedMethodAccessor172.invoke(Unknown Source) 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.interceptors.Interceptor.aroundInvoke(Interceptor.java:125) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61) at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:58) at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown Source) 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.interceptors.Interceptor.aroundInvoke(Interceptor.java:125) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61) at org.jboss.seam.interceptors.TransactionInterceptor.doInTransactionIfNecessary(TransactionInterceptor.java:34) at sun.reflect.GeneratedMethodAccessor170.invoke(Unknown Source) 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.interceptors.Interceptor.aroundInvoke(Interceptor.java:125) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61) at org.jboss.seam.interceptors.ConversationalInterceptor.checkConversationForConversationalBean(ConversationalInterceptor.java:80) at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source) 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.interceptors.Interceptor.aroundInvoke(Interceptor.java:125) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61) at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) at sun.reflect.GeneratedMethodAccessor168.invoke(Unknown Source) 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.interceptors.Interceptor.aroundInvoke(Interceptor.java:125) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61) at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:44) at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source) 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.interceptors.Interceptor.aroundInvoke(Interceptor.java:125) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61) 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.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:58) at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:46) at org.jboss.seam.security.authenticator.ProviderAuthenticator$$EnhancerByCGLIB$$a5851025.endRequest(<generated>) at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:248) at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:112) at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.security.filter.SeamSecurityFilter.doFilter(SeamSecurityFilter.java:119) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamCharacterEncodingFilter.doFilter(SeamCharacterEncodingFilter.java:41) 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)
-
18. Re: Invitation to try new Seam authentication features
msteiner Sep 4, 2006 5:13 AM (in response to shane.bryzak)How to use Seam Security Filter ? Is it ready ?
-
19. Re: Invitation to try new Seam authentication features
msteiner Sep 4, 2006 5:30 AM (in response to shane.bryzak)Seam security does strange things with transactions when is turned on 'Transaction failed' message is rendered and when I try write to db I get exception:
(...) Caused by: org.jboss.util.NestedSQLException: Transaction is not active: (...)
-
20. Re: Invitation to try new Seam authentication features
shane.bryzak Sep 4, 2006 5:46 PM (in response to shane.bryzak)"msteiner" wrote:
Seam security does strange things with transactions when is turned on 'Transaction failed' message is rendered and when I try write to db I get exception:(...) Caused by: org.jboss.util.NestedSQLException: Transaction is not active: (...)
The security API doesn't do anything specifically with transactions. Is this problem happening in your AuthenticationProvider?
In response to your other question, no its not ready for any type of production use yet. I was hoping to get more feedback, however I'm currently thinking that I will be redesigning it using Seam interceptors and doing away with container integration. This should simplify the configuration for most people, make it more portable and also allow security to be implemented for JAVA_BEAN components. -
21. Re: Invitation to try new Seam authentication features
msteiner Sep 5, 2006 4:45 AM (in response to shane.bryzak)"sbryzak2" wrote:
The security API doesn't do anything specifically with transactions. Is this problem happening in your AuthenticationProvider?
No.
I think I know where is the problem. It may be connected with my problems with seam security when debug is turned on.
One of security components throws:org.jboss.seam.security.AuthenticationException: No Authentication could be created, make sure the Component exists in session scope
Later this exception is swallowed but first is catched by RollbackInterceptorcatch (Exception e) { //Any exception that propagates out of a JavaBean component //causes a transaction rollback if ( component.getType()==ComponentType.JAVA_BEAN ) { try { Transactions.setUserTransactionRollbackOnly(); } catch (Exception te) {} //swallow } throw e; } }
So transtaction is marked to rollback this makes SeamPhaseListener to create message: Transaction failed
here is code from SeamPhaseListenerelse if ( event.getPhaseId() == INVOKE_APPLICATION ) { try { if ( Transactions.isTransactionAvailableAndMarkedRollback() ) { FacesMessages.instance().addFromResourceBundle( FacesMessage.SEVERITY_WARN, "org.jboss.seam.TransactionFailed", "Transaction failed" ); } } catch (Exception e) {} //swallow silently, not important }
Set breakpoint in RollbackInterceptor at line 63Transactions.setUserTransactionRollbackOnly();
And open page http://localhost:8080/seam-security/home.seam
During one request RollbackInterceptor is called two times: one with AuthenticationException and one with NullPointerException. Is this ok ? -
22. Re: Invitation to try new Seam authentication features
dbatcn Sep 5, 2006 8:10 PM (in response to shane.bryzak)I just noticed the new Seam security stuff which at first glance seems like exactly what I'm looking for right now. Is this scheduled for Seam 1.1.0.GA? Is there an ETA for this? I'm champing at the bit for this but don't think I'm really ready to work with a CVS or nightly build...
As always, RTFM pointers to something I missed while searching humbly accepted. -
23. Re: Invitation to try new Seam authentication features
shane.bryzak Sep 6, 2006 7:16 AM (in response to shane.bryzak)"msteiner" wrote:
During one request RollbackInterceptor is called two times: one with AuthenticationException and one with NullPointerException. Is this ok ?
I think its ok, although when I have some more time I'll try to take a look. In any case, the more I think about it, the more certain I am that this stuff will be re-architected as soon as I get a chance. -
24. Re: Invitation to try new Seam authentication features
shane.bryzak Sep 6, 2006 7:19 AM (in response to shane.bryzak)"dbatcn" wrote:
I just noticed the new Seam security stuff which at first glance seems like exactly what I'm looking for right now. Is this scheduled for Seam 1.1.0.GA? Is there an ETA for this? I'm champing at the bit for this but don't think I'm really ready to work with a CVS or nightly build...
As always, RTFM pointers to something I missed while searching humbly accepted.
At this stage it's not scheduled for any particular release, it's more of a work-in-progress. I'm totally snowed under with other work for the next few weeks, but after that I'm hoping that I'll be able to concentrate purely on getting the Seam security API complete. -
25. Re: Invitation to try new Seam authentication features
bpatters Sep 7, 2006 4:10 PM (in response to shane.bryzak)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
-
26. Re: Invitation to try new Seam authentication features
bpatters Sep 7, 2006 4:30 PM (in response to shane.bryzak)nevermind, I found the problem and it was a conflicting jar I'd copied into the default/lib directory.
-
27. Re: Invitation to try new Seam authentication features
hemanthn Sep 7, 2006 5:16 PM (in response to shane.bryzak)I have downloaded the latest build and configured the seam authentication as per the instructions given in this form. When I try to deploy the project is gives me the below error. Please let me know how to resolve the issues.
java.lang.IllegalArgumentException: no property for configuration setting: entityManager.providers
at org.jboss.seam.Component.initInitializers(Component.java:311)
at org.jboss.seam.Component.(Component.java:209)
at org.jboss.seam.Component.(Component.java:159)
at org.jboss.seam.Component.(Component.java:154)
at org.jboss.seam.init.Initialization.addComponent(Initialization.java:376)
at org.jboss.seam.init.Initialization.addComponents(Initialization.java:334)
at org.jboss.seam.init.Initialization.init(Initialization.java:195)
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:32)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy39.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy40.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
Caused by: java.beans.IntrospectionException: Method not found: isProviders
at java.beans.PropertyDescriptor.(Unknown Source)
at java.beans.PropertyDescriptor.(Unknown Source)
at org.jboss.seam.Component.initInitializers(Component.java:307) -
28. Re: Invitation to try new Seam authentication features
hemanthn Sep 8, 2006 10:49 AM (in response to shane.bryzak)"hemanthn" wrote:
I have downloaded the latest build and configured the seam authentication as per the instructions given in this forum. When I try to deploy the project it gives me the below error.
Entries in the components.xml file :
<components>
<component name="org.jboss.seam.core.init">
<property name="myFacesLifecycleBug">@myFacesLifecycleBug@</property>
<property name="jndiPattern">@jndiPattern@</property>
</component>
<component class="org.jboss.seam.core.Ejb"
installed="@embeddedEjb@"/>
<component name="entityManager" class="org.jboss.seam.core.ManagedPersistenceContext">
<property name="persistenceUnitJndiName">java:/securityEntityManagerFactory</property>
</component>
<component class="org.jboss.seam.security.authenticator.ProviderAuthenticator">
<property name="providers">#{authenticatorAction}</property>
<property name="adapters">org.jboss.seam.security.adapter.jboss.JBossAuthenticationAdapter</property>
</component>
</components>
java.lang.IllegalArgumentException: no property for configuration setting: entityManager.providers
at org.jboss.seam.Component.initInitializers(Component.java:311)
at org.jboss.seam.Component.<init>(Component.java:209)
at org.jboss.seam.Component.<init>(Component.java:159)
at org.jboss.seam.Component.<init>(Component.java:154)
at org.jboss.seam.init.Initialization.addComponent(Initialization.java:376)
at org.jboss.seam.init.Initialization.addComponents(Initialization.java:334)
at org.jboss.seam.init.Initialization.init(Initialization.java:195)
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:32)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy39.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy40.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
Caused by: java.beans.IntrospectionException: Method not found: isProviders
at java.beans.PropertyDescriptor.<init>(Unknown Source)
at java.beans.PropertyDescriptor.<init>(Unknown Source)
at org.jboss.seam.Component.initInitializers(Component.java:307) -
29. Re: Invitation to try new Seam authentication features
hemanthn Sep 8, 2006 10:53 AM (in response to shane.bryzak)"hemanthn" wrote:
I have downloaded the latest build and configured the seam authentication as per the instructions given in this form. When I try to deploy the project is gives me the below error. Please let me know how to resolve the issues.
java.lang.IllegalArgumentException: no property for configuration setting: entityManager.providers
at org.jboss.seam.Component.initInitializers(Component.java:311)
at org.jboss.seam.Component.<init>(Component.java:209)
at org.jboss.seam.Component.<init>(Component.java:159)
at org.jboss.seam.Component.<init>(Component.java:154)
at org.jboss.seam.init.Initialization.addComponent(Initialization.java:376)
at org.jboss.seam.init.Initialization.addComponents(Initialization.java:334)
at org.jboss.seam.init.Initialization.init(Initialization.java:195)
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:32)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy39.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy40.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
Caused by: java.beans.IntrospectionException: Method not found: isProviders
at java.beans.PropertyDescriptor.<init>(Unknown Source)
at java.beans.PropertyDescriptor.<init>(Unknown Source)
at org.jboss.seam.Component.initInitializers(Component.java:307)