WARNING - com.amazonaws.util.VersionInfoUtils: The AWS SDK for Java 1.x

0
Hi. I noticed a warning about deprecated AWS SDK during startup. Should I worry? We configured Mendix to use an S3 bucket as a file storage. INFO: Trying to start the MxRuntime... ... WARNING - com.amazonaws.util.VersionInfoUtils: The AWS SDK for Java 1.x entered maintenance mode starting July 31, 2024 and will reach end of support on December 31, 2025. For more information, see https://aws.amazon.com/blogs/developer/the-aws-sdk-for-java-1> You can print where on the file system the AWS SDK for Java 1.x core runtime is located by setting the AWS_JAVA_V1_PRINT_LOCATION environment variable or aws.java.v1.printLocation system property to 'true'. This message can be disabled by setting the AWS_JAVA_V1_DISABLE_DEPRECATION_ANNOUNCEMENT environment variable or aws.java.v1.disableDeprecationAnnouncement system property to 'true'. The AWS SDK for Java 1.x is being used here: at java.base/java.lang.Thread.getStackTrace(Thread.java:2451) at com.amazonaws.util.VersionInfoUtils.printDeprecationAnnouncement(VersionInfoUtils.java:81) at com.amazonaws.util.VersionInfoUtils.<clinit>(VersionInfoUtils.java:59) at com.amazonaws.ClientConfiguration.<clinit>(ClientConfiguration.java:94) at com.mendix.storage.s3.internal.ClientProvider.createAmazonClient(ClientProvider.scala:88) at com.mendix.storage.s3.internal.ClientProvider.updateClient(ClientProvider.scala:60) at com.mendix.storage.s3.internal.ClientProvider.onCertificateProcessorReady(ClientProvider.scala:83) at com.mendix.storage.s3.internal.AmazonS3StorageService.handleEvent(AmazonS3StorageService.scala:60) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at com.mendix.container.support.EventProcessorDelegate.$anonfun$sendEvent$3(EventProcessorDelegate.scala:18) at scala.collection.immutable.List.foreach(List.scala:334) at com.mendix.container.support.EventProcessorDelegate.sendEvent(EventProcessorDelegate.scala:16) at com.mendix.container.support.EventProcessor.sendEvent(EventProcessor.scala:21) at com.mendix.basis.conf.CertificateProcessor.afterConfigurationUpdated(CertificateProcessor.scala:36) at com.mendix.basis.impl.MxRuntimeImpl.$anonfun$loadModel$1(MxRuntimeImpl.scala:594) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) at com.mendix.util.startupmeter.StartUpMeter.measure(StartUpMeter.scala:67) at com.mendix.basis.impl.MxRuntimeImpl.com$mendix$basis$impl$MxRuntimeImpl$$loadModel(MxRuntimeImpl.scala:592) at com.mendix.basis.impl.MxRuntimeImpl$ModelLoad$.$anonfun$onEntry$2(MxRuntimeImpl.scala:347) at com.mendix.basis.impl.MxRuntimeImpl.com$mendix$basis$impl$MxRuntimeImpl$$onFailureTransitionTo(MxRuntimeImpl.scala:327) at com.mendix.basis.impl.MxRuntimeImpl$ModelLoad$.onEntry(MxRuntimeImpl.scala:347) at com.mendix.basis.impl.MxRuntimeImpl.enter(MxRuntimeImpl.scala:322) at com.mendix.basis.impl.MxRuntimeImpl.com$mendix$basis$impl$MxRuntimeImpl$$transitionTo(MxRuntimeImpl.scala:313) at com.mendix.basis.impl.MxRuntimeImpl$Idle$.start(MxRuntimeImpl.scala:340) at com.mendix.basis.impl.MxRuntimeImpl.$anonfun$start$1(MxRuntimeImpl.scala:204) at scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.scala:17) at com.mendix.util.startupmeter.StartUpMeter.measure(StartUpMeter.scala:67) at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.scala:203) at com.mendix.m2ee.appcontainer.AppContainer.startRuntime(AppContainer.scala:363) at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.scala:16) at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandlerBase.service(HttpAdminHandlerBase.java:131) at javax.servlet.http.HttpServlet.service(HttpServlet.java:590) at org.eclipse.jetty.ee8.servlet.ServletHolder.handle(ServletHolder.java:640) at org.eclipse.jetty.ee8.servlet.ServletHandler.doHandle(ServletHandler.java:456) at org.eclipse.jetty.ee8.nested.ScopedHandler.nextHandle(ScopedHandler.java:181) at org.eclipse.jetty.ee8.nested.ContextHandler.doHandle(ContextHandler.java:885) at org.eclipse.jetty.ee8.nested.ScopedHandler.nextScope(ScopedHandler.java:152) at org.eclipse.jetty.ee8.servlet.ServletHandler.doScope(ServletHandler.java:423) at org.eclipse.jetty.ee8.nested.ScopedHandler.nextScope(ScopedHandler.java:150) at org.eclipse.jetty.ee8.nested.ContextHandler.doScope(ContextHandler.java:830) at org.eclipse.jetty.ee8.nested.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.ee8.nested.ContextHandler.handle(ContextHandler.java:1443) at org.eclipse.jetty.ee8.nested.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1289) at org.eclipse.jetty.ee8.nested.HttpChannel.dispatch(HttpChannel.java:616) at org.eclipse.jetty.ee8.nested.HttpChannel.handle(HttpChannel.java:459) at org.eclipse.jetty.ee8.nested.ContextHandler$CoreContextHandler$CoreToNestedHandler.handle(ContextHandler.java:2450) at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1064) at org.eclipse.jetty.server.Server.handle(Server.java:182) at org.eclipse.jetty.server.internal.HttpChannelState$HandlerInvoker.run(HttpChannelState.java:662) at org.eclipse.jetty.server.internal.HttpConnection.onFillable(HttpConnection.java:416) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:322) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:99) at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:480) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:443) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:293) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:201) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:311) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:979) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1209) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1164) at java.base/java.lang.Thread.run(Thread.java:1583) ... INFO: The Mendix runtime has been fully started  
asked
1 answers
0

The log message is a standard deprecation notice from Amazon Web Services. It's telling you that the tool Mendix uses to communicate with your S3 bucket (the AWS SDK for Java v1.x) is being phased out.

 

  • Maintenance Mode (Now): Since July 31, 2024, this old SDK only receives critical security patches. It doesn't get new features.

     

  • End of Support (Future): After December 31, 2025, AWS will stop providing any updates, including security fixes.

     

Think of it like a warning that your phone's operating system will no longer be supported next year. The phone works fine today, but it will become a security risk and might lose compatibility with new apps in the future.

 

 

The stack trace you provided is key. Lines like com.mendix.storage.s3.internal.ClientProvider show that this code is part of the Mendix platform's built-in S3 connector, not your custom application logic.

This means Mendix is responsible for upgrading the AWS SDK in a future release of the platform. Your responsibility is to upgrade your Mendix application to that newer version before the deadline.

 

 

answered