0 Replies Latest reply on May 6, 2011 7:47 AM by belha

    Configure seam-sp as a service provider in OpenSSO

    belha Newbie

      hello

       

      i m trying to run seam-sp sample application (PicketLink/Seam 2.2.1.CR2/JBoss 5.1.GA/JAVA6 and OpenSSO.).

       

      when i try to add the sp to the circle of trust in Opensso , i have this message " Unable to reach, http://88.191.102.180/seam-sp/MetaDataService.seam"

       

      and this stack trace :

       

      2011-05-06 13:38:26,679 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1) REQUEST URI       =/seam-sp/MetaDataService.seam
      2011-05-06 13:38:26,679 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)           authType=null
      2011-05-06 13:38:26,679 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)  characterEncoding=null
      2011-05-06 13:38:26,679 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)      contentLength=-1
      2011-05-06 13:38:26,679 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)        contentType=null
      2011-05-06 13:38:26,679 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)        contextPath=/seam-sp
      2011-05-06 13:38:26,680 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)             header=user-agent=Java/1.6.0_18
      2011-05-06 13:38:26,680 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)             header=host=88.191.102.180
      2011-05-06 13:38:26,680 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)             header=accept=text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
      2011-05-06 13:38:26,680 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)             header=connection=keep-alive
      2011-05-06 13:38:26,680 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)             locale=fr_FR
      2011-05-06 13:38:26,680 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)             method=GET
      2011-05-06 13:38:26,680 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)           pathInfo=null
      2011-05-06 13:38:26,680 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)           protocol=HTTP/1.1
      2011-05-06 13:38:26,680 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)        queryString=null
      2011-05-06 13:38:26,680 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)         remoteAddr=88.191.102.180
      2011-05-06 13:38:26,680 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)         remoteHost=88.191.102.180
      2011-05-06 13:38:26,680 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)         remoteUser=null
      2011-05-06 13:38:26,680 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1) requestedSessionId=null
      2011-05-06 13:38:26,680 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)             scheme=http
      2011-05-06 13:38:26,680 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)         serverName=88.191.102.180
      2011-05-06 13:38:26,680 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)         serverPort=80
      2011-05-06 13:38:26,680 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)        servletPath=/MetaDataService.seam
      2011-05-06 13:38:26,681 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)           isSecure=false
      2011-05-06 13:38:26,681 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1) ---------------------------------------------------------------
      2011-05-06 13:38:26,686 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp].[Faces Servlet]] (http-88.191.102.180-80-1) "Servlet.service()" pour la servlet Faces Servlet a g�n�r� une exception
      org.jboss.seam.RequiredException: @In attribute requires non-null value: org.picketlink.identity.seam.federation.samlMetaDataProvider.serviceProvider
                at org.jboss.seam.Component.getValueToInject(Component.java:2335)
                at org.jboss.seam.Component.injectAttributes(Component.java:1736)
                at org.jboss.seam.Component.inject(Component.java:1554)
                at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:61)
                at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
                at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
                at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
                at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
                at org.picketlink.identity.seam.federation.SamlMetaDataProvider_$$_javassist_seam_5.writeMetaData(SamlMetaDataProvider_$$_javassist_seam_5.java)
                at org.picketlink.identity.seam.federation.ExternalAuthenticationFilter.doFilter(ExternalAuthenticationFilter.java:210)
                at org.picketlink.identity.seam.federation.ExternalAuthenticationFilter.access$0(ExternalAuthenticationFilter.java:138)
                at org.picketlink.identity.seam.federation.ExternalAuthenticationFilter$1.process(ExternalAuthenticationFilter.java:107)
                at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:53)
                at org.picketlink.identity.seam.federation.ExternalAuthenticationFilter.doFilter(ExternalAuthenticationFilter.java:119)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
                at org.apache.catalina.valves.RequestDumperValve.invoke(RequestDumperValve.java:151)
                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
                at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
                at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                at java.lang.Thread.run(Thread.java:636)
      2011-05-06 13:38:26,687 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1) ---------------------------------------------------------------
      2011-05-06 13:38:26,687 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)           authType=null
      2011-05-06 13:38:26,687 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)      contentLength=-1
      2011-05-06 13:38:26,687 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)        contentType=null
      2011-05-06 13:38:26,687 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)             cookie=JSESSIONID=E6D3ADCDBD26D752F59F6C84099DA5E9; domain=null; path=/seam-sp
      2011-05-06 13:38:26,687 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)             header=X-Powered-By=Servlet 2.5; JBoss-5.0/JBossWeb-2.1
      2011-05-06 13:38:26,687 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)             header=Set-Cookie=JSESSIONID=E6D3ADCDBD26D752F59F6C84099DA5E9; Path=/seam-sp
      2011-05-06 13:38:26,687 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)            message=null
      2011-05-06 13:38:26,687 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)         remoteUser=null
      2011-05-06 13:38:26,687 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1)             status=500
      2011-05-06 13:38:26,687 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-sp]] (http-88.191.102.180-80-1) ===============================================================
      
      

       

      Can anyone help me?

       

      Regards