Skip to content

Instantly share code, notes, and snippets.

@kameshsampath
Created February 22, 2019 14:25
Show Gist options
  • Save kameshsampath/ea9c8b355bc82110d3d70b1a718598e5 to your computer and use it in GitHub Desktop.
Save kameshsampath/ea9c8b355bc82110d3d70b1a718598e5 to your computer and use it in GitHub Desktop.
[1] Monitoring pod sort-and-upper-case-7dff459c7b-xdhph[1] Starting the Java application using /opt/run-java/run-java.sh ...
[1] exec java -javaagent:/opt/jolokia/jolokia.jar=config=/opt/jolokia/etc/jolokia.properties -javaagent:/opt/prometheus/jmx_prometheus_javaagent.jar=9779:/opt/prometheus/prometheus-config.yml -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.k.camel-knative-0.3.0-SNAPSHOT.jar:dependencies/org.slf4j.slf4j-api-1.7.25.jar:dependencies/org.apache.camel.k.camel-knative-http-0.3.0-SNAPSHOT.jar:dependencies/com.fasterxml.jackson.core.jackson-databind-2.9.8.jar:dependencies/com.fasterxml.jackson.core.jackson-annotations-2.9.0.jar:dependencies/com.fasterxml.jackson.core.jackson-core-2.9.8.jar:dependencies/com.fasterxml.jackson.datatype.jackson-datatype-jdk8-2.9.8.jar:dependencies/org.apache.commons.commons-collections4-4.3.jar:dependencies/org.apache.camel.camel-amqp-2.23.1.jar:dependencies/org.apache.camel.camel-jms-2.23.1.jar:dependencies/org.apache.camel.camel-spring-2.23.1.jar:dependencies/org.springframework.spring-core-5.1.2.RELEASE.jar:dependencies/org.springframework.spring-jcl-5.1.2.RELEASE.jar:dependencies/org.springframework.spring-aop-5.1.2.RELEASE.jar:dependencies/org.springframework.spring-expression-5.1.2.RELEASE.jar:dependencies/org.springframework.spring-jms-5.1.2.RELEASE.jar:dependencies/org.springframework.spring-messaging-5.1.2.RELEASE.jar:dependencies/org.springframework.spring-context-5.1.2.RELEASE.jar:dependencies/org.springframework.spring-tx-5.1.2.RELEASE.jar:dependencies/org.springframework.spring-beans-5.1.2.RELEASE.jar:dependencies/org.apache.geronimo.specs.geronimo-jms_2.0_spec-1.0-alpha-2.jar:dependencies/org.apache.qpid.qpid-jms-client-0.38.0.jar:dependencies/io.netty.netty-transport-native-epoll-4.1.31.Final-linux-x86_64.jar:dependencies/io.netty.netty-transport-native-unix-common-4.1.31.Final.jar:dependencies/io.netty.netty-transport-native-kqueue-4.1.31.Final-osx-x86_64.jar:dependencies/org.apache.qpid.proton-j-0.30.0.jar:dependencies/io.netty.netty-buffer-4.1.31.Final.jar:dependencies/io.netty.netty-common-4.1.31.Final.jar:dependencies/io.netty.netty-handler-4.1.31.Final.jar:dependencies/io.netty.netty-codec-4.1.31.Final.jar:dependencies/io.netty.netty-transport-4.1.31.Final.jar:dependencies/io.netty.netty-resolver-4.1.31.Final.jar:dependencies/io.netty.netty-codec-http-4.1.31.Final.jar:dependencies/com.sun.xml.bind.jaxb-core-2.3.0.jar:dependencies/com.sun.xml.bind.jaxb-impl-2.3.0.jar:dependencies/org.apache.camel.camel-core-2.23.1.jar:dependencies/org.apache.camel.camel-jackson-2.23.1.jar:dependencies/com.fasterxml.jackson.module.jackson-module-jaxb-annotations-2.9.7.jar:dependencies/org.apache.camel.camel-netty4-http-2.23.1.jar:dependencies/org.apache.camel.camel-netty4-2.23.1.jar:dependencies/io.netty.netty-all-4.1.31.Final.jar:dependencies/commons-pool.commons-pool-1.6.jar:dependencies/org.apache.camel.camel-http-common-2.23.1.jar:dependencies/javax.servlet.javax.servlet-api-3.1.0.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] I> No access restrictor found, access to any MBean is allowed
[1] Jolokia: Agent started with URL https://172.17.0.39:8778/jolokia/
[1] 2019-02-22 14:10:05.495 INFO [main] RoutesConfigurer - Loading routes from: file:/etc/camel/sources/SortAndUpperCase.java?language=java
[1] 2019-02-22 14:10:08.796 INFO [main] DefaultCamelContext - Apache Camel 2.23.1 (CamelContext: camel-k) is starting
[1] 2019-02-22 14:10:08.799 INFO [main] ManagedManagementStrategy - JMX is enabled
[1] 2019-02-22 14:10:09.019 INFO [main] DefaultTypeConverter - Type converters loaded (core: 195, classpath: 21)
[1] 2019-02-22 14:10:09.586 INFO [main] DefaultStreamCachingStrategy - StreamCaching in use with spool directory: /tmp/camel/camel-tmp-f7bc1ec5-cac6-4408-a89f-deb6c5d38746 and rules: [Spool > 128K body size]
[1] 2019-02-22 14:10:09.628 INFO [main] AggregateProcessor - Defaulting to MemoryAggregationRepository
[1] 2019-02-22 14:10:09.648 INFO [main] AggregateProcessor - Using CompletionTimeout to trigger after 7000 millis of inactivity.
[1] 2019-02-22 14:10:11.087 INFO [AmqpProvider :(1):[amqp://apache-artemis-amqp:5672]] SaslMechanismFinder - Best match for SASL auth was: SASL-ANONYMOUS
[1] 2019-02-22 14:10:11.802 INFO [AmqpProvider :(1):[amqp://apache-artemis-amqp:5672]] JmsConnection - Connection ID:58d0102d-b69b-4369-b9ac-fbef952d1fdd:1 connected to remote Broker: amqp://apache-artemis-amqp:5672
[1] 2019-02-22 14:10:11.803 INFO [main] DefaultCamelContext - Route: route1 started and consuming from: amqp://queue:examples
[1] 2019-02-22 14:10:11.804 INFO [main] DefaultCamelContext - Total 1 routes, of which 1 are started
[1] 2019-02-22 14:10:11.805 INFO [main] DefaultCamelContext - Apache Camel 2.23.1 (CamelContext: camel-k) started in 3.008 seconds
[1] 2019-02-22 14:18:51.589 INFO [Camel (camel-k) thread #3 - JmsConsumer[examples]] route1 - Object FQN data-fruits.txt Split Size:
[1] 2019-02-22 14:18:51.863 INFO [Camel (camel-k) thread #3 - JmsConsumer[examples]] route1 - Object FQN data-fruits.txt Split Size:
[1] 2019-02-22 14:18:51.971 INFO [Camel (camel-k) thread #3 - JmsConsumer[examples]] route1 - Object FQN data-fruits.txt Split Size:
[1] 2019-02-22 14:18:52.156 INFO [Camel (camel-k) thread #3 - JmsConsumer[examples]] route1 - Object FQN data-fruits.txt Split Size:
[1] 2019-02-22 14:18:52.302 INFO [Camel (camel-k) thread #3 - JmsConsumer[examples]] route1 - Object FQN data-fruits.txt Split Size: 5
[1] 2019-02-22 14:18:52.316 INFO [Camel (camel-k) thread #3 - JmsConsumer[examples]] route1 - Sending Body: APPLE,BANANA,JACKFRUIT,MANGO,ORANGE
w[1] 2019-02-22 14:18:52.942 WARN [Camel (camel-k) thread #3 - JmsConsumer[examples]] AggregateProcessor - Error processing aggregated exchange. Exchange[ID-sort-and-upper-case-7dff459c7b-xdhph-1550844605422-0-2]. Caused by: [org.apache.camel.component.netty4.http.NettyHttpOperationFailedException - Netty HTTP operation failed invoking null with statusCode: 500]
[1] org.apache.camel.component.netty4.http.NettyHttpOperationFailedException: Netty HTTP operation failed invoking null with statusCode: 500
[1] at org.apache.camel.component.netty4.http.NettyHttpHelper.populateNettyHttpOperationFailedException(NettyHttpHelper.java:162) ~[org.apache.camel.camel-netty4-http-2.23.1.jar:2.23.1]
[1] at org.apache.camel.component.netty4.http.NettyHttpProducer$NettyHttpProducerCallback.done(NettyHttpProducer.java:138) ~[org.apache.camel.camel-netty4-http-2.23.1.jar:2.23.1]
[1] at org.apache.camel.component.netty4.NettyProducer$NettyProducerCallback.done(NettyProducer.java:548) ~[org.apache.camel.camel-netty4-2.23.1.jar:2.23.1]
[1] at org.apache.camel.component.netty4.handlers.ClientChannelHandler.channelRead0(ClientChannelHandler.java:210) ~[org.apache.camel.camel-netty4-2.23.1.jar:2.23.1]
[1] at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) ~[io.netty.netty-codec-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:438) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323) ~[io.netty.netty-codec-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297) ~[io.netty.netty-codec-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:253) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:648) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:583) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:500) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:462) ~[io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:897) ~[io.netty.netty-common-4.1.31.Final.jar:4.1.31.Final]
[1] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
[1] 2019-02-22 14:18:52.943 ERROR [Camel Thread #4 - NettyClientTCPWorker] DefaultErrorHandler - Failed delivery for (MessageId: ID-sort-and-upper-case-7dff459c7b-xdhph-1550844605422-0-10 on ExchangeId: ID-sort-and-upper-case-7dff459c7b-xdhph-1550844605422-0-2). Exhausted after delivery attempt: 1 caught: org.apache.camel.component.netty4.http.NettyHttpOperationFailedException: Netty HTTP operation failed invoking null with statusCode: 500
[1]
[1] Message History
[1] ---------------------------------------------------------------------------------------------------------------------------------------
[1] RouteId ProcessorId Processor Elapsed (ms)
[1] [route1 ] [route1 ] [amqp://queue:examples ] [ 1519]
[1] [route1 ] [log1 ] [log ] [ 24]
[1] [route1 ] [aggregate1 ] [aggregate[header(objectFQN)] ] [ 2]
[1] [route1 ] [process1 ] [Processor@0xcbd8395 ] [ 4]
[1] [route1 ] [log2 ] [log ] [ 3]
[1] [route1 ] [to1 ] [knative:channel/sortucase ] [ 618]
[1]
[1] Stacktrace
[1] ---------------------------------------------------------------------------------------------------------------------------------------
[1] org.apache.camel.component.netty4.http.NettyHttpOperationFailedException: Netty HTTP operation failed invoking null with statusCode: 500
[1] at org.apache.camel.component.netty4.http.NettyHttpHelper.populateNettyHttpOperationFailedException(NettyHttpHelper.java:162) ~[org.apache.camel.camel-netty4-http-2.23.1.jar:2.23.1]
[1] at org.apache.camel.component.netty4.http.NettyHttpProducer$NettyHttpProducerCallback.done(NettyHttpProducer.java:138) [org.apache.camel.camel-netty4-http-2.23.1.jar:2.23.1]
[1] at org.apache.camel.component.netty4.NettyProducer$NettyProducerCallback.done(NettyProducer.java:548) [org.apache.camel.camel-netty4-2.23.1.jar:2.23.1]
[1] at org.apache.camel.component.netty4.handlers.ClientChannelHandler.channelRead0(ClientChannelHandler.java:210) [org.apache.camel.camel-netty4-2.23.1.jar:2.23.1]
[1] at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [io.netty.netty-codec-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:438) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323) [io.netty.netty-codec-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297) [io.netty.netty-codec-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:253) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:648) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:583) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:500) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:462) [io.netty.netty-transport-4.1.31.Final.jar:4.1.31.Final]
[1] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:897) [io.netty.netty-common-4.1.31.Final.jar:4.1.31.Final]
[1] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment