Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-252

Failing rar deployment is not cleaned up

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Beta2
    • 7.0.0.Beta1
    • JCA
    • None

      20:41:28,215 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-16) MSC00001: Failed to start service jboss.deployment.unit."ejb3-rar.rar".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."ejb3-rar.rar".INSTALL: Failed to process phase INSTALL of deployment "ejb3-rar.rar"
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:108)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1344)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
      	at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: org.jboss.jca.common.api.validator.ValidateException: ResourceAdapter metadata should contains inbound or outbound at least
      	at org.jboss.as.connector.deployers.processors.ParsedRaDeploymentProcessor.deploy(ParsedRaDeploymentProcessor.java:129)
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:102)
      	... 4 more
      Caused by: org.jboss.jca.common.api.validator.ValidateException: ResourceAdapter metadata should contains inbound or outbound at least
      	at org.jboss.jca.common.metadata.ra.common.ResourceAdapter1516Impl.validate(ResourceAdapter1516Impl.java:281)
      	at org.jboss.jca.common.metadata.ra.common.ConnectorAbstractmpl.validate(ConnectorAbstractmpl.java:306)
      	at org.jboss.as.connector.deployers.processors.ParsedRaDeploymentProcessor.deploy(ParsedRaDeploymentProcessor.java:107)
      	... 5 more
      
      20:41:28,220 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-9) Deployment  "ejb3-rar.rar" failed in 109 ms.  Service failures: [org.jboss.msc.service.StartException in service jboss.deployment.unit."ejb3-rar.rar".INSTALL: Failed to process phase INSTALL of deployment "ejb3-rar.rar"]Failed Dependencies: [service jboss.naming.context.java.module.ejb3-rar.ejb3-rar.ModuleName, service jboss.naming.context.java.module.ejb3-rar.ejb3-rar, service jboss.naming.context.java.app.ejb3-rar.AppName, service jboss.deployment.unit."ejb3-rar.rar".namespaceselector]
      20:52:35,704 ERROR [org.jboss.as.controller] (pool-2-thread-2) operation ("add") failed - address: ([("deployment" => "ejb3-rar.rar")]): java.lang.IllegalStateException: Resource at address [("deployment" => "ejb3-rar.rar")] already exists
      	at org.jboss.as.controller.BasicModelController.validateNewAddress(BasicModelController.java:403)
      	at org.jboss.as.controller.BasicModelController.getOperationSubModel(BasicModelController.java:259)
      	at org.jboss.as.controller.BasicModelController$2.getOperationContext(BasicModelController.java:94)
      	at org.jboss.as.controller.BasicModelController$MultiStepOperationController.getOperationContext(BasicModelController.java:776)
      	at org.jboss.as.server.ServerControllerImpl$ServerMultiStepOperationController.getOperationContext(ServerControllerImpl.java:425)
      	at org.jboss.as.controller.BasicModelController.execute(BasicModelController.java:237)
      	at org.jboss.as.controller.BasicModelController$MultiStepOperationController.executeStep(BasicModelController.java:612)
      	at org.jboss.as.controller.BasicModelController$MultiStepOperationController.execute(BasicModelController.java:631)
      	at org.jboss.as.controller.BasicModelController.execute(BasicModelController.java:228)
      	at org.jboss.as.controller.BasicModelController.execute(BasicModelController.java:204)
      	at org.jboss.as.controller.BasicModelController.execute(BasicModelController.java:188)
      	at org.jboss.as.controller.remote.ModelControllerOperationHandlerImpl$ExecuteAsynchronousOperation.sendResponse(ModelControllerOperationHandlerImpl.java:206)
      	at org.jboss.as.protocol.mgmt.ManagementResponse$2.handle(ManagementResponse.java:119)
      	at org.jboss.as.protocol.mgmt.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:59)
      	at org.jboss.as.protocol.ConnectionImpl.safeHandleMessage(ConnectionImpl.java:254)
      	at org.jboss.as.protocol.ConnectionImpl$1$1.run(ConnectionImpl.java:213)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
      	at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
      

              bstansbe@redhat.com Brian Stansberry
              rhn-engineering-cdewolf Carlo de Wolf
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: