[jboss-jira] [JBoss JIRA] (AS7-3099) <distributable/> application with SFSBs fail to deploy in default configuration (standalone.xml)

Radoslav Husar (JIRA) jira-events at lists.jboss.org
Wed Jan 18 08:25:18 EST 2012


     [ https://issues.jboss.org/browse/AS7-3099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radoslav Husar updated AS7-3099:
--------------------------------

    Workaround Description: To workaround remove @Clustered annotations.

    
> <distributable/> application with SFSBs fail to deploy in default configuration (standalone.xml)
> ------------------------------------------------------------------------------------------------
>
>                 Key: AS7-3099
>                 URL: https://issues.jboss.org/browse/AS7-3099
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 7.1.0.Beta1, 7.1.0.Beta1b
>            Reporter: Radoslav Husar
>            Assignee: Paul Ferraro
>              Labels: usability
>             Fix For: 7.1.0.Final
>
>
> Related to AS7-1313 but with @Clustered EJBs. The annotation should be just ignored in non-HA profiles.
> {noformat}
> 13:52:48,772 INFO  [org.jboss.modules] JBoss Modules version 1.1.0.CR4
> 13:52:49,024 INFO  [org.jboss.msc] JBoss MSC version 1.0.1.GA
> 13:52:49,074 INFO  [org.jboss.as] JBoss AS 7.1.0.CR1-SNAPSHOT "Tesla" starting
> 13:52:50,169 INFO  [org.xnio] XNIO Version 3.0.0.CR5
> 13:52:50,176 INFO  [org.jboss.as] Creating http management service using  socket-binding (management-http)
> 13:52:50,192 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.0.CR5
> 13:52:50,217 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.0.CR6-darranl-1
> 13:52:50,269 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
> 13:52:50,312 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) Listening on /127.0.0.1:9999
> 13:52:50,404 INFO  [org.jboss.as.clustering] (ServerService Thread Pool -- 30) JBAS010300: Activating Infinispan subsystem.
> 13:52:50,466 INFO  [org.jboss.as.connector] (MSC service thread 1-3) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.6.Final)
> 13:52:50,467 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 26) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
> 13:52:50,476 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
> 13:52:50,492 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011910: Activating OSGi Subsystem
> 13:52:50,504 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) Activating Security Subsystem
> 13:52:50,581 INFO  [org.jboss.as.security] (MSC service thread 1-2) Picketbox version=4.0.6.Beta2
> 13:52:50,607 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
> 13:52:50,627 INFO  [org.jboss.as.naming] (MSC service thread 1-3) JBAS011802: Starting Naming Service
> 13:52:50,675 INFO  [org.jboss.as.jaxr] (MSC service thread 1-3) Binding JAXR ConnectionFactory: java:jboss/jaxr/ConnectionFactory
> 13:52:50,678 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-4) JBAS015400: Bound mail session [java:jboss/mail/Default]
> 13:52:50,723 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) Listening on /127.0.0.1:4447
> 13:52:50,964 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) null null
> 13:52:51,227 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-2) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
> 13:52:51,526 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
> 13:52:52,144 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeploymentService for directory /home/rhusar/Download/jboss-as-7.1.0.CR1-SNAPSHOT/standalone/deployments
> 13:52:52,190 INFO  [org.jboss.as] (Controller Boot Thread) JBoss AS 7.1.0.CR1-SNAPSHOT "Tesla" started in 3642ms - Started 130 of 200 services (68 services are passive or on-demand)
> 13:52:52,223 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "clusterbench-ee6.ear"
> 13:52:52,364 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "clusterbench-ee6-ejb.jar"
> 13:52:52,364 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "clusterbench-ee6-web.war"
> 13:52:52,493 INFO  [org.jboss.weld] (MSC service thread 1-4) Processing CDI deployment: clusterbench-ee6.ear
> 13:52:52,575 INFO  [org.jboss.weld] (MSC service thread 1-1) Processing CDI deployment: clusterbench-ee6-ejb.jar
> 13:52:52,576 INFO  [org.jboss.weld] (MSC service thread 1-2) Processing CDI deployment: clusterbench-ee6-web.war
> 13:52:52,585 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named RemoteSingletonSBImpl in deployment unit subdeployment "clusterbench-ee6-ejb.jar" of deployment "clusterbench-ee6.ear" are as follows:
> 	java:global/clusterbench-ee6/clusterbench-ee6-ejb/RemoteSingletonSBImpl!org.jboss.test.clusterbench.ejb.singleton.RemoteSingletonSB
> 	java:app/clusterbench-ee6-ejb/RemoteSingletonSBImpl!org.jboss.test.clusterbench.ejb.singleton.RemoteSingletonSB
> 	java:module/RemoteSingletonSBImpl!org.jboss.test.clusterbench.ejb.singleton.RemoteSingletonSB
> 	java:global/clusterbench-ee6/clusterbench-ee6-ejb/RemoteSingletonSBImpl!org.jboss.test.clusterbench.ejb.singleton.RemoteSingletonSBImpl
> 	java:app/clusterbench-ee6-ejb/RemoteSingletonSBImpl!org.jboss.test.clusterbench.ejb.singleton.RemoteSingletonSBImpl
> 	java:module/RemoteSingletonSBImpl!org.jboss.test.clusterbench.ejb.singleton.RemoteSingletonSBImpl
> 13:52:52,589 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named RemoteStatefulSBImpl in deployment unit subdeployment "clusterbench-ee6-ejb.jar" of deployment "clusterbench-ee6.ear" are as follows:
> 	java:global/clusterbench-ee6/clusterbench-ee6-ejb/RemoteStatefulSBImpl!org.jboss.test.clusterbench.ejb.stateful.RemoteStatefulSB
> 	java:app/clusterbench-ee6-ejb/RemoteStatefulSBImpl!org.jboss.test.clusterbench.ejb.stateful.RemoteStatefulSB
> 	java:module/RemoteStatefulSBImpl!org.jboss.test.clusterbench.ejb.stateful.RemoteStatefulSB
> 	java:global/clusterbench-ee6/clusterbench-ee6-ejb/RemoteStatefulSBImpl
> 	java:app/clusterbench-ee6-ejb/RemoteStatefulSBImpl
> 	java:module/RemoteStatefulSBImpl
> 13:52:52,592 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named LocalStatefulSB in deployment unit subdeployment "clusterbench-ee6-ejb.jar" of deployment "clusterbench-ee6.ear" are as follows:
> 	java:global/clusterbench-ee6/clusterbench-ee6-ejb/LocalStatefulSB!org.jboss.test.clusterbench.ejb.stateful.LocalStatefulSB
> 	java:app/clusterbench-ee6-ejb/LocalStatefulSB!org.jboss.test.clusterbench.ejb.stateful.LocalStatefulSB
> 	java:module/LocalStatefulSB!org.jboss.test.clusterbench.ejb.stateful.LocalStatefulSB
> 	java:global/clusterbench-ee6/clusterbench-ee6-ejb/LocalStatefulSB
> 	java:app/clusterbench-ee6-ejb/LocalStatefulSB
> 	java:module/LocalStatefulSB
> 13:52:52,593 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named LocalSingletonSB in deployment unit subdeployment "clusterbench-ee6-ejb.jar" of deployment "clusterbench-ee6.ear" are as follows:
> 	java:global/clusterbench-ee6/clusterbench-ee6-ejb/LocalSingletonSB!org.jboss.test.clusterbench.ejb.singleton.LocalSingletonSB
> 	java:app/clusterbench-ee6-ejb/LocalSingletonSB!org.jboss.test.clusterbench.ejb.singleton.LocalSingletonSB
> 	java:module/LocalSingletonSB!org.jboss.test.clusterbench.ejb.singleton.LocalSingletonSB
> 	java:global/clusterbench-ee6/clusterbench-ee6-ejb/LocalSingletonSB
> 	java:app/clusterbench-ee6-ejb/LocalSingletonSB
> 	java:module/LocalSingletonSB
> 13:52:52,617 INFO  [org.jboss.weld] (MSC service thread 1-1) Starting Services for CDI deployment: clusterbench-ee6.ear
> 13:52:52,690 INFO  [org.jboss.weld.Version] (MSC service thread 1-1) WELD-000900 SNAPSHOT
> 13:52:52,805 INFO  [org.jboss.weld] (MSC service thread 1-1) Starting weld service
> 13:52:53,428 WARN  [org.jboss.as.web.deployment.JBossContextConfig] (MSC service thread 1-3) Clustering not supported, falling back to non-clustered session manager.: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.infinispan.web.___defaultcache not found
> 	at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:447)
> 	at org.jboss.as.clustering.web.infinispan.SessionCacheSource.getCache(SessionCacheSource.java:42)
> 	at org.jboss.as.clustering.web.infinispan.DistributedCacheManagerFactory.getDistributedCacheManager(DistributedCacheManagerFactory.java:91)
> 	at org.jboss.as.web.session.DistributableSessionManager.<init>(DistributableSessionManager.java:176) [jboss-as-web-7.1.0.CR1-SNAPSHOT.jar:]
> 	at org.jboss.as.web.session.DistributableSessionManager.<init>(DistributableSessionManager.java:144) [jboss-as-web-7.1.0.CR1-SNAPSHOT.jar:]
> 	at org.jboss.as.web.deployment.JBossContextConfig.processWebMetaData(JBossContextConfig.java:280) [jboss-as-web-7.1.0.CR1-SNAPSHOT.jar:]
> 	at org.jboss.as.web.deployment.JBossContextConfig.applicationWebConfig(JBossContextConfig.java:164) [jboss-as-web-7.1.0.CR1-SNAPSHOT.jar:]
> 	at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:417) [jbossweb-7.0.6.Final.jar:]
> 	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:182) [jbossweb-7.0.6.Final.jar:]
> 	at org.jboss.as.web.deployment.JBossContextConfig.lifecycleEvent(JBossContextConfig.java:157) [jboss-as-web-7.1.0.CR1-SNAPSHOT.jar:]
> 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [jbossweb-7.0.6.Final.jar:]
> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3790) [jbossweb-7.0.6.Final.jar:]
> 	at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:77) [jboss-as-web-7.1.0.CR1-SNAPSHOT.jar:]
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_29]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_29]
> 	at java.lang.Thread.run(Thread.java:662) [:1.6.0_29]
> 13:52:53,485 INFO  [org.jboss.web] (MSC service thread 1-3) registering web context: /clusterbench
> 13:52:53,693 INFO  [org.jboss.as.deployment] (DeploymentScanner-threads - 2) Deployment of "clusterbench-ee6.ear" was rolled back with failure message {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.subunit.\"clusterbench-ee6.ear\".\"clusterbench-ee6-ejb.jar\".component.RemoteStatefulSBImpl.CREATEjboss.ejb.cache.clustered-sfsb-defaultMissing[jboss.deployment.subunit.\"clusterbench-ee6.ear\".\"clusterbench-ee6-ejb.jar\".component.RemoteStatefulSBImpl.CREATEjboss.ejb.cache.clustered-sfsb-default]","jboss.deployment.subunit.\"clusterbench-ee6.ear\".\"clusterbench-ee6-ejb.jar\".component.LocalStatefulSB.CREATEjboss.ejb.cache.clustered-sfsb-defaultMissing[jboss.deployment.subunit.\"clusterbench-ee6.ear\".\"clusterbench-ee6-ejb.jar\".component.LocalStatefulSB.CREATEjboss.ejb.cache.clustered-sfsb-default]"]}
> 13:52:53,750 INFO  [org.jboss.weld] (MSC service thread 1-3) Stopping weld service
> 13:52:53,770 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment clusterbench-ee6-web.war in 75ms
> 13:52:53,774 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Stopped deployment clusterbench-ee6-ejb.jar in 79ms
> 13:52:53,775 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment clusterbench-ee6.ear in 82ms
> 13:52:53,776 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
> JBAS014775:    New missing/unsatisfied dependencies:
>       service jboss.ejb.cache.clustered-sfsb-default (missing) dependents: [service jboss.deployment.subunit."clusterbench-ee6.ear"."clusterbench-ee6-ejb.jar".component.LocalStatefulSB.CREATE, service jboss.deployment.subunit."clusterbench-ee6.ear"."clusterbench-ee6-ejb.jar".component.RemoteStatefulSBImpl.CREATE] 
> 13:52:53,777 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.subunit.\"clusterbench-ee6.ear\".\"clusterbench-ee6-ejb.jar\".component.RemoteStatefulSBImpl.CREATEjboss.ejb.cache.clustered-sfsb-defaultMissing[jboss.deployment.subunit.\"clusterbench-ee6.ear\".\"clusterbench-ee6-ejb.jar\".component.RemoteStatefulSBImpl.CREATEjboss.ejb.cache.clustered-sfsb-default]","jboss.deployment.subunit.\"clusterbench-ee6.ear\".\"clusterbench-ee6-ejb.jar\".component.LocalStatefulSB.CREATEjboss.ejb.cache.clustered-sfsb-defaultMissing[jboss.deployment.subunit.\"clusterbench-ee6.ear\".\"clusterbench-ee6-ejb.jar\".component.LocalStatefulSB.CREATEjboss.ejb.cache.clustered-sfsb-default]"]}}}
> ^C13:53:22,938 INFO  [org.jboss.as.controller] (MSC service thread 1-1) JBAS014774: Service status report
> JBAS014776:    Newly corrected services:
>       service jboss.ejb.cache.clustered-sfsb-default (new available)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list