Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10640

Standalone Webapps fail on JBoss EAP 6.x because vfs access is not allowed

    Details

      Description

      Steps to reproduce

      1. Start JBoss EAP 6.1 as follows
        /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre/bin/java \
        -XX:PermSize=192m \
        -XX:MaxPermSize=192m \
        -Xms128m \
        -Xmx512m \
        -D[Standalone] \
        -Dorg.jboss.boot.log.file=/Users/tasso/camunda-bpm-platform-ee/qa/integration-tests-webapps/standalone-engine/target/config-jboss/log/boot.log \
        -Dlogging.configuration=file:/Users/tasso/camunda-bpm-platform-ee/qa/integration-tests-webapps/standalone-engine/target/config-jboss/configuration/logging.properties \
        -Djboss.home.dir=/Users/tasso/camunda-bpm-platform-ee/qa/integration-tests-webapps/standalone-engine/../../vanilla-runtimes/jbosseap/target/server/jboss-eap-6.1 \
        -Djboss.server.base.dir=/Users/tasso/camunda-bpm-platform-ee/qa/integration-tests-webapps/standalone-engine/target/config-jboss \
        -Djboss.bind.address=0.0.0.0 \
        -jar \
        /Users/tasso/camunda-bpm-platform-ee/qa/integration-tests-webapps/standalone-engine/../../vanilla-runtimes/jbosseap/target/server/jboss-eap-6.1/jboss-modules.jar \
        -mp \
        /Users/tasso/camunda-bpm-platform-ee/qa/integration-tests-webapps/standalone-engine/../../vanilla-runtimes/jbosseap/target/server/jboss-eap-6.1/modules \
        org.jboss.as.standalone \
        --server-config=standalone.xml
        
      2. Deploy the standalone Webapps

      Observed behavior
      Container fails to start with the following error message

      [INFO] [talledLocalContainer] 09:41:02,617 ERROR [org.camunda.bpm.engine.context] (ServerService Thread Pool -- 55) ENGINE-16004 Exception while closing command context: ENGINE-09003 Could not parse '/Users/tasso/camunda-bpm-platform-ee/qa/integration-tests-webapps/standalone-engine/target/config-jboss/tmp/vfs/temp3d92e6367df5a557/camunda-webapp-ee-jboss-standalone-7.12.0-SNAPSHOT.war-a4442ef6a4327246/WEB-INF/classes/bpmn/loanApproval.bpmn'. schema_reference: Failed to read schema document 'BPMNDI.xsd', because 'vfs' access is not allowed due to restriction set by the accessExternalSchema property. : org.camunda.bpm.engine.ProcessEngineException: ENGINE-09003 Could not parse '/Users/tasso/camunda-bpm-platform-ee/qa/integration-tests-webapps/standalone-engine/target/config-jboss/tmp/vfs/temp3d92e6367df5a557/camunda-webapp-ee-jboss-standalone-7.12.0-SNAPSHOT.war-a4442ef6a4327246/WEB-INF/classes/bpmn/loanApproval.bpmn'. schema_reference: Failed to read schema document 'BPMNDI.xsd', because 'vfs' access is not allowed due to restriction set by the accessExternalSchema property.
      

      Hint

      • Might be solved if vfs is whitelisted [1]
      • Does not fail if -jaxpmodule javax.xml.jaxp-provider app argument is present (must follow after -mp /Users/tasso/Downloads/jboss-eap-6.1/modules)
      • See attached server log file

      [1] https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/util/xml/Parse.java#L146

      1. server-log.txt
        63 kB
        Tassilo Weidner

        Issue Links

          Activity

          Hide
          michael.schoettes Michael Schoettes added a comment -

          We sucessfully tested two scenarios on 7.9 and 7.11:
          1. Weblogic 12R2: A process application containing BPMN XML can be deployed via the admin console
          2. JBoss EAP 6.1: The standalone web application can be deployed

          Show
          michael.schoettes Michael Schoettes added a comment - We sucessfully tested two scenarios on 7.9 and 7.11: 1. Weblogic 12R2: A process application containing BPMN XML can be deployed via the admin console 2. JBoss EAP 6.1: The standalone web application can be deployed

            People

            • Assignee:
              nikola.koevski Nikola Koevski
              Reporter:
              tassilo.weidner Tassilo Weidner
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development