Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2309

XOPMultipartProxyTest fails when run using secutity manager

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.2.0.Final
    • jaxrs
    • None
    • Hide

      Run the test with security manager as follows:

      mvn verify -fn \
      -Dsecurity.manager \
      -Dtest=org.jboss.resteasy.test.providers.multipart.XOPMultipartProxyTest \
      -Dserver.home=/home/rsearls/j1/wildfly/dist/target/wildfly-18.0.0.Beta1-SNAPSHOT

      You may want to set a breakpoint in SynchronousDispatcher line 190 to see exception details

      Show
      Run the test with security manager as follows: mvn verify -fn \ -Dsecurity.manager \ -Dtest=org.jboss.resteasy.test.providers.multipart.XOPMultipartProxyTest \ -Dserver.home=/home/rsearls/j1/wildfly/dist/target/wildfly-18.0.0.Beta1-SNAPSHOT You may want to set a breakpoint in SynchronousDispatcher line 190 to see exception details

      Test XOPMultipartProxyTest fails when run using the security manage.
      org.jboss.resteasy.test.providers.multipart.resource
      .XOPMultipartProxyResource.getResponse(XOPMultipartProxyResource.java:31)
      does not have permission to create file to disk.

      Exception message:
      org.jboss.resteasy.test.providers.multipart.XOPMultipartProxyTest
      org.jboss.resteasy.spi.ApplicationException: java.lang.SecurityException:
      Unable to create temporary file

            Unassigned Unassigned
            rsearls r searls
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: