astefanutti commented on issue #424: JVM issue on Minikube while running 
Sample.java integration using 0.2.0 release of Kamel binary
URL: https://github.com/apache/camel-k/issues/424#issuecomment-465652079
 
 
   I've successfully executed `kamel run examples/Sample.java` with Minikube 
0.34.1, Kubernetes 1.13.3 and latest Camel K version:
   
   ```console
   $ kubectl logs sample-7fd4b9bcd4-p5bhk
   Starting the Java application using /opt/run-java/run-java.sh ...
   exec java -XX:+UseParallelGC -XX:GCTimeRatio=4 
-XX:AdaptiveSizePolicyWeight=90 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 
-XX:+ExitOnOutOfMemoryError -cp 
/etc/camel/resources:./resources:dependencies/org.apache.camel.k.camel-k-runtime-jvm-0.3.0-SNAPSHOT.jar:dependencies/org.apache.camel.k.camel-k-runtime-core-0.3.0-SNAPSHOT.jar:dependencies/org.apache.logging.log4j.log4j-core-2.11.1.jar:dependencies/org.apache.logging.log4j.log4j-api-2.11.1.jar:dependencies/org.apache.logging.log4j.log4j-slf4j-impl-2.11.1.jar:dependencies/org.jooq.joor-java-8-0.9.10.jar:dependencies/commons-io.commons-io-2.6.jar:dependencies/org.apache.commons.commons-lang3-3.8.1.jar:dependencies/org.apache.camel.camel-core-2.23.1.jar:dependencies/org.slf4j.slf4j-api-1.7.25.jar:dependencies/com.sun.xml.bind.jaxb-core-2.3.0.jar:dependencies/com.sun.xml.bind.jaxb-impl-2.3.0.jar
 org.apache.camel.k.jvm.Application
   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
   2019-02-20 16:25:52.408 INFO  [main] RoutesConfigurer - Loading routes from: 
file:/etc/camel/sources/Sample.java?language=java
   2019-02-20 16:25:55.254 INFO  [main] DefaultCamelContext - Apache Camel 
2.23.1 (CamelContext: camel-k) is starting
   2019-02-20 16:25:55.262 INFO  [main] ManagedManagementStrategy - JMX is 
enabled
   2019-02-20 16:25:55.968 INFO  [main] DefaultTypeConverter - Type converters 
loaded (core: 195, classpath: 0)
   2019-02-20 16:25:56.448 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
   2019-02-20 16:25:56.628 INFO  [main] DefaultCamelContext - Route: route1 
started and consuming from: timer://tick
   2019-02-20 16:25:56.638 INFO  [main] DefaultCamelContext - Total 1 routes, 
of which 1 are started
   2019-02-20 16:25:56.642 INFO  [main] DefaultCamelContext - Apache Camel 
2.23.1 (CamelContext: camel-k) started in 1.385 seconds
   ```
   
   Could you please give it another try with the latest Camel K 0.2.1 release?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to