There was an error running the output creation process caused by FileNotFoundException: Access Denied (SRV000042)

There was an error running the output creation process caused by FileNotFoundException: C:\Users\myuser\Connect\filestore\workflow\template\Untitled.OL-template7117834605959706537\Untitled (Access Denied) (SRV000042)

I’m trying to create a PDF from a datamapper and a template.
The message I’m getting is clearly “access denied,” but I can’t figure out where I might be using incorrect credentials. The OL Connect Server service uses the same user as the workflow.
Any help in understanding this issue would be greatly appreciated.

Do you have an anti-malware runnning?
If so can you add the error path in its white list? Or best turn it off temporarely to confirm that it’s his doing?

same error.
ERROR [qtp1991075605-240] com.objectiflune.serverengine.rest.workflow.AbstractManagedOutputRestService.getManagedResult(AbstractManagedOutputRestService.java) An exception occurred retrieving the Managed Result
java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.objectiflune.serverengine.rest.internal.LoggedApplicationException: There was an error running the output creation process caused by FileNotFoundException: C:\Users\andresf\Connect\filestore\workflow\template\Untitled.OL-template7117834605959706537\Untitled (Acceso denegado) (SRV000042)
at com.objectiflune.core.rest.services.BaseRestServiceWithProgress.getResult(BaseRestServiceWithProgress.java)
at com.objectiflune.serverengine.rest.workflow.OutputCreationRestService.getResultAsText(OutputCreationRestService.java)
at com.objectiflune.serverengine.rest.workflow.AbstractManagedOutputRestService.getManagedResult(AbstractManagedOutputRestService.java)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:146)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:189)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:176)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:93)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:478)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:400)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:274)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:266)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:253)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:696)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:397)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:349)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:358)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:312)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at org.eclipse.jetty.ee10.servlet.ServletHolder.handle(ServletHolder.java:736)
at org.eclipse.jetty.ee10.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1622)
at com.objectiflune.serverengine.rest.security.AuthenticationRateLimitFilter.doFilter(AuthenticationRateLimitFilter.java)
at org.eclipse.jetty.ee10.servlet.FilterHolder.doFilter(FilterHolder.java:205)
at org.eclipse.jetty.ee10.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1594)
at com.objectiflune.serverengine.rest.security.MethodTypeFilter.doFilter(MethodTypeFilter.java)
at org.eclipse.jetty.ee10.servlet.FilterHolder.doFilter(FilterHolder.java:205)
at org.eclipse.jetty.ee10.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1594)
at com.objectiflune.serverengine.rest.security.LicenseFilter.doFilter(LicenseFilter.java)
at org.eclipse.jetty.ee10.servlet.FilterHolder.doFilter(FilterHolder.java:205)
at org.eclipse.jetty.ee10.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1594)
at org.eclipse.jetty.ee10.servlet.ServletHandler$MappedServlet.handle(ServletHandler.java:1555)
at org.eclipse.jetty.ee10.servlet.ServletChannel.dispatch(ServletChannel.java:823)
at org.eclipse.jetty.ee10.servlet.ServletChannel.handle(ServletChannel.java:440)
at org.eclipse.jetty.ee10.servlet.ServletHandler.handle(ServletHandler.java:470)
at org.eclipse.jetty.ee10.servlet.SessionHandler.handle(SessionHandler.java:717)
at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1071)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:181)
at org.eclipse.jetty.server.Server.handle(Server.java:182)
at org.eclipse.jetty.server.internal.HttpChannelState$HandlerInvoker.run(HttpChannelState.java:678)
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:981)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1211)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1166)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: com.objectiflune.serverengine.rest.internal.LoggedApplicationException: There was an error running the output creation process caused by FileNotFoundException: C:\Users\andresf\Connect\filestore\workflow\template\Untitled.OL-template7117834605959706537\Untitled (Acceso denegado) (SRV000042)
at java.base/java.util.concurrent.FutureTask.report(Unknown Source)
at java.base/java.util.concurrent.FutureTask.get(Unknown Source)
… 60 common frames omitted
Caused by: com.objectiflune.serverengine.rest.internal.LoggedApplicationException: There was an error running the output creation process caused by FileNotFoundException: C:\Users\andresf\Connect\filestore\workflow\template\Untitled.OL-template7117834605959706537\Untitled (Acceso denegado) (SRV000042)
at com.objectiflune.serverengine.rest.workflow.n.call(n.java)
at com.objectiflune.core.rest.services.b.call(b.java)
at com.objectiflune.core.rest.services.b.call(b.java)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
… 1 common frames omitted

Can you share a screenshot of you Connect Template node in your flow as to see how it is configured?

yes.


this is the node terminal

Did you define a Connect Server?

From your screenshot it doesn’t seem so, unless you named your Connect Server config: localhost

Yes.

And if you use that same setup directly in Connect, same Datamapper, Template, Output preset and data file, does it work?

I tested it in the workflow and it worked well.

all my ol aplicactions are updated.

In place of an output preset you selected a template
see the image below:

thanks.is working now.I have a lot to learn