[jBPM Users] - Re: Console: host not found error
by roger0681
Hi, all
Thanks for your answer, Ronald.
Though I've been searching for information on this fact for a few weeks, I had not reached an answer until now. I accept I'm not really used to JIRAs yet.
After Ronalds response, I started browsing all JIRA issues (not only Console), and found this one in JBPM, issue 2562: "Hard-coded host and port for Tomcat".
You can find https://jira.jboss.org/jira/browse/JBPM-2562
With what Tom comments in that JIRA, I found the JBPM server configuration file at: {JBOSS_HOME}\server\default\deploy\jbpm\jbpm-service.sar\jbpm-service-jboss-beans.xml
In that file, I changed this code:
<bean name="org.jbpm:service=ServerConfig"
| class="org.jbpm.integration.jboss5.mgmt.ServerConfig">
| <property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property>
| <property name="webServiceHost">${jboss.bind.address}</property>
| </bean>
|
to this one (I'm changing webServiceHost property, and adding webServicePort):
| <bean name="org.jbpm:service=ServerConfig"
| class="org.jbpm.integration.jboss5.mgmt.ServerConfig">
| <property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property>
| <property name="webServiceHost">publicIP</property>
| <property name="webServicePort">publicPort</property>
| </bean>
|
And now it is working correctly from outside the router/firewall.
I didn't try it yet, but I suppose that now I will have the previous problem when trying to access this files from inside the network, if that network can't resolv the public IP.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269676#4269676
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269676
16 years, 4 months
[jBPM Users] - Re: Extracting information from a jpdl file
by ajaygautam
Thanks Santanu.
getOutcomes does work, but the overhead of convert states to tasks is way too much...
getOutgoingTransitions() always returns an empty list! - I think its broken - or maybe I am not using it correctly.
Anyway...
The requirement has changed: Now, we (me) need to supply the UI with the entire map at startup. As in: The UI starts up, and requests for the "action map" -> which is a list of who can perform which transitions.
Unfortunately, I cannot find any easy way of storing role information with the diagram itself: the who can do what part. So, for now, I am thinking of adding an "allowedRoles" to each transition element. Will have to parse the jpdl file myself to get this information out of the file, but I will have all the data in one place.
The unfortunate downside is that I won't be able to use the UI to edit the jpdl diagram...
Is there an alternative way?
Thanks
Ajay
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269672#4269672
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269672
16 years, 4 months
[jBPM Users] - Examples do not work?
by jensaug
Hello,
Should not all the provided examples be executable?
When deploying the examples in jbpm 4.2, 20 out of 37 are excluded in the build.xml file.
Simply including all of them again crashes the jbpm console (exceptions due to errors in process files). Also java src files are included in the business archive, java classes cannot be updated since ther're already in the jbpm/userlibs-folder etc.
Including only the task/swimlane example is kind of confusing, no exceptions but process does not appear in console?
I run the "demo.setup.jboss" environment (nice job btw!)
Should a "Cleanup examples" JIRA be created perhaps? Cannot find any related to this currently.
br,
Jens
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269629#4269629
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269629
16 years, 4 months