[jBPM Users] - Re: Problem with the VacationRequest example
by killian
I have found the origin of my problem.
When tomcat is used org.jbpm.integration.spi.mgmt.ServerConfigFactory return an org.jbpm.integration.spi.mgmt.DefaultServerConfig object.
And in org.jbpm.integration.spi.mgmt.DefaultServerConfig the host and the port are hard-coded:
| public class DefaultServerConfig implements ServerConfig {
|
| private static final String DEFAULT_HOST = "localhost";
|
| private static final int DEFAULT_PORT = 8080;
|
| public String getWebServiceHost() {
| return DEFAULT_HOST;
| }
|
| public int getWebServicePort() {
| return DEFAULT_PORT;
| }
| ...
| }
|
In ServerConfigFactory.java there is a fixme comment :
// FIXME: workaround for Tomcat: if no JBoss classes were found, fall back to defaults
|
I would like to know when it will be fixed.
Thanks in advance
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258227#4258227
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258227
16 years, 6 months
[jBPM Users] - Re: jbpm4.1 process project
by sebastian.s
Hi noicangi,
in the section of the user's guide describing the installation of jBPM there is also the step of adding a library entry for the jBPM libraries. I have done this and afterwards I just use "Add user library" in eclipse chosing jBPM libraries or however you called them to add the libraries to the classpath.
Regarding the configuration files:
To start a new project to make unit tests for experimenting I always copy the following files from the example project to my project.
| jbpm.cfg.xml
| jbpm.hibernate.cfg.xml
| jbpm.mail.properties
| jbpm.mail.templates.examples.xml
| logging.properties
|
Not very convient but works for me. I fully agree that there should be a more convient way to quickly define a process and deploy it to jBPM.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258222#4258222
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258222
16 years, 6 months
[jBPM Users] - jBPM4 - .bar deployment to embedded jBPM
by nilspreusker
Hi all,
if I'm not mistaken, there is currently no deployment mechanism for .bar files for jBPM as an embedded framework (e.g. in a Spring application). In other words, to deploy both jPDL files and task forms, every resource has to be added separately like this:
deployment.addResourceFromClasspath("be/jorambarrez/jbpm4/demo/taskform/process.jpdl.xml");
| deployment.addResourceFromClasspath("be/jorambarrez/jbpm4/demo/taskform/process.png");
| deployment.addResourceFromClasspath("be/jorambarrez/jbpm4/demo/taskform/verify_request.ftl");
| deployment.addResourceFromClasspath("be/jorambarrez/jbpm4/demo/taskform/request_vacation.ftl");
|
Joram Barrez also mentions this in his blog:
anonymous wrote : Do note that [...] you'll need to add all the forms to the deployment. We're looking into ways of simplifying this in a next release.
I've checked the JIRA, but didn't find anything for the next two releases (4.2 and 4.3). So I'm wondering what the status of this is, maybe someone can point me to a JIRA case or a thread in the development forum that I might have missed... Cheers! Nils
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258178#4258178
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258178
16 years, 6 months