You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have build successfully using:
Linux Ubuntu-20-04 5.4.0-54-generic #60-Ubuntu SMP Fri Nov 6 10:37:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 20.04.1 LTS, with 8 GB of RAM, that is a VM running on my Mac under Parallels Desktop v16 for Mac.
openjdk version "1.8.0_272"
OpenJDK Runtime Environment (build 1.8.0_272-b10)
OpenJDK 64-Bit Server VM GraalVM CE 20.3.0 (build 25.272-b10-jvmci-20.3-b06, mixed mode)
I have a Raspberry Pi4 - 2GB of RAM, then I add 4GB of swap.
Linux pi4-2gb 5.4.0-1022-raspi #25-Ubuntu SMP PREEMPT Thu Oct 15 13:31:49 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
Ubuntu 20.04.1 LTS
openjdk version "11.0.9" 2020-10-20
OpenJDK Runtime Environment GraalVM CE 20.3.0 (build 11.0.9+10-jvmci-20.3-b06)
OpenJDK 64-Bit Server VM GraalVM CE 20.3.0 (build 11.0.9+10-jvmci-20.3-b06, mixed mode)
I am not seeing Java 8 for aarch64.
Then, based on spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc, I cloned that project, I added the HikariCP support, I am using MySQL, a couple of RESTful API endpoints, but it fails when building on the Pi4.
The code on Ubuntu x86 and on the Pi4 is the same, the only thing I added on the compile.sh was 3GB because I was getting an error about out of memory, now I am getting an error of watchdog a deadlocks.
/ / ____ _____ () ____ ____ _ / | / / ____ _ / / () _ __ ___
__ \ / __ \ / / / / / __ \ / __ / / |/ / / __ / / _/ / / | | / / / _ / / / // / / / / / / / / / / // / / /| / / // / / / / / | |/ / / __/
// / ./ // // // // _, / // |/ _,/ _/ // |/ _/
// /___/
Removing unused configurations
Verification turned on
Removing Yaml support
Removing XML support
Removing SpEL support
Removing JMX support
Use -Dspring.native.verbose=true on native-image call to see more detailed information from the feature
[data-jdbc:2469] (cap): 3,788.03 ms, 2.88 GB
feature operating mode: reflection (spring init active? false)
Found #15 types in static reflection list to register
Skipping #13 types not on the classpath
Attempting proxy registration of #12 proxies
Skipped registration of #9 proxies - relevant types not on classpath
[data-jdbc:2469] setup: 16,486.77 ms, 2.88 GB
Configuring initialization time for specific types and packages: #137 buildtime-init-classes #22 buildtime-init-packages #18 runtime-init-classes #0 runtime-init-packages
Warning: class initialization of class org.springframework.boot.validation.MessageInterpolatorFactory failed with exception java.lang.NoClassDefFoundError: javax/validation/ValidationException. This class will be initialized at run time because option --allow-incomplete-classpath is used for image building. Use the option --initialize-at-run-time=org.springframework.boot.validation.MessageInterpolatorFactory to explicitly request delayed initialization of this class.
[verification] The type org.springframework.web.servlet.config.annotation.ResourceChainRegistration is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.webjars.WebJarAssetLocator]
[verification] The type org.springframework.transaction.annotation.AnnotationTransactionAttributeSource is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.transaction.Transactional, javax.ejb.TransactionAttribute]
[verification] The type org.springframework.data.repository.util.QueryExecutionConverters is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [io.vavr.control.Try]
[verification] The type org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.springframework.instrument.InstrumentationSavingAgent]
[verification] The type org.springframework.data.repository.core.support.ReactiveRepositoryFactorySupport$RxJavaOneConversionSetup is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.reactivestreams.Publisher]
[verification] The type org.springframework.web.servlet.config.ResourcesBeanDefinitionParser is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.webjars.WebJarAssetLocator]
[verification] The type org.springframework.web.servlet.view.InternalResourceViewResolver is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.servlet.jsp.jstl.core.Config]
[verification] The type org.springframework.context.annotation.AnnotationConfigUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.annotation.Resource, javax.persistence.EntityManagerFactory, org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor]
[verification] The type org.springframework.web.servlet.config.AnnotationDrivenBeanDefinitionParser is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.validation.Validator, com.rometools.rome.feed.WireFeed, javax.xml.bind.Binder, com.fasterxml.jackson.databind.ObjectMapper, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.dataformat.xml.XmlMapper, com.fasterxml.jackson.dataformat.smile.SmileFactory, com.fasterxml.jackson.dataformat.cbor.CBORFactory, com.google.gson.Gson]
[verification] The type org.springframework.cache.config.AnnotationDrivenCacheBeanDefinitionParser is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.cache.Cache, org.springframework.cache.jcache.interceptor.DefaultJCacheOperationSource]
[verification] The type org.springframework.web.servlet.function.AsyncServerResponse is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.reactivestreams.Publisher]
[verification] The type org.springframework.web.context.request.RequestContextHolder is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.faces.context.FacesContext]
[verification] The type org.springframework.core.KotlinDetector is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [kotlin.reflect.full.KClasses]
[verification] The type org.springframework.web.servlet.support.RequestContext is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.servlet.jsp.jstl.core.Config]
[verification] The type org.springframework.data.querydsl.QuerydslUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [com.querydsl.core.types.Predicate]
[verification] The type org.springframework.transaction.interceptor.TransactionAspectSupport is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [io.vavr.control.Try, org.reactivestreams.Publisher]
[verification] The type org.springframework.transaction.config.JtaTransactionManagerFactoryBean is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [weblogic.transaction.UserTransaction, com.ibm.wsspi.uow.UOWManager]
[verification] The type org.springframework.transaction.support.TransactionSynchronizationUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.springframework.aop.scope.ScopedObject]
[verification] The type org.springframework.boot.autoconfigure.web.format.WebConversionService is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.money.MonetaryAmount]
[verification] The type org.springframework.data.repository.util.ReactiveWrappers is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [reactor.core.publisher.Flux, rx.Observable, rx.RxReactiveStreams, io.reactivex.Flowable, io.reactivex.rxjava3.core.Flowable, kotlinx.coroutines.reactor.MonoKt]
[verification] The type org.springframework.web.context.support.WebApplicationContextUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.faces.context.FacesContext]
[verification] The type org.springframework.data.util.NullableWrapperConverters is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [com.google.common.base.Optional, scala.Option, io.vavr.control.Option]
[verification] The type org.springframework.data.convert.ThreeTenBackPortConverters is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.threeten.bp.LocalDateTime]
[verification] The type org.springframework.http.codec.xml.XmlEventDecoder is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [com.fasterxml.aalto.AsyncXMLStreamReader]
[verification] The type org.springframework.context.event.ApplicationListenerMethodAdapter is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.reactivestreams.Publisher]
[verification] The type org.springframework.boot.jdbc.DataSourceUnwrapper is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.springframework.jdbc.datasource.DelegatingDataSource]
[verification] The type org.springframework.context.config.MBeanServerBeanDefinitionParser is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [weblogic.management.Helper, com.ibm.websphere.management.AdminServiceFactory]
[verification] The type org.springframework.data.convert.JodaTimeConverters is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.joda.time.LocalDate]
[verification] The type org.springframework.format.support.DefaultFormattingConversionService is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.money.MonetaryAmount, org.joda.time.YearMonth]
[verification] The type org.springframework.web.util.UrlPathHelper is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.servlet.http.HttpServletMapping]
[verification] The type org.springframework.data.auditing.AnnotationAuditingMetadata is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [java.time.Clock]
[verification] The type org.springframework.cache.annotation.CachingConfigurationSelector is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.cache.Cache, org.springframework.cache.jcache.config.ProxyJCacheConfiguration]
[verification] The type org.springframework.web.servlet.view.tiles3.TilesConfigurer is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.apache.tiles.el.ELAttributeEvaluator]
[verification] The type org.springframework.transaction.reactive.TransactionSynchronizationUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.springframework.aop.scope.ScopedObject]
Registering resources - #0 bundles
Processing META-INF/spring.factories files...
spring.factories processing, problem adding access for key org.springframework.boot.diagnostics.analyzer.ValidationExceptionFailureAnalyzer: javax/validation/ValidationException
spring.factories processing, problem adding access for key org.springframework.boot.liquibase.LiquibaseChangelogMissingFailureAnalyzer: liquibase/exception/ChangeLogParseException
Processing spring.factories - PropertySourceLoader lists #1 property source loaders
Processing spring.factories - EnableAutoConfiguration lists #130 configurations
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Netty because HttpServer not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Undertow because Undertow not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Jetty because WebAppContext not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Netty because HttpServer not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Undertow because Undertow not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Jetty because WebAppContext not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Undertow because Undertow not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Netty because HttpServer not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Jetty because WebAppContext not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Netty because HttpServer not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Undertow because Undertow not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Jetty because WebAppContext not around
Excluding 101 auto-configurations from spring.factories file
Processing existing META-INF/spring.components files...
Number of types dynamically registered for reflective access: #2137
[data-jdbc:2469] (clinit): 253,553.92 ms, 2.92 GB
[data-jdbc:2469] (typeflow): 960,187.46 ms, 2.92 GB
[data-jdbc:2469] (objects): 1,493,390.53 ms, 2.92 GB
[data-jdbc:2469] (features): 245,501.37 ms, 2.92 GB
[data-jdbc:2469] analysis: 3,198,533.68 ms, 2.92 GB
=== Image generator watchdog detected no activity. This can be a sign of a deadlock during image building. Dumping all stack traces. Current time: Sat Nov 28 05:27:56 CET 2020
"main" Id=1 in WAITING on lock=java.util.concurrent.ForkJoinTask$AdaptedRunnableAction@502e85d5
at [email protected]/java.lang.Object.wait(Native Method)
at [email protected]/java.util.concurrent.ForkJoinTask.externalInterruptibleAwaitDone(ForkJoinTask.java:356)
at [email protected]/java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1004)
at app//com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:483)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:350)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:509)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:115)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus.main(NativeImageGeneratorRunner.java:541)
"Reference Handler" Id=2 in RUNNABLE
at [email protected]/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
at [email protected]/java.lang.ref.Reference.processPendingReferences(Reference.java:241)
at [email protected]/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:213)
"Finalizer" Id=3 in WAITING on lock=java.lang.ref.ReferenceQueue$Lock@5ee961a0
at [email protected]/java.lang.Object.wait(Native Method)
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
at [email protected]/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:170)
"Signal Dispatcher" Id=4 in RUNNABLE
"JVMCI-native CompilerThread0" Id=5 in RUNNABLE
"Common-Cleaner" Id=8 in TIMED_WAITING on lock=java.lang.ref.ReferenceQueue$Lock@5ad6eea5
at [email protected]/java.lang.Object.wait(Native Method)
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at [email protected]/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:148)
at [email protected]/java.lang.Thread.run(Thread.java:834)
at [email protected]/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:134)
"native-image pid watcher" Id=12 in RUNNABLE
at [email protected]/java.nio.file.Files.read(Files.java:3175)
at [email protected]/java.nio.file.Files.readAllBytes(Files.java:3212)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner$1.run(NativeImageGeneratorRunner.java:97)
at [email protected]/java.util.TimerThread.mainLoop(Timer.java:556)
at [email protected]/java.util.TimerThread.run(Timer.java:506)
"Libgraal MBean Registration" Id=13 in TIMED_WAITING
at [email protected]/java.lang.Thread.sleep(Native Method)
at platform/jdk.internal.vm.compiler.management/org.graalvm.compiler.hotspot.management.LibGraalMBean$Factory.run(LibGraalMBean.java:647)
"ForkJoinPool.commonPool-worker-5" Id=20 in WAITING on lock=java.util.concurrent.ForkJoinPool@4c9b532c
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"ForkJoinPool-4-worker-3" Id=24 in RUNNABLE
at [email protected]/java.lang.StringBuilder.append(StringBuilder.java:174)
at [email protected]/java.lang.StringBuilder.append(StringBuilder.java:168)
at app//com.oracle.svm.core.hub.LayoutEncoding.guaranteeEncoding(LayoutEncoding.java:91)
at app//com.oracle.svm.core.hub.LayoutEncoding.forInstance(LayoutEncoding.java:104)
at app//com.oracle.svm.hosted.meta.UniverseBuilder.buildHubs(UniverseBuilder.java:1207)
at app//com.oracle.svm.hosted.meta.UniverseBuilder.build(UniverseBuilder.java:166)
at app//com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:571)
at app//com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:471)
at app//com.oracle.svm.hosted.NativeImageGenerator$$Lambda$111/0x0000000801176440.run(Unknown Source)
at [email protected]/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1407)
at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"Thread-1" Id=25 in RUNNABLE
at [email protected]/sun.management.ThreadImpl.dumpThreads0(Native Method)
at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:521)
at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:509)
at app//com.oracle.svm.hosted.DeadlockWatchdog.threadDump(DeadlockWatchdog.java:113)
at app//com.oracle.svm.hosted.DeadlockWatchdog.watchdogThread(DeadlockWatchdog.java:80)
at app//com.oracle.svm.hosted.DeadlockWatchdog$$Lambda$112/0x0000000801174840.run(Unknown Source)
at [email protected]/java.lang.Thread.run(Thread.java:834)
"ForkJoinPool-4-worker-5" Id=28 in WAITING on lock=java.util.concurrent.ForkJoinPool@1fd46b9b
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"ForkJoinPool-4-worker-7" Id=29 in WAITING on lock=java.util.concurrent.ForkJoinPool@1fd46b9b
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"ForkJoinPool-4-worker-1" Id=30 in WAITING on lock=java.util.concurrent.ForkJoinPool@1fd46b9b
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"Timer-0" Id=32 in TIMED_WAITING on lock=java.util.TaskQueue@3b704599
at [email protected]/java.lang.Object.wait(Native Method)
at [email protected]/java.util.TimerThread.mainLoop(Timer.java:553)
at [email protected]/java.util.TimerThread.run(Timer.java:506)
"ForkJoinPool-2-worker-5" Id=35 in WAITING on lock=java.util.concurrent.ForkJoinPool@2e81d736
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
=== Memory statistics (in MB):
=== Used heap size: 2988
=== Free heap size: 1425
=== Maximum heap size: 2988
=== Image generator watchdog is aborting image generation. To configure the watchdog, use the options -H:DeadlockWatchdogInterval=10 and -H:+DeadlockWatchdogExitOnTimeout
Error: Image build request failed with exit status 1
com.oracle.svm.driver.NativeImage$NativeImageError: Image build request failed with exit status 1
at com.oracle.svm.driver.NativeImage.showError(NativeImage.java:1647)
at com.oracle.svm.driver.NativeImage.build(NativeImage.java:1397)
at com.oracle.svm.driver.NativeImage.performBuild(NativeImage.java:1358)
at com.oracle.svm.driver.NativeImage.main(NativeImage.java:1317)
at com.oracle.svm.driver.NativeImage$JDK9Plus.main(NativeImage.java:1829)
real 63m32.976s
user 23m25.944s
sys 3m1.831s
FAILURE: an error occurred when compiling the native-image.
`
And the other output from: target/native-image/output.txt
/ / ____ _____ () ____ ____ _ / | / / ____ _ / / () _ __ ___
__ \ / __ \ / / / / / __ \ / __ / / |/ / / __ / / _/ / / | | / / / _ / / / // / / / / / / / / / / // / / /| / / // / / / / / | |/ / / __/
// / ./ // // // // _, / // |/ _,/ _/ // |/ _/
// /___/
Removing unused configurations
Verification turned on
Removing Yaml support
Removing XML support
Removing SpEL support
Removing JMX support
Use -Dspring.native.verbose=true on native-image call to see more detailed information from the feature
[data-jdbc:2469] (cap): 3,788.03 ms, 2.88 GB
feature operating mode: reflection (spring init active? false)
Found #15 types in static reflection list to register
Skipping #13 types not on the classpath
Attempting proxy registration of #12 proxies
Skipped registration of #9 proxies - relevant types not on classpath
[data-jdbc:2469] setup: 16,486.77 ms, 2.88 GB
Configuring initialization time for specific types and packages: #137 buildtime-init-classes #22 buildtime-init-packages #18 runtime-init-classes #0 runtime-init-packages
Warning: class initialization of class org.springframework.boot.validation.MessageInterpolatorFactory failed with exception java.lang.NoClassDefFoundError: javax/validation/ValidationException. This class will be initialized at run time because option --allow-incomplete-classpath is used for image building. Use the option --initialize-at-run-time=org.springframework.boot.validation.MessageInterpolatorFactory to explicitly request delayed initialization of this class.
[verification] The type org.springframework.web.servlet.config.annotation.ResourceChainRegistration is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.webjars.WebJarAssetLocator]
[verification] The type org.springframework.transaction.annotation.AnnotationTransactionAttributeSource is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.transaction.Transactional, javax.ejb.TransactionAttribute]
[verification] The type org.springframework.data.repository.util.QueryExecutionConverters is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [io.vavr.control.Try]
[verification] The type org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.springframework.instrument.InstrumentationSavingAgent]
[verification] The type org.springframework.data.repository.core.support.ReactiveRepositoryFactorySupport$RxJavaOneConversionSetup is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.reactivestreams.Publisher]
[verification] The type org.springframework.web.servlet.config.ResourcesBeanDefinitionParser is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.webjars.WebJarAssetLocator]
[verification] The type org.springframework.web.servlet.view.InternalResourceViewResolver is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.servlet.jsp.jstl.core.Config]
[verification] The type org.springframework.context.annotation.AnnotationConfigUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.annotation.Resource, javax.persistence.EntityManagerFactory, org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor]
[verification] The type org.springframework.web.servlet.config.AnnotationDrivenBeanDefinitionParser is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.validation.Validator, com.rometools.rome.feed.WireFeed, javax.xml.bind.Binder, com.fasterxml.jackson.databind.ObjectMapper, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.dataformat.xml.XmlMapper, com.fasterxml.jackson.dataformat.smile.SmileFactory, com.fasterxml.jackson.dataformat.cbor.CBORFactory, com.google.gson.Gson]
[verification] The type org.springframework.cache.config.AnnotationDrivenCacheBeanDefinitionParser is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.cache.Cache, org.springframework.cache.jcache.interceptor.DefaultJCacheOperationSource]
[verification] The type org.springframework.web.servlet.function.AsyncServerResponse is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.reactivestreams.Publisher]
[verification] The type org.springframework.web.context.request.RequestContextHolder is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.faces.context.FacesContext]
[verification] The type org.springframework.core.KotlinDetector is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [kotlin.reflect.full.KClasses]
[verification] The type org.springframework.web.servlet.support.RequestContext is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.servlet.jsp.jstl.core.Config]
[verification] The type org.springframework.data.querydsl.QuerydslUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [com.querydsl.core.types.Predicate]
[verification] The type org.springframework.transaction.interceptor.TransactionAspectSupport is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [io.vavr.control.Try, org.reactivestreams.Publisher]
[verification] The type org.springframework.transaction.config.JtaTransactionManagerFactoryBean is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [weblogic.transaction.UserTransaction, com.ibm.wsspi.uow.UOWManager]
[verification] The type org.springframework.transaction.support.TransactionSynchronizationUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.springframework.aop.scope.ScopedObject]
[verification] The type org.springframework.boot.autoconfigure.web.format.WebConversionService is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.money.MonetaryAmount]
[verification] The type org.springframework.data.repository.util.ReactiveWrappers is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [reactor.core.publisher.Flux, rx.Observable, rx.RxReactiveStreams, io.reactivex.Flowable, io.reactivex.rxjava3.core.Flowable, kotlinx.coroutines.reactor.MonoKt]
[verification] The type org.springframework.web.context.support.WebApplicationContextUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.faces.context.FacesContext]
[verification] The type org.springframework.data.util.NullableWrapperConverters is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [com.google.common.base.Optional, scala.Option, io.vavr.control.Option]
[verification] The type org.springframework.data.convert.ThreeTenBackPortConverters is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.threeten.bp.LocalDateTime]
[verification] The type org.springframework.http.codec.xml.XmlEventDecoder is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [com.fasterxml.aalto.AsyncXMLStreamReader]
[verification] The type org.springframework.context.event.ApplicationListenerMethodAdapter is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.reactivestreams.Publisher]
[verification] The type org.springframework.boot.jdbc.DataSourceUnwrapper is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.springframework.jdbc.datasource.DelegatingDataSource]
[verification] The type org.springframework.context.config.MBeanServerBeanDefinitionParser is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [weblogic.management.Helper, com.ibm.websphere.management.AdminServiceFactory]
[verification] The type org.springframework.data.convert.JodaTimeConverters is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.joda.time.LocalDate]
[verification] The type org.springframework.format.support.DefaultFormattingConversionService is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.money.MonetaryAmount, org.joda.time.YearMonth]
[verification] The type org.springframework.web.util.UrlPathHelper is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.servlet.http.HttpServletMapping]
[verification] The type org.springframework.data.auditing.AnnotationAuditingMetadata is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [java.time.Clock]
[verification] The type org.springframework.cache.annotation.CachingConfigurationSelector is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.cache.Cache, org.springframework.cache.jcache.config.ProxyJCacheConfiguration]
[verification] The type org.springframework.web.servlet.view.tiles3.TilesConfigurer is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.apache.tiles.el.ELAttributeEvaluator]
[verification] The type org.springframework.transaction.reactive.TransactionSynchronizationUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.springframework.aop.scope.ScopedObject]
Registering resources - #0 bundles
Processing META-INF/spring.factories files...
spring.factories processing, problem adding access for key org.springframework.boot.diagnostics.analyzer.ValidationExceptionFailureAnalyzer: javax/validation/ValidationException
spring.factories processing, problem adding access for key org.springframework.boot.liquibase.LiquibaseChangelogMissingFailureAnalyzer: liquibase/exception/ChangeLogParseException
Processing spring.factories - PropertySourceLoader lists #1 property source loaders
Processing spring.factories - EnableAutoConfiguration lists #130 configurations
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Netty because HttpServer not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Undertow because Undertow not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Jetty because WebAppContext not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Netty because HttpServer not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Undertow because Undertow not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Jetty because WebAppContext not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Undertow because Undertow not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Netty because HttpServer not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Jetty because WebAppContext not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Netty because HttpServer not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Undertow because Undertow not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Jetty because WebAppContext not around
Excluding 101 auto-configurations from spring.factories file
Processing existing META-INF/spring.components files...
Number of types dynamically registered for reflective access: #2137
[data-jdbc:2469] (clinit): 253,553.92 ms, 2.92 GB
[data-jdbc:2469] (typeflow): 960,187.46 ms, 2.92 GB
[data-jdbc:2469] (objects): 1,493,390.53 ms, 2.92 GB
[data-jdbc:2469] (features): 245,501.37 ms, 2.92 GB
[data-jdbc:2469] analysis: 3,198,533.68 ms, 2.92 GB
=== Image generator watchdog detected no activity. This can be a sign of a deadlock during image building. Dumping all stack traces. Current time: Sat Nov 28 05:27:56 CET 2020
"main" Id=1 in WAITING on lock=java.util.concurrent.ForkJoinTask$AdaptedRunnableAction@502e85d5
at [email protected]/java.lang.Object.wait(Native Method)
at [email protected]/java.util.concurrent.ForkJoinTask.externalInterruptibleAwaitDone(ForkJoinTask.java:356)
at [email protected]/java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1004)
at app//com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:483)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:350)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:509)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:115)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus.main(NativeImageGeneratorRunner.java:541)
"Reference Handler" Id=2 in RUNNABLE
at [email protected]/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
at [email protected]/java.lang.ref.Reference.processPendingReferences(Reference.java:241)
at [email protected]/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:213)
"Finalizer" Id=3 in WAITING on lock=java.lang.ref.ReferenceQueue$Lock@5ee961a0
at [email protected]/java.lang.Object.wait(Native Method)
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
at [email protected]/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:170)
"Signal Dispatcher" Id=4 in RUNNABLE
"JVMCI-native CompilerThread0" Id=5 in RUNNABLE
"Common-Cleaner" Id=8 in TIMED_WAITING on lock=java.lang.ref.ReferenceQueue$Lock@5ad6eea5
at [email protected]/java.lang.Object.wait(Native Method)
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at [email protected]/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:148)
at [email protected]/java.lang.Thread.run(Thread.java:834)
at [email protected]/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:134)
"native-image pid watcher" Id=12 in RUNNABLE
at [email protected]/java.nio.file.Files.read(Files.java:3175)
at [email protected]/java.nio.file.Files.readAllBytes(Files.java:3212)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner$1.run(NativeImageGeneratorRunner.java:97)
at [email protected]/java.util.TimerThread.mainLoop(Timer.java:556)
at [email protected]/java.util.TimerThread.run(Timer.java:506)
"Libgraal MBean Registration" Id=13 in TIMED_WAITING
at [email protected]/java.lang.Thread.sleep(Native Method)
at platform/jdk.internal.vm.compiler.management/org.graalvm.compiler.hotspot.management.LibGraalMBean$Factory.run(LibGraalMBean.java:647)
"ForkJoinPool.commonPool-worker-5" Id=20 in WAITING on lock=java.util.concurrent.ForkJoinPool@4c9b532c
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"ForkJoinPool-4-worker-3" Id=24 in RUNNABLE
at [email protected]/java.lang.StringBuilder.append(StringBuilder.java:174)
at [email protected]/java.lang.StringBuilder.append(StringBuilder.java:168)
at app//com.oracle.svm.core.hub.LayoutEncoding.guaranteeEncoding(LayoutEncoding.java:91)
at app//com.oracle.svm.core.hub.LayoutEncoding.forInstance(LayoutEncoding.java:104)
at app//com.oracle.svm.hosted.meta.UniverseBuilder.buildHubs(UniverseBuilder.java:1207)
at app//com.oracle.svm.hosted.meta.UniverseBuilder.build(UniverseBuilder.java:166)
at app//com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:571)
at app//com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:471)
at app//com.oracle.svm.hosted.NativeImageGenerator$$Lambda$111/0x0000000801176440.run(Unknown Source)
at [email protected]/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1407)
at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"Thread-1" Id=25 in RUNNABLE
at [email protected]/sun.management.ThreadImpl.dumpThreads0(Native Method)
at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:521)
at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:509)
at app//com.oracle.svm.hosted.DeadlockWatchdog.threadDump(DeadlockWatchdog.java:113)
at app//com.oracle.svm.hosted.DeadlockWatchdog.watchdogThread(DeadlockWatchdog.java:80)
at app//com.oracle.svm.hosted.DeadlockWatchdog$$Lambda$112/0x0000000801174840.run(Unknown Source)
at [email protected]/java.lang.Thread.run(Thread.java:834)
"ForkJoinPool-4-worker-5" Id=28 in WAITING on lock=java.util.concurrent.ForkJoinPool@1fd46b9b
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"ForkJoinPool-4-worker-7" Id=29 in WAITING on lock=java.util.concurrent.ForkJoinPool@1fd46b9b
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"ForkJoinPool-4-worker-1" Id=30 in WAITING on lock=java.util.concurrent.ForkJoinPool@1fd46b9b
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"Timer-0" Id=32 in TIMED_WAITING on lock=java.util.TaskQueue@3b704599
at [email protected]/java.lang.Object.wait(Native Method)
at [email protected]/java.util.TimerThread.mainLoop(Timer.java:553)
at [email protected]/java.util.TimerThread.run(Timer.java:506)
"ForkJoinPool-2-worker-5" Id=35 in WAITING on lock=java.util.concurrent.ForkJoinPool@2e81d736
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
=== Memory statistics (in MB):
=== Used heap size: 2988
=== Free heap size: 1425
=== Maximum heap size: 2988
=== Image generator watchdog is aborting image generation. To configure the watchdog, use the options -H:DeadlockWatchdogInterval=10 and -H:+DeadlockWatchdogExitOnTimeout
Error: Image build request failed with exit status 1
com.oracle.svm.driver.NativeImage$NativeImageError: Image build request failed with exit status 1
at com.oracle.svm.driver.NativeImage.showError(NativeImage.java:1647)
at com.oracle.svm.driver.NativeImage.build(NativeImage.java:1397)
at com.oracle.svm.driver.NativeImage.performBuild(NativeImage.java:1358)
at com.oracle.svm.driver.NativeImage.main(NativeImage.java:1317)
at com.oracle.svm.driver.NativeImage$JDK9Plus.main(NativeImage.java:1829)
real 63m32.976s
user 23m25.944s
sys 3m1.831s
`
The text was updated successfully, but these errors were encountered:
Hi,
I added this issue on here:
spring-attic/spring-native#391
They told me I should post on this forum...
Hi folks,
I have build successfully using:
Linux Ubuntu-20-04 5.4.0-54-generic #60-Ubuntu SMP Fri Nov 6 10:37:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 20.04.1 LTS, with 8 GB of RAM, that is a VM running on my Mac under Parallels Desktop v16 for Mac.
openjdk version "1.8.0_272"
OpenJDK Runtime Environment (build 1.8.0_272-b10)
OpenJDK 64-Bit Server VM GraalVM CE 20.3.0 (build 25.272-b10-jvmci-20.3-b06, mixed mode)
I have a Raspberry Pi4 - 2GB of RAM, then I add 4GB of swap.
Linux pi4-2gb 5.4.0-1022-raspi #25-Ubuntu SMP PREEMPT Thu Oct 15 13:31:49 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
Ubuntu 20.04.1 LTS
openjdk version "11.0.9" 2020-10-20
OpenJDK Runtime Environment GraalVM CE 20.3.0 (build 11.0.9+10-jvmci-20.3-b06)
OpenJDK 64-Bit Server VM GraalVM CE 20.3.0 (build 11.0.9+10-jvmci-20.3-b06, mixed mode)
I am not seeing Java 8 for aarch64.
Then, based on spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc, I cloned that project, I added the HikariCP support, I am using MySQL, a couple of RESTful API endpoints, but it fails when building on the Pi4.
The code on Ubuntu x86 and on the Pi4 is the same, the only thing I added on the compile.sh was 3GB because I was getting an error about out of memory, now I am getting an error of watchdog a deadlocks.
`
[root@pi4-2gb ~/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc] ./build.sh
=== Building data-jdbc sample ===
Packaging data-jdbc with Maven
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Unpacking data-jdbc-0.0.1-SNAPSHOT.jar
Compiling data-jdbc with GraalVM Version 20.3.0 (Java Version 11.0.9+10-jvmci-20.3-b06)
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------< org.springframework.samples:data-jdbc >----------------
[INFO] Building data-jdbc 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ data-jdbc ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ data-jdbc ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/classes
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ data-jdbc ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ data-jdbc ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ data-jdbc ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ data-jdbc ---
[INFO] Building jar: /root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/data-jdbc-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:2.4.0:repackage (repackage) @ data-jdbc ---
[INFO] Replacing main artifact with repackaged archive
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.130 s
[INFO] Finished at: 2020-11-28T04:29:03+01:00
[INFO] ------------------------------------------------------------------------
Apply jar:file:///root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-graalvm-native-0.8.3.jar!/META-INF/native-image/org.springframework.experimental/spring-graalvm-native/native-image.properties
Apply jar:file:///root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/tomcat-embed-programmatic-9.0.39.jar!/META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-programmatic/native-image.properties
Executing [
/root/graalvm-ce-java11-20.3.0/bin/java
-XX:+UseParallelGC
-XX:+UnlockExperimentalVMOptions
-XX:+EnableJVMCI
-Dtruffle.TrustAllTruffleRuntimeProviders=true
-Dtruffle.TruffleRuntime=com.oracle.truffle.api.impl.DefaultTruffleRuntime
-Dgraalvm.ForcePolyglotInvalid=true
-Dgraalvm.locatorDisabled=true
-Dsubstratevm.IgnoreGraalVersionCheck=true
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.aarch64=ALL-UNNAMED
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.amd64=ALL-UNNAMED
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.code.site=ALL-UNNAMED
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.code.stack=ALL-UNNAMED
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.code=ALL-UNNAMED
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.common=ALL-UNNAMED
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.aarch64=ALL-UNNAMED
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.amd64=ALL-UNNAMED
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.sparc=ALL-UNNAMED
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot=ALL-UNNAMED
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.meta=ALL-UNNAMED
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.runtime=ALL-UNNAMED
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.services=ALL-UNNAMED
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.sparc=ALL-UNNAMED
--add-exports=org.graalvm.truffle/com.oracle.truffle.api=ALL-UNNAMED
--add-opens=jdk.internal.vm.compiler/org.graalvm.compiler.debug=ALL-UNNAMED
--add-opens=jdk.internal.vm.compiler/org.graalvm.compiler.nodes=ALL-UNNAMED
--add-opens=jdk.unsupported/sun.reflect=ALL-UNNAMED
--add-opens=java.base/jdk.internal.module=ALL-UNNAMED
--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED
--add-opens=java.base/jdk.internal.reflect=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED
--add-opens=java.base/java.lang.ref=ALL-UNNAMED
--add-opens=java.base/java.net=ALL-UNNAMED
--add-opens=java.base/java.nio=ALL-UNNAMED
--add-opens=java.base/java.nio.file=ALL-UNNAMED
--add-opens=java.base/java.security=ALL-UNNAMED
--add-opens=java.base/javax.crypto=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED
--add-opens=java.base/sun.security.x509=ALL-UNNAMED
--add-opens=java.base/jdk.internal.logger=ALL-UNNAMED
--add-opens=java.desktop/sun.java2d.cmm.profiles=ALL-UNNAMED
--add-opens=org.graalvm.sdk/org.graalvm.nativeimage.impl=ALL-UNNAMED
--add-opens=org.graalvm.sdk/org.graalvm.polyglot=ALL-UNNAMED
--add-opens=org.graalvm.truffle/com.oracle.truffle.polyglot=ALL-UNNAMED
--add-opens=org.graalvm.truffle/com.oracle.truffle.api.impl=ALL-UNNAMED
-XX:+UseJVMCINativeLibrary
-Xss10m
-Xms1g
-Xmx1550385152
-Duser.country=US
-Duser.language=en
-Djava.awt.headless=true
-Dorg.graalvm.version=20.3.0
-Dorg.graalvm.config=
-Dcom.oracle.graalvm.isaot=true
-Djava.system.class.loader=com.oracle.svm.hosted.NativeImageSystemClassLoader
-Xshare:off
--module-path
/root/graalvm-ce-java11-20.3.0/lib/truffle/truffle-api.jar
-Djdk.internal.lambda.disableEagerInitialization=true
-Djdk.internal.lambda.eagerlyInitialize=false
-Djava.lang.invoke.InnerClassLambdaMetafactory.initializeLambdas=false
-Xmx3G
-Xms3G
-Dspring.spel.ignore=true
-Dspring.native.remove-yaml-support=true
-javaagent:/root/graalvm-ce-java11-20.3.0/lib/svm/builder/svm.jar
-cp
/root/graalvm-ce-java11-20.3.0/lib/svm/builder/javacpp-shadowed.jar:/root/graalvm-ce-java11-20.3.0/lib/svm/builder/objectfile.jar:/root/graalvm-ce-java11-20.3.0/lib/svm/builder/llvm-platform-specific-shadowed.jar:/root/graalvm-ce-java11-20.3.0/lib/svm/builder/svm-llvm.jar:/root/graalvm-ce-java11-20.3.0/lib/svm/builder/svm.jar:/root/graalvm-ce-java11-20.3.0/lib/svm/builder/llvm-wrapper-shadowed.jar:/root/graalvm-ce-java11-20.3.0/lib/svm/builder/pointsto.jar
'com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus'
-watchpid
2450
-imagecp
/root/graalvm-ce-java11-20.3.0/lib/svm/library-support.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/classes:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-expression-5.3.1.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-jdbc-5.3.1.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-context-5.3.1.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-jcl-5.3.1.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-context-support-5.3.1.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-webmvc-5.3.1.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/jul-to-slf4j-1.7.30.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/snakeyaml-1.27.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-boot-2.4.0.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/jackson-annotations-2.11.3.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-boot-starter-json-2.4.0.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-core-5.3.1.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/log4j-to-slf4j-2.13.3.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/jackson-datatype-jsr310-2.11.3.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/mysql-connector-java-8.0.22.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/logback-classic-1.2.3.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-web-5.3.1.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-graalvm-native-0.8.3.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-boot-configuration-processor-2.4.0.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-data-relational-2.1.1.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-boot-starter-data-jdbc-2.4.0.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-boot-jarmode-layertools-2.4.0.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/log4j-api-2.13.3.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-boot-autoconfigure-2.4.0.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-aop-5.3.1.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/tomcat-embed-programmatic-9.0.39.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/jackson-core-2.11.3.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-boot-starter-cache-2.4.0.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/jackson-module-parameter-names-2.11.3.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/logback-core-1.2.3.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-beans-5.3.1.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-data-jdbc-2.1.1.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/json-20171018.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/jakarta.annotation-api-1.3.5.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-tx-5.3.1.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/jakarta.el-3.0.3.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-boot-starter-logging-2.4.0.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-boot-starter-2.4.0.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/slf4j-api-1.7.30.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/HikariCP-3.4.5.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-data-commons-2.4.1.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-context-indexer-5.3.1.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-boot-starter-tomcat-2.4.0.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-boot-starter-jdbc-2.4.0.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/spring-boot-starter-web-2.4.0.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/jackson-databind-2.11.3.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image/BOOT-INF/lib/jackson-datatype-jdk8-2.11.3.jar:/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image
-H:Path=/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image
-H:Name=data-jdbc
-H:+AllowIncompleteClasspath
-H:+ReportUnsupportedElementsAtRuntime
-H:FallbackThreshold=0
-H:+InstallExitHandlers
-H:ReflectionConfigurationResources=META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-programmatic/tomcat-reflection.json
-H:ResourceConfigurationResources=META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-programmatic/tomcat-resource.json
-H:CLibraryPath=/root/graalvm-ce-java11-20.3.0/lib/svm/clibraries/linux-aarch64
-H:Class=com.example.data.jdbc.JdbcApplication \
]
[data-jdbc:2469] classlist: 24,883.34 ms, 2.88 GB
/ / ____ _____ () ____ ____ _ / | / / ____ _ / / () _ __ ___
__ \ / __ \ / / / / / __ \ / __
/ / |/ / / __
/ / _/ / / | | / / / _/ / / // / / / / / / / / / / // / / /| / / // / / / / / | |/ / / __/
// / ./ // // // // _, / // |/ _,/ _/ // |/ _/
// /___/
Removing unused configurations
Verification turned on
Removing Yaml support
Removing XML support
Removing SpEL support
Removing JMX support
Use -Dspring.native.verbose=true on native-image call to see more detailed information from the feature
[data-jdbc:2469] (cap): 3,788.03 ms, 2.88 GB
feature operating mode: reflection (spring init active? false)
Found #15 types in static reflection list to register
Skipping #13 types not on the classpath
Attempting proxy registration of #12 proxies
Skipped registration of #9 proxies - relevant types not on classpath
[data-jdbc:2469] setup: 16,486.77 ms, 2.88 GB
Configuring initialization time for specific types and packages:
#137 buildtime-init-classes #22 buildtime-init-packages #18 runtime-init-classes #0 runtime-init-packages
Warning: class initialization of class org.springframework.boot.validation.MessageInterpolatorFactory failed with exception java.lang.NoClassDefFoundError: javax/validation/ValidationException. This class will be initialized at run time because option --allow-incomplete-classpath is used for image building. Use the option --initialize-at-run-time=org.springframework.boot.validation.MessageInterpolatorFactory to explicitly request delayed initialization of this class.
[verification] The type org.springframework.web.servlet.config.annotation.ResourceChainRegistration is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.webjars.WebJarAssetLocator]
[verification] The type org.springframework.transaction.annotation.AnnotationTransactionAttributeSource is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.transaction.Transactional, javax.ejb.TransactionAttribute]
[verification] The type org.springframework.data.repository.util.QueryExecutionConverters is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [io.vavr.control.Try]
[verification] The type org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.springframework.instrument.InstrumentationSavingAgent]
[verification] The type org.springframework.data.repository.core.support.ReactiveRepositoryFactorySupport$RxJavaOneConversionSetup is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.reactivestreams.Publisher]
[verification] The type org.springframework.web.servlet.config.ResourcesBeanDefinitionParser is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.webjars.WebJarAssetLocator]
[verification] The type org.springframework.web.servlet.view.InternalResourceViewResolver is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.servlet.jsp.jstl.core.Config]
[verification] The type org.springframework.context.annotation.AnnotationConfigUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.annotation.Resource, javax.persistence.EntityManagerFactory, org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor]
[verification] The type org.springframework.web.servlet.config.AnnotationDrivenBeanDefinitionParser is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.validation.Validator, com.rometools.rome.feed.WireFeed, javax.xml.bind.Binder, com.fasterxml.jackson.databind.ObjectMapper, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.dataformat.xml.XmlMapper, com.fasterxml.jackson.dataformat.smile.SmileFactory, com.fasterxml.jackson.dataformat.cbor.CBORFactory, com.google.gson.Gson]
[verification] The type org.springframework.cache.config.AnnotationDrivenCacheBeanDefinitionParser is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.cache.Cache, org.springframework.cache.jcache.interceptor.DefaultJCacheOperationSource]
[verification] The type org.springframework.web.servlet.function.AsyncServerResponse is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.reactivestreams.Publisher]
[verification] The type org.springframework.web.context.request.RequestContextHolder is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.faces.context.FacesContext]
[verification] The type org.springframework.core.KotlinDetector is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [kotlin.reflect.full.KClasses]
[verification] The type org.springframework.web.servlet.support.RequestContext is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.servlet.jsp.jstl.core.Config]
[verification] The type org.springframework.data.querydsl.QuerydslUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [com.querydsl.core.types.Predicate]
[verification] The type org.springframework.transaction.interceptor.TransactionAspectSupport is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [io.vavr.control.Try, org.reactivestreams.Publisher]
[verification] The type org.springframework.transaction.config.JtaTransactionManagerFactoryBean is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [weblogic.transaction.UserTransaction, com.ibm.wsspi.uow.UOWManager]
[verification] The type org.springframework.transaction.support.TransactionSynchronizationUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.springframework.aop.scope.ScopedObject]
[verification] The type org.springframework.boot.autoconfigure.web.format.WebConversionService is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.money.MonetaryAmount]
[verification] The type org.springframework.data.repository.util.ReactiveWrappers is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [reactor.core.publisher.Flux, rx.Observable, rx.RxReactiveStreams, io.reactivex.Flowable, io.reactivex.rxjava3.core.Flowable, kotlinx.coroutines.reactor.MonoKt]
[verification] The type org.springframework.web.context.support.WebApplicationContextUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.faces.context.FacesContext]
[verification] The type org.springframework.data.util.NullableWrapperConverters is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [com.google.common.base.Optional, scala.Option, io.vavr.control.Option]
[verification] The type org.springframework.data.convert.ThreeTenBackPortConverters is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.threeten.bp.LocalDateTime]
[verification] The type org.springframework.http.codec.xml.XmlEventDecoder is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [com.fasterxml.aalto.AsyncXMLStreamReader]
[verification] The type org.springframework.context.event.ApplicationListenerMethodAdapter is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.reactivestreams.Publisher]
[verification] The type org.springframework.boot.jdbc.DataSourceUnwrapper is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.springframework.jdbc.datasource.DelegatingDataSource]
[verification] The type org.springframework.context.config.MBeanServerBeanDefinitionParser is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [weblogic.management.Helper, com.ibm.websphere.management.AdminServiceFactory]
[verification] The type org.springframework.data.convert.JodaTimeConverters is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.joda.time.LocalDate]
[verification] The type org.springframework.format.support.DefaultFormattingConversionService is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.money.MonetaryAmount, org.joda.time.YearMonth]
[verification] The type org.springframework.web.util.UrlPathHelper is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.servlet.http.HttpServletMapping]
[verification] The type org.springframework.data.auditing.AnnotationAuditingMetadata is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [java.time.Clock]
[verification] The type org.springframework.cache.annotation.CachingConfigurationSelector is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.cache.Cache, org.springframework.cache.jcache.config.ProxyJCacheConfiguration]
[verification] The type org.springframework.web.servlet.view.tiles3.TilesConfigurer is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.apache.tiles.el.ELAttributeEvaluator]
[verification] The type org.springframework.transaction.reactive.TransactionSynchronizationUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.springframework.aop.scope.ScopedObject]
Registering resources - #0 bundles
Processing META-INF/spring.factories files...
spring.factories processing, problem adding access for key org.springframework.boot.diagnostics.analyzer.ValidationExceptionFailureAnalyzer: javax/validation/ValidationException
spring.factories processing, problem adding access for key org.springframework.boot.liquibase.LiquibaseChangelogMissingFailureAnalyzer: liquibase/exception/ChangeLogParseException
Processing spring.factories - PropertySourceLoader lists #1 property source loaders
Processing spring.factories - EnableAutoConfiguration lists #130 configurations
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Netty because HttpServer not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Undertow because Undertow not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Jetty because WebAppContext not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Netty because HttpServer not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Undertow because Undertow not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Jetty because WebAppContext not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Undertow because Undertow not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Netty because HttpServer not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Jetty because WebAppContext not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Netty because HttpServer not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Undertow because Undertow not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Jetty because WebAppContext not around
Excluding 101 auto-configurations from spring.factories file
Processing existing META-INF/spring.components files...
Number of types dynamically registered for reflective access: #2137
[data-jdbc:2469] (clinit): 253,553.92 ms, 2.92 GB
[data-jdbc:2469] (typeflow): 960,187.46 ms, 2.92 GB
[data-jdbc:2469] (objects): 1,493,390.53 ms, 2.92 GB
[data-jdbc:2469] (features): 245,501.37 ms, 2.92 GB
[data-jdbc:2469] analysis: 3,198,533.68 ms, 2.92 GB
=== Image generator watchdog detected no activity. This can be a sign of a deadlock during image building. Dumping all stack traces. Current time: Sat Nov 28 05:27:56 CET 2020
"main" Id=1 in WAITING on lock=java.util.concurrent.ForkJoinTask$AdaptedRunnableAction@502e85d5
at [email protected]/java.lang.Object.wait(Native Method)
at [email protected]/java.util.concurrent.ForkJoinTask.externalInterruptibleAwaitDone(ForkJoinTask.java:356)
at [email protected]/java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1004)
at app//com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:483)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:350)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:509)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:115)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus.main(NativeImageGeneratorRunner.java:541)
"Reference Handler" Id=2 in RUNNABLE
at [email protected]/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
at [email protected]/java.lang.ref.Reference.processPendingReferences(Reference.java:241)
at [email protected]/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:213)
"Finalizer" Id=3 in WAITING on lock=java.lang.ref.ReferenceQueue$Lock@5ee961a0
at [email protected]/java.lang.Object.wait(Native Method)
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
at [email protected]/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:170)
"Signal Dispatcher" Id=4 in RUNNABLE
"JVMCI-native CompilerThread0" Id=5 in RUNNABLE
"Common-Cleaner" Id=8 in TIMED_WAITING on lock=java.lang.ref.ReferenceQueue$Lock@5ad6eea5
at [email protected]/java.lang.Object.wait(Native Method)
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at [email protected]/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:148)
at [email protected]/java.lang.Thread.run(Thread.java:834)
at [email protected]/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:134)
"native-image pid watcher" Id=12 in RUNNABLE
at [email protected]/java.nio.file.Files.read(Files.java:3175)
at [email protected]/java.nio.file.Files.readAllBytes(Files.java:3212)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner$1.run(NativeImageGeneratorRunner.java:97)
at [email protected]/java.util.TimerThread.mainLoop(Timer.java:556)
at [email protected]/java.util.TimerThread.run(Timer.java:506)
"Libgraal MBean Registration" Id=13 in TIMED_WAITING
at [email protected]/java.lang.Thread.sleep(Native Method)
at platform/jdk.internal.vm.compiler.management/org.graalvm.compiler.hotspot.management.LibGraalMBean$Factory.run(LibGraalMBean.java:647)
"ForkJoinPool.commonPool-worker-5" Id=20 in WAITING on lock=java.util.concurrent.ForkJoinPool@4c9b532c
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"ForkJoinPool-4-worker-3" Id=24 in RUNNABLE
at [email protected]/java.lang.StringBuilder.append(StringBuilder.java:174)
at [email protected]/java.lang.StringBuilder.append(StringBuilder.java:168)
at app//com.oracle.svm.core.hub.LayoutEncoding.guaranteeEncoding(LayoutEncoding.java:91)
at app//com.oracle.svm.core.hub.LayoutEncoding.forInstance(LayoutEncoding.java:104)
at app//com.oracle.svm.hosted.meta.UniverseBuilder.buildHubs(UniverseBuilder.java:1207)
at app//com.oracle.svm.hosted.meta.UniverseBuilder.build(UniverseBuilder.java:166)
at app//com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:571)
at app//com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:471)
at app//com.oracle.svm.hosted.NativeImageGenerator$$Lambda$111/0x0000000801176440.run(Unknown Source)
at [email protected]/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1407)
at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"Thread-1" Id=25 in RUNNABLE
at [email protected]/sun.management.ThreadImpl.dumpThreads0(Native Method)
at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:521)
at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:509)
at app//com.oracle.svm.hosted.DeadlockWatchdog.threadDump(DeadlockWatchdog.java:113)
at app//com.oracle.svm.hosted.DeadlockWatchdog.watchdogThread(DeadlockWatchdog.java:80)
at app//com.oracle.svm.hosted.DeadlockWatchdog$$Lambda$112/0x0000000801174840.run(Unknown Source)
at [email protected]/java.lang.Thread.run(Thread.java:834)
"ForkJoinPool-4-worker-5" Id=28 in WAITING on lock=java.util.concurrent.ForkJoinPool@1fd46b9b
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"ForkJoinPool-4-worker-7" Id=29 in WAITING on lock=java.util.concurrent.ForkJoinPool@1fd46b9b
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"ForkJoinPool-4-worker-1" Id=30 in WAITING on lock=java.util.concurrent.ForkJoinPool@1fd46b9b
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"Timer-0" Id=32 in TIMED_WAITING on lock=java.util.TaskQueue@3b704599
at [email protected]/java.lang.Object.wait(Native Method)
at [email protected]/java.util.TimerThread.mainLoop(Timer.java:553)
at [email protected]/java.util.TimerThread.run(Timer.java:506)
"ForkJoinPool-2-worker-5" Id=35 in WAITING on lock=java.util.concurrent.ForkJoinPool@2e81d736
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
=== Memory statistics (in MB):
=== Used heap size: 2988
=== Free heap size: 1425
=== Maximum heap size: 2988
=== Image generator watchdog is aborting image generation. To configure the watchdog, use the options -H:DeadlockWatchdogInterval=10 and -H:+DeadlockWatchdogExitOnTimeout
Error: Image build request failed with exit status 1
com.oracle.svm.driver.NativeImage$NativeImageError: Image build request failed with exit status 1
at com.oracle.svm.driver.NativeImage.showError(NativeImage.java:1647)
at com.oracle.svm.driver.NativeImage.build(NativeImage.java:1397)
at com.oracle.svm.driver.NativeImage.performBuild(NativeImage.java:1358)
at com.oracle.svm.driver.NativeImage.main(NativeImage.java:1317)
at com.oracle.svm.driver.NativeImage$JDK9Plus.main(NativeImage.java:1829)
real 63m32.976s
user 23m25.944s
sys 3m1.831s
FAILURE: an error occurred when compiling the native-image.
`
And the other output from: target/native-image/output.txt
`
....
raalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image
-H:Path=/root/spring-graalvm-native-0.8.3/spring-graalvm-native-samples/data-jdbc/target/native-image
-H:Name=data-jdbc
-H:+AllowIncompleteClasspath
-H:+ReportUnsupportedElementsAtRuntime
-H:FallbackThreshold=0
-H:+InstallExitHandlers
-H:ReflectionConfigurationResources=META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-programmatic/tomcat-reflection.json
-H:ResourceConfigurationResources=META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-programmatic/tomcat-resource.json
-H:CLibraryPath=/root/graalvm-ce-java11-20.3.0/lib/svm/clibraries/linux-aarch64
-H:Class=com.example.data.jdbc.JdbcApplication \
]
[data-jdbc:2469] classlist: 24,883.34 ms, 2.88 GB
/ / ____ _____ () ____ ____ _ / | / / ____ _ / / () _ __ ___
__ \ / __ \ / / / / / __ \ / __
/ / |/ / / __
/ / _/ / / | | / / / _/ / / // / / / / / / / / / / // / / /| / / // / / / / / | |/ / / __/
// / ./ // // // // _, / // |/ _,/ _/ // |/ _/
// /___/
Removing unused configurations
Verification turned on
Removing Yaml support
Removing XML support
Removing SpEL support
Removing JMX support
Use -Dspring.native.verbose=true on native-image call to see more detailed information from the feature
[data-jdbc:2469] (cap): 3,788.03 ms, 2.88 GB
feature operating mode: reflection (spring init active? false)
Found #15 types in static reflection list to register
Skipping #13 types not on the classpath
Attempting proxy registration of #12 proxies
Skipped registration of #9 proxies - relevant types not on classpath
[data-jdbc:2469] setup: 16,486.77 ms, 2.88 GB
Configuring initialization time for specific types and packages:
#137 buildtime-init-classes #22 buildtime-init-packages #18 runtime-init-classes #0 runtime-init-packages
Warning: class initialization of class org.springframework.boot.validation.MessageInterpolatorFactory failed with exception java.lang.NoClassDefFoundError: javax/validation/ValidationException. This class will be initialized at run time because option --allow-incomplete-classpath is used for image building. Use the option --initialize-at-run-time=org.springframework.boot.validation.MessageInterpolatorFactory to explicitly request delayed initialization of this class.
[verification] The type org.springframework.web.servlet.config.annotation.ResourceChainRegistration is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.webjars.WebJarAssetLocator]
[verification] The type org.springframework.transaction.annotation.AnnotationTransactionAttributeSource is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.transaction.Transactional, javax.ejb.TransactionAttribute]
[verification] The type org.springframework.data.repository.util.QueryExecutionConverters is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [io.vavr.control.Try]
[verification] The type org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.springframework.instrument.InstrumentationSavingAgent]
[verification] The type org.springframework.data.repository.core.support.ReactiveRepositoryFactorySupport$RxJavaOneConversionSetup is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.reactivestreams.Publisher]
[verification] The type org.springframework.web.servlet.config.ResourcesBeanDefinitionParser is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.webjars.WebJarAssetLocator]
[verification] The type org.springframework.web.servlet.view.InternalResourceViewResolver is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.servlet.jsp.jstl.core.Config]
[verification] The type org.springframework.context.annotation.AnnotationConfigUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.annotation.Resource, javax.persistence.EntityManagerFactory, org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor]
[verification] The type org.springframework.web.servlet.config.AnnotationDrivenBeanDefinitionParser is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.validation.Validator, com.rometools.rome.feed.WireFeed, javax.xml.bind.Binder, com.fasterxml.jackson.databind.ObjectMapper, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.dataformat.xml.XmlMapper, com.fasterxml.jackson.dataformat.smile.SmileFactory, com.fasterxml.jackson.dataformat.cbor.CBORFactory, com.google.gson.Gson]
[verification] The type org.springframework.cache.config.AnnotationDrivenCacheBeanDefinitionParser is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.cache.Cache, org.springframework.cache.jcache.interceptor.DefaultJCacheOperationSource]
[verification] The type org.springframework.web.servlet.function.AsyncServerResponse is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.reactivestreams.Publisher]
[verification] The type org.springframework.web.context.request.RequestContextHolder is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.faces.context.FacesContext]
[verification] The type org.springframework.core.KotlinDetector is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [kotlin.reflect.full.KClasses]
[verification] The type org.springframework.web.servlet.support.RequestContext is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.servlet.jsp.jstl.core.Config]
[verification] The type org.springframework.data.querydsl.QuerydslUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [com.querydsl.core.types.Predicate]
[verification] The type org.springframework.transaction.interceptor.TransactionAspectSupport is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [io.vavr.control.Try, org.reactivestreams.Publisher]
[verification] The type org.springframework.transaction.config.JtaTransactionManagerFactoryBean is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [weblogic.transaction.UserTransaction, com.ibm.wsspi.uow.UOWManager]
[verification] The type org.springframework.transaction.support.TransactionSynchronizationUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.springframework.aop.scope.ScopedObject]
[verification] The type org.springframework.boot.autoconfigure.web.format.WebConversionService is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.money.MonetaryAmount]
[verification] The type org.springframework.data.repository.util.ReactiveWrappers is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [reactor.core.publisher.Flux, rx.Observable, rx.RxReactiveStreams, io.reactivex.Flowable, io.reactivex.rxjava3.core.Flowable, kotlinx.coroutines.reactor.MonoKt]
[verification] The type org.springframework.web.context.support.WebApplicationContextUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.faces.context.FacesContext]
[verification] The type org.springframework.data.util.NullableWrapperConverters is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [com.google.common.base.Optional, scala.Option, io.vavr.control.Option]
[verification] The type org.springframework.data.convert.ThreeTenBackPortConverters is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.threeten.bp.LocalDateTime]
[verification] The type org.springframework.http.codec.xml.XmlEventDecoder is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [com.fasterxml.aalto.AsyncXMLStreamReader]
[verification] The type org.springframework.context.event.ApplicationListenerMethodAdapter is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.reactivestreams.Publisher]
[verification] The type org.springframework.boot.jdbc.DataSourceUnwrapper is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.springframework.jdbc.datasource.DelegatingDataSource]
[verification] The type org.springframework.context.config.MBeanServerBeanDefinitionParser is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [weblogic.management.Helper, com.ibm.websphere.management.AdminServiceFactory]
[verification] The type org.springframework.data.convert.JodaTimeConverters is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.joda.time.LocalDate]
[verification] The type org.springframework.format.support.DefaultFormattingConversionService is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.money.MonetaryAmount, org.joda.time.YearMonth]
[verification] The type org.springframework.web.util.UrlPathHelper is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.servlet.http.HttpServletMapping]
[verification] The type org.springframework.data.auditing.AnnotationAuditingMetadata is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [java.time.Clock]
[verification] The type org.springframework.cache.annotation.CachingConfigurationSelector is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [javax.cache.Cache, org.springframework.cache.jcache.config.ProxyJCacheConfiguration]
[verification] The type org.springframework.web.servlet.view.tiles3.TilesConfigurer is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.apache.tiles.el.ELAttributeEvaluator]
[verification] The type org.springframework.transaction.reactive.TransactionSynchronizationUtils is making isPresent() calls in the static initializer, could be worth specifying build-time-initialization. It appears to be making isPresent() checks on [org.springframework.aop.scope.ScopedObject]
Registering resources - #0 bundles
Processing META-INF/spring.factories files...
spring.factories processing, problem adding access for key org.springframework.boot.diagnostics.analyzer.ValidationExceptionFailureAnalyzer: javax/validation/ValidationException
spring.factories processing, problem adding access for key org.springframework.boot.liquibase.LiquibaseChangelogMissingFailureAnalyzer: liquibase/exception/ChangeLogParseException
Processing spring.factories - PropertySourceLoader lists #1 property source loaders
Processing spring.factories - EnableAutoConfiguration lists #130 configurations
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Netty because HttpServer not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Undertow because Undertow not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Jetty because WebAppContext not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Netty because HttpServer not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Undertow because Undertow not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Jetty because WebAppContext not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Undertow because Undertow not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Netty because HttpServer not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Jetty because WebAppContext not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Netty because HttpServer not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Undertow because Undertow not around
Reducing access on org.springframework.boot.autoconfigure.web.ServerProperties$Jetty because WebAppContext not around
Excluding 101 auto-configurations from spring.factories file
Processing existing META-INF/spring.components files...
Number of types dynamically registered for reflective access: #2137
[data-jdbc:2469] (clinit): 253,553.92 ms, 2.92 GB
[data-jdbc:2469] (typeflow): 960,187.46 ms, 2.92 GB
[data-jdbc:2469] (objects): 1,493,390.53 ms, 2.92 GB
[data-jdbc:2469] (features): 245,501.37 ms, 2.92 GB
[data-jdbc:2469] analysis: 3,198,533.68 ms, 2.92 GB
=== Image generator watchdog detected no activity. This can be a sign of a deadlock during image building. Dumping all stack traces. Current time: Sat Nov 28 05:27:56 CET 2020
"main" Id=1 in WAITING on lock=java.util.concurrent.ForkJoinTask$AdaptedRunnableAction@502e85d5
at [email protected]/java.lang.Object.wait(Native Method)
at [email protected]/java.util.concurrent.ForkJoinTask.externalInterruptibleAwaitDone(ForkJoinTask.java:356)
at [email protected]/java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1004)
at app//com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:483)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:350)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:509)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:115)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus.main(NativeImageGeneratorRunner.java:541)
"Reference Handler" Id=2 in RUNNABLE
at [email protected]/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
at [email protected]/java.lang.ref.Reference.processPendingReferences(Reference.java:241)
at [email protected]/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:213)
"Finalizer" Id=3 in WAITING on lock=java.lang.ref.ReferenceQueue$Lock@5ee961a0
at [email protected]/java.lang.Object.wait(Native Method)
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
at [email protected]/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:170)
"Signal Dispatcher" Id=4 in RUNNABLE
"JVMCI-native CompilerThread0" Id=5 in RUNNABLE
"Common-Cleaner" Id=8 in TIMED_WAITING on lock=java.lang.ref.ReferenceQueue$Lock@5ad6eea5
at [email protected]/java.lang.Object.wait(Native Method)
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at [email protected]/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:148)
at [email protected]/java.lang.Thread.run(Thread.java:834)
at [email protected]/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:134)
"native-image pid watcher" Id=12 in RUNNABLE
at [email protected]/java.nio.file.Files.read(Files.java:3175)
at [email protected]/java.nio.file.Files.readAllBytes(Files.java:3212)
at app//com.oracle.svm.hosted.NativeImageGeneratorRunner$1.run(NativeImageGeneratorRunner.java:97)
at [email protected]/java.util.TimerThread.mainLoop(Timer.java:556)
at [email protected]/java.util.TimerThread.run(Timer.java:506)
"Libgraal MBean Registration" Id=13 in TIMED_WAITING
at [email protected]/java.lang.Thread.sleep(Native Method)
at platform/jdk.internal.vm.compiler.management/org.graalvm.compiler.hotspot.management.LibGraalMBean$Factory.run(LibGraalMBean.java:647)
"ForkJoinPool.commonPool-worker-5" Id=20 in WAITING on lock=java.util.concurrent.ForkJoinPool@4c9b532c
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"ForkJoinPool-4-worker-3" Id=24 in RUNNABLE
at [email protected]/java.lang.StringBuilder.append(StringBuilder.java:174)
at [email protected]/java.lang.StringBuilder.append(StringBuilder.java:168)
at app//com.oracle.svm.core.hub.LayoutEncoding.guaranteeEncoding(LayoutEncoding.java:91)
at app//com.oracle.svm.core.hub.LayoutEncoding.forInstance(LayoutEncoding.java:104)
at app//com.oracle.svm.hosted.meta.UniverseBuilder.buildHubs(UniverseBuilder.java:1207)
at app//com.oracle.svm.hosted.meta.UniverseBuilder.build(UniverseBuilder.java:166)
at app//com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:571)
at app//com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:471)
at app//com.oracle.svm.hosted.NativeImageGenerator$$Lambda$111/0x0000000801176440.run(Unknown Source)
at [email protected]/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1407)
at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"Thread-1" Id=25 in RUNNABLE
at [email protected]/sun.management.ThreadImpl.dumpThreads0(Native Method)
at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:521)
at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:509)
at app//com.oracle.svm.hosted.DeadlockWatchdog.threadDump(DeadlockWatchdog.java:113)
at app//com.oracle.svm.hosted.DeadlockWatchdog.watchdogThread(DeadlockWatchdog.java:80)
at app//com.oracle.svm.hosted.DeadlockWatchdog$$Lambda$112/0x0000000801174840.run(Unknown Source)
at [email protected]/java.lang.Thread.run(Thread.java:834)
"ForkJoinPool-4-worker-5" Id=28 in WAITING on lock=java.util.concurrent.ForkJoinPool@1fd46b9b
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"ForkJoinPool-4-worker-7" Id=29 in WAITING on lock=java.util.concurrent.ForkJoinPool@1fd46b9b
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"ForkJoinPool-4-worker-1" Id=30 in WAITING on lock=java.util.concurrent.ForkJoinPool@1fd46b9b
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
"Timer-0" Id=32 in TIMED_WAITING on lock=java.util.TaskQueue@3b704599
at [email protected]/java.lang.Object.wait(Native Method)
at [email protected]/java.util.TimerThread.mainLoop(Timer.java:553)
at [email protected]/java.util.TimerThread.run(Timer.java:506)
"ForkJoinPool-2-worker-5" Id=35 in WAITING on lock=java.util.concurrent.ForkJoinPool@2e81d736
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
=== Memory statistics (in MB):
=== Used heap size: 2988
=== Free heap size: 1425
=== Maximum heap size: 2988
=== Image generator watchdog is aborting image generation. To configure the watchdog, use the options -H:DeadlockWatchdogInterval=10 and -H:+DeadlockWatchdogExitOnTimeout
Error: Image build request failed with exit status 1
com.oracle.svm.driver.NativeImage$NativeImageError: Image build request failed with exit status 1
at com.oracle.svm.driver.NativeImage.showError(NativeImage.java:1647)
at com.oracle.svm.driver.NativeImage.build(NativeImage.java:1397)
at com.oracle.svm.driver.NativeImage.performBuild(NativeImage.java:1358)
at com.oracle.svm.driver.NativeImage.main(NativeImage.java:1317)
at com.oracle.svm.driver.NativeImage$JDK9Plus.main(NativeImage.java:1829)
real 63m32.976s
user 23m25.944s
sys 3m1.831s
`
The text was updated successfully, but these errors were encountered: