Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-5986

Error "Unable to create configuration for deployment" appeared when deploy a new JMS resource group for Active MQ

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • ActiveMQ
    • Security Level: public (Regular issues)
    • None
    • JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr9-20101209_70480 (JIT enabled, AOT enabled)

    Description

      Use the build May 25-3.0 snapshot of geronimo server
      Steps to reproduce:
      1. Go to Console -> JMS Resources
      2. Create a new JMS Resource Group -> For ActiveMQ
      3. In the "JMS Resource Group - Configure Server Connection" screen:
      3.1 Resource Group Name = testResourceGroup
      3.2 Press Next
      4. Press "Add Connection Factory" button
      4.1. JMS Factory Type - javax.jms.ConnectionFactory
      4.2 Connection Factory Name - testConnectionFactory
      4.3 Transaction support - local
      4.4 Press Next
      5. Press "Add Destination" button
      5.1 JMS Destination Type - javax.jms.Queue
      5.2 Message Destination Name - test.create
      5.3 Press Next
      5.4 repeat 5.1 - 5.3 to create destinations "test.restoreSnapshot", "test2.restoreSnapshot", "test2.create", "test3.create", "callback"
      6. Press "Deploy Now"
      7. Admin console displayed the error message below:
      Deployer operation failed!
      Unable to create configuration for deployment: dependencies: null
      org.apache.geronimo.common.DeploymentException: Unable to create configuration for deployment: dependencies: null
      at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:212)
      at org.apache.geronimo.deployment.DeploymentContext.initializeConfiguration(DeploymentContext.java:192)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:635)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:252)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:611)
      at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:872)
      at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
      at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
      at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
      at java.lang.Thread.run(Thread.java:736)
      Caused by: org.apache.geronimo.kernel.config.LifecycleException: load of console.jms/testResourceGroup/1.0/car failed
      at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:346)
      at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:331)
      at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:209)
      ... 15 more
      Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: org.apache.geronimo.configs/activemq-broker//car
      at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:130)
      at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:123)
      at org.apache.geronimo.kernel.config.SimpleConfigurationManager.resolveParentIds(SimpleConfigurationManager.java:640)
      at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:342)
      ... 17 more

      Attachments

        1. GERONIMO-5986.patch
          2 kB
          Shenghao Fang

        Issue Links

          Activity

            People

              michael_fang Shenghao Fang
              lylyuchen Tina Li
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: