AnsweredAssumed Answered

Include Forms in .bar Business Archive

Question asked by eye on Jan 27, 2011
Latest reply on Jan 31, 2011 by eye
Hi everyone,

I have a little problem here. I'm trying to use acitiviti purely as a set of webapps. I put together a small process consisting of start, usertask and end. I packed it together with a form into a .bar archive, the form being placed in a subprocess .forms. I deploy the process with Probe and start it with Explorer. It runs and finishes but without displaying a form. Tomcat log window displays the following:
16:00:04,890  ERROR [extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 0
0270010 There is no form for task '784'.
org.springframework.extensions.webscripts.WebScriptException: 00270010 There is no form for task '784'.
        at org.springframework.extensions.webscripts.PresentationContainer.executeScript(
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(
        at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(
        at javax.servlet.http.HttpServlet.service(
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
        at org.apache.catalina.core.StandardWrapperValve.invoke(
        at org.apache.catalina.core.StandardContextValve.invoke(
        at org.apache.catalina.core.StandardHostValve.invoke(
        at org.apache.catalina.valves.ErrorReportValve.invoke(
        at org.apache.catalina.core.StandardEngineValve.invoke(
        at org.apache.catalina.connector.CoyoteAdapter.service(
        at org.apache.coyote.http11.Http11Processor.process(
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(

So I see two possibilities. Either my bpmn file contains an error. The relevant task looks like this:

         <userTask id="Einleitung" name="Einleitung" activiti:formkey="forms/einleitung.form">
         <documentation id="sid-cf757708-a723-4f38-bc0a-31e6af605b57">Original ID: "sid-320379B6-D1E0-4933-975C-64D2FA536123"</documentation>
         <humanPerformer id="sid-59f545cc-ea54-4342-a4b5-02bb8de5886b">
            <resourceAssignmentExpression id="sid-c347f762-e3c8-48fe-8d2c-028092832265">
               <formalExpression id="sid-b7f5c776-17fd-4939-b0dd-bdd8877e9b4e">fozzie</formalExpression>

or Probe did not add the .form files to the classpath, which they have to be if I interpret the users guide correctly ( ). However I am not sure about that as the Deployment section of the users guide did not help me to figure out how else to deploy forms. Maybe somebody can point me to my error so I can fix this.

Kind regards