lburgazzoli commented on issue #664: Sample does not work after change camel version URL: https://github.com/apache/camel-k/issues/664#issuecomment-493785307 I did try to reproduce the issue but I can't. Here my platform configuration: ```yaml apiVersion: v1 items: - apiVersion: camel.apache.org/v1alpha1 kind: IntegrationPlatform metadata: creationTimestamp: 2019-05-19T19:25:52Z generation: 3 labels: app: camel-k name: camel-k namespace: camel-k resourceVersion: "10128" selfLink: /apis/camel.apache.org/v1alpha1/namespaces/camel-k/integrationplatforms/camel-k uid: ea64300d-7a6b-11e9-8d9a-525400cb6b2a spec: build: baseImage: fabric8/s2i-java:3.0-java8 buildStrategy: routine camelVersion: 3.0.0-M2 localRepository: /tmp/artifacts/m2 persistentVolumeClaim: camel-k publishStrategy: S2I registry: {} runtimeVersion: 0.3.2 timeout: 5m0s cluster: OpenShift profile: OpenShift resources: contexts: - none status: phase: Ready kind: List metadata: resourceVersion: "" selfLink: "" ``` When I run the integration provided by `examples/Sample.java`, I get: ``` $ kamel run --dev examples/Sample.java integration "sample" created integration "sample" in phase Building Context integration "sample" in phase Deploying integration "sample" in phase Running [1] Monitoring pod sample-749d4596d-pbrhd[1] Starting the Java application using /opt/run-java/run-java.sh ... [1] exec java -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:+ExitOnOutOfMemoryError -cp ./resources:/etc/camel/conf:/etc/camel/resources:/etc/camel/sources/i-source-000:dependencies/com.github.ben-manes.caffeine.caffeine-2.7.0.jar:dependencies/com.google.errorprone.error_prone_annotations-2.3.3.jar:dependencies/commons-io.commons-io-2.6.jar:dependencies/org.apache.camel.camel-api-3.0.0-M2.jar:dependencies/org.apache.camel.camel-base-3.0.0-M2.jar:dependencies/org.apache.camel.camel-browse-3.0.0-M2.jar:dependencies/org.apache.camel.camel-controlbus-3.0.0-M2.jar:dependencies/org.apache.camel.camel-core-3.0.0-M2.jar:dependencies/org.apache.camel.camel-dataformat-3.0.0-M2.jar:dependencies/org.apache.camel.camel-direct-3.0.0-M2.jar:dependencies/org.apache.camel.camel-directvm-3.0.0-M2.jar:dependencies/org.apache.camel.camel-file-3.0.0-M2.jar:dependencies/org.apache.camel.camel-language-3.0.0-M2.jar:dependencies/org.apache.camel.camel-log-3.0.0-M2.jar:dependencies/org.apache.camel.camel-management-api-3.0.0-M2.jar:dependencies/org.apache.camel.camel-properties-3.0.0-M2.jar:dependencies/org.apache.camel.camel-ref-3.0.0-M2.jar:dependencies/org.apache.camel.camel-rest-3.0.0-M2.jar:dependencies/org.apache.camel.camel-saga-3.0.0-M2.jar:dependencies/org.apache.camel.camel-scheduler-3.0.0-M2.jar:dependencies/org.apache.camel.camel-seda-3.0.0-M2.jar:dependencies/org.apache.camel.camel-stub-3.0.0-M2.jar:dependencies/org.apache.camel.camel-support-3.0.0-M2.jar:dependencies/org.apache.camel.camel-timer-3.0.0-M2.jar:dependencies/org.apache.camel.camel-util-3.0.0-M2.jar:dependencies/org.apache.camel.camel-util-json-3.0.0-M2.jar:dependencies/org.apache.camel.camel-validator-3.0.0-M2.jar:dependencies/org.apache.camel.camel-vm-3.0.0-M2.jar:dependencies/org.apache.camel.camel-xslt-3.0.0-M2.jar:dependencies/org.apache.camel.k.camel-k-adapter-camel-3-0.3.2.jar:dependencies/org.apache.camel.k.camel-k-runtime-core-0.3.2.jar:dependencies/org.apache.camel.k.camel-k-runtime-jvm-0.3.2.jar:dependencies/org.apache.commons.commons-lang3-3.8.1.jar:dependencies/org.apache.logging.log4j.log4j-api-2.11.2.jar:dependencies/org.apache.logging.log4j.log4j-core-2.11.2.jar:dependencies/org.apache.logging.log4j.log4j-slf4j-impl-2.11.2.jar:dependencies/org.checkerframework.checker-qual-2.6.0.jar:dependencies/org.jooq.joor-java-8-0.9.10.jar:dependencies/org.slf4j.slf4j-api-1.7.25.jar org.apache.camel.k.jvm.Application [1] OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N [1] 2019-05-19 19:36:11.396 INFO [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.ContextConfigurer@5223e5ee [1] 2019-05-19 19:36:11.399 INFO [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.ContextLifecycleConfigurer@3d680b5a [1] 2019-05-19 19:36:11.401 INFO [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.RoutesConfigurer@3c130745 [1] 2019-05-19 19:36:11.402 INFO [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.RoutesDumper@470f1802 [1] 2019-05-19 19:36:11.406 INFO [main] MainSupport - Using optional properties from classpath:application.properties [1] 2019-05-19 19:36:11.455 INFO [main] RoutesConfigurer - Loading routes from: file:/etc/camel/sources/i-source-000/Sample.java?language=java [1] 2019-05-19 19:36:12.226 INFO [main] DefaultCamelContext - Apache Camel 3.0.0-M2 (CamelContext: camel-k) is starting [1] 2019-05-19 19:36:12.228 INFO [main] DefaultManagementStrategy - JMX is disabled [1] 2019-05-19 19:36:12.311 INFO [main] FastTypeConverterRegistry - Type converters loaded (core: 183, classpath: 14) [1] 2019-05-19 19:36:12.610 INFO [main] DefaultCamelContext - StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html [1] 2019-05-19 19:36:12.619 INFO [main] DefaultCamelContext - Route: route1 started and consuming from: timer://tick [1] 2019-05-19 19:36:12.621 INFO [main] DefaultCamelContext - Total 1 routes, of which 1 are started [1] 2019-05-19 19:36:12.624 INFO [main] DefaultCamelContext - Apache Camel 3.0.0-M2 (CamelContext: camel-k) started in 0.395 seconds [1] 2019-05-19 19:36:13.652 INFO [Camel (camel-k) thread #2 - timer://tick] route1 - Hello Camel K! ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
