0 Replies Latest reply on Jun 17, 2015 6:36 AM by SeanLapointe

    ES4 Workspace Customization

    SeanLapointe Level 1

      I am currently using an AIR application to automatically update the task attachments on a form when a user completes a task. This has been working great under ES2, but when I upgraded our test environment to ES4 I have encountered a problem. When I complete a task, the AIR app runs fine, but it appears as though the user does not have enough permissions to POST the updated attachment to the /workspace-server/update-task-attachment URL as the server log gives this error:

       

      2015-06-17 09:16:00,012 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/workspace-server].[uplo ad-task-attachment]] (http-0.0.0.0-80-5) Servlet.service() for servlet upload-task-attachment threw exception

      flex.messaging.MessageException: ALC-WKS-005-026: Access denied: access permission not assigned to user "".

      at com.adobe.workspace.AssemblerUtility.createMessageException(AssemblerUtility.java:431)

      at com.adobe.workspace.attachments.UploadTaskAttachmentServlet.doPost(UploadTaskAttachmentSe rvlet.java:80)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      at com.adobe.idp.um.auth.filter.CSRFFilter.doFilter(CSRFFilter.java:57)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      at com.adobe.workspace.events.RemoteEventClientLifeCycle.doFilter(RemoteEventClientLifeCycle .java:161)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:183)

      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:442)

      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEs tablishmentValve.java:126)

      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEst ablishmentValve.java:70)

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java: 158)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(Acti veRequestResponseCacheValve.java:74)

      at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequest ResponseCacheValve.java:47)

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:599)

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

      at java.lang.Thread.run(Thread.java:724)

       

      The JSESSIONID is being passed in the URL and the user has the proper roles granted to them. The server is set to allow non-secured document uploads from Flex applications as well.

       

      Is anyone able to give me some help on this?