Semantic Web Drools Module, Request for Feedbak
by Xavier Breton
Hi,
I'm looking for feedback, I'll develop a Semantic Web Drools Module that
will be the subject of my Master Degree Tesis.
The idea is to use Eclipse Modelling Framework (EMF) for prototyping and
follow a Model Driven Architecture (MDA) where the source language is
Semantic of Business Vocabularies and Business Rules (SBVR) and the target
language is Drools DRL.
The mapping could be (PIM level):
- Semantic Web Rule Language (SWRL)
- Ontology Web Language (OWL)
- RuleML
- Rule Interchange Format (RIF)
- REWERSE Rule Markup Language (R2ML)
It could be added to the module at the source UML or Entity Relationship
like models to transform the models into SBVR.
Regards
Xavier Breton
10 years, 9 months
Issue with jBPMHelper
by Charles Moulliard
Hi,
I have created a java + spring project to run a HumanTask example on Apache
Karaf. To instantiate the class, I use spring like this
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
">
<bean id="humanTaskExample" class="org.jbpm.osgi.example.HumanTaskExample"
init-method="configure"/>
</beans>
public class HumanTaskExample {
public static void configure() {
RuntimeManager manager =
getRuntimeManager("humantask/HumanTask.bpmn");
...
private static RuntimeManager getRuntimeManager(String process) {
// load up the knowledge base
JBPMHelper.startUp();
...
The JBPMHelper class used corresponds to :
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-test/src/main/java/or...
But when spring creates the dataSource, I get this error :
Caused by: bitronix.tm.resource.ResourceConfigurationException: cannot
create JDBC datasource named jdbc/jbpm-ds
at
bitronix.tm.resource.jdbc.PoolingDataSource.init(PoolingDataSource.java:80)
at org.jbpm.osgi.example.JBPMHelper.setupDataSource(JBPMHelper.java:79)
at org.jbpm.osgi.example.JBPMHelper.startUp(JBPMHelper.java:49)
at
org.jbpm.osgi.example.HumanTaskExample.getRuntimeManager(HumanTaskExample.java:88)
at
org.jbpm.osgi.example.HumanTaskExample.configure(HumanTaskExample.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_45]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_45]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_45]
at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_45]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1546)[91:org.springframework.beans:3.0.7.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1487)[91:org.springframework.beans:3.0.7.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1419)[91:org.springframework.beans:3.0.7.RELEASE]
... 14 more
Caused by: java.lang.IllegalArgumentException: resource with uniqueName
'jdbc/jbpm-ds' has already been registered
at
bitronix.tm.resource.ResourceRegistrar.register(ResourceRegistrar.java:74)
at
bitronix.tm.resource.jdbc.PoolingDataSource.buildXAPool(PoolingDataSource.java:92)
at
bitronix.tm.resource.jdbc.PoolingDataSource.init(PoolingDataSource.java:76)
Any idea is welcome
Regards,
--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
11 years, 6 months
G+ HashTags
by Mark Proctor
G+ now supports hashtags.
https://marketingland.com/up-close-with-the-new-google-related-hashtags-4...
This means anyone can write a small Drools or jBPM article, and get association via the use of a hashtag. So if you write anything about Drools, jBPM, OptaPlanner, Uberfire etc, please do hashtag it. Here is the list we are using now:
#Drools
#jBPM
#Guvnor
#UberFire
#OptaPlanner
I'm currently trying to encourage all developers to keep small diary entries, and use hashtags, so people can get a feel for work being done.
Mark
11 years, 6 months
kie-wb: REST
by Michael Anstis
Hello,
I noticed the following when deploying kie-drools-wb on AS7:-
16:48:43,171 WARN [org.jboss.as.ee] (MSC service thread 1-4) JBAS011006:
Not installing optional component
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher due to
exception: java.lang.ClassNotFoundException:
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher from
[Module "deployment.kie-drools-wb-6.0.0-SNAPSHOT-jboss-as7.0.war:main" from
Service Module Loader]
at
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
[jboss-modules.jar:1.1.1.GA]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
[jboss-modules.jar:1.1.1.GA]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
[jboss-modules.jar:1.1.1.GA]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)
[jboss-modules.jar:1.1.1.GA]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
[jboss-modules.jar:1.1.1.GA]
at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
[jboss-modules.jar:1.1.1.GA]
at java.lang.Class.forName0(Native Method) [rt.jar:1.6.0_39]
at java.lang.Class.forName(Class.java:249) [rt.jar:1.6.0_39]
at
org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:54)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:79)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
[rt.jar:1.6.0_39]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
[rt.jar:1.6.0_39]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_39]
I don't know if it's significant (it's a warning) or whether it means REST
will be dead.
Anyway, for your information, as you've both been adding REST stuff.
Cheers,
Mike
11 years, 6 months
Breaking changes in kie-wb modules
by Toni Rikkola
While moving the kie-wb modules to new locations the names and GAV information will change. This causes the modules that depend on them to break. Here is a list that hopefully helps to fix them.
org.kie.guvnor:guvnor-project-api
moved to
org.kie.workbench.services:kie-wb-common-project-api
org.kie.guvnor:guvnor-project-backend
moved to
org.kie.workbench.services:kie-wb-common-project-backend
org.kie.guvnor:guvnor-project-client
was no longer needed and it was removed.
Packages changed, for example
org.kie.guvnor.project.service
is now
org.kie.workbench.common.services.project.service
Toni
11 years, 6 months