[jBPM] - Production deployment and jBPM?
by dimmordino
dimmordino [https://community.jboss.org/people/dimmordino] created the discussion
"Production deployment and jBPM?"
To view the discussion, visit: https://community.jboss.org/message/807027#807027
--------------------------------------------------------------
After reading through the user handbook and creating some simple business processes to get a feel for development/deployment, i still do not have a good feel for what a production system using jBPM would look like. For example, do most systems use the jbpm-console and guvnor in production? Or do most just use the jBPM engine without a repository and using a home grown or third party tool for visualizing the different workflows and raising user tasks?
I guess i'm really having trouble fitting all of the peices together to create a real production ready system. Any opinions, experiences and insight as to what worked for you, what doesn't scale etc... would be helpful in determining a direction to go.
thanks,
Dave
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/807027#807027]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years
[jBPM] - JPAKnowledgeService Exception
by Jonathan Albornoz
Jonathan Albornoz [https://community.jboss.org/people/betoflint] created the discussion
"JPAKnowledgeService Exception"
To view the discussion, visit: https://community.jboss.org/message/790106#790106
--------------------------------------------------------------
Hi people, i'm running the project that comes with the book of jbpm development guide, the chapter 8.
I run everything, i have configured jbpm 5.4 with jboss 7.1.1 and oracle like my db persistence.
but when i want runit appear the next exception. Any idea why??
The code where appear the exception is the next.
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(new ClassPathResource("process-async-interactions.bpmn"), ResourceType.BPMN2);
if (kbuilder.hasErrors()) {
for (KnowledgeBuilderError error : kbuilder.getErrors()) {
System.out.println(">>> Error:" + error.getMessage());
}
System.out.println(">>> Hay problemas con el archivo .bpmn! ");
}
KnowledgeBase kbase = KnowledgeBaseFactory.newKnowledgeBase();
kbase.addKnowledgePackages(kbuilder.getKnowledgePackages());
Environment env = EnvironmentFactory.newEnvironment();
EntityManagerFactory emf = Persistence.createEntityManagerFactory("org.jbpm.runtime");
env.set(EnvironmentName.ENTITY_MANAGER_FACTORY, emf);
env.set(EnvironmentName.TRANSACTION_MANAGER, TransactionManagerServices.getTransactionManager());
// Let's create a Persistence Knowledge Session
System.out.println(" >>> Let's create a Persistent Knowledge Session");
StatefulKnowledgeSession ksession = JPAKnowledgeService.newStatefulKnowledgeSession(kbase, null, env); //here generate the exception.
The exception code....
Exception in thread "main" java.lang.NoSuchMethodError: org.drools.SessionConfiguration.addDefaultProperties(Ljava/util/Properties;)V
at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.mergeConfig(KnowledgeStoreServiceImpl.java:147)
at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:66)
at org.drools.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:122)
at com.salaboy.jbpm5.correr.crearProceso(correr.java:90)
at com.salaboy.jbpm5.correr.main(correr.java:41)
thanks!!!!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/790106#790106]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years
http connector monitoring
by Fernando Lozano
Hi there,
On previous AS and EAP releases I ued to monitor many performance
metrics, such as busy http connector threads using JMX. On AS 7 and EAP
6 I'm supposed to get those from the CLI or its REST API, but I can't
find most metrics I used to get through JMX.
Among the "essential" metrics (http thread pools, web context requests,
ejb instance pool, database connections and heap usage) I can find just
database connection pool usage, and of course heap usage as those are
provided by the JVM and not JBoss AS itself.
If it's just me and those are actually availabe through the cli, can
someone point me to some examples about which resource path and
attributes I should be looking for?
[]s, Fernando Lozano
13 years