Can the ClusteredSingleSignOn valve be used in JBoss EAP 6?

Solution Unverified - Updated -

Issue

  • While following the EAP documentation to set up Single Sign-on, receiving an error. Originally example from the document itself was used:
<jboss-web>
    <security-domain>tomcat</security-domain>
    <valve>
        <class-name>org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn</class-name>
        <param>
            <param-name>maxEmptyLife</param-name>
            <param-value>900</param-value>
        </param>
    </valve>
</jboss-web>
  • However, org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn does not exist. So, changed this to org.jboss.as.web.sso.ClusteredSingleSignOn. This seems to be fine except that upon deployment it throws the following ERROR in the stack trace:
10:00:00,327 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.subunit."SimpleEAR_EJB3.ear"."SimpleWar.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."SimpleEAR_EJB3.ear"."SimpleWar.war".INSTALL: JBAS018733: Failed to process phase INSTALL of subdeployment "SimpleWar.war" of deployment "SimpleEAR_EJB3.ear"                                                                   
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]                                                               
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]                                                                            
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]                                                                                     
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_31]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_31]
        at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018096: Error instantiating container component: org.jboss.as.web.sso.ClusteredSingleSignOn
        at org.jboss.as.web.deployment.WarDeploymentProcessor.getInstance(WarDeploymentProcessor.java:392)
        at org.jboss.as.web.deployment.WarDeploymentProcessor.processDeployment(WarDeploymentProcessor.java:213)
        at org.jboss.as.web.deployment.WarDeploymentProcessor.deploy(WarDeploymentProcessor.java:117)
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
        ... 5 more
Caused by: java.lang.InstantiationException: org.jboss.as.web.sso.ClusteredSingleSignOn
        at java.lang.Class.newInstance0(Class.java:340) [rt.jar:1.6.0_31]
        at java.lang.Class.newInstance(Class.java:308) [rt.jar:1.6.0_31]
        at org.jboss.as.web.deployment.WarDeploymentProcessor.getInstance(WarDeploymentProcessor.java:384)
        ... 8 more
  • Click here to see the documentation referred here :

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.