Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-9211

Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError in Spring Boot, Camel, XA

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • fuse-7.3
    • fuse-7.0, fuse-7.0.1, fuse-7.1, fuse-7.2
    • Camel, Narayana
    • None
    • % %
    • Hide

      1. Run amq7 e.g. docker run --rm -ti -p 8161:8161 -p 61617:61616 docker-registry.engineering.redhat.com/fuse-qe/jboss-amq-7:7.1.0
      2. Create DB2 database instance:
      http://dballocator.mw.lab.eng.bos.redhat.com:8080/Allocator/AllocatorServlet?operation=report
      3. Unzip and build reproducer: mvn clean install
      4. mv spring-boot:run

      Show
      1. Run amq7 e.g. docker run --rm -ti -p 8161:8161 -p 61617:61616 docker-registry.engineering.redhat.com/fuse-qe/jboss-amq-7:7.1.0 2. Create DB2 database instance: http://dballocator.mw.lab.eng.bos.redhat.com:8080/Allocator/AllocatorServlet?operation=report 3. Unzip and build reproducer: mvn clean install 4. mv spring-boot:run

      I modified spring-boot-camel-xa-transaction to simulate the DB2 error. When I use spring-boot's datasource autoconfiguration feature, I hit this issue with DB2 driver. I tried all proposed solutions from https://stackoverflow.com/questions/3957131/java-lang-unsatisfiedlinkerror-while-loading-db2-jdbc-driver/3970188.

      2018-07-23 08:55:17.661  INFO 2860 --- [           main] com.redhat.fuse.quickstarts.Application  : Starting Application on vkasala-OSX.local with PID 2860 (/Users/vkasala/Work/Repositories/github/spring-boot-camel-xa/target/classes started by vkasala in /Users/vkasala/Work/Repositories/github/spring-boot-camel-xa)
      2018-07-23 08:55:17.664  INFO 2860 --- [           main] com.redhat.fuse.quickstarts.Application  : No active profile set, falling back to default profiles: default
      2018-07-23 08:55:17.706  INFO 2860 --- [           main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@38fe0002: startup date [Mon Jul 23 08:55:17 CEST 2018]; root of context hierarchy
      2018-07-23 08:55:19.009  INFO 2860 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.camel.spring.boot.CamelAutoConfiguration' of type [org.apache.camel.spring.boot.CamelAutoConfiguration$$EnhancerBySpringCGLIB$$64230cce] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
      2018-07-23 08:55:19.017  INFO 2860 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$41f946af] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
      2018-07-23 08:55:19.266  INFO 2860 --- [           main] org.xnio                                 : XNIO version 3.3.8.Final
      2018-07-23 08:55:19.277  INFO 2860 --- [           main] org.xnio.nio                             : XNIO NIO Implementation Version 3.3.8.Final
      2018-07-23 08:55:19.348  WARN 2860 --- [           main] io.undertow.websockets.jsr               : UT026009: XNIO worker was not set on WebSocketDeploymentInfo, the default worker will be used
      2018-07-23 08:55:19.348  WARN 2860 --- [           main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used
      2018-07-23 08:55:19.366  INFO 2860 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext
      2018-07-23 08:55:19.367  INFO 2860 --- [           main] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 1664 ms
      2018-07-23 08:55:19.560  INFO 2860 --- [           main] o.s.b.w.servlet.ServletRegistrationBean  : Mapping servlet: 'dispatcherServlet' to [/]
      2018-07-23 08:55:19.563  INFO 2860 --- [           main] o.s.b.w.servlet.ServletRegistrationBean  : Mapping servlet: 'CamelServlet' to [/api/*]
      2018-07-23 08:55:19.564  INFO 2860 --- [           main] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'metricsFilter' to: [/*]
      2018-07-23 08:55:19.565  INFO 2860 --- [           main] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
      2018-07-23 08:55:19.565  INFO 2860 --- [           main] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
      2018-07-23 08:55:19.565  INFO 2860 --- [           main] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]
      2018-07-23 08:55:19.565  INFO 2860 --- [           main] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]
      2018-07-23 08:55:19.565  INFO 2860 --- [           main] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'webRequestLoggingFilter' to: [/*]
      2018-07-23 08:55:19.565  INFO 2860 --- [           main] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'applicationContextIdFilter' to: [/*]
      2018-07-23 08:55:19.671  WARN 2860 --- [           main] com.arjuna.ats.common                    : ARJUNA048002: Could not find configuration file, URL was: null
      2018-07-23 08:55:19.699  INFO 2860 --- [           main] com.arjuna.ats.jbossatx                  : ARJUNA032010: JBossTS Recovery Service (tag: unknown) - JBoss Inc.
      2018-07-23 08:55:19.707 DEBUG 2860 --- [           main] com.arjuna.ats.arjuna                    : Start RecoveryActivators
      2018-07-23 08:55:19.727 DEBUG 2860 --- [           main] com.arjuna.ats.arjuna                    : AtomicActionRecoveryModule created
      2018-07-23 08:55:19.735 DEBUG 2860 --- [           main] com.arjuna.ats.arjuna                    : Expiry scan interval set to 43200 seconds
      2018-07-23 08:55:19.736 DEBUG 2860 --- [           main] com.arjuna.ats.arjuna                    : Expiry scan interval set to  43200  seconds
      2018-07-23 08:55:19.736 DEBUG 2860 --- [           main] com.arjuna.ats.arjuna                    : ExpiredTransactionStatusManagerScanner created, with expiry time of 43200  seconds
      2018-07-23 08:55:19.736 DEBUG 2860 --- [           main] com.arjuna.ats.arjuna                    : ExpiredEntryMonitor - constructed
      2018-07-23 08:55:19.736 DEBUG 2860 --- [           main] com.arjuna.ats.arjuna                    : RecoveryManagerImple is ready. Socket listener is turned off.
      2018-07-23 08:55:19.736  INFO 2860 --- [           main] com.arjuna.ats.jbossatx                  : ARJUNA032013: Starting transaction recovery manager
      2018-07-23 08:55:19.737 DEBUG 2860 --- [d Entry Monitor] com.arjuna.ats.arjuna                    : ExpiredEntryMonitor running at Mon, 23 Jul 2018 08:55:19
      2018-07-23 08:55:19.737 DEBUG 2860 --- [riodic Recovery] com.arjuna.ats.arjuna                    : PeriodicRecovery: background thread Status <== SCANNING
      2018-07-23 08:55:19.737 DEBUG 2860 --- [d Entry Monitor] com.arjuna.ats.arjuna                    : ExpiredTransactionStatusManagerScanner - scanning to remove items from before Sun, 22 Jul 2018 20:55:19
      2018-07-23 08:55:19.738 DEBUG 2860 --- [riodic Recovery] com.arjuna.ats.arjuna                    : PeriodicRecovery: background thread scanning
      2018-07-23 08:55:19.738 DEBUG 2860 --- [d Entry Monitor] com.arjuna.ats.arjuna                    :
      2018-07-23 08:55:19.738 DEBUG 2860 --- [riodic Recovery] com.arjuna.ats.arjuna                    : Periodic recovery first pass at Mon, 23 Jul 2018 08:55:19
      2018-07-23 08:55:19.738 DEBUG 2860 --- [riodic Recovery] com.arjuna.ats.arjuna                    : AtomicActionRecoveryModule first pass
      2018-07-23 08:55:19.738 DEBUG 2860 --- [riodic Recovery] com.arjuna.ats.arjuna                    : processing /StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction transactions
      2018-07-23 08:55:19.738 DEBUG 2860 --- [riodic Recovery] com.arjuna.ats.arjuna                    :
      2018-07-23 08:55:19.739 DEBUG 2860 --- [riodic Recovery] com.arjuna.ats.arjuna                    : XARecoveryModule state change IDLE->FIRST_PASS
      
      2018-07-23 08:55:19.742 DEBUG 2860 --- [riodic Recovery] com.arjuna.ats.jta                       : Local XARecoveryModule - first pass
      2018-07-23 08:55:19.744 DEBUG 2860 --- [riodic Recovery] com.arjuna.ats.arjuna                    : XARecoveryModule state change FIRST_PASS->BETWEEN_PASSES
      
      2018-07-23 08:55:19.744 DEBUG 2860 --- [riodic Recovery] com.arjuna.ats.arjuna                    :
      2018-07-23 08:55:19.820  INFO 2860 --- [           main] o.s.t.jta.JtaTransactionManager          : Using JTA UserTransaction: Transaction: unknown
      2018-07-23 08:55:19.820  INFO 2860 --- [           main] o.s.t.jta.JtaTransactionManager          : Using JTA TransactionManager: Transaction: unknown
      2018-07-23 08:55:19.990  WARN 2860 --- [           main] o.a.c.i.DefaultCamelBeanPostProcessor    : No CamelContext defined yet so cannot inject into bean: routesHealthCheckRepository
      2018-07-23 08:55:20.312  INFO 2860 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@38fe0002: startup date [Mon Jul 23 08:55:17 CEST 2018]; root of context hierarchy
      2018-07-23 08:55:20.374  INFO 2860 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
      2018-07-23 08:55:20.375  INFO 2860 --- [           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)
      2018-07-23 08:55:20.422  INFO 2860 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      2018-07-23 08:55:20.422  INFO 2860 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      2018-07-23 08:55:20.468  INFO 2860 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      2018-07-23 08:55:20.561  INFO 2860 --- [           main] o.a.c.i.converter.DefaultTypeConverter   : Type converters loaded (core: 194, classpath: 7)
      2018-07-23 08:55:21.314  INFO 2860 --- [           main] o.s.jdbc.datasource.init.ScriptUtils     : Executing SQL script from URL [file:/Users/vkasala/Work/Repositories/github/spring-boot-camel-xa/target/classes/schema.sql]
      com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      	at com.ibm.db2.jcc.am.b4.a(b4.java:731)
      	at com.ibm.db2.jcc.am.b4.a(b4.java:66)
      	at com.ibm.db2.jcc.am.b4.a(b4.java:102)
      	at com.ibm.db2.jcc.t2.a.a(a.java:37)
      	at com.ibm.db2.jcc.t2.T2Configuration.<clinit>(T2Configuration.java:95)
      	at com.ibm.db2.jcc.DB2BaseDataSource.instantiateLogWriter(DB2BaseDataSource.java:11451)
      	at com.ibm.db2.jcc.DB2BaseDataSource.computeJccLogWriterForNewConnection(DB2BaseDataSource.java:11364)
      	at com.ibm.db2.jcc.DB2BaseDataSource.computeJccLogWriterForNewConnection(DB2BaseDataSource.java:11317)
      	at com.ibm.db2.jcc.DB2XADataSource.getXAConnection(DB2XADataSource.java:159)
      	at com.ibm.db2.jcc.DB2XADataSource.getXAConnection(DB2XADataSource.java:134)
      	at com.arjuna.ats.internal.jdbc.ProvidedXADataSourceConnection.createConnection(ProvidedXADataSourceConnection.java:280)
      	at com.arjuna.ats.internal.jdbc.ProvidedXADataSourceConnection.getConnection(ProvidedXADataSourceConnection.java:194)
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.getConnection(ConnectionImple.java:866)
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.registerDatabase(ConnectionImple.java:946)
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.createStatement(ConnectionImple.java:174)
      	at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:467)
      	at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238)
      	at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.runScripts(DataSourceInitializer.java:192)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.runSchemaScripts(DataSourceInitializer.java:92)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.init(DataSourceInitializer.java:83)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1626)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
      	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:220)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1018)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:345)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:340)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerPostProcessor.postProcessAfterInitialization(DataSourceInitializerPostProcessor.java:62)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:423)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1638)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
      	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
      	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
      	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
      	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
      	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
      	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
      	at com.redhat.fuse.quickstarts.Application.main(Application.java:31)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:527)
      	at java.lang.Thread.run(Thread.java:748)
      com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      	at com.ibm.db2.jcc.am.b4.a(b4.java:731)
      	at com.ibm.db2.jcc.am.b4.a(b4.java:66)
      	at com.ibm.db2.jcc.am.b4.a(b4.java:102)
      	at com.ibm.db2.jcc.t2.a.a(a.java:37)
      	at com.ibm.db2.jcc.t2.T2Configuration.<clinit>(T2Configuration.java:95)
      	at com.ibm.db2.jcc.DB2BaseDataSource.instantiateLogWriter(DB2BaseDataSource.java:11451)
      	at com.ibm.db2.jcc.DB2BaseDataSource.computeJccLogWriterForNewConnection(DB2BaseDataSource.java:11364)
      	at com.ibm.db2.jcc.DB2BaseDataSource.computeJccLogWriterForNewConnection(DB2BaseDataSource.java:11317)
      	at com.ibm.db2.jcc.DB2XADataSource.getXAConnection(DB2XADataSource.java:159)
      	at com.ibm.db2.jcc.DB2XADataSource.getXAConnection(DB2XADataSource.java:134)
      	at com.arjuna.ats.internal.jdbc.ProvidedXADataSourceConnection.createConnection(ProvidedXADataSourceConnection.java:280)
      	at com.arjuna.ats.internal.jdbc.ProvidedXADataSourceConnection.getConnection(ProvidedXADataSourceConnection.java:194)
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.getConnection(ConnectionImple.java:866)
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.registerDatabase(ConnectionImple.java:946)
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.createStatement(ConnectionImple.java:174)
      	at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:467)
      	at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238)
      	at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.runScripts(DataSourceInitializer.java:192)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.runSchemaScripts(DataSourceInitializer.java:92)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.init(DataSourceInitializer.java:83)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1626)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
      	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:220)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1018)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:345)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:340)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerPostProcessor.postProcessAfterInitialization(DataSourceInitializerPostProcessor.java:62)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:423)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1638)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
      	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
      	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
      	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
      	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
      	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
      	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
      	at com.redhat.fuse.quickstarts.Application.main(Application.java:31)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:527)
      	at java.lang.Thread.run(Thread.java:748)
      com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      	at com.ibm.db2.jcc.am.b4.a(b4.java:731)
      	at com.ibm.db2.jcc.am.b4.a(b4.java:66)
      	at com.ibm.db2.jcc.am.b4.a(b4.java:102)
      	at com.ibm.db2.jcc.t2.a.a(a.java:37)
      	at com.ibm.db2.jcc.t2.T2Configuration.<clinit>(T2Configuration.java:95)
      	at com.ibm.db2.jcc.DB2BaseDataSource.instantiateLogWriter(DB2BaseDataSource.java:11451)
      	at com.ibm.db2.jcc.DB2BaseDataSource.computeJccLogWriterForNewConnection(DB2BaseDataSource.java:11364)
      	at com.ibm.db2.jcc.DB2BaseDataSource.computeJccLogWriterForNewConnection(DB2BaseDataSource.java:11317)
      	at com.ibm.db2.jcc.DB2XADataSource.getXAConnection(DB2XADataSource.java:159)
      	at com.ibm.db2.jcc.DB2XADataSource.getXAConnection(DB2XADataSource.java:134)
      	at com.arjuna.ats.internal.jdbc.ProvidedXADataSourceConnection.createConnection(ProvidedXADataSourceConnection.java:280)
      	at com.arjuna.ats.internal.jdbc.ProvidedXADataSourceConnection.getConnection(ProvidedXADataSourceConnection.java:194)
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.getConnection(ConnectionImple.java:866)
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.registerDatabase(ConnectionImple.java:946)
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.createStatement(ConnectionImple.java:174)
      	at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:467)
      	at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238)
      	at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.runScripts(DataSourceInitializer.java:192)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.runSchemaScripts(DataSourceInitializer.java:92)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.init(DataSourceInitializer.java:83)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1626)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
      	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:220)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1018)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:345)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:340)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerPostProcessor.postProcessAfterInitialization(DataSourceInitializerPostProcessor.java:62)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:423)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1638)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
      	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
      	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
      	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
      	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
      	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
      	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
      	at com.redhat.fuse.quickstarts.Application.main(Application.java:31)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:527)
      	at java.lang.Thread.run(Thread.java:748)
      java.sql.SQLException: com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      	at com.arjuna.ats.internal.jdbc.ProvidedXADataSourceConnection.createConnection(ProvidedXADataSourceConnection.java:295)
      	at com.arjuna.ats.internal.jdbc.ProvidedXADataSourceConnection.getConnection(ProvidedXADataSourceConnection.java:194)
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.getConnection(ConnectionImple.java:866)
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.registerDatabase(ConnectionImple.java:946)
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.createStatement(ConnectionImple.java:174)
      	at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:467)
      	at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238)
      	at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.runScripts(DataSourceInitializer.java:192)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.runSchemaScripts(DataSourceInitializer.java:92)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.init(DataSourceInitializer.java:83)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1626)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
      	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:220)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1018)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:345)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:340)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerPostProcessor.postProcessAfterInitialization(DataSourceInitializerPostProcessor.java:62)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:423)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1638)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
      	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
      	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
      	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
      	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
      	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
      	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
      	at com.redhat.fuse.quickstarts.Application.main(Application.java:31)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:527)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      	at com.ibm.db2.jcc.am.b4.a(b4.java:731)
      	at com.ibm.db2.jcc.am.b4.a(b4.java:66)
      	at com.ibm.db2.jcc.am.b4.a(b4.java:102)
      	at com.ibm.db2.jcc.t2.a.a(a.java:37)
      	at com.ibm.db2.jcc.t2.T2Configuration.<clinit>(T2Configuration.java:95)
      	at com.ibm.db2.jcc.DB2BaseDataSource.instantiateLogWriter(DB2BaseDataSource.java:11451)
      	at com.ibm.db2.jcc.DB2BaseDataSource.computeJccLogWriterForNewConnection(DB2BaseDataSource.java:11364)
      	at com.ibm.db2.jcc.DB2BaseDataSource.computeJccLogWriterForNewConnection(DB2BaseDataSource.java:11317)
      	at com.ibm.db2.jcc.DB2XADataSource.getXAConnection(DB2XADataSource.java:159)
      	at com.ibm.db2.jcc.DB2XADataSource.getXAConnection(DB2XADataSource.java:134)
      	at com.arjuna.ats.internal.jdbc.ProvidedXADataSourceConnection.createConnection(ProvidedXADataSourceConnection.java:280)
      	... 53 more
      2018-07-23 08:55:21.374  WARN 2860 --- [           main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/XADataSourceAutoConfiguration.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceInitializer': Invocation of init method failed; nested exception is org.springframework.jdbc.datasource.init.UncategorizedScriptException: Failed to execute database script from resource [URL [file:/Users/vkasala/Work/Repositories/github/spring-boot-camel-xa/target/classes/schema.sql]]; nested exception is java.sql.SQLException: java.sql.SQLException: com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      2018-07-23 08:55:21.378  INFO 2860 --- [           main] com.arjuna.ats.jbossatx                  : ARJUNA032014: Stopping transaction recovery manager
      2018-07-23 08:55:21.378 DEBUG 2860 --- [           main] com.arjuna.ats.arjuna                    : PeriodicRecovery: Mode <== TERMINATED
      2018-07-23 08:55:21.378 DEBUG 2860 --- [           main] com.arjuna.ats.arjuna                    : PeriodicRecovery: shutdown waiting for scan to end
      2018-07-23 08:55:21.378 DEBUG 2860 --- [riodic Recovery] com.arjuna.ats.arjuna                    : PeriodicRecovery: scan TERMINATED at phase 1
      2018-07-23 08:55:21.378 DEBUG 2860 --- [riodic Recovery] com.arjuna.ats.arjuna                    : PeriodicRecovery: background thread Status <== INACTIVE
      2018-07-23 08:55:21.379 DEBUG 2860 --- [riodic Recovery] com.arjuna.ats.arjuna                    : PeriodicRecovery: background thread exiting
      2018-07-23 08:55:21.379 DEBUG 2860 --- [           main] com.arjuna.ats.arjuna                    : PeriodicRecovery: shutdown scan wait complete
      2018-07-23 08:55:21.392  INFO 2860 --- [           main] utoConfigurationReportLoggingInitializer :
      
      Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
      2018-07-23 08:55:21.400 ERROR 2860 --- [           main] o.s.boot.SpringApplication               : Application startup failed
      
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/XADataSourceAutoConfiguration.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceInitializer': Invocation of init method failed; nested exception is org.springframework.jdbc.datasource.init.UncategorizedScriptException: Failed to execute database script from resource [URL [file:/Users/vkasala/Work/Repositories/github/spring-boot-camel-xa/target/classes/schema.sql]]; nested exception is java.sql.SQLException: java.sql.SQLException: com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) ~[spring-context-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543) ~[spring-context-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.5.13.RELEASE.jar:1.5.13.RELEASE]
      	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) [spring-boot-1.5.13.RELEASE.jar:1.5.13.RELEASE]
      	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) [spring-boot-1.5.13.RELEASE.jar:1.5.13.RELEASE]
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) [spring-boot-1.5.13.RELEASE.jar:1.5.13.RELEASE]
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) [spring-boot-1.5.13.RELEASE.jar:1.5.13.RELEASE]
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) [spring-boot-1.5.13.RELEASE.jar:1.5.13.RELEASE]
      	at com.redhat.fuse.quickstarts.Application.main(Application.java:31) [classes/:na]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_151]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_151]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_151]
      	at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_151]
      	at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:527) [spring-boot-maven-plugin-1.5.13.RELEASE.jar:1.5.13.RELEASE]
      	at java.lang.Thread.run(Thread.java:748) [na:1.8.0_151]
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceInitializer': Invocation of init method failed; nested exception is org.springframework.jdbc.datasource.init.UncategorizedScriptException: Failed to execute database script from resource [URL [file:/Users/vkasala/Work/Repositories/github/spring-boot-camel-xa/target/classes/schema.sql]]; nested exception is java.sql.SQLException: java.sql.SQLException: com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:137) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1626) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:220) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1018) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:345) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:340) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerPostProcessor.postProcessAfterInitialization(DataSourceInitializerPostProcessor.java:62) ~[spring-boot-autoconfigure-1.5.13.RELEASE.jar:1.5.13.RELEASE]
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:423) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1638) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	... 21 common frames omitted
      Caused by: org.springframework.jdbc.datasource.init.UncategorizedScriptException: Failed to execute database script from resource [URL [file:/Users/vkasala/Work/Repositories/github/spring-boot-camel-xa/target/classes/schema.sql]]; nested exception is java.sql.SQLException: java.sql.SQLException: com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      	at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:516) ~[spring-jdbc-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238) ~[spring-jdbc-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48) ~[spring-jdbc-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.runScripts(DataSourceInitializer.java:192) ~[spring-boot-autoconfigure-1.5.13.RELEASE.jar:1.5.13.RELEASE]
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.runSchemaScripts(DataSourceInitializer.java:92) ~[spring-boot-autoconfigure-1.5.13.RELEASE.jar:1.5.13.RELEASE]
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.init(DataSourceInitializer.java:83) ~[spring-boot-autoconfigure-1.5.13.RELEASE.jar:1.5.13.RELEASE]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_151]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_151]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_151]
      	at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_151]
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	... 36 common frames omitted
      Caused by: java.sql.SQLException: java.sql.SQLException: com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      	at com.arjuna.ats.internal.jdbc.ProvidedXADataSourceConnection.getConnection(ProvidedXADataSourceConnection.java:204) ~[jdbc-5.5.31.Final-redhat-1.jar:5.5.31.Final-redhat-1]
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.getConnection(ConnectionImple.java:866) ~[jdbc-5.5.31.Final-redhat-1.jar:5.5.31.Final-redhat-1]
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.registerDatabase(ConnectionImple.java:946) ~[jdbc-5.5.31.Final-redhat-1.jar:5.5.31.Final-redhat-1]
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.createStatement(ConnectionImple.java:174) ~[jdbc-5.5.31.Final-redhat-1.jar:5.5.31.Final-redhat-1]
      	at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:467) ~[spring-jdbc-4.3.17.RELEASE.jar:4.3.17.RELEASE]
      	... 48 common frames omitted
      Caused by: java.sql.SQLException: com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      	at com.arjuna.ats.internal.jdbc.ProvidedXADataSourceConnection.createConnection(ProvidedXADataSourceConnection.java:295) ~[jdbc-5.5.31.Final-redhat-1.jar:5.5.31.Final-redhat-1]
      	at com.arjuna.ats.internal.jdbc.ProvidedXADataSourceConnection.getConnection(ProvidedXADataSourceConnection.java:194) ~[jdbc-5.5.31.Final-redhat-1.jar:5.5.31.Final-redhat-1]
      	... 52 common frames omitted
      Caused by: com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      	at com.ibm.db2.jcc.am.b4.a(b4.java:731) ~[db2jcc4-4.19.72.jar:na]
      	at com.ibm.db2.jcc.am.b4.a(b4.java:66) ~[db2jcc4-4.19.72.jar:na]
      	at com.ibm.db2.jcc.am.b4.a(b4.java:102) ~[db2jcc4-4.19.72.jar:na]
      	at com.ibm.db2.jcc.t2.a.a(a.java:37) ~[db2jcc4-4.19.72.jar:na]
      	at com.ibm.db2.jcc.t2.T2Configuration.<clinit>(T2Configuration.java:95) ~[db2jcc4-4.19.72.jar:na]
      	at com.ibm.db2.jcc.DB2BaseDataSource.instantiateLogWriter(DB2BaseDataSource.java:11451) ~[db2jcc4-4.19.72.jar:na]
      	at com.ibm.db2.jcc.DB2BaseDataSource.computeJccLogWriterForNewConnection(DB2BaseDataSource.java:11364) ~[db2jcc4-4.19.72.jar:na]
      	at com.ibm.db2.jcc.DB2BaseDataSource.computeJccLogWriterForNewConnection(DB2BaseDataSource.java:11317) ~[db2jcc4-4.19.72.jar:na]
      	at com.ibm.db2.jcc.DB2XADataSource.getXAConnection(DB2XADataSource.java:159) ~[db2jcc4-4.19.72.jar:na]
      	at com.ibm.db2.jcc.DB2XADataSource.getXAConnection(DB2XADataSource.java:134) ~[db2jcc4-4.19.72.jar:na]
      	at com.arjuna.ats.internal.jdbc.ProvidedXADataSourceConnection.createConnection(ProvidedXADataSourceConnection.java:280) ~[jdbc-5.5.31.Final-redhat-1.jar:5.5.31.Final-redhat-1]
      	... 53 common frames omitted
      
      [WARNING]
      java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:527)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/XADataSourceAutoConfiguration.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceInitializer': Invocation of init method failed; nested exception is org.springframework.jdbc.datasource.init.UncategorizedScriptException: Failed to execute database script from resource [URL [file:/Users/vkasala/Work/Repositories/github/spring-boot-camel-xa/target/classes/schema.sql]]; nested exception is java.sql.SQLException: java.sql.SQLException: com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
      	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
      	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
      	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
      	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
      	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
      	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
      	at com.redhat.fuse.quickstarts.Application.main(Application.java:31)
      	... 6 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceInitializer': Invocation of init method failed; nested exception is org.springframework.jdbc.datasource.init.UncategorizedScriptException: Failed to execute database script from resource [URL [file:/Users/vkasala/Work/Repositories/github/spring-boot-camel-xa/target/classes/schema.sql]]; nested exception is java.sql.SQLException: java.sql.SQLException: com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:137)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1626)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
      	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:220)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1018)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:345)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:340)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerPostProcessor.postProcessAfterInitialization(DataSourceInitializerPostProcessor.java:62)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:423)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1638)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
      	... 21 more
      Caused by: org.springframework.jdbc.datasource.init.UncategorizedScriptException: Failed to execute database script from resource [URL [file:/Users/vkasala/Work/Repositories/github/spring-boot-camel-xa/target/classes/schema.sql]]; nested exception is java.sql.SQLException: java.sql.SQLException: com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      	at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:516)
      	at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238)
      	at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.runScripts(DataSourceInitializer.java:192)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.runSchemaScripts(DataSourceInitializer.java:92)
      	at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.init(DataSourceInitializer.java:83)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
      	... 36 more
      Caused by: java.sql.SQLException: java.sql.SQLException: com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      	at com.arjuna.ats.internal.jdbc.ProvidedXADataSourceConnection.getConnection(ProvidedXADataSourceConnection.java:204)
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.getConnection(ConnectionImple.java:866)
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.registerDatabase(ConnectionImple.java:946)
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.createStatement(ConnectionImple.java:174)
      	at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:467)
      	... 48 more
      Caused by: java.sql.SQLException: com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      	at com.arjuna.ats.internal.jdbc.ProvidedXADataSourceConnection.createConnection(ProvidedXADataSourceConnection.java:295)
      	at com.arjuna.ats.internal.jdbc.ProvidedXADataSourceConnection.getConnection(ProvidedXADataSourceConnection.java:194)
      	... 52 more
      Caused by: com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.19.72] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path:  ERRORCODE=-4472, SQLSTATE=null
      	at com.ibm.db2.jcc.am.b4.a(b4.java:731)
      	at com.ibm.db2.jcc.am.b4.a(b4.java:66)
      	at com.ibm.db2.jcc.am.b4.a(b4.java:102)
      	at com.ibm.db2.jcc.t2.a.a(a.java:37)
      	at com.ibm.db2.jcc.t2.T2Configuration.<clinit>(T2Configuration.java:95)
      	at com.ibm.db2.jcc.DB2BaseDataSource.instantiateLogWriter(DB2BaseDataSource.java:11451)
      	at com.ibm.db2.jcc.DB2BaseDataSource.computeJccLogWriterForNewConnection(DB2BaseDataSource.java:11364)
      	at com.ibm.db2.jcc.DB2BaseDataSource.computeJccLogWriterForNewConnection(DB2BaseDataSource.java:11317)
      	at com.ibm.db2.jcc.DB2XADataSource.getXAConnection(DB2XADataSource.java:159)
      	at com.ibm.db2.jcc.DB2XADataSource.getXAConnection(DB2XADataSource.java:134)
      	at com.arjuna.ats.internal.jdbc.ProvidedXADataSourceConnection.createConnection(ProvidedXADataSourceConnection.java:280)
      	... 53 more
      [INFO] -------------------------------
      

            zfeng@redhat.com Zheng Feng
            vkasala@redhat.com Viliam Kasala
            Viliam Kasala Viliam Kasala
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: