[jBPM] - Intégration jbpm 4.4 jsf
by rachid kersit
rachid kersit [http://community.jboss.org/people/kersit] created the discussion
"Intégration jbpm 4.4 jsf"
To view the discussion, visit: http://community.jboss.org/message/617621#617621
--------------------------------------------------------------
+i have follow the topic http://planet.jboss.org/view/post.seam;jsessionid=630A5400AF2625CBCBADA32... http://planet.jboss.org/view/post.seam;jsessionid=630A5400AF2625CBCBADA32... to install integrate jbpm 4.4 to jsf.+
+but when i developped my bean like this:+
package jbpm;
import java.util.List;
import org.jbpm.api.Configuration;
import org.jbpm.api.ExecutionService;
import org.jbpm.api.ProcessDefinition;
import org.jbpm.api.ProcessDefinitionQuery;
import org.jbpm.api.ProcessEngine;
import org.jbpm.api.ProcessInstance;
import org.jbpm.api.RepositoryService;
public class Test {
private static ProcessEngine processEngine = null;
private static RepositoryService repositoryService;
/*
public Test(){
initialize();
}
private synchronized void initialize(){
if(processEngine==null){
processEngine = Configuration.getProcessEngine();
repositoryService=processEngine.getRepositoryService();
}
}
*/
public List<ProcessDefinition> getDeployedProcessDefinitions(){
return repositoryService.createProcessDefinitionQuery().orderAsc(ProcessDefinitionQuery.PROPERTY_NAME).list();
}
public String getTester()
{
System.out.print("l'entrée est faite");
processEngine = Configuration.getProcessEngine();
RepositoryService repositoryService = processEngine.getRepositoryService();
ExecutionService executionService = processEngine.getExecutionService();
String deployment = repositoryService.createDeployment().addResourceFromClasspath("org/jbpm/examples/webapp/jsf/Besoin.jpdl.xml").deploy();
ProcessInstance processInstance = executionService.startProcessInstanceByKey("Bes");
String str= processInstance.getId();
return str;
}
}
+after i develop my page jsp like this+
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib uri=" http://java.sun.com/jsf/html http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri=" http://java.sun.com/jsf/core http://java.sun.com/jsf/core" prefix="f" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " http://www.w3.org/TR/html4/loose.dtd http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Hello JBPM AND JSF</title>
</head>
<body>
<f:view>
<h:form>
<h:graphicImage value="/images/jbpm.png" />
<h1>
<h:outputText value="#{test.tester}" />
<h:outputText value="Welcome to the hello jbpm and jsf application" />
</h1>
<h3>
<h:outputText value="This is the list of currently deployed processes:" />
</h3>
</h:form>
</f:view>
</body>
</html>
when i try t execute this page i get this error
l'entrée est faite26 juil. 2011 11:13:53 org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: "Servlet.service()" pour la servlet Faces Servlet a généré une exception
org.jbpm.pvm.internal.wire.WireException: couldn't find configuration
at org.jbpm.pvm.internal.wire.descriptor.HibernateSessionFactoryDescriptor.construct(HibernateSessionFactoryDescriptor.java:59)
at org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:487)
at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:466)
at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:455)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:429)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:339)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:704)
at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:154)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:711)
at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:132)
at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:123)
at org.jbpm.pvm.internal.wire.descriptor.HibernateSessionDescriptor.construct(HibernateSessionDescriptor.java:63)
at org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:487)
at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:466)
at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:455)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:429)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:339)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:704)
at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:132)
at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:123)
at org.jbpm.pvm.internal.env.EnvironmentImpl.getFromCurrent(EnvironmentImpl.java:207)
at org.jbpm.pvm.internal.env.EnvironmentImpl.getFromCurrent(EnvironmentImpl.java:196)
at org.jbpm.pvm.internal.cmd.CheckDbCmd.execute(CheckDbCmd.java:44)
at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:50)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56)
at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
at org.jbpm.pvm.internal.processengine.ProcessEngineImpl.checkDb(ProcessEngineImpl.java:152)
at org.jbpm.pvm.internal.processengine.ProcessEngineImpl.<init>(ProcessEngineImpl.java:105)
at org.jbpm.pvm.internal.cfg.ConfigurationImpl.instantiateProcessEngine(ConfigurationImpl.java:100)
at org.jbpm.pvm.internal.cfg.ConfigurationImpl.buildProcessEngine(ConfigurationImpl.java:92)
at org.jbpm.api.Configuration.getProcessEngine(Configuration.java:126)
at jbpm.Test.getTester(Test.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:83)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:101)
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:190)
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:178)
at javax.faces.component.UIOutput.getValue(UIOutput.java:168)
at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:205)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:338)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:164)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:878)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1620)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:420)
at com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:209)
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:341)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
26 juil. 2011 11:13:53 org.apache.catalina.core.ApplicationDispatcher invoke
GRAVE: "Servlet.service()" pour la servlet jsp a lancé une exception
java.lang.RuntimeException: Cannot find FacesContext
at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1855)
at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1672)
at org.apache.jsp.error_jsp._jspx_meth_f_005fview_005f0(error_jsp.java:135)
at org.apache.jsp.error_jsp._jspService(error_jsp.java:108)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:421)
at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:342)
at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:286)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
26 juil. 2011 11:13:53 org.apache.catalina.core.StandardHostValve custom
GRAVE: Exception Processing ErrorPage[errorCode=500, location=/error.jsp]
org.apache.jasper.JasperException: java.lang.RuntimeException: Cannot find FacesContext
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:500)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:428)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:421)
at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:342)
at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:286)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Cannot find FacesContext
at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1855)
at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1672)
at org.apache.jsp.error_jsp._jspx_meth_f_005fview_005f0(error_jsp.java:135)
at org.apache.jsp.error_jsp._jspService(error_jsp.java:108)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
... 20 more
i think so that the probleme is in jbpm.cfg.xml, so who to integrate jbpm 4.4 to jsf,
help me please,
thanks
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/617621#617621]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months
[JBoss Tools] - population a selectOneMenu Dynamically
by yasser zairi
yasser zairi [http://community.jboss.org/people/yasser_z] created the discussion
"population a selectOneMenu Dynamically"
To view the discussion, visit: http://community.jboss.org/message/617590#617590
--------------------------------------------------------------
Hi,
i want to populate a selectOneMenu Dynamically from my Bean, i used a map(id, value) but it populate my selectOneMenu with the ids not the values ,
here is the selectOneMenu:
_________________________________________________________________
<h:selectOneMenu id="select_cat">
<f:selectItem itemLabel="--categorie"/>
<f:selectItems value="#{valeursMBean.categories}"/>
</h:selectOneMenu>
__________________________________________________________________
here is the code of my Bean:
__________________________________________________________________
private transient ValeurRefService valeurefService;
private Map<String,Integer> categories = new HashMap<String,Integer>();
@PostConstruct
public void init(){
valeurefList = valeurefService.find();
categories.clear();
for (ValeurRef m : valeurefList) {
categories.put(m.getIdValeurRef(),m.getCategorie());
}
}
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/617590#617590]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months
[JBoss Tools] - how to get values from selectOneMenu
by yasser zairi
yasser zairi [http://community.jboss.org/people/yasser_z] created the discussion
"how to get values from selectOneMenu"
To view the discussion, visit: http://community.jboss.org/message/617588#617588
--------------------------------------------------------------
Hi every one, this thread may be irrelevent to this forum but since i'm using jboss i prefere to post it here.
the issu is that i'm populate a selectOneMenu dynamically using a map, and i want to get the value selected by the User, but i get only its key.
here is the selectOneMenu code :
___________________________________
<h:selectOneMenu id="select_cat" value="#{valeursMBean.selectedItem1}" >
<f:selectItem itemLabel="--categorie"/>
<f:selectItems value="#{valeursMBean.categories}"/>
</h:selectOneMenu>
___________________________________
here is the bean code related to it :
...
private String selectedItem1;
@PostConstruct
public void init(){
valeurefList = valeurefService.find();
categories.clear();
codeisins.clear();
denominations.clear();
etats.clear();
datesecheance.clear();
for (ValeurRef m : valeurefList) {
categories.put(m.getCategorie(),m.getIdValeurRef());
}
for (ValeurRef m : valeurefList) {
codeisins.put(m.getCodeIsin(),m.getIdValeurRef());
}
for (ValeurRef m : valeurefList) {
denominations.put(m.getDenomination(),m.getIdValeurRef());
}
for (ValeurRef m : valeurefList) {
etats.put(m.getEtat(),m.getIdValeurRef());
}
for (ValeurRef m : valeurefList) {
datesecheance.put(m.getDateEcheance().toString(),m.getIdValeurRef());
}
}
public void takeSelection(){
System.out.println("value of "+selectedItem1+" is "+categories.get(selectedItem1));
}
...
and it prints ( value of 3 is null ) when i select an element in my selectOneMenu.
can anyone tell me what is the best way to do that ?
Regards .
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/617588#617588]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months
[JBoss Web Services] - Web Service error
by Nirenj George
Nirenj George [http://community.jboss.org/people/nirenjgeorge] created the discussion
"Web Service error"
To view the discussion, visit: http://community.jboss.org/message/617564#617564
--------------------------------------------------------------
Hi all,
I am quite new to Web services in Java, when my user's website is trying to access my web service they get the below error. Can anyone please advice me on what is wrong here. Thanks a lot in advance.
*Detail*
> The fault returned when invoking the web service operation is:<br> <pre>AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: Could not execute JDBC batch update faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:Could not execute JDBC batch update at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org... ''</pre>
*StackTrace*
> coldfusion.xml.rpc.ServiceProxy$ServiceInvocationException: Cannot perform web service invocation sequentialConfirmAndBill. at coldfusion.xml.rpc.ServiceProxy.invokeImpl(ServiceProxy.java:230) at coldfusion.xml.rpc.ServiceProxy.invoke(ServiceProxy.java:143) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2210) at cfsim_std_ecr_ws_super2ecfc901874052$funcSEQUENTIALCONFIRMANDBILL.runFunction(/var/www/html/sim/adm/acr/sim_std_ecr_ws_super.cfc:53) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2260) at cfsim_std_ecr_confirmReg2ecfm727908033._factor41(/var/www/html/sim/adm/acr/sim_std_ecr_confirmReg.cfm:1322) at cfsim_std_ecr_confirmReg2ecfm727908033._factor47(/var/www/html/sim/adm/acr/sim_std_ecr_confirmReg.cfm:286) at cfsim_std_ecr_confirmReg2ecfm727908033._factor48(/var/www/html/sim/adm/acr/sim_std_ecr_confirmReg.cfm:116) at cfsim_std_ecr_confirmReg2ecfm727908033._factor49(/var/www/html/sim/adm/acr/sim_std_ecr_confirmReg.cfm:1) at cfsim_std_ecr_confirmReg2ecfm727908033.runPage(/var/www/html/sim/adm/acr/sim_std_ecr_confirmReg.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:2644) at cfsim_std_ecr_InclShowSub2ecfm1726804736._factor20(/var/www/html/sim/adm/acr/sim_std_ecr_InclShowSub.cfm:10) at cfsim_std_ecr_InclShowSub2ecfm1726804736._factor21(/var/www/html/sim/adm/acr/sim_std_ecr_InclShowSub.cfm:1) at cfsim_std_ecr_InclShowSub2ecfm1726804736.runPage(/var/www/html/sim/adm/acr/sim_std_ecr_InclShowSub.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:2644) at cfsim_adm_acr_ecrSummary2ecfm1696487482.runPage(/var/www/html/sim/adm/acr/sim_adm_acr_ecrSummary.cfm:54) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126) at coldfusion.CfmServlet.service(CfmServlet.java:175) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/617564#617564]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months
[jBPM] - Re: In memory TaskClient without Mina or JMS
by Franklin Antony
Franklin Antony [http://community.jboss.org/people/frankee787] created the discussion
"Re: In memory TaskClient without Mina or JMS"
To view the discussion, visit: http://community.jboss.org/message/617530#617530
--------------------------------------------------------------
Hi Daniele,
I was able to plugin in the Human Task API along with my main application. The only problem I was facing was that, task.getId() was returning 0 always. Until I noticed that there was no transaction taking place(My mistake). However, now it is WORKING fine. After I do a taskSession.add(Task,null) , I just retrieve the task.getId() and the value is there thankfully!!
I really wish this is part of the core API. What good is the Human Task API , if it runs stand alone but cannot address the Transactional demarcation necessities? Anyways, I shall try to start out a JIRA and post it up over here for some votes.
By any chance is your team pursuing the adoption of the API in the project? If NO can you please state your reasons for not incorporating the API?
Fingers crossed.
Regards,
Franklin
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/617530#617530]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months