[jBPM] - Exception Using port 9123
by vishal sharma
vishal sharma [http://community.jboss.org/people/2sharma.vishal] created the discussion
"Exception Using port 9123"
To view the discussion, visit: http://community.jboss.org/message/607732#607732
--------------------------------------------------------------
Hello,
I am trying to deploy a human task but it ends up with this error.I know that there is another task running from the the inbuilt script.But how shall I stop the other task.I can view the result in Console but I cannot go through the processes tab.I hope I will find the solution soon.
Thanks in Advance
Exception in thread "Thread-3" java.lang.RuntimeException: Server Exception with class class org.jbpm.task.service.mina.MinaTaskServer using port 9123
at org.jbpm.task.service.mina.BaseMinaTaskServer.run(BaseMinaTaskServer.java:53)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:251)
at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:48)
at org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHandles(AbstractPollingIoAcceptor.java:523)
at org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$200(AbstractPollingIoAcceptor.java:65)
at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:407)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/607732#607732]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 10 months
[jBPM] - Re: Accessing process variables in rule-task
by leon_
leon_ [http://community.jboss.org/people/leon_] created the discussion
"Re: Accessing process variables in rule-task"
To view the discussion, visit: http://community.jboss.org/message/608065#608065
--------------------------------------------------------------
Thanks very much for your reply Esteban.
I am sorry for being a bit unclear. It is my writing style, and I am working on it to define problems in a more clear way :-)
So, if I have a variable "monkey" in my BPMN process (which is added to the map btw), where the user has given a value to in an .ftl form, let's say "chimp". And I want a rule to fire based on the value "chimp" I would write something like:
rule A
ruleflow-group "chimps_are_nice"
when
(Map)((WorkflowProcessInstance) kcontext.getKnowledgeRuntime().getProcessInstance(WorkflowProcessInstance(.getId())).getVariable("monkey") == "chimp";
then
(Map) (WorkflowProcessInstance (kcontext.getKnowledgeRuntime().getProcessInstance(WorkflowProcessInstance().getId()).setVariable("character") = "nice";
I realise I can store the path into a variable to shorten the code. But this is what it would come down to I guess?
I am retrieving the variable from the map, is this neccesary or can it be ommitted?
I assum to set variables I use *setVariable*, am I right?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/608065#608065]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 10 months
[JBoss Web Services] - Web Service deployment failed after JSF update
by Baradon Terendil
Baradon Terendil [http://community.jboss.org/people/baradon] created the discussion
"Web Service deployment failed after JSF update"
To view the discussion, visit: http://community.jboss.org/message/581583#581583
--------------------------------------------------------------
Hi,
I have a problem with deployment of EJB3 web service after upgrading JSF. IMHO, these two things should not be linked to each other, but reality has a different opinion :0 .
I'm running JBoss AS 5.1.0 GA and updated JSF to 2.0 (Mojarra 2.0.3). Deploying any WAR works perfect, but when I deploy a JAR package containing a web sevice, I get the following error:
> Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
> com.sun.faces.config.ConfigurationException: no web.xml present
Well, thats right. There is no web.xml, as there must not be a web.xml in a JAR file. Unfortunately, it prevents my complete EJB-package from beeing deployed and started. I tried to add an empty web.xml file. As a result, I didn't get any error message, but the application is still not started, web service not initialized, ...
Is there any workaround possible?
Best regards,
Heiner
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/581583#581583]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 10 months
[JBoss Portal] - Null pointer exception from Portlet tag.
by febaportal
febaportal [http://community.jboss.org/people/febaportal] created the discussion
"Null pointer exception from Portlet tag."
To view the discussion, visit: http://community.jboss.org/message/608759#608759
--------------------------------------------------------------
Hi,
I am getting following exception when i use <portlet:defineObjects /> tag in my jsp. This exception occurs only once i.e. during rendering of jsp for first time, but again when i just refresh the browser page the jsp is displayed correctly.Then the next jsps in the flow are displayed without any error.
Exception throwm:
java.lang.NullPointerException
at org.jboss.portal.portlet.impl.jsr168.taglib.PortletTag.getDispatchedRequest(PortletTag.java:67)
at org.jboss.portal.portlet.impl.jsr168.taglib.PortletTag.getPortletRequest(PortletTag.java:72)
at org.jboss.portal.portlet.impl.jsr168.taglib.PortletTag.getRenderRequest(PortletTag.java:90)
at org.jboss.portal.portlet.impl.jsr286.taglib.DefineObjects286Tag.doEndTag(DefineObjects286Tag.java:57)
at org.apache.jsp.jsp.mails.MailFG.MailHomePage_jsp._jspService(MailHomePage_jsp.java:322)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:227)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:169)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
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:656)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:556)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:477)
at org.jboss.portal.portlet.impl.jsr168.api.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:142)
at org.jboss.portal.portlet.impl.jsr168.api.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:79)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/608759#608759]
Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 10 months
[jBPM] - Using jBPM5 in JEE6
by Tair Sabirgaliev
Tair Sabirgaliev [http://community.jboss.org/people/tair.sabirgaliev] created the discussion
"Using jBPM5 in JEE6"
To view the discussion, visit: http://community.jboss.org/message/608826#608826
--------------------------------------------------------------
What is the best way to interact with persistent jBPM5 engine in JEE6 application?
I'm learning jBPM5 and by the way trying to embed it in a JEE6 web application to build a simple BPM console . So far I come up with these design:
@ApplicationScoped KnowledgeBase
@???Scoped StatefulKnowledgeSession
@RequestScoped ProcessInstance
I'm stuck with deciding the scope for StatefulKnowledgeSession, because I can't understand the relation between ksessions and processInstances. I looked into code of jbpm-gwt-console and found that it uses single application-wide ksession. It is loaded from DB if found with id=1, otherwise new ksession is created.
So my questions are:
1) Does a processInstance exclusively belong to a particular ksession?
2) If (1) = YES. Imagine I have a processInstanceId, then how I load the ksession it belongs to?
3) If (1) = NO, is it safe to use a new ksession to operate on an already started processInstance?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/608826#608826]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 10 months