[
https://issues.jboss.org/browse/JBAS-8937?page=com.atlassian.jira.plugin....
]
Ales Justin updated JBAS-8937:
------------------------------
JBoss Forum Reference:
http://community.jboss.org/thread/164031
Removing unused Weld deployers leads to unrelated RAR failures
--------------------------------------------------------------
Key: JBAS-8937
URL:
https://issues.jboss.org/browse/JBAS-8937
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: MicroContainer bus
Affects Versions: 6.0.0.Final
Reporter: Marius Bogoevici
Assignee: Ales Justin
Fix For: 6.1.0
Removing:
<bean name="JavaEEComponentJndiBinderDeployer"
class="org.jboss.weld.integration.deployer.jndi.JavaEEComponentJndiBinderDeployer">
<constructor><parameter><inject
bean="NamingJavaEEComponentInformer"/></parameter></constructor>
<depends>NameSpaces</depends>
</bean>
<bean name="WebJndiBinderDeployer"
class="org.jboss.weld.integration.deployer.jndi.WebJndiBinderDeployer">
<constructor><parameter><inject
bean="NamingJavaEEModuleInformer"/></parameter></constructor>
<depends>NameSpaces</depends>
</bean>
from
weld-int/assembly/src/main/assembly/resources/META-INF/weld-deployers-jboss-beans.xml
causes the server to fail on startup with
10:43:00,238 ERROR [AbstractKernelController] Error installing to Real:
name=vfs:///home/marius/Work/jbossas/trunk/build/target/jboss-6.1.0-SNAPSHOT/server/all/deploy/jms-ra.rar
state=PreReal mode=Manual requiredState=Real: org.jboss.deployers.spi.DeploymentException:
Error deploying: jboss.jca:service=RARDeployment,name='jms-ra.rar'
at
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
[jboss-deployers-core-spi-2.2.0.GA.jar:2.2.0.GA]
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:125)
[jboss-deployers-jmx-2.2.0.GA.jar:6.1.0-SNAPSHOT]
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:49)
[jboss-deployers-jmx-2.2.0.GA.jar:6.1.0-SNAPSHOT]
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
[jboss-deployers-spi-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
[jboss-deployers-spi-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
[jboss-deployers-impl-2.2.0.GA.jar:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832)
[jboss-deployers-impl-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550)
[jboss-deployers-impl-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571)
[jboss-deployers-impl-2.2.0.GA.jar:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491)
[jboss-deployers-impl-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983)
[jboss-deployers-impl-2.2.0.GA.jar:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076)
[jboss-deployers-impl-2.2.0.GA.jar:2.2.0.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679)
[jboss-deployers-impl-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106)
[jboss-as-system.jar:6.1.0-SNAPSHOT]
at
org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143)
[jboss-profileservice-core-0.2.2.jar:0.2.2]
at
org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151)
[jboss-profileservice-core-0.2.2.jar:0.2.2]
at
org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94)
[jboss-profileservice-core-0.2.2.jar:0.2.2]
at
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
[jboss-kernel-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
[jboss-kernel-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at
org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190)
[jboss-profileservice-core-0.2.2.jar:0.2.2]
at
org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87)
[jboss-profileservice-core-0.2.2.jar:0.2.2]
at
org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215)
[jboss-profileservice-core-0.2.2.jar:0.2.2]
at
org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159)
[jboss-profileservice-core-0.2.2.jar:0.2.2]
at
org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112)
[jboss-profileservice-core-0.2.2.jar:0.2.2]
at
org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87)
[jboss-profileservice-core-0.2.2.jar:0.2.2]
at
org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91)
[jboss-profileservice-core-0.2.2.jar:0.2.2]
at
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132)
[jboss-as-system.jar:6.1.0-SNAPSHOT]
at
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56)
[jboss-as-system.jar:6.1.0-SNAPSHOT]
at
org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827)
[jboss-bootstrap-impl-base-2.1.0-alpha-5.jar:2.1.0-alpha-5]
at
org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417)
[jboss-bootstrap-impl-base-2.1.0-alpha-5.jar:2.1.0-alpha-5]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_24]
Caused by: java.lang.IllegalStateException:
jboss.jca:name='jms-ra.rar',service=RARDeployment is already installed.
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:835)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641)
[jboss-dependency-2.2.0.GA.jar:2.2.0.GA]
at org.jboss.system.ServiceController.doInstall(ServiceController.java:653)
[jboss-jmx-mc-int-2.2.0.GA.jar:2.2.0.GA]
at org.jboss.system.ServiceController.install(ServiceController.java:256)
[jboss-jmx-mc-int-2.2.0.GA.jar:2.2.0.GA]
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:93)
[jboss-deployers-jmx-2.2.0.GA.jar:6.1.0-SNAPSHOT]
... 48 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira