Another bit of data on this issue....

  | 10:37:11,052 INFO  [CASFilter] EvergreenSSOPrincipal{userid=A42...}
  | 10:37:11,145 INFO  [Pages] reading pages.xml
  | 10:37:12,302 ERROR [STDERR] May 2, 2006 10:37:12 AM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp27602userlinks-exp.war/WEB-INF/lib/jsf-facelets-1.1.5M.jar!/META-INF/jsf-ui.tagl
  | 10:37:12,333 ERROR [STDERR] May 2, 2006 10:37:12 AM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp27602userlinks-exp.war/WEB-INF/lib/jsf-facelets-1.1.5M.jar!/META-INF/jsf-core.ta
  | 10:37:12,348 ERROR [STDERR] May 2, 2006 10:37:12 AM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp27602userlinks-exp.war/WEB-INF/lib/jsf-facelets-1.1.5M.jar!/META-INF/jstl-fn.tag
  | 10:37:12,380 ERROR [STDERR] May 2, 2006 10:37:12 AM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp27602userlinks-exp.war/WEB-INF/lib/jsf-facelets-1.1.5M.jar!/META-INF/jstl-core.t
  | 10:37:12,395 ERROR [STDERR] May 2, 2006 10:37:12 AM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp27602userlinks-exp.war/WEB-INF/lib/jsf-facelets-1.1.5M.jar!/META-INF/jsf-html.ta
  | 10:37:42,709 INFO  [UserLinkActions] new UserLinkActions()
  | 10:37:42,709 ERROR [STDERR] java.lang.Exception
  | 10:37:42,709 ERROR [STDERR]     at 
com.evergreen.userlinks.biz.UserLinkActions.<init>(UserLinkActions.java:57)
  | 10:37:42,709 ERROR [STDERR]     at 
com.evergreen.userlinks.biz.UserLinkActions$$EnhancerByCGLIB$$58c91f85.<init>(<generated>)
  | 10:37:42,709 ERROR [STDERR]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | 10:37:42,709 ERROR [STDERR]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  | 10:37:42,709 ERROR [STDERR]     at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  | 10:37:42,709 ERROR [STDERR]     at 
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  | 10:37:42,709 ERROR [STDERR]     at 
java.lang.Class.newInstance0(Class.java:350)
  | 10:37:42,709 ERROR [STDERR]     at 
java.lang.Class.newInstance(Class.java:303)
  | 10:37:42,709 ERROR [STDERR]     at 
org.jboss.seam.Component.instantiate(Component.java:640)
  | 10:37:42,709 ERROR [STDERR]     at 
org.jboss.seam.Component.newInstance(Component.java:604)
  | 10:37:42,709 ERROR [STDERR]     at 
org.jboss.seam.Component.newInstance(Component.java:1117)
  | 10:37:42,709 ERROR [STDERR]     at 
org.jboss.seam.Component.getInstance(Component.java:1068)
  | 10:37:42,709 ERROR [STDERR]     at 
org.jboss.seam.Component.getInstance(Component.java:1051)
  | 10:37:42,709 ERROR [STDERR]     at 
org.jboss.seam.Component.getInstanceFromFactory(Component.java:1101)
  | 10:37:42,709 ERROR [STDERR]     at 
org.jboss.seam.Component.getInstance(Component.java:1065)
  | 10:37:42,709 ERROR [STDERR]     at 
org.jboss.seam.Component.getInstance(Component.java:1051)
  | 10:37:42,709 ERROR [STDERR]     at 
org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
  | 10:37:42,709 ERROR [STDERR]     at 
com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
  | 10:37:42,709 ERROR [STDERR]     at 
com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
  | 10:37:42,709 ERROR [STDERR]     at 
com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
  | 10:37:42,709 ERROR [STDERR]     at 
com.sun.facelets.el.ELText$ELTextVariable.writeText(ELText.java:184)
  | 10:37:42,709 ERROR [STDERR]     at 
com.sun.facelets.el.ELText$ELTextComposite.writeText(ELText.java:108)
  | 10:37:42,709 ERROR [STDERR]     at 
com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:45)
  | 10:37:42,709 ERROR [STDERR]     at 
com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
  | 10:37:42,709 ERROR [STDERR]     at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
  | 10:37:42,709 ERROR [STDERR]     at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
  | 10:37:42,709 ERROR [STDERR]     at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554)
  | 10:37:42,709 ERROR [STDERR]     at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
  | 10:37:42,709 ERROR [STDERR]     at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
  | 10:37:42,709 ERROR [STDERR]     at 
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
  | 10:37:42,709 ERROR [STDERR]     at 
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 10:37:42,709 ERROR [STDERR]     at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 10:37:42,709 ERROR [STDERR]     at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 10:37:42,709 ERROR [STDERR]     at 
edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:441)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 10:37:42,709 ERROR [STDERR]     at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | 10:37:42,709 ERROR [STDERR]     at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
  | 10:37:42,709 ERROR [STDERR]     at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
  | 10:37:42,709 ERROR [STDERR]     at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | 10:37:42,709 ERROR [STDERR]     at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | 10:37:42,709 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:595)
  | 10:37:42,724 INFO  [UserLinkActions] @Create -> 
UserLinkActions.createComponent()
  | 10:37:42,724 INFO  [UserLinkActions] Object with key 
'com.evergreen.sso.SSOData' is not available in SessionContext.
  | 10:37:42,724 INFO  [UserLinkActions] Context Components:
  | 10:37:42,724 INFO  [UserLinkActions] Context.isActive -> true
  | 10:37:42,724 INFO  [UserLinkActions] Context.type -> SESSION
  | 10:37:42,724 INFO  [UserLinkActions] Name = 'localeSelector', Value = 
[EMAIL PROTECTED]
  | 10:37:42,724 INFO  [UserLinkActions] getUserLinks() - (in) user = null
  | 10:37:42,724 INFO  [UserLinkActions] getUserLinks() - (in) ssoPrincipal = 
null
  | 10:37:42,724 INFO  [UserLinkActions] getUserLinks() - (in) appssoDB = null
  | 10:37:42,724 INFO  [UserLinkActions] getUserLinks() - (in) sessionContext = 
[EMAIL PROTECTED]
  | 10:37:42,724 INFO  [UserLinkActions] getUserLinks() - (in) facesMessages = 
null
  | 

Here is the sequence of what occurs in this log:

1.)  CASFilter Processing of request:
      a.) CASFilter processes all requests ( /* )
      b.) CASFilter injects an object, SSOData into the HttpSession.
      c.) CASFilter wraps the ServletRequest (HttpServletRequestWrapper)

2.) Request Processing proceeds to FacesServlet and Seam
     - I have pages.xml setup with action="#{userLinkActions.getUserLinks}" for 
/main.xhtml

     - Out of curiosity, I added the @Create annotation to a method;  you can 
see that in the log trace above.
        - in my (@Create) createComponent() impl, I get a handle to the 
SessionContext from Contexts and iterate through the attributes of the session. 
 Notice that the only attribute in the session is the localeSelector, but in 
the CASFilter which took a crack at the request first, I added an object to the 
session - So where is this object?

3.)  Furthermore, Seam is still not firing the @In annotations on my component.

 this is a bit frustrating :-(

Thanks,

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940667#3940667

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940667


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to