cancel
Showing results for 
Search instead for 
Did you mean: 

Web Form workflow issue in Alfresco 4.0.b?

wilsonb
Champ on-the-rise
Champ on-the-rise
I have recently tried to use 4.0.b to see if we could move over to this sometime soon. However I had an issue with it when I tried to create an existing (working on 3.4.d) Web Form. When I get to the workflow step I get an error on the screen with some of the following text:

javax.faces.FacesException: An exception occurred processing JSP page /jsp/wizard/container.jsp at line 136

133: <td style="width: 100%;" valign="top">
134: <f:subview id="wizard-body">
135: <h:outputText id="validation_invalid_character" style="display:none" value="#{msg.validation_invalid_character}" />
136: <jsp:include page="<%=Application.getWizardManager().getPage() %>" />
137: </f:subview>
138: </td>
139: </tr>


Stacktrace:
caused by:
org.apache.jasper.JasperException: An exception occurred processing JSP page /jsp/wizard/container.jsp at line 136


******* a lot of extra stacktrace goes on here, you can have it if you want it *****

caused by:
org.alfresco.service.cmr.workflow.WorkflowException: 09280072 Workflow Component for engine id 'jbpm' is not registered
Now to what I have installed: I have Alfresco 4.0.b running on Ubuntu with MySQL (I admit 5.1 not 5.5 but that’s what we have to run on) and I have also installed the alfresco-community-avm-4.0.b.zip. This gave me the expected Web Forms but I either appear to be missing something fundamental or there is an issue somewhere. I also downloaded the Windows installed and ran it against the standard PostgreSQL install and got the same error. Am I missing something?
5 REPLIES 5

pbsluvr2
Champ in-the-making
Champ in-the-making
I used the universal installer on Cent 5 and used working Web Forms(xsd,xsl) from v3.4d and also got errors creating them.  Also got errors creating a web project.

mweyland
Champ in-the-making
Champ in-the-making
I am also having the same issue.

Here is the error message.

javax.faces.FacesException: An exception occurred processing JSP page /jsp/wizard/container.jsp at line 136

133: <td style="width: 100%;" valign="top">
134: <f:subview id="wizard-body">
135: <h:outputText id="validation_invalid_character" style="display:none" value="#{msg.validation_invalid_character}" />
136: <jsp:include page="<%=Application.getWizardManager().getPage() %>" />
137: </f:subview>
138: </td>
139: </tr>


Stacktrace:
caused by:
org.apache.jasper.JasperException: An exception occurred processing JSP page /jsp/wizard/container.jsp at line 136

133: <td style="width: 100%;" valign="top">
134: <f:subview id="wizard-body">
135: <h:outputText id="validation_invalid_character" style="display:none" value="#{msg.validation_invalid_character}" />
136: <jsp:include page="<%=Application.getWizardManager().getPage() %>" />
137: </f:subview>
138: </td>
139: </tr>


Stacktrace:
caused by:
org.apache.jasper.JasperException: javax.faces.FacesException: Exception while calling encodeEnd on : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/wizard/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: wizard][Class: javax.faces.component.UINamingContainer,Id: wizard-body][Class: javax.faces.component.html.HtmlPanelGroup,Id: sdw-pg-1]}
caused by:
javax.faces.FacesException: Exception while calling encodeEnd on : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/wizard/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: wizard][Class: javax.faces.component.UINamingContainer,Id: wizard-body][Class: javax.faces.component.html.HtmlPanelGroup,Id: sdw-pg-1]}
caused by:
javax.faces.FacesException: Exception while calling encodeEnd on : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/wizard/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: wizard][Class: javax.faces.component.UINamingContainer,Id: wizard-body][Class: javax.faces.component.html.HtmlPanelGroup,Id: sdw-pg-1][Class: javax.faces.component.html.HtmlPanelGroup,Id: sdw-pg-2]}
caused by:
javax.faces.FacesException: Exception while calling encodeEnd on : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/wizard/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: wizard][Class: javax.faces.component.UINamingContainer,Id: wizard-body][Class: javax.faces.component.html.HtmlPanelGroup,Id: sdw-pg-1][Class: javax.faces.component.html.HtmlPanelGroup,Id: sdw-pg-2][Class: javax.faces.component.html.HtmlPanelGroup,Id: workflow-list-div]}
caused by:
javax.faces.el.EvaluationException: Cannot get value for expression '#{WizardManager.bean.defaultWorkflowChoices}'
caused by:
javax.faces.el.EvaluationException: Exception getting value of property defaultWorkflowChoices of base of type : org.alfresco.web.bean.wcm.CreateFormWizard
caused by:
javax.faces.el.EvaluationException: Bean: org.alfresco.web.bean.wcm.CreateFormWizard, property: defaultWorkflowChoices
caused by:
java.lang.reflect.InvocationTargetException
caused by:
org.alfresco.service.cmr.workflow.WorkflowException: 10082581 Workflow Component for engine id 'jbpm' is not registered

cesararevalo
Champ in-the-making
Champ in-the-making
I also installed Alfresco 4.0.b and when I try to create a web form I get a similar exception when trying to setup my initial web form. I get the exception going from step 2 to step 3 of the "Create Web Form Wizard".

My exception reads as:


javax.faces.FacesException: org.apache.jasper.JasperException: javax.faces.FacesException: Exception while calling encodeEnd on : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/wizard/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: wizard][Class: javax.faces.component.UINamingContainer,Id: wizard-body][Class: javax.faces.component.html.HtmlPanelGroup,Id: sdw-pg-1]}
caused by:
org.apache.jasper.JasperException: org.apache.jasper.JasperException: javax.faces.FacesException: Exception while calling encodeEnd on : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/wizard/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: wizard][Class: javax.faces.component.UINamingContainer,Id: wizard-body][Class: javax.faces.component.html.HtmlPanelGroup,Id: sdw-pg-1]}
caused by:
org.apache.jasper.JasperException: javax.faces.FacesException: Exception while calling encodeEnd on : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/wizard/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: wizard][Class: javax.faces.component.UINamingContainer,Id: wizard-body][Class: javax.faces.component.html.HtmlPanelGroup,Id: sdw-pg-1]}
caused by:
javax.faces.FacesException: Exception while calling encodeEnd on : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/wizard/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: wizard][Class: javax.faces.component.UINamingContainer,Id: wizard-body][Class: javax.faces.component.html.HtmlPanelGroup,Id: sdw-pg-1]}
caused by:
javax.faces.FacesException: Exception while calling encodeEnd on : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/wizard/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: wizard][Class: javax.faces.component.UINamingContainer,Id: wizard-body][Class: javax.faces.component.html.HtmlPanelGroup,Id: sdw-pg-1][Class: javax.faces.component.html.HtmlPanelGroup,Id: sdw-pg-2]}
caused by:
javax.faces.FacesException: Exception while calling encodeEnd on : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/wizard/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: wizard][Class: javax.faces.component.UINamingContainer,Id: wizard-body][Class: javax.faces.component.html.HtmlPanelGroup,Id: sdw-pg-1][Class: javax.faces.component.html.HtmlPanelGroup,Id: sdw-pg-2][Class: javax.faces.component.html.HtmlPanelGroup,Id: workflow-list-div]}
caused by:
javax.faces.el.EvaluationException: Cannot get value for expression '#{WizardManager.bean.defaultWorkflowChoices}'
caused by:
javax.faces.el.EvaluationException: Exception getting value of property defaultWorkflowChoices of base of type : org.alfresco.web.bean.wcm.CreateFormWizard
caused by:
javax.faces.el.EvaluationException: Bean: org.alfresco.web.bean.wcm.CreateFormWizard, property: defaultWorkflowChoices
caused by:
java.lang.reflect.InvocationTargetException
caused by:
org.alfresco.service.cmr.workflow.WorkflowException: 10220009 Workflow Component for engine id 'jbpm' is not registered

Has anybody figured out how to fix this issue?

Thanks,
-Cesar

shmoula
Champ in-the-making
Champ in-the-making
Hi guys, I filled ticket in Jira and Mark Rogers responded it with "Need JBPM and Lucene switched on to run AVM based stuff. "

So the solution is:
system.workflow.engine.jbpm.enabled=true

chintanp7
Champ in-the-making
Champ in-the-making
It worked for me also, Thanks…