4 Replies Latest reply on Jul 3, 2013 3:20 PM by Mauricio Magnani Jr

    JBoss AS 7 - InstantiationException ClusteredSingleSignOn

    Adriano Schmidt Master

      Pessoal..

       

      Estou com um ambiente com JBoss AS 7 no modo domain... tenho meu master e mais alguns slaves.. está tudo atrás de um apache com mod_cluster

       

      já configurei o cluster.. está tudo ok! porém não está replicando o usuário..

       

      para ajustar isso vou seguir esta documentação:

      https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.1/html/Development_Guide/Use_Single_Sign_On_SSO_In_A_Web_Application.html

       

      Mas ao colocar o valve no jboss-web.xml e fazer deploy acontece o erro abaixo. Alguém sabe o que é?

       

      Obs: Estou usando a classe org.jboss.as.web.sso.ClusteredSingleSignOn e não a classe indicada na documentação. Com a classe dá documentação acontece java.lang.ClassNotFoundException

       

      ERROR org.jboss.msc.service.fail (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.subunit."myapp-ear.ear"."myapp-web-0.0.1-SNAPSHOT.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."myapp-ear.ear"."myapp-web-0.0.1-SNAPSHOT.war".INSTALL: JBAS018733: Falha ao processar a fase INSTALL do subdeployment "myapp-web-0.0.1-SNAPSHOT.war" of deployment "myapp-ear.ear"

      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123) jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4

      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2

      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) JBoss AS 7 - InstantiationException ClusteredSingleSignOn

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) JBoss AS 7 - InstantiationException ClusteredSingleSignOn

      at java.lang.Thread.run(Thread.java:662) JBoss AS 7 - InstantiationException ClusteredSingleSignOn

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018096: Erro ao instanciar o componente do recipiente: 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.3.Final-redhat-4.jar:7.1.3.Final-redhat-4

      ... 5 more

      Caused by: java.lang.InstantiationException: org.jboss.as.web.sso.ClusteredSingleSignOn

      at java.lang.Class.newInstance0(Class.java:342) JBoss AS 7 - InstantiationException ClusteredSingleSignOn

      at java.lang.Class.newInstance(Class.java:310) JBoss AS 7 - InstantiationException ClusteredSingleSignOn

      at org.jboss.as.web.deployment.WarDeploymentProcessor.getInstance(WarDeploymentProcessor.java:384)

      ... 8 more

       

       

       

      ERROR org.jboss.as.server.deployment.scanner (DeploymentScanner-threads - 1) {"JBAS014653: A operação de composição falhou e foi revertida. Segue abaixo as etapas que falharam:" => {"Operação step-2" => {"JBAS014671: Falha de serviços" => {"jboss.deployment.subunit.\"myapp-ear.ear\".\"myapp-web-0.0.1-SNAPSHOT.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"myapp-ear.ear\".\"myapp-web-0.0.1-SNAPSHOT.war\".INSTALL: JBAS018733: Falha ao processar a fase INSTALL do subdeployment \"myapp-web-0.0.1-SNAPSHOT.war\" of deployment \"myapp-ear.ear\"

          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018096: Erro ao instanciar o componente do recipiente: org.jboss.as.web.sso.ClusteredSingleSignOn

          Caused by: java.lang.InstantiationException: org.jboss.as.web.sso.ClusteredSingleSignOn"},"JBAS014771: Os serviços com falta/indisponibilidade de dependências " => ["jboss.deployment.subunit.\"myapp-ear.ear\".\"myapp-ejb-0.0.1-SNAPSHOT.jar\".CLEANUP Faltam[JBAS014861: ]"]}}}

       

       

       

      Vaaleu!

      Adriano Schmidt

      http://www.localhost8080.com.br