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

XMLWordPrintable

      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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: