1 Reply Latest reply: Jun 1, 2010 11:21 AM by 807573 RSS

    Apache-SSO Integration Issue

    807573
      We are currently implemention Single Sign On for our application. This implementation is using approach of 2 Sun AIM setup, 1st to authenticate intranet, and 2nd to authenticate internet access.

      We are facing issue while implementing multiple SSO with JBOSS. Here is the details to scenario;

      1. In the 1st setup of SSO, we have used Apache Tomcat to HOST SSO, and JBOSS is integrated with this SSO using tomcat authetication volve. This is working fine.
      2. In the 2nd setup SSO, we have Apache HTTP server with Sun Policy Web Agent protecting resource hosted on JBOSS by authenticating web users. In this scenario, once the users are authenticated, the request is forwarded to Portal. But portal is not able to identify SSOKTokenID in session.

      Ideally Portal needs to be configured in such a way that if request are directly hit to portal then it needs to authenticate users from 1st SSO setup. And for web users, requests are forwarded to portal from apache post authication from 2nd SSO setup, then Portal shall identify token to mark the same as valid user sessions.

      Any help in this regard is appreciated.

      Ramendra
        • 1. Re: Apache-SSO Integration Issue
          807573
          while doing this I am getting this message in catalina logs

          May 31, 2010 10:09:58 AM org.apache.catalina.startup.HostConfig deployDirectory
          INFO: Deploying web application directory examples
          May 31, 2010 10:10:01 AM org.apache.catalina.startup.HostConfig deployDirectory
          INFO: Deploying web application directory ROOT
          May 31, 2010 10:10:02 AM org.apache.catalina.startup.HostConfig deployWAR
          INFO: Deploying web application archive amserver.war
          May 31, 2010 10:10:50 AM org.apache.coyote.http11.Http11Protocol start
          INFO: Starting Coyote HTTP/1.1 on http-8082
          May 31, 2010 10:10:50 AM org.apache.catalina.startup.Catalina start
          INFO: Server startup in 49286 ms
          May 31, 2010 10:18:47 AM org.apache.catalina.core.StandardWrapperValve invoke
          SEVERE: Servlet.service() for servlet pllservice threw exception
          java.lang.NullPointerException
               at com.iplanet.services.naming.service.NamingService.processRequest(NamingService.java:361)
               at com.iplanet.services.naming.service.NamingService.process(NamingService.java:351)
               at com.iplanet.services.comm.server.PLLRequestServlet.handleRequest(PLLRequestServlet.java:196)
               at com.iplanet.services.comm.server.PLLRequestServlet.doPost(PLLRequestServlet.java:148)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               at com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:86)
               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:233)
               at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
               at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
               at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
               at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
               at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
               at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
               at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
               at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
               at java.lang.Thread.run(Unknown Source)
          May 31, 2010 10:23:51 AM org.apache.coyote.http11.Http11Protocol pause
          INFO: Pausing Coyote HTTP/1.1 on http-8082
          May 31, 2010 10:23:52 AM org.apache.catalina.core.StandardService stop
          INFO: Stopping service Catalina
          May 31, 2010 10:24:25 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
          SEVERE: A web application appears to have started a thread named [LDAPConnThread-3 ldap://ldapweb.mydomain.com:6389] but has failed to stop it. This is very likely to create a memory leak.
          May 31, 2010 10:24:25 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
          SEVERE: A web application appears to have started a thread named [LDAPConnThread-4 ldap://ldapweb.mydomain.com:6389] but has failed to stop it. This is very likely to create a memory leak.
          May 31, 2010 10:24:25 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
          SEVERE: A web application appears to have started a thread named [amStats] but has failed to stop it. This is very likely to create a memory leak.
          May 31, 2010 10:24:25 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
          SEVERE: A web application appears to have started a thread named [amSession[0]] but has failed to stop it. This is very likely to create a memory leak.
          May 31, 2010 10:24:25 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
          SEVERE: A web application appears to have started a thread named [amSession[1]] but has failed to stop it. This is very likely to create a memory leak.
          May 31, 2010 10:24:25 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads




          If anybody has any idea please help...