Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add routeIds and descriptions #47

Closed
wants to merge 6 commits into from
Closed

add routeIds and descriptions #47

wants to merge 6 commits into from

Conversation

acoburn
Copy link
Contributor

@acoburn acoburn commented Aug 16, 2015

It's good practice to have distinctive routeId values (and descriptions) for your camel routes, especially when using JMX or other monitoring services (such as hawt.io).

@ruebot
Copy link
Member

ruebot commented Oct 5, 2015

@acoburn testing now 😄

@ruebot
Copy link
Member

ruebot commented Oct 5, 2015

@acoburn @daniel-dgi not seeing any sync action to fcrepo from Drupal 😢

2015-10-05 13:14:58,160 | INFO  | FelixStartLevel  | RegionsPersistenceImpl           | 55 - org.apache.karaf.region.persist - 3.0.4 | Loading region digraph persistence
2015-10-05 13:14:58,731 | INFO  | FelixStartLevel  | SecurityUtils                    | 28 - org.apache.sshd.core - 0.14.0 | BouncyCastle not registered, using the default JCE provider
2015-10-05 13:15:01,099 | INFO  | FelixStartLevel  | Activator                        | 80 - org.ops4j.pax.web.pax-web-runtime - 3.2.3 | EventAdmin support is not available, no servlet events will be posted!
2015-10-05 13:15:01,119 | INFO  | FelixStartLevel  | Activator                        | 80 - org.ops4j.pax.web.pax-web-runtime - 3.2.3 | LogService support enabled, log events will be created.
2015-10-05 13:15:01,136 | INFO  | FelixStartLevel  | Activator                        | 80 - org.ops4j.pax.web.pax-web-runtime - 3.2.3 | Pax Web started
2015-10-05 13:15:01,685 | INFO  | pool-6-thread-1  | Server                           | 72 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.17.v20150415 | jetty-8.1.17.v20150415
2015-10-05 13:15:01,905 | INFO  | pool-6-thread-1  | AbstractConnector                | 72 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.17.v20150415 | Started SelectChannelConnector@0.0.0.0:8181
2015-10-05 13:15:01,905 | INFO  | pool-6-thread-1  | JettyServerImpl                  | 81 - org.ops4j.pax.web.pax-web-jetty - 3.2.3 | Pax Web available at [0.0.0.0]:[8181]
2015-10-05 13:15:02,711 | INFO  | FelixStartLevel  | ContextLoaderListener            | 123 - org.springframework.osgi.extender - 1.2.1 | Starting [org.springframework.osgi.extender] bundle v.[1.2.1]
2015-10-05 13:15:03,097 | INFO  | FelixStartLevel  | ExtenderConfiguration            | 123 - org.springframework.osgi.extender - 1.2.1 | No custom extender configuration detected; using defaults...
2015-10-05 13:15:03,125 | INFO  | FelixStartLevel  | TimerTaskExecutor                | 118 - org.apache.servicemix.bundles.spring-context - 3.2.11.RELEASE_1 | Initializing Timer
2015-10-05 13:15:03,574 | INFO  | FelixStartLevel  | BlueprintContainerImpl           | 15 - org.apache.aries.blueprint.core - 1.4.3 | Bundle org.apache.aries.transaction.blueprint is waiting for dependencies [(objectClass=javax.transaction.TransactionManager)]
2015-10-05 13:15:03,880 | INFO  | FelixStartLevel  | Activator                        | 109 - org.apache.camel.camel-core - 2.15.2 | Camel activator starting
2015-10-05 13:15:04,113 | INFO  | FelixStartLevel  | Activator                        | 109 - org.apache.camel.camel-core - 2.15.2 | Camel activator started
2015-10-05 13:15:06,789 | INFO  | FelixStartLevel  | Activator                        | 185 - org.apache.camel.camel-script - 2.15.2 | Camel-Script activator starting
2015-10-05 13:15:06,930 | INFO  | FelixStartLevel  | Activator                        | 185 - org.apache.camel.camel-script - 2.15.2 | Found ScriptEngineFactory in groovy-all
2015-10-05 13:15:06,977 | INFO  | FelixStartLevel  | Activator                        | 185 - org.apache.camel.camel-script - 2.15.2 | Found ScriptEngineFactory in org.jruby.jruby
2015-10-05 13:15:06,998 | INFO  | FelixStartLevel  | Activator                        | 185 - org.apache.camel.camel-script - 2.15.2 | Camel-Script activator started
2015-10-05 13:15:07,036 | WARN  | FelixStartLevel  | Activator                        | 185 - org.apache.camel.camel-script - 2.15.2 | Cannot create the ScriptEngineFactory: java.lang.IllegalStateException
java.lang.IllegalStateException: Invalid ScriptEngineFactory: org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
    at org.apache.camel.script.osgi.Activator$BundleScriptEngineResolver.getFactory(Activator.java:231)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator$BundleScriptEngineResolver.getScriptNames(Activator.java:210)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator$BundleScriptEngineResolver.access$000(Activator.java:191)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator.getAvailableScriptNames(Activator.java:118)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator.updateAvailableScriptLanguages(Activator.java:138)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator.serviceChanged(Activator.java:184)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.registerService(Felix.java:3423)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:320)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.camel.impl.osgi.Activator$BaseService.doRegister(Activator.java:472)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.Activator$BaseService.doRegister(Activator.java:464)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.Activator$BundleMetaLanguageResolver.register(Activator.java:239)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.Activator.addingBundle(Activator.java:105)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:431)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.tracker.AbstractTracked.track(AbstractTracked.java:234)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:407)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)[org.apache.felix.framework-4.2.1.jar:]
    at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]
2015-10-05 13:15:07,059 | WARN  | FelixStartLevel  | Activator                        | 185 - org.apache.camel.camel-script - 2.15.2 | Cannot create the ScriptEngineFactory: java.lang.IllegalStateException
java.lang.IllegalStateException: Invalid ScriptEngineFactory: org.jruby.embed.jsr223.JRubyEngineFactory
    at org.apache.camel.script.osgi.Activator$BundleScriptEngineResolver.getFactory(Activator.java:231)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator$BundleScriptEngineResolver.getScriptNames(Activator.java:210)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator$BundleScriptEngineResolver.access$000(Activator.java:191)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator.getAvailableScriptNames(Activator.java:118)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator.updateAvailableScriptLanguages(Activator.java:138)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator.serviceChanged(Activator.java:184)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.registerService(Felix.java:3423)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:320)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.camel.impl.osgi.Activator$BaseService.doRegister(Activator.java:472)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.Activator$BaseService.doRegister(Activator.java:464)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.Activator$BundleMetaLanguageResolver.register(Activator.java:239)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.Activator.addingBundle(Activator.java:105)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:431)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.tracker.AbstractTracked.track(AbstractTracked.java:234)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:407)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)[org.apache.felix.framework-4.2.1.jar:]
    at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]
2015-10-05 13:15:07,084 | INFO  | FelixStartLevel  | Activator                        | 185 - org.apache.camel.camel-script - 2.15.2 | Found ScriptEngineFactory in scriptengines-javascript
2015-10-05 13:15:07,112 | WARN  | FelixStartLevel  | Activator                        | 185 - org.apache.camel.camel-script - 2.15.2 | Cannot create the ScriptEngineFactory: java.lang.IllegalStateException
java.lang.IllegalStateException: Invalid ScriptEngineFactory: org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
    at org.apache.camel.script.osgi.Activator$BundleScriptEngineResolver.getFactory(Activator.java:231)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator$BundleScriptEngineResolver.getScriptNames(Activator.java:210)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator$BundleScriptEngineResolver.access$000(Activator.java:191)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator.getAvailableScriptNames(Activator.java:118)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator.updateAvailableScriptLanguages(Activator.java:138)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator.addingBundle(Activator.java:95)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.impl.osgi.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:431)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.tracker.AbstractTracked.track(AbstractTracked.java:234)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:407)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)[org.apache.felix.framework-4.2.1.jar:]
    at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]
2015-10-05 13:15:07,123 | WARN  | FelixStartLevel  | Activator                        | 185 - org.apache.camel.camel-script - 2.15.2 | Cannot create the ScriptEngineFactory: java.lang.IllegalStateException
java.lang.IllegalStateException: Invalid ScriptEngineFactory: org.jruby.embed.jsr223.JRubyEngineFactory
    at org.apache.camel.script.osgi.Activator$BundleScriptEngineResolver.getFactory(Activator.java:231)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator$BundleScriptEngineResolver.getScriptNames(Activator.java:210)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator$BundleScriptEngineResolver.access$000(Activator.java:191)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator.getAvailableScriptNames(Activator.java:118)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator.updateAvailableScriptLanguages(Activator.java:138)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.script.osgi.Activator.addingBundle(Activator.java:95)[185:org.apache.camel.camel-script:2.15.2]
    at org.apache.camel.impl.osgi.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:431)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.tracker.AbstractTracked.track(AbstractTracked.java:234)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.camel.impl.osgi.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:407)[109:org.apache.camel.camel-core:2.15.2]
    at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)[org.apache.felix.framework-4.2.1.jar:]
    at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]
2015-10-05 13:15:10,165 | INFO  | FelixStartLevel  | HttpServiceFactoryImpl           | 80 - org.ops4j.pax.web.pax-web-runtime - 3.2.3 | Binding bundle: [io.hawt.hawtio-web [100]] to http service
2015-10-05 13:15:11,508 | INFO  | pool-7-thread-1  | ConfigManager                    | 100 - io.hawt.hawtio-web - 1.4.52 | Configuration will be discovered via system properties
2015-10-05 13:15:11,519 | INFO  | pool-7-thread-1  | JmxTreeWatcher                   | 100 - io.hawt.hawtio-web - 1.4.52 | Welcome to hawtio 1.4.52 : http://hawt.io/ : Don't cha wish your console was hawt like me? ;-)
2015-10-05 13:15:11,542 | INFO  | pool-7-thread-1  | UploadManager                    | 100 - io.hawt.hawtio-web - 1.4.52 | Using file upload directory: /tmp/uploads
2015-10-05 13:15:11,569 | INFO  | pool-7-thread-1  | AuthenticationFilter             | 100 - io.hawt.hawtio-web - 1.4.52 | Starting hawtio authentication filter, JAAS realm: "karaf" authorized role(s): "admin,viewer" role principal classes: "org.apache.karaf.jaas.boot.principal.RolePrincipal,org.apache.karaf.jaas.modules.RolePrincipal,org.apache.karaf.jaas.boot.principal.GroupPrincipal"
2015-10-05 13:15:12,303 | INFO  | pool-7-thread-1  | hawtio-web - 100}                | 72 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.17.v20150415 | jolokia-agent: No access restrictor found at classpath:/jolokia-access.xml, access to all MBeans is allowed
2015-10-05 13:15:12,785 | INFO  | pool-7-thread-1  | LoginServlet                     | 100 - io.hawt.hawtio-web - 1.4.52 | hawtio login is using 1800 sec. HttpSession timeout
2015-10-05 13:15:12,792 | INFO  | pool-7-thread-1  | KeycloakServlet                  | 100 - io.hawt.hawtio-web - 1.4.52 | Keycloak integration is disabled
2015-10-05 13:15:12,978 | INFO  | FelixStartLevel  | HttpServiceFactoryImpl           | 80 - org.ops4j.pax.web.pax-web-runtime - 3.2.3 | Binding bundle: [io.hawt.hawtio-karaf-terminal [101]] to http service
2015-10-05 13:15:13,117 | INFO  | pool-7-thread-1  | ConfigManager                    | 101 - io.hawt.hawtio-karaf-terminal - 1.4.52 | Configuration will be discovered via system properties
2015-10-05 13:15:13,125 | INFO  | pool-7-thread-1  | AuthenticationFilter             | 101 - io.hawt.hawtio-karaf-terminal - 1.4.52 | Starting hawtio authentication filter, JAAS realm: "karaf" authorized role(s): "admin,viewer" role principal classes: "org.apache.karaf.jaas.boot.principal.RolePrincipal,org.apache.karaf.jaas.modules.RolePrincipal,org.apache.karaf.jaas.boot.principal.GroupPrincipal"
2015-10-05 13:15:13,200 | INFO  | FelixStartLevel  | AsyncMavenIndexerFacadeFactory   | 102 - io.hawt.hawtio-maven-indexer - 1.4.52 | Started the async timer to create the MavenIndexerFacade after the application starts up
2015-10-05 13:15:13,311 | INFO  | pool-7-thread-1  | LoginServlet                     | 101 - io.hawt.hawtio-karaf-terminal - 1.4.52 | hawtio login is using 1800 sec. HttpSession timeout
2015-10-05 13:15:18,824 | WARN  | FelixStartLevel  | BeanRecipe                       | 15 - org.apache.aries.blueprint.core - 1.4.3 | Object to be destroyed is not an instance of UnwrapperedBeanHolder, type: null
2015-10-05 13:15:18,852 | ERROR | FelixStartLevel  | BlueprintContainerImpl           | 15 - org.apache.aries.blueprint.core - 1.4.3 | Unable to start blueprint container for bundle ca.islandora.camel.sync.islandora-sync-gateway
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean .camelBlueprint.factory.sync
    at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:714)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[15:org.apache.aries.blueprint.core:1.4.3]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_60]
    at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintRepository.createInstance(BlueprintRepository.java:230)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintRepository.create(BlueprintRepository.java:145)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.getComponentInstance(BlueprintContainerImpl.java:754)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.camel.blueprint.handler.CamelNamespaceHandler$CamelDependenciesFinder.process(CamelNamespaceHandler.java:961)[128:org.apache.camel.camel-blueprint:2.15.2]
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.processProcessors(BlueprintContainerImpl.java:529)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:361)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[9:org.apache.aries.util:1.1.0]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[9:org.apache.aries.util:1.1.0]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[9:org.apache.aries.util:1.1.0]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[9:org.apache.aries.util:1.1.0]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[9:org.apache.aries.util:1.1.0]
    at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)[org.apache.felix.framework-4.2.1.jar:]
    at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]
Caused by: java.lang.IllegalArgumentException: Cannot find RouteContext with id eventGateway
    at org.apache.camel.model.RouteContextRefDefinitionHelper.lookupRoutes(RouteContextRefDefinitionHelper.java:65)
    at org.apache.camel.model.RouteContextRefDefinition.lookupRoutes(RouteContextRefDefinition.java:60)
    at org.apache.camel.core.xml.AbstractCamelContextFactoryBean.initRouteRefs(AbstractCamelContextFactoryBean.java:563)
    at org.apache.camel.core.xml.AbstractCamelContextFactoryBean.setupRoutes(AbstractCamelContextFactoryBean.java:324)
    at org.apache.camel.blueprint.CamelContextFactoryBean.afterPropertiesSet(CamelContextFactoryBean.java:313)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_60]
    at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_60]
    at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[15:org.apache.aries.blueprint.core:1.4.3]
    ... 29 more
2015-10-05 13:15:18,869 | INFO  | de startup timer | MavenIndexerFacade               | 102 - io.hawt.hawtio-maven-indexer - 1.4.52 | Storing maven index files in local directory: /opt/apache-karaf-3.0.4/data/mavenIndexer
2015-10-05 13:15:19,799 | WARN  | FelixStartLevel  | BeanRecipe                       | 15 - org.apache.aries.blueprint.core - 1.4.3 | Object to be destroyed is not an instance of UnwrapperedBeanHolder, type: null
2015-10-05 13:15:19,807 | ERROR | FelixStartLevel  | BlueprintContainerImpl           | 15 - org.apache.aries.blueprint.core - 1.4.3 | Unable to start blueprint container for bundle ca.islandora.camel.services.islandora-collection-service
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean .camelBlueprint.factory.collectionService
    at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:714)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[15:org.apache.aries.blueprint.core:1.4.3]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_60]
    at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintRepository.createInstance(BlueprintRepository.java:230)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintRepository.create(BlueprintRepository.java:145)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.getComponentInstance(BlueprintContainerImpl.java:754)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.camel.blueprint.handler.CamelNamespaceHandler$CamelDependenciesFinder.process(CamelNamespaceHandler.java:961)[128:org.apache.camel.camel-blueprint:2.15.2]
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.processProcessors(BlueprintContainerImpl.java:529)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:361)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[9:org.apache.aries.util:1.1.0]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[9:org.apache.aries.util:1.1.0]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[9:org.apache.aries.util:1.1.0]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[9:org.apache.aries.util:1.1.0]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[9:org.apache.aries.util:1.1.0]
    at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)[org.apache.felix.framework-4.2.1.jar:]
    at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]
Caused by: java.lang.IllegalArgumentException: Cannot find RouteContext with id get
    at org.apache.camel.model.RouteContextRefDefinitionHelper.lookupRoutes(RouteContextRefDefinitionHelper.java:65)
    at org.apache.camel.model.RouteContextRefDefinition.lookupRoutes(RouteContextRefDefinition.java:60)
    at org.apache.camel.core.xml.AbstractCamelContextFactoryBean.initRouteRefs(AbstractCamelContextFactoryBean.java:563)
    at org.apache.camel.core.xml.AbstractCamelContextFactoryBean.setupRoutes(AbstractCamelContextFactoryBean.java:324)
    at org.apache.camel.blueprint.CamelContextFactoryBean.afterPropertiesSet(CamelContextFactoryBean.java:313)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_60]
    at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_60]
    at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[15:org.apache.aries.blueprint.core:1.4.3]
    ... 29 more
2015-10-05 13:15:20,235 | WARN  | FelixStartLevel  | BeanRecipe                       | 15 - org.apache.aries.blueprint.core - 1.4.3 | Object to be destroyed is not an instance of UnwrapperedBeanHolder, type: null
2015-10-05 13:15:20,247 | ERROR | FelixStartLevel  | BlueprintContainerImpl           | 15 - org.apache.aries.blueprint.core - 1.4.3 | Unable to start blueprint container for bundle ca.islandora.camel.services.islandora-basic-image-service
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean .camelBlueprint.factory.basicImageService
    at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:714)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[15:org.apache.aries.blueprint.core:1.4.3]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_60]
    at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintRepository.createInstance(BlueprintRepository.java:230)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintRepository.create(BlueprintRepository.java:145)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.getComponentInstance(BlueprintContainerImpl.java:754)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.camel.blueprint.handler.CamelNamespaceHandler$CamelDependenciesFinder.process(CamelNamespaceHandler.java:961)[128:org.apache.camel.camel-blueprint:2.15.2]
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.processProcessors(BlueprintContainerImpl.java:529)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:361)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[9:org.apache.aries.util:1.1.0]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[9:org.apache.aries.util:1.1.0]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[9:org.apache.aries.util:1.1.0]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[9:org.apache.aries.util:1.1.0]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[9:org.apache.aries.util:1.1.0]
    at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)[org.apache.felix.framework-4.2.1.jar:]
    at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]
Caused by: java.lang.IllegalArgumentException: Cannot find RouteContext with id get
    at org.apache.camel.model.RouteContextRefDefinitionHelper.lookupRoutes(RouteContextRefDefinitionHelper.java:65)
    at org.apache.camel.model.RouteContextRefDefinition.lookupRoutes(RouteContextRefDefinition.java:60)
    at org.apache.camel.core.xml.AbstractCamelContextFactoryBean.initRouteRefs(AbstractCamelContextFactoryBean.java:563)
    at org.apache.camel.core.xml.AbstractCamelContextFactoryBean.setupRoutes(AbstractCamelContextFactoryBean.java:324)
    at org.apache.camel.blueprint.CamelContextFactoryBean.afterPropertiesSet(CamelContextFactoryBean.java:313)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_60]
    at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_60]
    at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[15:org.apache.aries.blueprint.core:1.4.3]
    ... 29 more

@daniel-dgi
Copy link
Contributor

somehwere in that wall of text is what's up with the xml. you can ignore all the scripting factory nonsense. if you install camel-script wihotut camel-script-jruby or camel-script-groovy, you get those errors.

@acoburn
Copy link
Contributor Author

acoburn commented Oct 5, 2015

... what @daniel-dgi said.

But actually, I'd hold off on this one and #48 for now. I think having a testing framework in place first makes more sense. And once #46 is merged, we can move forward with that.

@daniel-dgi
Copy link
Contributor

at a closer look, no route with id 'get'. so something's expecting it and it's not there, or there's a naming conflict on 'get'

@ruebot
Copy link
Member

ruebot commented Oct 5, 2015

@acoburn sounds like a plan! Should we flesh out #41 and #42 more? Do we need more tickets for setting up any more tests? Dare we ping @qadan and get his thoughts? 😄

@acoburn
Copy link
Contributor Author

acoburn commented Oct 5, 2015

@daniel-dgi is correct -- I renamed some of the context ids (there were several "get" ids, etc), but that is causing other errors. In short, this PR has some problems.

@DiegoPino
Copy link
Contributor

@ruebot
Copy link
Member

ruebot commented Oct 5, 2015

@DiegoPino makes sense to me.

@daniel-dgi
Copy link
Contributor

You nailed it. getBasicImage, postBasicImage, etc...

Update for #47, also
changed the individual route definition file names just to be
consistent on current naming.
@DiegoPino
Copy link
Contributor

@ruebot, i think we are ready for another test. 🙏

@ruebot
Copy link
Member

ruebot commented Oct 5, 2015

@DiegoPino++ -- pulling down latest updates, and doing a vagrant up now 😄

@ruebot
Copy link
Member

ruebot commented Oct 5, 2015

We can create collection objects and basic image objects, but the image derivatives are not created:

2015-10-05 19:01:21,707 | INFO  | FelixStartLevel  | HttpServiceFactoryImpl           | 80 - org.ops4j.pax.web.pax-web-runtime - 3.2.3 | Binding bundle: [io.hawt.hawtio-web [100]] to http service
2015-10-05 19:01:22,806 | INFO  | pool-7-thread-1  | ConfigManager                    | 100 - io.hawt.hawtio-web - 1.4.52 | Configuration will be discovered via system properties
2015-10-05 19:01:22,821 | INFO  | pool-7-thread-1  | JmxTreeWatcher                   | 100 - io.hawt.hawtio-web - 1.4.52 | Welcome to hawtio 1.4.52 : http://hawt.io/ : Don't cha wish your console was hawt like me? ;-)
2015-10-05 19:01:22,823 | INFO  | pool-7-thread-1  | UploadManager                    | 100 - io.hawt.hawtio-web - 1.4.52 | Using file upload directory: /tmp/uploads
2015-10-05 19:01:22,876 | INFO  | pool-7-thread-1  | AuthenticationFilter             | 100 - io.hawt.hawtio-web - 1.4.52 | Starting hawtio authentication filter, JAAS realm: "karaf" authorized role(s): "admin,viewer" role principal classes: "org.apache.karaf.jaas.boot.principal.RolePrincipal,org.apache.karaf.jaas.modules.RolePrincipal,org.apache.karaf.jaas.boot.principal.GroupPrincipal"
2015-10-05 19:01:23,518 | INFO  | pool-7-thread-1  | hawtio-web - 100}                | 72 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.17.v20150415 | jolokia-agent: No access restrictor found at classpath:/jolokia-access.xml, access to all MBeans is allowed
2015-10-05 19:01:24,021 | INFO  | pool-7-thread-1  | LoginServlet                     | 100 - io.hawt.hawtio-web - 1.4.52 | hawtio login is using 1800 sec. HttpSession timeout
2015-10-05 19:01:24,058 | INFO  | pool-7-thread-1  | KeycloakServlet                  | 100 - io.hawt.hawtio-web - 1.4.52 | Keycloak integration is disabled
2015-10-05 19:01:24,209 | INFO  | FelixStartLevel  | HttpServiceFactoryImpl           | 80 - org.ops4j.pax.web.pax-web-runtime - 3.2.3 | Binding bundle: [io.hawt.hawtio-karaf-terminal [101]] to http service
2015-10-05 19:01:24,339 | INFO  | pool-7-thread-1  | ConfigManager                    | 101 - io.hawt.hawtio-karaf-terminal - 1.4.52 | Configuration will be discovered via system properties
2015-10-05 19:01:24,346 | INFO  | pool-7-thread-1  | AuthenticationFilter             | 101 - io.hawt.hawtio-karaf-terminal - 1.4.52 | Starting hawtio authentication filter, JAAS realm: "karaf" authorized role(s): "admin,viewer" role principal classes: "org.apache.karaf.jaas.boot.principal.RolePrincipal,org.apache.karaf.jaas.modules.RolePrincipal,org.apache.karaf.jaas.boot.principal.GroupPrincipal"
2015-10-05 19:01:24,418 | INFO  | FelixStartLevel  | AsyncMavenIndexerFacadeFactory   | 102 - io.hawt.hawtio-maven-indexer - 1.4.52 | Started the async timer to create the MavenIndexerFacade after the application starts up
2015-10-05 19:01:24,546 | INFO  | pool-7-thread-1  | LoginServlet                     | 101 - io.hawt.hawtio-karaf-terminal - 1.4.52 | hawtio login is using 1800 sec. HttpSession timeout
2015-10-05 19:01:29,609 | WARN  | FelixStartLevel  | BeanRecipe                       | 15 - org.apache.aries.blueprint.core - 1.4.3 | Object to be destroyed is not an instance of UnwrapperedBeanHolder, type: null
2015-10-05 19:01:29,628 | ERROR | FelixStartLevel  | BlueprintContainerImpl           | 15 - org.apache.aries.blueprint.core - 1.4.3 | Unable to start blueprint container for bundle ca.islandora.camel.sync.islandora-sync-gateway
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean .camelBlueprint.factory.sync
    at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:714)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[15:org.apache.aries.blueprint.core:1.4.3]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_60]
    at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintRepository.createInstance(BlueprintRepository.java:230)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintRepository.create(BlueprintRepository.java:145)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.getComponentInstance(BlueprintContainerImpl.java:754)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.camel.blueprint.handler.CamelNamespaceHandler$CamelDependenciesFinder.process(CamelNamespaceHandler.java:961)[128:org.apache.camel.camel-blueprint:2.15.2]
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.processProcessors(BlueprintContainerImpl.java:529)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:361)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[9:org.apache.aries.util:1.1.0]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[9:org.apache.aries.util:1.1.0]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[9:org.apache.aries.util:1.1.0]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[9:org.apache.aries.util:1.1.0]
    at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[9:org.apache.aries.util:1.1.0]
    at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)[org.apache.felix.framework-4.2.1.jar:]
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)[org.apache.felix.framework-4.2.1.jar:]
    at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]
Caused by: java.lang.IllegalArgumentException: Cannot find RouteContext with id eventGateway
    at org.apache.camel.model.RouteContextRefDefinitionHelper.lookupRoutes(RouteContextRefDefinitionHelper.java:65)
    at org.apache.camel.model.RouteContextRefDefinition.lookupRoutes(RouteContextRefDefinition.java:60)
    at org.apache.camel.core.xml.AbstractCamelContextFactoryBean.initRouteRefs(AbstractCamelContextFactoryBean.java:563)
    at org.apache.camel.core.xml.AbstractCamelContextFactoryBean.setupRoutes(AbstractCamelContextFactoryBean.java:324)
    at org.apache.camel.blueprint.CamelContextFactoryBean.afterPropertiesSet(CamelContextFactoryBean.java:313)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_60]
    at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_60]
    at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[15:org.apache.aries.blueprint.core:1.4.3]
    at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[15:org.apache.aries.blueprint.core:1.4.3]
    ... 29 more

update to previous
#47, forgot to update
routeContextRef for sync service
@ruebot
Copy link
Member

ruebot commented Oct 5, 2015

Testing again!

@ruebot
Copy link
Member

ruebot commented Oct 5, 2015

@DiegoPino++ @acoburn++ perfecto!

Now, we just need to merge with 7.x-2.x branch since we merged #46, and we should be good to go. More than happy to test again once that is in 😄

@DiegoPino
Copy link
Contributor

@ruebot++ , will give this a try tomorrow. Thanks a lot for testing

DiegoPino and others added 2 commits October 6, 2015 10:14
Resolving conflicts with 7.x-2.x - camel_addRouteIds
@acoburn
Copy link
Contributor Author

acoburn commented Oct 6, 2015

I've rebased this against master, so it should be easier to test

@DiegoPino
Copy link
Contributor

@acoburn and @ruebot , since rebase removed pulls against pulls i will do the process again in the afternoon after syncing your branch locally. thanks

@acoburn
Copy link
Contributor Author

acoburn commented Oct 6, 2015

@DiegoPino
Copy link
Contributor

hey @acoburn, don't worry, i will do this later.

@acoburn
Copy link
Contributor Author

acoburn commented Oct 6, 2015

@DiegoPino your commits are now part of this PR

@DiegoPino
Copy link
Contributor

@acoburn++, you are awesome, thanks a lot!

@ruebot
Copy link
Member

ruebot commented Oct 6, 2015

Guess who is testing again!?

@ruebot
Copy link
Member

ruebot commented Oct 6, 2015

@DiegoPino @acoburn double check the rebase again? The image derivative service isn't working now 😢

...I'm not seeing the binary object attach to the basic image object either.

@DiegoPino
Copy link
Contributor

@ruebot or @acoburn, don't want to be a pain, but did you test on a fresh vagrant (destroy - up) after #46? I was searching for the problem on this one so i did a pre-test using current 7.x-2.x only. I got a non functional islandora2, karaf did not deploy the features. I get warnings during maven compile (no fatal errors so the vagrant spins, but i think there are some references wrong) , my humble opinion is that #46 is not complete. E.g, the karaf deployment scripts don't match the new unified structure. Try /opt/karaf/bin/client < $HOME/islandora/install/configs/karaf/services.script, you will get errors.

@ruebot
Copy link
Member

ruebot commented Oct 7, 2015

@DiegoPino I did a fresh vagrant destroy and vagrant up. Running it again, and I'll see if I can verify what you're seeing.

@acoburn
Copy link
Contributor Author

acoburn commented Oct 7, 2015

@ruebot @DiegoPino my approach is somewhat different, which is to start writing a test suite. There are things in this PR that I need for the tests, so I'm wondering whether to a) add stubs for now (i.e. route IDs) and handle any conflicts later or b) hold off on this PR until the tests are farther along or c) cherry pick from this PR and integrate those changes into the test suite as I go along.

I'd like to do the tests in stages. Once I get a framework in place, you'll easily see how to contribute to the test -- testing in camel is not as straight forward as simply writing the routes!

@ruebot
Copy link
Member

ruebot commented Oct 7, 2015

@acoburn My vote would be for option a. We have some stub test suite tickets open (#41 & #42) that we could address after we get this in.

I'm also watching the build now, and looking for @DiegoPino's suspicion that we might need to update the build scripts, and that I might have missed something with vagrant in #46.

...but! Moving forward, I agree that we should aim for more test driven development 😄

@ruebot
Copy link
Member

ruebot commented Oct 7, 2015

hrm... Everything looked fine on this build. This time everything seems fine. When I add a basic image, image is attached, and derivative is created.

Only difference this time around, I'm on my desktop at home instead of my work desktop.

@DiegoPino
Copy link
Contributor

@ruebot - did a second clean vagrant without luck. I'm clueless?

@ruebot
Copy link
Member

ruebot commented Oct 7, 2015

doing a sanity build on 7.x-2.x

@ruebot
Copy link
Member

ruebot commented Oct 7, 2015

7.x-2.x sane.

rebuilding this branch again

@ruebot
Copy link
Member

ruebot commented Oct 7, 2015

Good on a second sanity here at e3298f5

👍

@acoburn
Copy link
Contributor Author

acoburn commented Nov 6, 2015

closing this for now -- I may reopen it later, but I'd like to see a testing framework in place first, similar to #65

@acoburn acoburn closed this Nov 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants