. ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v1.5.16.RELEASE) 2019-02-21 11:12:03.679 INFO 3444 --- [ main] com.redhat.fuse.quickstarts.Application : Starting Application on vkasala-OSX with PID 3444 (/Users/vkasala/Downloads/spring-boot-camel-xa 2/target/spring-boot-camel-xa-1.0-SNAPSHOT.jar started by vkasala in /Users/vkasala/Downloads/spring-boot-camel-xa 2) 2019-02-21 11:12:03.683 INFO 3444 --- [ main] com.redhat.fuse.quickstarts.Application : No active profile set, falling back to default profiles: default 2019-02-21 11:12:03.747 INFO 3444 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@69663380: startup date [Thu Feb 21 11:12:03 CET 2019]; root of context hierarchy 2019-02-21 11:12:05.525 INFO 3444 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.camel.spring.boot.CamelAutoConfiguration' of type [org.apache.camel.spring.boot.CamelAutoConfiguration$$EnhancerBySpringCGLIB$$5dded559] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-02-21 11:12:05.537 INFO 3444 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$3bb50f3a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-02-21 11:12:05.958 INFO 3444 --- [ main] org.xnio : XNIO version 3.3.8.Final 2019-02-21 11:12:05.977 INFO 3444 --- [ main] org.xnio.nio : XNIO NIO Implementation Version 3.3.8.Final 2019-02-21 11:12:06.073 WARN 3444 --- [ main] io.undertow.websockets.jsr : UT026009: XNIO worker was not set on WebSocketDeploymentInfo, the default worker will be used 2019-02-21 11:12:06.073 WARN 3444 --- [ main] io.undertow.websockets.jsr : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used 2019-02-21 11:12:06.100 INFO 3444 --- [ main] io.undertow.servlet : Initializing Spring embedded WebApplicationContext 2019-02-21 11:12:06.100 INFO 3444 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2356 ms 2019-02-21 11:12:06.366 INFO 3444 --- [ main] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/] 2019-02-21 11:12:06.370 INFO 3444 --- [ main] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'CamelServlet' to [/api/*] 2019-02-21 11:12:06.372 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricsFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/*] 2019-02-21 11:12:06.516 WARN 3444 --- [ main] com.arjuna.ats.common : ARJUNA048002: Could not find configuration file, URL was: null 2019-02-21 11:12:06.554 INFO 3444 --- [ main] com.arjuna.ats.jbossatx : ARJUNA032010: JBossTS Recovery Service (tag: unknown) - JBoss Inc. 2019-02-21 11:12:06.611 INFO 3444 --- [ main] com.arjuna.ats.jbossatx : ARJUNA032013: Starting transaction recovery manager 2019-02-21 11:12:06.725 INFO 3444 --- [ main] o.s.t.jta.JtaTransactionManager : Using JTA UserTransaction: Transaction: unknown 2019-02-21 11:12:06.725 INFO 3444 --- [ main] o.s.t.jta.JtaTransactionManager : Using JTA TransactionManager: Transaction: unknown 2019-02-21 11:12:07.443 INFO 3444 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@69663380: startup date [Thu Feb 21 11:12:03 CET 2019]; root of context hierarchy 2019-02-21 11:12:07.536 INFO 3444 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest) 2019-02-21 11:12:07.537 INFO 3444 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) 2019-02-21 11:12:07.587 INFO 3444 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-02-21 11:12:07.587 INFO 3444 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-02-21 11:12:07.654 INFO 3444 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-02-21 11:12:07.947 INFO 3444 --- [ main] o.a.c.i.converter.DefaultTypeConverter : Type converters loaded (core: 194, classpath: 7) 2019-02-21 11:12:10.645 INFO 3444 --- [ main] o.s.jdbc.datasource.init.ScriptUtils : Executing SQL script from URL [jar:file:/Users/vkasala/Downloads/spring-boot-camel-xa%202/target/spring-boot-camel-xa-1.0-SNAPSHOT.jar!/BOOT-INF/classes!/schema.sql] 2019-02-21 11:12:10.800 INFO 3444 --- [ main] o.s.jdbc.datasource.init.ScriptUtils : Executed SQL script from URL [jar:file:/Users/vkasala/Downloads/spring-boot-camel-xa%202/target/spring-boot-camel-xa-1.0-SNAPSHOT.jar!/BOOT-INF/classes!/schema.sql] in 155 ms. 2019-02-21 11:12:11.275 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/trace || /trace.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.276 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/route-controller || /camel/route-controller.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.280 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/start],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.start(java.lang.String) 2019-02-21 11:12:11.280 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/stop],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.stop(java.lang.String,java.lang.Long,java.lang.Boolean) 2019-02-21 11:12:11.281 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/suspend],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.suspend(java.lang.String,java.lang.Long) 2019-02-21 11:12:11.281 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/resume],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.resume(java.lang.String) 2019-02-21 11:12:11.281 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/reset],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.reset(java.lang.String) 2019-02-21 11:12:11.281 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/detail],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.detail(java.lang.String) 2019-02-21 11:12:11.281 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/info],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.info(java.lang.String) 2019-02-21 11:12:11.282 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes || /camel/routes.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.285 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/health || /health.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(javax.servlet.http.HttpServletRequest,java.security.Principal) 2019-02-21 11:12:11.287 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.get(java.lang.String) 2019-02-21 11:12:11.287 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[POST],consumes=[application/vnd.spring-boot.actuator.v1+json || application/json],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.set(java.lang.String,java.util.Map) 2019-02-21 11:12:11.287 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers || /loggers.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.289 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/health/check/{id}/invoke],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelHealthCheckMvcEndpoint.invoke(java.lang.String,java.util.Map) 2019-02-21 11:12:11.289 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/health/check/{id}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelHealthCheckMvcEndpoint.query(java.lang.String,java.util.Map) 2019-02-21 11:12:11.290 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/health/check || /camel/health/check.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.290 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/info || /info.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.291 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EnvironmentMvcEndpoint.value(java.lang.String) 2019-02-21 11:12:11.292 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env || /env.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.292 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/mappings || /mappings.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.293 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/configprops || /configprops.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.294 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/auditevents || /auditevents.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public org.springframework.http.ResponseEntity org.springframework.boot.actuate.endpoint.mvc.AuditEventsMvcEndpoint.findByPrincipalAndAfterAndType(java.lang.String,java.util.Date,java.lang.String) 2019-02-21 11:12:11.295 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint.value(java.lang.String) 2019-02-21 11:12:11.295 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics || /metrics.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.296 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/dump || /dump.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.297 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/beans || /beans.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.299 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/heapdump || /heapdump.json],methods=[GET],produces=[application/octet-stream]}" onto public void org.springframework.boot.actuate.endpoint.mvc.HeapdumpMvcEndpoint.invoke(boolean,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException,javax.servlet.ServletException 2019-02-21 11:12:11.300 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/autoconfig || /autoconfig.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.596 INFO 3444 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup 2019-02-21 11:12:11.618 INFO 3444 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 0 2019-02-21 11:12:11.701 INFO 3444 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 2147483647 2019-02-21 11:12:11.829 INFO 3444 --- [ main] o.a.camel.spring.boot.RoutesCollector : Loading additional Camel XML routes from: classpath:camel/*.xml 2019-02-21 11:12:11.829 INFO 3444 --- [ main] o.a.camel.spring.boot.RoutesCollector : Loading additional Camel XML rests from: classpath:camel-rest/*.xml 2019-02-21 11:12:11.852 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Apache Camel 2.21.0.fuse-730046 (CamelContext: SpringBootCamelXa) is starting 2019-02-21 11:12:11.855 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Tracing is enabled on CamelContext: SpringBootCamelXa 2019-02-21 11:12:11.855 INFO 3444 --- [ main] o.a.c.m.ManagedManagementStrategy : JMX is enabled 2019-02-21 11:12:12.260 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : 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-21 11:12:12.446 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Route: route3 started and consuming from: direct://transaction 2019-02-21 11:12:12.452 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Route: route4 started and consuming from: jms://outbound 2019-02-21 11:12:12.454 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Route: route1 started and consuming from: servlet:/?httpMethodRestrict=GET 2019-02-21 11:12:12.455 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Route: route2 started and consuming from: servlet:/?httpMethodRestrict=POST 2019-02-21 11:12:12.456 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Total 4 routes, of which 4 are started 2019-02-21 11:12:12.457 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Apache Camel 2.21.0.fuse-730046 (CamelContext: SpringBootCamelXa) started in 0.604 seconds 2019-02-21 11:12:12.464 INFO 3444 --- [sumer[outbound]] com.arjuna.ats.arjuna : ARJUNA012170: TransactionStatusManager started on port 53619 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService 2019-02-21 11:12:12.465 INFO 3444 --- [ main] o.a.c.c.s.CamelHttpTransportServlet : Initialized CamelHttpTransportServlet[name=CamelServlet, contextPath=] 2019-02-21 11:12:12.548 INFO 3444 --- [ main] b.c.e.u.UndertowEmbeddedServletContainer : Undertow started on port(s) 8080 (http) 2019-02-21 11:12:12.558 INFO 3444 --- [ main] com.redhat.fuse.quickstarts.Application : Started Application in 9.252 seconds (JVM running for 9.759) 2019-02-21 11:12:21.735 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route2) from(servlet:/?httpMethodRestrict=POST) --> transform[header(entry)] <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:org.apache.camel.converter.stream.InputStreamCache, Body:[Body is instance of org.apache.camel.StreamCache] 2019-02-21 11:12:21.738 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route2) transform[header(entry)] --> direct://transaction <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.742 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route3) direct://transaction --> transacted <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.743 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route3) transacted --> transform[Simple: ${body}] <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.743 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route3) transform[Simple: ${body}] --> log[Processing {message} = ${body}] <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.744 INFO 3444 --- [ XNIO-2 task-1] route3 : Processing {message} = hello 2019-02-21 11:12:21.744 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route3) log[Processing {message} = ${body}] --> setHeader[message, Simple: ${body}] <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.744 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route3) setHeader[message, Simple: ${body}] --> sql://insert%20into%20audit_log%20(message)%20values%20(:%23message) <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, message=hello, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.972 WARN 3444 --- [ XNIO-2 task-1] com.arjuna.ats.jta : ARJUNA016061: TransactionImple.enlistResource - XAResource.start returned: XAException.XAER_RMERR for < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffff0a280367:d16f:5c6e7976:2c, node_name=1, branch_uid=0:ffff0a280367:d16f:5c6e7976:69, subordinatenodename=null, eis_name=0 > javax.transaction.xa.XAException: com.microsoft.sqlserver.jdbc.SQLServerException: Failed to create the XA control connection. Error: "The connection is closed." at com.microsoft.sqlserver.jdbc.SQLServerXAResource.DTC_XA_Interface(SQLServerXAResource.java:732) ~[mssql-jdbc-6.4.0.jre8.jar!/:na] at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(SQLServerXAResource.java:766) ~[mssql-jdbc-6.4.0.jre8.jar!/:na] at com.arjuna.ats.internal.jdbc.IsSameRMOverrideXAResource.start(IsSameRMOverrideXAResource.java:66) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:662) ~[jta-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jdbc.ConnectionImple.registerDatabase(ConnectionImple.java:940) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jdbc.ConnectionImple.prepareStatement(ConnectionImple.java:173) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at org.apache.camel.component.sql.SqlProducer$1.createPreparedStatement(SqlProducer.java:90) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:633) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.component.sql.SqlProducer.process(SqlProducer.java:116) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:406) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:176) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:101) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:183) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:176) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:136) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:105) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.component.direct.DirectBlockingProducer.process(DirectBlockingProducer.java:53) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.doService(CamelServlet.java:214) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.service(CamelServlet.java:80) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar!/:3.1.0] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55) [spring-boot-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:111) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:103) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:330) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_151] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_151] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_151] 2019-02-21 11:12:21.976 WARN 3444 --- [ XNIO-2 task-1] com.arjuna.ats.jta : ARJUNA016138: Failed to enlist XA resource com.arjuna.ats.internal.jdbc.IsSameRMOverrideXAResource@24eab95f javax.transaction.SystemException: TransactionImple.enlistResource - XAResource.start ARJUNA016054: could not register transaction: < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffff0a280367:d16f:5c6e7976:2c, node_name=1, branch_uid=0:ffff0a280367:d16f:5c6e7976:69, subordinatenodename=null, eis_name=0 > at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:715) ~[jta-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jdbc.ConnectionImple.registerDatabase(ConnectionImple.java:940) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jdbc.ConnectionImple.prepareStatement(ConnectionImple.java:173) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at org.apache.camel.component.sql.SqlProducer$1.createPreparedStatement(SqlProducer.java:90) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:633) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.component.sql.SqlProducer.process(SqlProducer.java:116) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:406) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:176) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:101) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:183) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:176) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:136) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:105) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.component.direct.DirectBlockingProducer.process(DirectBlockingProducer.java:53) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.doService(CamelServlet.java:214) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.service(CamelServlet.java:80) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar!/:3.1.0] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55) [spring-boot-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:111) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:103) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:330) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_151] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_151] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_151] 2019-02-21 11:12:21.997 INFO 3444 --- [ XNIO-2 task-1] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] 2019-02-21 11:12:22.080 ERROR 3444 --- [ XNIO-2 task-1] o.a.camel.processor.DefaultErrorHandler : Failed delivery for (MessageId: ID-vkasala-OSX-1550743926881-0-2 on ExchangeId: ID-vkasala-OSX-1550743926881-0-1). Exhausted after delivery attempt: 1 caught: org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed; nested exception is java.sql.SQLException: ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed Message History --------------------------------------------------------------------------------------------------------------------------------------- RouteId ProcessorId Processor Elapsed (ms) [route2 ] [route2 ] [servlet:/?httpMethodRestrict=POST ] [ 353] [route2 ] [transform2 ] [transform[header{header(entry)}] ] [ 6] [route2 ] [to5 ] [direct:transaction ] [ 0] [route3 ] [transacted1 ] [transacted ] [ 0] [route3 ] [transform1 ] [transform[simple{${body}}] ] [ 1] [route3 ] [log1 ] [log ] [ 1] [route3 ] [setHeader1 ] [setHeader[message] ] [ 0] [route3 ] [to1 ] [sql:insert into audit_log (message) values (:#message) ] [ 0] Stacktrace --------------------------------------------------------------------------------------------------------------------------------------- org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed; nested exception is java.sql.SQLException: ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:90) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:82) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:82) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:655) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.component.sql.SqlProducer.process(SqlProducer.java:116) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:406) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:176) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:101) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:183) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:176) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:136) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:105) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.component.direct.DirectBlockingProducer.process(DirectBlockingProducer.java:53) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.doService(CamelServlet.java:214) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.service(CamelServlet.java:80) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar!/:3.1.0] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55) [spring-boot-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:111) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:103) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:330) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_151] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_151] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_151] Caused by: java.sql.SQLException: ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed at com.arjuna.ats.internal.jdbc.ConnectionImple.registerDatabase(ConnectionImple.java:961) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jdbc.ConnectionImple.prepareStatement(ConnectionImple.java:173) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at org.apache.camel.component.sql.SqlProducer$1.createPreparedStatement(SqlProducer.java:90) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:633) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] ... 95 common frames omitted 2019-02-21 11:12:22.085 WARN 3444 --- [ XNIO-2 task-1] com.arjuna.ats.jta : ARJUNA016087: TransactionImple.delistResource - unknown resource 2019-02-21 11:12:22.085 WARN 3444 --- [ XNIO-2 task-1] o.a.c.s.spi.TransactionErrorHandler : Transaction rollback (0x7436364d) redelivered(false) for (MessageId: ID-vkasala-OSX-1550743926881-0-2 on ExchangeId: ID-vkasala-OSX-1550743926881-0-1) caught: org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed; nested exception is java.sql.SQLException: ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v1.5.16.RELEASE) 2019-02-21 11:12:03.679 INFO 3444 --- [ main] com.redhat.fuse.quickstarts.Application : Starting Application on vkasala-OSX with PID 3444 (/Users/vkasala/Downloads/spring-boot-camel-xa 2/target/spring-boot-camel-xa-1.0-SNAPSHOT.jar started by vkasala in /Users/vkasala/Downloads/spring-boot-camel-xa 2) 2019-02-21 11:12:03.683 INFO 3444 --- [ main] com.redhat.fuse.quickstarts.Application : No active profile set, falling back to default profiles: default 2019-02-21 11:12:03.747 INFO 3444 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@69663380: startup date [Thu Feb 21 11:12:03 CET 2019]; root of context hierarchy 2019-02-21 11:12:05.525 INFO 3444 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.camel.spring.boot.CamelAutoConfiguration' of type [org.apache.camel.spring.boot.CamelAutoConfiguration$$EnhancerBySpringCGLIB$$5dded559] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-02-21 11:12:05.537 INFO 3444 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$3bb50f3a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-02-21 11:12:05.958 INFO 3444 --- [ main] org.xnio : XNIO version 3.3.8.Final 2019-02-21 11:12:05.977 INFO 3444 --- [ main] org.xnio.nio : XNIO NIO Implementation Version 3.3.8.Final 2019-02-21 11:12:06.073 WARN 3444 --- [ main] io.undertow.websockets.jsr : UT026009: XNIO worker was not set on WebSocketDeploymentInfo, the default worker will be used 2019-02-21 11:12:06.073 WARN 3444 --- [ main] io.undertow.websockets.jsr : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used 2019-02-21 11:12:06.100 INFO 3444 --- [ main] io.undertow.servlet : Initializing Spring embedded WebApplicationContext 2019-02-21 11:12:06.100 INFO 3444 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2356 ms 2019-02-21 11:12:06.366 INFO 3444 --- [ main] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/] 2019-02-21 11:12:06.370 INFO 3444 --- [ main] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'CamelServlet' to [/api/*] 2019-02-21 11:12:06.372 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricsFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/*] 2019-02-21 11:12:06.516 WARN 3444 --- [ main] com.arjuna.ats.common : ARJUNA048002: Could not find configuration file, URL was: null 2019-02-21 11:12:06.554 INFO 3444 --- [ main] com.arjuna.ats.jbossatx : ARJUNA032010: JBossTS Recovery Service (tag: unknown) - JBoss Inc. 2019-02-21 11:12:06.611 INFO 3444 --- [ main] com.arjuna.ats.jbossatx : ARJUNA032013: Starting transaction recovery manager 2019-02-21 11:12:06.725 INFO 3444 --- [ main] o.s.t.jta.JtaTransactionManager : Using JTA UserTransaction: Transaction: unknown 2019-02-21 11:12:06.725 INFO 3444 --- [ main] o.s.t.jta.JtaTransactionManager : Using JTA TransactionManager: Transaction: unknown 2019-02-21 11:12:07.443 INFO 3444 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@69663380: startup date [Thu Feb 21 11:12:03 CET 2019]; root of context hierarchy 2019-02-21 11:12:07.536 INFO 3444 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest) 2019-02-21 11:12:07.537 INFO 3444 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) 2019-02-21 11:12:07.587 INFO 3444 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-02-21 11:12:07.587 INFO 3444 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-02-21 11:12:07.654 INFO 3444 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-02-21 11:12:07.947 INFO 3444 --- [ main] o.a.c.i.converter.DefaultTypeConverter : Type converters loaded (core: 194, classpath: 7) 2019-02-21 11:12:10.645 INFO 3444 --- [ main] o.s.jdbc.datasource.init.ScriptUtils : Executing SQL script from URL [jar:file:/Users/vkasala/Downloads/spring-boot-camel-xa%202/target/spring-boot-camel-xa-1.0-SNAPSHOT.jar!/BOOT-INF/classes!/schema.sql] 2019-02-21 11:12:10.800 INFO 3444 --- [ main] o.s.jdbc.datasource.init.ScriptUtils : Executed SQL script from URL [jar:file:/Users/vkasala/Downloads/spring-boot-camel-xa%202/target/spring-boot-camel-xa-1.0-SNAPSHOT.jar!/BOOT-INF/classes!/schema.sql] in 155 ms. 2019-02-21 11:12:11.275 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/trace || /trace.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.276 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/route-controller || /camel/route-controller.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.280 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/start],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.start(java.lang.String) 2019-02-21 11:12:11.280 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/stop],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.stop(java.lang.String,java.lang.Long,java.lang.Boolean) 2019-02-21 11:12:11.281 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/suspend],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.suspend(java.lang.String,java.lang.Long) 2019-02-21 11:12:11.281 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/resume],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.resume(java.lang.String) 2019-02-21 11:12:11.281 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/reset],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.reset(java.lang.String) 2019-02-21 11:12:11.281 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/detail],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.detail(java.lang.String) 2019-02-21 11:12:11.281 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/info],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.info(java.lang.String) 2019-02-21 11:12:11.282 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes || /camel/routes.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.285 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/health || /health.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(javax.servlet.http.HttpServletRequest,java.security.Principal) 2019-02-21 11:12:11.287 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.get(java.lang.String) 2019-02-21 11:12:11.287 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[POST],consumes=[application/vnd.spring-boot.actuator.v1+json || application/json],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.set(java.lang.String,java.util.Map) 2019-02-21 11:12:11.287 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers || /loggers.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.289 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/health/check/{id}/invoke],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelHealthCheckMvcEndpoint.invoke(java.lang.String,java.util.Map) 2019-02-21 11:12:11.289 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/health/check/{id}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelHealthCheckMvcEndpoint.query(java.lang.String,java.util.Map) 2019-02-21 11:12:11.290 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/health/check || /camel/health/check.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.290 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/info || /info.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.291 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EnvironmentMvcEndpoint.value(java.lang.String) 2019-02-21 11:12:11.292 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env || /env.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.292 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/mappings || /mappings.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.293 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/configprops || /configprops.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.294 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/auditevents || /auditevents.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public org.springframework.http.ResponseEntity org.springframework.boot.actuate.endpoint.mvc.AuditEventsMvcEndpoint.findByPrincipalAndAfterAndType(java.lang.String,java.util.Date,java.lang.String) 2019-02-21 11:12:11.295 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint.value(java.lang.String) 2019-02-21 11:12:11.295 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics || /metrics.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.296 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/dump || /dump.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.297 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/beans || /beans.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.299 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/heapdump || /heapdump.json],methods=[GET],produces=[application/octet-stream]}" onto public void org.springframework.boot.actuate.endpoint.mvc.HeapdumpMvcEndpoint.invoke(boolean,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException,javax.servlet.ServletException 2019-02-21 11:12:11.300 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/autoconfig || /autoconfig.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.596 INFO 3444 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup 2019-02-21 11:12:11.618 INFO 3444 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 0 2019-02-21 11:12:11.701 INFO 3444 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 2147483647 2019-02-21 11:12:11.829 INFO 3444 --- [ main] o.a.camel.spring.boot.RoutesCollector : Loading additional Camel XML routes from: classpath:camel/*.xml 2019-02-21 11:12:11.829 INFO 3444 --- [ main] o.a.camel.spring.boot.RoutesCollector : Loading additional Camel XML rests from: classpath:camel-rest/*.xml 2019-02-21 11:12:11.852 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Apache Camel 2.21.0.fuse-730046 (CamelContext: SpringBootCamelXa) is starting 2019-02-21 11:12:11.855 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Tracing is enabled on CamelContext: SpringBootCamelXa 2019-02-21 11:12:11.855 INFO 3444 --- [ main] o.a.c.m.ManagedManagementStrategy : JMX is enabled 2019-02-21 11:12:12.260 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : 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-21 11:12:12.446 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Route: route3 started and consuming from: direct://transaction 2019-02-21 11:12:12.452 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Route: route4 started and consuming from: jms://outbound 2019-02-21 11:12:12.454 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Route: route1 started and consuming from: servlet:/?httpMethodRestrict=GET 2019-02-21 11:12:12.455 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Route: route2 started and consuming from: servlet:/?httpMethodRestrict=POST 2019-02-21 11:12:12.456 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Total 4 routes, of which 4 are started 2019-02-21 11:12:12.457 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Apache Camel 2.21.0.fuse-730046 (CamelContext: SpringBootCamelXa) started in 0.604 seconds 2019-02-21 11:12:12.464 INFO 3444 --- [sumer[outbound]] com.arjuna.ats.arjuna : ARJUNA012170: TransactionStatusManager started on port 53619 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService 2019-02-21 11:12:12.465 INFO 3444 --- [ main] o.a.c.c.s.CamelHttpTransportServlet : Initialized CamelHttpTransportServlet[name=CamelServlet, contextPath=] 2019-02-21 11:12:12.548 INFO 3444 --- [ main] b.c.e.u.UndertowEmbeddedServletContainer : Undertow started on port(s) 8080 (http) 2019-02-21 11:12:12.558 INFO 3444 --- [ main] com.redhat.fuse.quickstarts.Application : Started Application in 9.252 seconds (JVM running for 9.759) 2019-02-21 11:12:21.735 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route2) from(servlet:/?httpMethodRestrict=POST) --> transform[header(entry)] <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:org.apache.camel.converter.stream.InputStreamCache, Body:[Body is instance of org.apache.camel.StreamCache] 2019-02-21 11:12:21.738 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route2) transform[header(entry)] --> direct://transaction <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.742 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route3) direct://transaction --> transacted <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.743 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route3) transacted --> transform[Simple: ${body}] <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.743 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route3) transform[Simple: ${body}] --> log[Processing {message} = ${body}] <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.744 INFO 3444 --- [ XNIO-2 task-1] route3 : Processing {message} = hello 2019-02-21 11:12:21.744 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route3) log[Processing {message} = ${body}] --> setHeader[message, Simple: ${body}] <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.744 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route3) setHeader[message, Simple: ${body}] --> sql://insert%20into%20audit_log%20(message)%20values%20(:%23message) <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, message=hello, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.972 WARN 3444 --- [ XNIO-2 task-1] com.arjuna.ats.jta : ARJUNA016061: TransactionImple.enlistResource - XAResource.start returned: XAException.XAER_RMERR for < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffff0a280367:d16f:5c6e7976:2c, node_name=1, branch_uid=0:ffff0a280367:d16f:5c6e7976:69, subordinatenodename=null, eis_name=0 > javax.transaction.xa.XAException: com.microsoft.sqlserver.jdbc.SQLServerException: Failed to create the XA control connection. Error: "The connection is closed." at com.microsoft.sqlserver.jdbc.SQLServerXAResource.DTC_XA_Interface(SQLServerXAResource.java:732) ~[mssql-jdbc-6.4.0.jre8.jar!/:na] at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(SQLServerXAResource.java:766) ~[mssql-jdbc-6.4.0.jre8.jar!/:na] at com.arjuna.ats.internal.jdbc.IsSameRMOverrideXAResource.start(IsSameRMOverrideXAResource.java:66) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:662) ~[jta-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jdbc.ConnectionImple.registerDatabase(ConnectionImple.java:940) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jdbc.ConnectionImple.prepareStatement(ConnectionImple.java:173) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at org.apache.camel.component.sql.SqlProducer$1.createPreparedStatement(SqlProducer.java:90) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:633) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.component.sql.SqlProducer.process(SqlProducer.java:116) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:406) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:176) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:101) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:183) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:176) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:136) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:105) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.component.direct.DirectBlockingProducer.process(DirectBlockingProducer.java:53) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.doService(CamelServlet.java:214) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.service(CamelServlet.java:80) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar!/:3.1.0] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55) [spring-boot-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:111) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:103) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:330) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_151] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_151] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_151] 2019-02-21 11:12:21.976 WARN 3444 --- [ XNIO-2 task-1] com.arjuna.ats.jta : ARJUNA016138: Failed to enlist XA resource com.arjuna.ats.internal.jdbc.IsSameRMOverrideXAResource@24eab95f javax.transaction.SystemException: TransactionImple.enlistResource - XAResource.start ARJUNA016054: could not register transaction: < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffff0a280367:d16f:5c6e7976:2c, node_name=1, branch_uid=0:ffff0a280367:d16f:5c6e7976:69, subordinatenodename=null, eis_name=0 > at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:715) ~[jta-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jdbc.ConnectionImple.registerDatabase(ConnectionImple.java:940) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jdbc.ConnectionImple.prepareStatement(ConnectionImple.java:173) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at org.apache.camel.component.sql.SqlProducer$1.createPreparedStatement(SqlProducer.java:90) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:633) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.component.sql.SqlProducer.process(SqlProducer.java:116) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:406) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:176) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:101) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:183) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:176) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:136) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:105) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.component.direct.DirectBlockingProducer.process(DirectBlockingProducer.java:53) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.doService(CamelServlet.java:214) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.service(CamelServlet.java:80) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar!/:3.1.0] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55) [spring-boot-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:111) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:103) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:330) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_151] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_151] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_151] 2019-02-21 11:12:21.997 INFO 3444 --- [ XNIO-2 task-1] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] 2019-02-21 11:12:22.080 ERROR 3444 --- [ XNIO-2 task-1] o.a.camel.processor.DefaultErrorHandler : Failed delivery for (MessageId: ID-vkasala-OSX-1550743926881-0-2 on ExchangeId: ID-vkasala-OSX-1550743926881-0-1). Exhausted after delivery attempt: 1 caught: org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed; nested exception is java.sql.SQLException: ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed Message History --------------------------------------------------------------------------------------------------------------------------------------- RouteId ProcessorId Processor Elapsed (ms) [route2 ] [route2 ] [servlet:/?httpMethodRestrict=POST ] [ 353] [route2 ] [transform2 ] [transform[header{header(entry)}] ] [ 6] [route2 ] [to5 ] [direct:transaction ] [ 0] [route3 ] [transacted1 ] [transacted ] [ 0] [route3 ] [transform1 ] [transform[simple{${body}}] ] [ 1] [route3 ] [log1 ] [log ] [ 1] [route3 ] [setHeader1 ] [setHeader[message] ] [ 0] [route3 ] [to1 ] [sql:insert into audit_log (message) values (:#message) ] [ 0] Stacktrace --------------------------------------------------------------------------------------------------------------------------------------- org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed; nested exception is java.sql.SQLException: ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:90) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:82) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:82) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:655) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.component.sql.SqlProducer.process(SqlProducer.java:116) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:406) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:176) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:101) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:183) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:176) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:136) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:105) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.component.direct.DirectBlockingProducer.process(DirectBlockingProducer.java:53) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.doService(CamelServlet.java:214) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.service(CamelServlet.java:80) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar!/:3.1.0] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55) [spring-boot-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:111) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:103) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:330) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_151] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_151] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_151] Caused by: java.sql.SQLException: ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed at com.arjuna.ats.internal.jdbc.ConnectionImple.registerDatabase(ConnectionImple.java:961) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jdbc.ConnectionImple.prepareStatement(ConnectionImple.java:173) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at org.apache.camel.component.sql.SqlProducer$1.createPreparedStatement(SqlProducer.java:90) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:633) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] ... 95 common frames omitted 2019-02-21 11:12:22.085 WARN 3444 --- [ XNIO-2 task-1] com.arjuna.ats.jta : ARJUNA016087: TransactionImple.delistResource - unknown resource 2019-02-21 11:12:22.085 WARN 3444 --- [ XNIO-2 task-1] o.a.c.s.spi.TransactionErrorHandler : Transaction rollback (0x7436364d) redelivered(false) for (MessageId: ID-vkasala-OSX-1550743926881-0-2 on ExchangeId: ID-vkasala-OSX-1550743926881-0-1) caught: org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed; nested exception is java.sql.SQLException: ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v1.5.16.RELEASE) 2019-02-21 11:12:03.679 INFO 3444 --- [ main] com.redhat.fuse.quickstarts.Application : Starting Application on vkasala-OSX with PID 3444 (/Users/vkasala/Downloads/spring-boot-camel-xa 2/target/spring-boot-camel-xa-1.0-SNAPSHOT.jar started by vkasala in /Users/vkasala/Downloads/spring-boot-camel-xa 2) 2019-02-21 11:12:03.683 INFO 3444 --- [ main] com.redhat.fuse.quickstarts.Application : No active profile set, falling back to default profiles: default 2019-02-21 11:12:03.747 INFO 3444 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@69663380: startup date [Thu Feb 21 11:12:03 CET 2019]; root of context hierarchy 2019-02-21 11:12:05.525 INFO 3444 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.camel.spring.boot.CamelAutoConfiguration' of type [org.apache.camel.spring.boot.CamelAutoConfiguration$$EnhancerBySpringCGLIB$$5dded559] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-02-21 11:12:05.537 INFO 3444 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$3bb50f3a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-02-21 11:12:05.958 INFO 3444 --- [ main] org.xnio : XNIO version 3.3.8.Final 2019-02-21 11:12:05.977 INFO 3444 --- [ main] org.xnio.nio : XNIO NIO Implementation Version 3.3.8.Final 2019-02-21 11:12:06.073 WARN 3444 --- [ main] io.undertow.websockets.jsr : UT026009: XNIO worker was not set on WebSocketDeploymentInfo, the default worker will be used 2019-02-21 11:12:06.073 WARN 3444 --- [ main] io.undertow.websockets.jsr : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used 2019-02-21 11:12:06.100 INFO 3444 --- [ main] io.undertow.servlet : Initializing Spring embedded WebApplicationContext 2019-02-21 11:12:06.100 INFO 3444 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2356 ms 2019-02-21 11:12:06.366 INFO 3444 --- [ main] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/] 2019-02-21 11:12:06.370 INFO 3444 --- [ main] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'CamelServlet' to [/api/*] 2019-02-21 11:12:06.372 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricsFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/*] 2019-02-21 11:12:06.374 INFO 3444 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/*] 2019-02-21 11:12:06.516 WARN 3444 --- [ main] com.arjuna.ats.common : ARJUNA048002: Could not find configuration file, URL was: null 2019-02-21 11:12:06.554 INFO 3444 --- [ main] com.arjuna.ats.jbossatx : ARJUNA032010: JBossTS Recovery Service (tag: unknown) - JBoss Inc. 2019-02-21 11:12:06.611 INFO 3444 --- [ main] com.arjuna.ats.jbossatx : ARJUNA032013: Starting transaction recovery manager 2019-02-21 11:12:06.725 INFO 3444 --- [ main] o.s.t.jta.JtaTransactionManager : Using JTA UserTransaction: Transaction: unknown 2019-02-21 11:12:06.725 INFO 3444 --- [ main] o.s.t.jta.JtaTransactionManager : Using JTA TransactionManager: Transaction: unknown 2019-02-21 11:12:07.443 INFO 3444 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@69663380: startup date [Thu Feb 21 11:12:03 CET 2019]; root of context hierarchy 2019-02-21 11:12:07.536 INFO 3444 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest) 2019-02-21 11:12:07.537 INFO 3444 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) 2019-02-21 11:12:07.587 INFO 3444 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-02-21 11:12:07.587 INFO 3444 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-02-21 11:12:07.654 INFO 3444 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-02-21 11:12:07.947 INFO 3444 --- [ main] o.a.c.i.converter.DefaultTypeConverter : Type converters loaded (core: 194, classpath: 7) 2019-02-21 11:12:10.645 INFO 3444 --- [ main] o.s.jdbc.datasource.init.ScriptUtils : Executing SQL script from URL [jar:file:/Users/vkasala/Downloads/spring-boot-camel-xa%202/target/spring-boot-camel-xa-1.0-SNAPSHOT.jar!/BOOT-INF/classes!/schema.sql] 2019-02-21 11:12:10.800 INFO 3444 --- [ main] o.s.jdbc.datasource.init.ScriptUtils : Executed SQL script from URL [jar:file:/Users/vkasala/Downloads/spring-boot-camel-xa%202/target/spring-boot-camel-xa-1.0-SNAPSHOT.jar!/BOOT-INF/classes!/schema.sql] in 155 ms. 2019-02-21 11:12:11.275 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/trace || /trace.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.276 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/route-controller || /camel/route-controller.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.280 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/start],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.start(java.lang.String) 2019-02-21 11:12:11.280 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/stop],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.stop(java.lang.String,java.lang.Long,java.lang.Boolean) 2019-02-21 11:12:11.281 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/suspend],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.suspend(java.lang.String,java.lang.Long) 2019-02-21 11:12:11.281 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/resume],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.resume(java.lang.String) 2019-02-21 11:12:11.281 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/reset],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.reset(java.lang.String) 2019-02-21 11:12:11.281 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/detail],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.detail(java.lang.String) 2019-02-21 11:12:11.281 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/info],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.info(java.lang.String) 2019-02-21 11:12:11.282 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes || /camel/routes.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.285 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/health || /health.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(javax.servlet.http.HttpServletRequest,java.security.Principal) 2019-02-21 11:12:11.287 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.get(java.lang.String) 2019-02-21 11:12:11.287 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[POST],consumes=[application/vnd.spring-boot.actuator.v1+json || application/json],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.set(java.lang.String,java.util.Map) 2019-02-21 11:12:11.287 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers || /loggers.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.289 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/health/check/{id}/invoke],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelHealthCheckMvcEndpoint.invoke(java.lang.String,java.util.Map) 2019-02-21 11:12:11.289 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/health/check/{id}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelHealthCheckMvcEndpoint.query(java.lang.String,java.util.Map) 2019-02-21 11:12:11.290 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/health/check || /camel/health/check.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.290 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/info || /info.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.291 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EnvironmentMvcEndpoint.value(java.lang.String) 2019-02-21 11:12:11.292 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env || /env.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.292 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/mappings || /mappings.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.293 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/configprops || /configprops.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.294 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/auditevents || /auditevents.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public org.springframework.http.ResponseEntity org.springframework.boot.actuate.endpoint.mvc.AuditEventsMvcEndpoint.findByPrincipalAndAfterAndType(java.lang.String,java.util.Date,java.lang.String) 2019-02-21 11:12:11.295 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint.value(java.lang.String) 2019-02-21 11:12:11.295 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics || /metrics.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.296 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/dump || /dump.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.297 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/beans || /beans.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.299 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/heapdump || /heapdump.json],methods=[GET],produces=[application/octet-stream]}" onto public void org.springframework.boot.actuate.endpoint.mvc.HeapdumpMvcEndpoint.invoke(boolean,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException,javax.servlet.ServletException 2019-02-21 11:12:11.300 INFO 3444 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/autoconfig || /autoconfig.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-02-21 11:12:11.596 INFO 3444 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup 2019-02-21 11:12:11.618 INFO 3444 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 0 2019-02-21 11:12:11.701 INFO 3444 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 2147483647 2019-02-21 11:12:11.829 INFO 3444 --- [ main] o.a.camel.spring.boot.RoutesCollector : Loading additional Camel XML routes from: classpath:camel/*.xml 2019-02-21 11:12:11.829 INFO 3444 --- [ main] o.a.camel.spring.boot.RoutesCollector : Loading additional Camel XML rests from: classpath:camel-rest/*.xml 2019-02-21 11:12:11.852 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Apache Camel 2.21.0.fuse-730046 (CamelContext: SpringBootCamelXa) is starting 2019-02-21 11:12:11.855 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Tracing is enabled on CamelContext: SpringBootCamelXa 2019-02-21 11:12:11.855 INFO 3444 --- [ main] o.a.c.m.ManagedManagementStrategy : JMX is enabled 2019-02-21 11:12:12.260 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : 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-21 11:12:12.446 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Route: route3 started and consuming from: direct://transaction 2019-02-21 11:12:12.452 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Route: route4 started and consuming from: jms://outbound 2019-02-21 11:12:12.454 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Route: route1 started and consuming from: servlet:/?httpMethodRestrict=GET 2019-02-21 11:12:12.455 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Route: route2 started and consuming from: servlet:/?httpMethodRestrict=POST 2019-02-21 11:12:12.456 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Total 4 routes, of which 4 are started 2019-02-21 11:12:12.457 INFO 3444 --- [ main] o.a.camel.spring.SpringCamelContext : Apache Camel 2.21.0.fuse-730046 (CamelContext: SpringBootCamelXa) started in 0.604 seconds 2019-02-21 11:12:12.464 INFO 3444 --- [sumer[outbound]] com.arjuna.ats.arjuna : ARJUNA012170: TransactionStatusManager started on port 53619 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService 2019-02-21 11:12:12.465 INFO 3444 --- [ main] o.a.c.c.s.CamelHttpTransportServlet : Initialized CamelHttpTransportServlet[name=CamelServlet, contextPath=] 2019-02-21 11:12:12.548 INFO 3444 --- [ main] b.c.e.u.UndertowEmbeddedServletContainer : Undertow started on port(s) 8080 (http) 2019-02-21 11:12:12.558 INFO 3444 --- [ main] com.redhat.fuse.quickstarts.Application : Started Application in 9.252 seconds (JVM running for 9.759) 2019-02-21 11:12:21.735 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route2) from(servlet:/?httpMethodRestrict=POST) --> transform[header(entry)] <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:org.apache.camel.converter.stream.InputStreamCache, Body:[Body is instance of org.apache.camel.StreamCache] 2019-02-21 11:12:21.738 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route2) transform[header(entry)] --> direct://transaction <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.742 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route3) direct://transaction --> transacted <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.743 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route3) transacted --> transform[Simple: ${body}] <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.743 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route3) transform[Simple: ${body}] --> log[Processing {message} = ${body}] <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.744 INFO 3444 --- [ XNIO-2 task-1] route3 : Processing {message} = hello 2019-02-21 11:12:21.744 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route3) log[Processing {message} = ${body}] --> setHeader[message, Simple: ${body}] <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.744 INFO 3444 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1550743926881-0-1 >>> (route3) setHeader[message, Simple: ${body}] --> sql://insert%20into%20audit_log%20(message)%20values%20(:%23message) <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1550743926881-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=hello, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@7fccf86b, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, entry=hello, Host=localhost:8080, message=hello, User-Agent=curl/7.54.0}, BodyType:String, Body:hello 2019-02-21 11:12:21.972 WARN 3444 --- [ XNIO-2 task-1] com.arjuna.ats.jta : ARJUNA016061: TransactionImple.enlistResource - XAResource.start returned: XAException.XAER_RMERR for < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffff0a280367:d16f:5c6e7976:2c, node_name=1, branch_uid=0:ffff0a280367:d16f:5c6e7976:69, subordinatenodename=null, eis_name=0 > javax.transaction.xa.XAException: com.microsoft.sqlserver.jdbc.SQLServerException: Failed to create the XA control connection. Error: "The connection is closed." at com.microsoft.sqlserver.jdbc.SQLServerXAResource.DTC_XA_Interface(SQLServerXAResource.java:732) ~[mssql-jdbc-6.4.0.jre8.jar!/:na] at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(SQLServerXAResource.java:766) ~[mssql-jdbc-6.4.0.jre8.jar!/:na] at com.arjuna.ats.internal.jdbc.IsSameRMOverrideXAResource.start(IsSameRMOverrideXAResource.java:66) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:662) ~[jta-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jdbc.ConnectionImple.registerDatabase(ConnectionImple.java:940) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jdbc.ConnectionImple.prepareStatement(ConnectionImple.java:173) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at org.apache.camel.component.sql.SqlProducer$1.createPreparedStatement(SqlProducer.java:90) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:633) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.component.sql.SqlProducer.process(SqlProducer.java:116) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:406) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:176) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:101) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:183) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:176) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:136) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:105) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.component.direct.DirectBlockingProducer.process(DirectBlockingProducer.java:53) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.doService(CamelServlet.java:214) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.service(CamelServlet.java:80) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar!/:3.1.0] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55) [spring-boot-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:111) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:103) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:330) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_151] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_151] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_151] 2019-02-21 11:12:21.976 WARN 3444 --- [ XNIO-2 task-1] com.arjuna.ats.jta : ARJUNA016138: Failed to enlist XA resource com.arjuna.ats.internal.jdbc.IsSameRMOverrideXAResource@24eab95f javax.transaction.SystemException: TransactionImple.enlistResource - XAResource.start ARJUNA016054: could not register transaction: < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffff0a280367:d16f:5c6e7976:2c, node_name=1, branch_uid=0:ffff0a280367:d16f:5c6e7976:69, subordinatenodename=null, eis_name=0 > at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:715) ~[jta-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jdbc.ConnectionImple.registerDatabase(ConnectionImple.java:940) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jdbc.ConnectionImple.prepareStatement(ConnectionImple.java:173) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at org.apache.camel.component.sql.SqlProducer$1.createPreparedStatement(SqlProducer.java:90) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:633) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.component.sql.SqlProducer.process(SqlProducer.java:116) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:406) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:176) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:101) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:183) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:176) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:136) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:105) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.component.direct.DirectBlockingProducer.process(DirectBlockingProducer.java:53) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.doService(CamelServlet.java:214) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.service(CamelServlet.java:80) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar!/:3.1.0] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55) [spring-boot-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:111) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:103) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:330) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_151] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_151] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_151] 2019-02-21 11:12:21.997 INFO 3444 --- [ XNIO-2 task-1] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] 2019-02-21 11:12:22.080 ERROR 3444 --- [ XNIO-2 task-1] o.a.camel.processor.DefaultErrorHandler : Failed delivery for (MessageId: ID-vkasala-OSX-1550743926881-0-2 on ExchangeId: ID-vkasala-OSX-1550743926881-0-1). Exhausted after delivery attempt: 1 caught: org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed; nested exception is java.sql.SQLException: ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed Message History --------------------------------------------------------------------------------------------------------------------------------------- RouteId ProcessorId Processor Elapsed (ms) [route2 ] [route2 ] [servlet:/?httpMethodRestrict=POST ] [ 353] [route2 ] [transform2 ] [transform[header{header(entry)}] ] [ 6] [route2 ] [to5 ] [direct:transaction ] [ 0] [route3 ] [transacted1 ] [transacted ] [ 0] [route3 ] [transform1 ] [transform[simple{${body}}] ] [ 1] [route3 ] [log1 ] [log ] [ 1] [route3 ] [setHeader1 ] [setHeader[message] ] [ 0] [route3 ] [to1 ] [sql:insert into audit_log (message) values (:#message) ] [ 0] Stacktrace --------------------------------------------------------------------------------------------------------------------------------------- org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed; nested exception is java.sql.SQLException: ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:90) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:82) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:82) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:655) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.component.sql.SqlProducer.process(SqlProducer.java:116) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ~[camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:406) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:176) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:101) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:183) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) [spring-tx-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:176) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:136) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:105) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114) [camel-spring-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.component.direct.DirectBlockingProducer.process(DirectBlockingProducer.java:53) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:181) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97) [camel-core-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.doService(CamelServlet.java:214) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.apache.camel.http.common.CamelServlet.service(CamelServlet.java:80) [camel-http-common-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar!/:3.1.0] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55) [spring-boot-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:111) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:103) [spring-boot-actuator-1.5.16.RELEASE.jar!/:1.5.16.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:330) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812) [undertow-core-1.4.18.SP5-redhat-1.jar!/:1.4.18.SP5-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_151] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_151] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_151] Caused by: java.sql.SQLException: ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed at com.arjuna.ats.internal.jdbc.ConnectionImple.registerDatabase(ConnectionImple.java:961) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at com.arjuna.ats.internal.jdbc.ConnectionImple.prepareStatement(ConnectionImple.java:173) ~[jdbc-5.9.1.Final.jar!/:5.9.1.Final] at org.apache.camel.component.sql.SqlProducer$1.createPreparedStatement(SqlProducer.java:90) ~[camel-sql-2.21.0.fuse-730046.jar!/:2.21.0.fuse-730046] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:633) ~[spring-jdbc-4.3.19.RELEASE.jar!/:4.3.19.RELEASE] ... 95 common frames omitted 2019-02-21 11:12:22.085 WARN 3444 --- [ XNIO-2 task-1] com.arjuna.ats.jta : ARJUNA016087: TransactionImple.delistResource - unknown resource 2019-02-21 11:12:22.085 WARN 3444 --- [ XNIO-2 task-1] o.a.c.s.spi.TransactionErrorHandler : Transaction rollback (0x7436364d) redelivered(false) for (MessageId: ID-vkasala-OSX-1550743926881-0-2 on ExchangeId: ID-vkasala-OSX-1550743926881-0-1) caught: org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed; nested exception is java.sql.SQLException: ConnectionImple.registerDatabase - ARJUNA017017: enlist of resource failed