Expand my Community achievements bar.

SOLVED

AEM PDF Converter in quarkus native app

Avatar

Level 1

I have a small Quarkus application that uses the libraries
<dependency>
<groupId>com.adobe.livecycle</groupId>
<artifactId>adobe-consulting-types</artifactId>
<version>10.0.2.20120224.1.313570</version>
</dependency>

<dependency>
<groupId>com.adobe.livecycle</groupId>
<artifactId>adobe-livecycle-client</artifactId>
<version>10.0.2.20120224.1.313570</version>
</dependency>

<dependency>
<groupId>com.adobe.livecycle</groupId>
<artifactId>adobe-usermanager-client</artifactId>
<version>10.0.2.20120224.1.313570</version>
</dependency>

<dependency>
<groupId>com.adobe.livecycle</groupId>
<artifactId>adobe-utilities</artifactId>
<version>10.0.2.20120224.1.313570</version>
</dependency>
to convert documents to PDF. If I run the code in non-native mode, everything works correctly. However, if I run the project in native mode with Podman, I get the following error: ALC-DSC-217-000: com.adobe.idp.dsc.DSCRuntimeException: <unknown error code>
at com.adobe.idp.dsc.clientsdk.ServiceClientFactory.createMessageDispatcher(ServiceClientFactory.java:647)
at com.adobe.idp.dsc.clientsdk.ServiceClientFactory.getMessageDispatcher(ServiceClientFactory.java:580)
at com.adobe.idp.dsc.clientsdk.ServiceClient.getMessageDispatcher(ServiceClient.java:239)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:205)
� at testapp.integration.rest.adobe_converter.AdobeServiceLayerImpl.convertToPdfA(AdobeServiceLayerImpl.java:99)
at testapp.integration.rest.adobe_converter.AdobeServiceLayerImpl_ClientProxy.convertToPdfA(Unknown Source)
at testapp.services.ConverterServiceImpl.convertFileToPdf(ConverterServiceImpl.java:47)
at testapp.services.ConverterServiceImpl_ClientProxy.convertFileToPdf(Unknown Source)
at testapp.rest.ConverterResource.convertiDocumentoInPdf(ConverterResource.java:117)
at testapp.rest.ConverterResource_Subclass.convertiDocumentoInPdf$$superforward(Unknown Source)
at testapp.rest.ConverterResource_Subclass$$function$$1.apply(Unknown Source)
at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:73)
� at io.quarkus.arc.impl.AroundInvokeInvocationContext$NextAroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:97)
� at io.quarkus.hibernate.validator.runtime.interceptor.AbstractMethodValidationInterceptor.validateMethodInvocation(AbstractMethodValidationInterceptor.java:71)
� at io.quarkus.hibernate.validator.runtime.jaxrs.ResteasyReactiveEndPointValidationInterceptor.validateMethodInvocation(ResteasyReactiveEndPointValidationInterceptor.java:21)
at io.quarkus.hibernate.validator.runtime.jaxrs.ResteasyReactiveEndPointValidationInterceptor_Bean.intercept(Unknown Source)
at io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:70)
at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:62)
at io.quarkus.micrometer.runtime.MicrometerTimedInterceptor.timedMethod(MicrometerTimedInterceptor.java:79)
at io.quarkus.micrometer.runtime.MicrometerTimedInterceptor_Bean.intercept(Unknown Source)
at io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
at io.quarkus.arc.impl.AroundInvokeInvocationContext.perform(AroundInvokeInvocationContext.java:30)
at io.quarkus.arc.impl.InvocationContexts.performAroundInvoke(InvocationContexts.java:27)
at testapp.rest.ConverterResource_Subclass.convertiDocumentoInPdf(Unknown Source)
� at testapp.rest.ConverterResource$quarkusrestinvoker$convertiDocumentoInPdf_8f1dc03f75b80e18d66a725d6b8915c9b17fc4f0.invoke(Unknown Source)
at org.jboss.resteasy.reactive.server.handlers.InvocationHandler.handle(InvocationHandler.java:29)
� at io.quarkus.resteasy.reactive.server.runtime.QuarkusResteasyReactiveRequestContext.invokeHandler(QuarkusResteasyReactiveRequestContext.java:141)
at org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext.run(AbstractResteasyReactiveContext.java:147)
at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:582)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base@21.0.7/java.lang.Thread.runWith(Thread.java:1596)
at java.base@21.0.7/java.lang.Thread.run(Thread.java:1583)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:896)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:872)

What does this error code correspond to? I couldn't find any information online, nor could I find old documentation to refer to. Thank you.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Moderator

This is a very specific use case of calling AEM Forms JEE APIs in Quarkus application. You can reach out to Adobe Support/Consulting teams for help on this. 

View solution in original post

1 Reply

Avatar

Correct answer by
Moderator

This is a very specific use case of calling AEM Forms JEE APIs in Quarkus application. You can reach out to Adobe Support/Consulting teams for help on this.