[JBoss jBPM] - JBPM on Websphere
by shansari
Hi All,
I'm trying to deploy JBPM 3.2.3 in Websphere 6.1.
I simply followed the instruction in
http://wiki.jboss.org/wiki/Jbpm32OnWAS61
Deployment and Data source configuration are completed.
After all when I tried to access the jbpm console URL, I'm getting the below exception.
Anybody come across such issue and rectified?
0000002b WebApp E [Servlet Error]-[Faces Servlet]: java.lang.NullPointerException: Argument Error: One or more parameters are null.mappings null
at com.sun.faces.application.ViewHandlerImpl.setFacesMapping(ViewHandlerImpl.java:659)
at com.ibm.ws.jsf.configuration.FacesConfigParser.initializeApplication(FacesConfigParser.java:930)
at com.ibm.ws.jsf.configuration.FacesConfigParser.initializeConfiguration(FacesConfigParser.java:357)
at com.ibm.ws.jsf.util.FacesConfigUtil._parseJSFConfiguration(FacesConfigUtil.java:128)
at com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFConfiguration(FacesConfigUtil.java:82)
at com.sun.faces.util.Util.verifyFactoriesAndInitDefaultRenderKit(Util.java:497)
at com.sun.faces.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:84)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:192)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3107)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168347#4168347
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168347
16 years, 4 months
[JBoss jBPM] - End process with running subprocess
by kadlecp
Hello,
I have following scenario.
I have process that sometimes creates subprocess. The subprocess has several async actions (I call ESB service). The super process checks result value of the subprocess and according that value the superprocess continues.
I sometimes want to end superprocess prematurely with possible running subprocess. And that causes problems. The superprocess instance receives end, it ends root token and after that it ends the subprocess instance. After the subprocess instance ends, subprocess signals token of the superprocess which has been ended already, and that is wrong.
I have made following change to the org.jbpm.graph.exe.ProcessInstance
I have changed method ProcessInstance.end() slightly.
| public void end() {
| // if the subproces does not exist, end root token
| if (rootToken.getSubProcessInstance() == null) {
| rootToken.end();
| .... the code is unchanged
| } else
| // if subprocess instance exists, only end subprocess. The subprocess will signal this process later
| rootToken.getSubProcessInstance().end();
| }
|
It is important that I check result value of sub process (I have special variable). If the subprocess is ended prematuraly, I read the result value (it's not set) and the superprocess can do what ever action I can. And moreover I can be sure that subprocess ends before the super process.
What do you think? It could be new feature request...
Regards
Pavel
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168338#4168338
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168338
16 years, 4 months
[JBoss jBPM] - Exception when deploying the "Hello"-Example
by Hans Castorp
Dear experts,
I'm currently evaluating the usability of BPEL/jBPM for a commercial project. I installed the jBPM 3.2.3 suite on a Windows XP laptop, and use the jbpm-server configuration of the included JBoss 4.2.2 GA AS. On top, I installed the jbpm-bpel 1.1 GA, and now work my way through the user guide. Deployment of the bpel-ear worked fine, the BPEL console shows up.
But when deploying the tutorial example processes, I get stuck. Executing "ant deploy.process" on the "Hello"-example, for instance, produces:
11:47:06,046 INFO [DeploymentServlet] deployed process definition: HelloWorld
11:47:08,046 INFO [WebModuleBuilder] packaged web module: hello.war
11:47:08,046 INFO [DeploymentServlet] deployed web module: hello.war
11:47:10,890 INFO [DefaultEndpointRegistry] register: jboss.ws:context=hello,endpoint=GreeterServlet
11:47:11,000 INFO [TomcatDeployer] deploy, ctxPath=/hello, warUrl=.../tmp/deploy/tmp33594hello-exp.war/
11:47:11,234 WARN [JmsIntegrationServiceFactory] could not retrieve request destination
javax.naming.NameNotFoundException: A not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
etc. etc.
The jbpm.cfg.xml of the BPEL-distribution indeed refers to a message queue "A" in its "integration" service, but this queue doesn't exist. What should I use instead?
Please assist me with some advice!
Thanks,
Hans
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168288#4168288
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168288
16 years, 4 months
[JBoss jBPM] - tasks lost in flight when exception occurs
by gnagy
In the process of getting rid of the seemingly deprecated gravel and j4j dependency, we moved task transitions to seam component action methods, like this:
public String transit(TaskInstance taskInstance, String transitionName) {
JbpmContext context = ManagedJbpmContext.instance();
// without this, LazyInitializationException occurs
taskInstance = context.getTaskInstanceForUpdate(taskInstance.getId());
taskInstance.end(transitionName);
return "success";
}
Before we used:
<h:commandLink>
<4j:loadTask id="#{taskInstance.id}" target="#{j4jtask}"/>
<j4j:completeTask task="#{j4jtask}" transition="#{transition.name}"/>
<h:outputText value="#{transition.name}"/>
</h:commandLink>
We have some event actions on tasks (calling methods on seam components), and when an exception occurs there, the task is lost from our task list.
The task list is rendered as follows:
<ui:repeat var="taskInstance" value="#{taskInstanceList}">...
Looking at the db, the exceptional transition cleared the isopen and issignaling flag in the jbmp_taskinstance table.
I'm pretty sure this worked with the j4j action handlers, but it's really hard to revert now. How can we keep the task in "open" state, even if an exception occurs?
Thanks,
Greg
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168131#4168131
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168131
16 years, 4 months