Details

    • Sprint:
      Sprint 2

      Description

      The best way to reproduce this I found is this:

      • start with empty data-directory
      • features:install openengsb-port-jms

      I had most success on my windows XP VM. Maybe because it's slow, or maybe because it's windows.

      What happens

      2012-07-16 10:10:28,845 | ERROR | Thread-40        | Activator                        | 223 - org.openengsb.infrastructu
      re.jms - 3.0.0.cdlflex-09 | could not initialize brokerService
      java.lang.NullPointerException
              at org.apache.felix.cm.impl.ConfigurationAdminImpl.getConfiguration(ConfigurationAdminImpl.java:105)[6:org.apach
      e.felix.configadmin:1.4.0]
              at org.openengsb.infrastructure.jms.internal.Activator$1.run(Activator.java:62)[223:org.openengsb.infrastructure
      .jms:3.0.0.cdlflex-09]

      And then later

      2012-07-16 10:11:29,923 | ERROR | Thread-6         | BlueprintContainerImpl           | 11 - org.apache.aries.blueprint.
      core - 1.0.0.cdlflex-02 | Unable to start blueprint container for bundle org.openengsb.ports.jms
      org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to intialize bean incomingPortBean
              at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:710)
              at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:820)
              at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:783)
              at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_03]
              at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_03]
              at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)
              at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)
              at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)
              at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl
      .java:648)
              at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:340)
              at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:242)
              at org.apache.aries.blueprint.container.BlueprintExtender.checkBundle(BlueprintExtender.java:315)
              at org.apache.aries.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:235)
              at org.apache.aries.blueprint.container.BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(Bluepr
      intExtender.java:434)
              at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker
      .java:198)
              at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker
      .java:128)
              at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java
      :468)
              at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java
      :161)
              at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java
      :117)
              at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1099)
              at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695)
              at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483)
              at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4244)
              at org.apache.felix.framework.Felix.startBundle(Felix.java:1923)
              at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)
              at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:931)
              at org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:529)
              at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:484)
              at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:420)
              at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:409)
              at Proxyc3f48731_3e14_46f3_9bf0_5f6358025766.installFeature(Unknown Source)
              at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:62)
              at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:38)
              at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
              at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)
              at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_03]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_03]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_03]
              at java.lang.reflect.Method.invoke(Method.java:601)[:1.7.0_03]
              at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
              at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
              at org.apache.karaf.shell.console.commands.$BlueprintCommand17544166.execute(Unknown Source)
              at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
              at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
              at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
              at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
              at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
              at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:169)
              at java.lang.Thread.run(Thread.java:722)[:1.7.0_03]
              at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.doRun(ConsoleFactoryService.java:87)[26:org
      .apache.karaf.shell.console:3.0.0.cdlflex-03]
              at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3$1.run(ConsoleFactoryService.java:78)
              at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_03]
              at javax.security.auth.Subject.doAs(Subject.java:356)[:1.7.0_03]
              at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.run(ConsoleFactoryService.java:76)[26:org.a
      pache.karaf.shell.console:3.0.0.cdlflex-03]
      Caused by: org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nes
      ted exception is javax.jms.JMSException: Failover timeout of 60000 ms reached.
              at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:316)
              at org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:168)
              at org.springframework.jms.listener.AbstractJmsListeningContainer.start(AbstractJmsListeningContainer.java:267)
              at org.openengsb.ports.jms.JMSIncomingPort.start(JMSIncomingPort.java:115)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_03]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_03]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_03]
              at java.lang.reflect.Method.invoke(Method.java:601)[:1.7.0_03]
              at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:238)
              at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:954)
              at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:708)
              ... 57 more
      Caused by: javax.jms.JMSException: Failover timeout of 60000 ms reached.
              at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62)
              at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1306)
              at org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1392)
              at org.apache.activemq.ActiveMQConnection.start(ActiveMQConnection.java:504)
              at org.apache.activemq.pool.ConnectionPool.start(ConnectionPool.java:91)
              at org.apache.activemq.pool.PooledConnection.start(PooledConnection.java:78)
              at org.springframework.jms.listener.AbstractJmsListeningContainer.startSharedConnection(AbstractJmsListeningCont
      ainer.java:441)
              at org.springframework.jms.listener.AbstractJmsListeningContainer.doStart(AbstractJmsListeningContainer.java:291
      )
              at org.springframework.jms.listener.SimpleMessageListenerContainer.doStart(SimpleMessageListenerContainer.java:2
      24)
              at org.springframework.jms.listener.AbstractJmsListeningContainer.start(AbstractJmsListeningContainer.java:264)
              ... 65 more
      Caused by: java.io.IOException: Failover timeout of 60000 ms reached.
              at org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:532)
              at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:40)
              at org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCorrelator.java:81)
              at org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:86)
              at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1284)
              ... 73 more

        Gliffy Diagrams

        Error rendering 'com.meetme.plugins.jira.gerrit-plugin:gerritreviewsmodule'. Please contact your JIRA administrators.

          Activity

          Hide
          Christoph Gritschenberger added a comment -

          OK, I discovered the problem. It's in aries-blueprint-core

          https://issues.apache.org/jira/browse/ARIES-875

          Show
          Christoph Gritschenberger added a comment - OK, I discovered the problem. It's in aries-blueprint-core https://issues.apache.org/jira/browse/ARIES-875
          Hide
          Christoph Gritschenberger added a comment -

          Just pushed a workaround for the Issue, it should be removed once ARIES-875 is fixed.

          Show
          Christoph Gritschenberger added a comment - Just pushed a workaround for the Issue, it should be removed once ARIES-875 is fixed.

            People

            • Assignee:
              Christoph Gritschenberger
              Reporter:
              Christoph Gritschenberger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Agile