Memory leak when deploying to Maven repository?
by Sandjaja, Dominik
Hello everybody,
I use Drools to create rules from an external source and create an artifact from those rule strings, putting it into a local repository.
A minimalistic working example can be found at https://github.com/dadadom/MavenMemoryLeakMinimalExample
The code, taken from that example, is basically like this:
ReleaseId releaseId = new ReleaseIdImpl("some:releaseid:1.0.0-SNAPSHOT");
String rules = "rule \"testrule\ ... ";
KieServices kServices = KieServices.Factory.get();
KieFileSystem kfs = kServices.newKieFileSystem();
kfs.write("src/main/resources/someBase/testrule", rules);
kfs.generateAndWritePomXML(releaseId);
String kmoduleXmlString = "<kmodule ... </kmodule>";
kfs.writeKModuleXML(kmoduleXmlString.getBytes());
KieModule kieModule = kServices.newKieBuilder(kfs).getKieModule();
try {
File pomFile = new File(System.getProperty("java.io.tmpdir"), "pom.xml");
try (FileOutputStream fos = new FileOutputStream(pomFile)) {
fos.write(KieBuilderImpl.generatePomXml(releaseId).getBytes()); fos.flush();
} catch (IOException e) {
e.printStackTrace();
}
final MavenRepository mavenRepository = MavenRepository.getMavenRepository();
mavenRepository.deployArtifact(releaseId, (InternalKieModule) kieModule, pomFile);
When I call this method in a ServletContextListener in a Tomcat Server (version 7 or 8) and undeploy the application afterwards, I get a memory leak.
Tomcat tells me that the application has a memory leak:
The following web applications were stopped (reloaded, undeployed), but their
classes from previous runs are still loaded in memory, thus causing a memory
leak (use a profiler to confirm):
/mvntest
Looking at the memory dump with e.g. JProfiler, I can trace the dangling instances back to an object
static INSTANCE of class org.drools.compiler.kie.builder.impl.KieRepositoryImpl
So it seems like there is something which I am either missing or which is a bug. I cannot find any .close() or .release() method or something alike on any of the involved objects ...
If anyone could give me a hint how to solve this problem, I'd be happy not to litter my memory no more :)
Regards and thanks
Dominik
...........................................................................
mit freundlichen Gr??en / kind regards
Dominik Sandjaja
Fon: +49 (0) 203 60878 183
Fax: +49 (0) 203 60878 222
e-mail: dominik.sandjaja(a)it-motive.de
it-motive AG
Zum Walkm?ller 6
47269 Duisburg
info(a)it-motive.de
http://www.it-motive.de
..............................................................................
Vorsitzender des Aufsichtsrats: Dr.-Ing. J?rgen Sturm
Vorstand: Horst-Dieter Deelmann (Vors.), Matthias Heming, Christoph Tim Klose
HRB 9207, Amtsgericht Duisburg
11 years, 9 months
drools leaving a backgroud thread
by Aliza Itzkowitz (Silver) (aitzkowi)
Hi,
I have a Java servlet running on Tomcat7 which runs multiple drools knowledge bases with a session associated to each one.
I am using drools version 6.1.0.Beta3
When tomcat shuts-down I am seeing this message in the log:
Jun 10, 2014 6:39:36 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/MyRulesServlet-1.0-SNAPSHOT] created a ThreadLocal with key of type [org.drools.core.common.UpgradableReentrantReadWriteLock$1] (value [org.drools.core.common.UpgradableReentrantReadWriteLock$1@5c0bf171<mailto:1@5c0bf171>]) and a value of type [org.drools.core.common.UpgradableReentrantReadWriteLock.LockRequestCounter] (value [org.drools.core.common.UpgradableReentrantReadWriteLock$LockRequestCounter@141860ed<mailto:LockRequestCounter@141860ed>]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
It seems I am not performing a proper cleanup of resources on shutdown.
I am calling kSession.dispose() for all the sessions I have, but apparently this is not enough.
What else do I need to do to get rid of this background thread?
Thanks,
Aliza
11 years, 9 months
Drools Workbench - VFS Repository Clustering - Workbench Assets Not synched
by Zahid Ahmed
Hi,
I am deploying Drools Workbench with VFS Clustering in place. I have followed the steps defined in Drools-6 documentation in section "VFS-CLUSTERING", and the following link. But my repositories are not synching
http://mswiderski.blogspot.com.br/2013/06/clustering-in-jbpm-v6.html
but getting following Zookeeper exception.
NoNode for /jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/df7cda63-979b-47b2-ac9a-f2b218cb188
Attachment List
1. Complete exception trace of zookeeper is pasted at the end.
2. Server logs of both workbench servers is attached in the email.
3. Server un-synched assets screen shot attached.
Problem
BPMN process created in Workbench-A is not getting Synched with Workbench-B. Following are the screen shots for the difference in project assets. Images attached in "ServerAssets.png"
DESIGN
[cid:image002.png@01CF84B6.3C23B0C0]
Helix Commands Startup and Cluster Setup
1. helix-core-0.6.3\bin>helix-admin.bat --zkSvr localhost:2199 --addCluster jbpm-cluster
2. helix-core-0.6.3\bin>helix-admin.bat --zkSvr localhost:2199 --addNode jbpm-cluster nodeOne:11
3. helix-core-0.6.3\bin>helix-admin.bat --zkSvr localhost:2199 --addNode jbpm-cluster nodeTwo:22
4. helix-core-0.6.3\bin>helix-admin.bat --zkSvr localhost:2199 --addResource jbpm-cluster vfs-repo 1 LeaderStandby AUTO_REBALANCE
5. helix-core-0.6.3\bin>helix-admin.bat --zkSvr localhost:2199 --rebalance jbpm-cluster vfs-repo 2
6. helix-core-0.6.3\bin>run-helix-controller.bat --zkSvr localhost:2199 --cluster jbpm-cluster 2>&1 > /tmp/controller.log &
ZooKeeper Setup
Changes done only in zoo.conf
1. dataDir = /zooDir/zookeeper (Not sure where this directory gets created as I could not find it in $zookeeper_home/)
2. clientPort = 2199
Work-Bench A Configuration: Standalone.xml
<property name="org.guvnor.m2repo.dir" value="D:\\Servers\\M2_REPO"/>
<property name="org.uberfire.nio.git.dir" value="D:\Servers\Drools-6-Deployment\repo"/>
<property name="jboss.node.name" value="nodeOne"/>
<property name="org.uberfire.metadata.index.dir" value="D:\Servers\Drools-6-Deployment\repo"/>
<property name="org.uberfire.cluster.id" value="jbpm-cluster"/>
<property name="org.uberfire.cluster.zk" value="localhost:2199"/>
<property name="org.uberfire.cluster.local.id" value="nodeOne_11"/>
<property name="org.uberfire.cluster.vfs.lock" value="vfs-repo"/>
<property name="org.uberfire.cluster.autostart" value="false"/>
Work-Bench B Configuration: Standalone.xml
<property name="org.guvnor.m2repo.dir" value="D:\\Servers\\M2_REPO"/>
<property name="org.uberfire.nio.git.dir" value="D:\Servers\Drools-6-Deployment\repoB"/>
<property name="org.kie.nio.git.deamon.port" value="9518"/>
<property name="org.uberfire.nio.git.daemon.port" value="9518"/>
<property name="org.uberfire.nio.git.ssh.port" value="8002"/>
<property name="jboss.node.name" value="nodeTwo"/>
<property name="org.uberfire.metadata.index.dir" value="D:\Servers\Drools-6-Deployment\repoB"/>
<property name="org.uberfire.cluster.id" value="jbpm-cluster"/>
<property name="org.uberfire.cluster.zk" value="localhost:2199"/>
<property name="org.uberfire.cluster.local.id" value="nodeTwo_22"/>
<property name="org.uberfire.cluster.vfs.lock" value="vfs-repo"/>
<property name="org.uberfire.cluster.autostart" value="false"/>
Zookeeper Exception Trace:
2014-06-10 13:58:32,572 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250008 type:setData cxid:0x253 zxid:0x24b txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/56d2d3ac-126e-4ed2-aeaf-4a4
bfd91d80f Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/56d2d3ac-126e-4ed2-aeaf-4a4bfd91d80f
2014-06-10 13:59:03,859 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x38c zxid:0x267 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/dea6167c-ca2c-4f5d-85aa-5fc
65703e5be Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/dea6167c-ca2c-4f5d-85aa-5fc65703e5be
2014-06-10 13:59:06,911 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x3ed zxid:0x281 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/b58e5ff9-235a-4a12-b159-ee1
c9fbc01cc Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/b58e5ff9-235a-4a12-b159-ee1c9fbc01cc
2014-06-10 13:59:09,618 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x44c zxid:0x29b txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/71ba364e-21c1-4ee2-8383-4cb
5d15d339e Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/71ba364e-21c1-4ee2-8383-4cb5d15d339e
2014-06-10 13:59:23,720 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x4ab zxid:0x2b5 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/7d5f0c9c-ee69-4061-94e6-12a
cf045a77b Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/7d5f0c9c-ee69-4061-94e6-12acf045a77b
2014-06-10 13:59:25,252 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x4c2 zxid:0x2b9 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/cc24bd9a-5297-4bc1-85f5-31f
6639de8e6 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/cc24bd9a-5297-4bc1-85f5-31f6639de8e6
2014-06-10 13:59:25,982 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x4d9 zxid:0x2bd txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/337e84c8-06e9-4023-87c5-b48
26ec5ddb1 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/337e84c8-06e9-4023-87c5-b4826ec5ddb1
2014-06-10 13:59:40,762 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x53c zxid:0x2d7 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/1eeac27e-5e48-43b9-bba5-98b
ce0b89015 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/1eeac27e-5e48-43b9-bba5-98bce0b89015
2014-06-10 13:59:41,775 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x59b zxid:0x2f1 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/7611f66a-993d-4652-8b07-011
e5bdcea60 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/7611f66a-993d-4652-8b07-011e5bdcea60
2014-06-10 13:59:43,681 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x5d4 zxid:0x301 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/55991bef-61cb-4011-a8f1-f28
d47c67c53 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/55991bef-61cb-4011-a8f1-f28d47c67c53
2014-06-10 14:00:04,689 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250008 type:setData cxid:0x332 zxid:0x311 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/65d0518e-1853-4373-a455-02d
1699930cc Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/65d0518e-1853-4373-a455-02d1699930cc
2014-06-10 14:00:06,542 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250008 type:setData cxid:0x391 zxid:0x32b txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/87131701-cf41-4c2f-8de4-54c
599da0f03 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/87131701-cf41-4c2f-8de4-54c599da0f03
2014-06-10 14:17:39,329 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250008 type:setData cxid:0x401 zxid:0x367 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/aeb3757b-4560-4dca-b78c-6be
24eb514dc Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/aeb3757b-4560-4dca-b78c-6be24eb514dc
Regards,
Zahid Ahmed
11 years, 9 months
Drools Workbench - VFS Clustering - Rpositories/Assets not synched
by Zahid Ahmed
Hi,
I am deploying Drools Workbench with VFS Clustering in place. I have followed the steps defined in Drools-6 documentation in section "VFS-CLUSTERING", and the following link. But my repositories are not synching
http://mswiderski.blogspot.com.br/2013/06/clustering-in-jbpm-v6.html
but getting following Zookeeper exception.
NoNode for /jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/df7cda63-979b-47b2-ac9a-f2b218cb188
Attachment List
1. Complete exception trace of zookeeper is pasted at the end.
2. Server logs of both workbench servers is attached in the email.
3. Server un-synched assets screen shot attached.
Problem
BPMN process created in Workbench-A is not getting Synched with Workbench-B. Following are the screen shots for the difference in project assets. Images attached in "ServerAssets.png"
DESIGN
[cid:image002.png@01CF84B6.3C23B0C0]
Helix Commands Startup and Cluster Setup
1. helix-core-0.6.3\bin>helix-admin.bat --zkSvr localhost:2199 --addCluster jbpm-cluster
2. helix-core-0.6.3\bin>helix-admin.bat --zkSvr localhost:2199 --addNode jbpm-cluster nodeOne:11
3. helix-core-0.6.3\bin>helix-admin.bat --zkSvr localhost:2199 --addNode jbpm-cluster nodeTwo:22
4. helix-core-0.6.3\bin>helix-admin.bat --zkSvr localhost:2199 --addResource jbpm-cluster vfs-repo 1 LeaderStandby AUTO_REBALANCE
5. helix-core-0.6.3\bin>helix-admin.bat --zkSvr localhost:2199 --rebalance jbpm-cluster vfs-repo 2
6. helix-core-0.6.3\bin>run-helix-controller.bat --zkSvr localhost:2199 --cluster jbpm-cluster 2>&1 > /tmp/controller.log &
ZooKeeper Setup
Changes done only in zoo.conf
1. dataDir = /zooDir/zookeeper (Not sure where this directory gets created as I could not find it in $zookeeper_home/)
2. clientPort = 2199
Work-Bench A Configuration: Standalone.xml
<property name="org.guvnor.m2repo.dir" value="D:\\Servers\\M2_REPO"/>
<property name="org.uberfire.nio.git.dir" value="D:\Servers\Drools-6-Deployment\repo"/>
<property name="jboss.node.name" value="nodeOne"/>
<property name="org.uberfire.metadata.index.dir" value="D:\Servers\Drools-6-Deployment\repo"/>
<property name="org.uberfire.cluster.id" value="jbpm-cluster"/>
<property name="org.uberfire.cluster.zk" value="localhost:2199"/>
<property name="org.uberfire.cluster.local.id" value="nodeOne_11"/>
<property name="org.uberfire.cluster.vfs.lock" value="vfs-repo"/>
<property name="org.uberfire.cluster.autostart" value="false"/>
Work-Bench B Configuration: Standalone.xml
<property name="org.guvnor.m2repo.dir" value="D:\\Servers\\M2_REPO"/>
<property name="org.uberfire.nio.git.dir" value="D:\Servers\Drools-6-Deployment\repoB"/>
<property name="org.kie.nio.git.deamon.port" value="9518"/>
<property name="org.uberfire.nio.git.daemon.port" value="9518"/>
<property name="org.uberfire.nio.git.ssh.port" value="8002"/>
<property name="jboss.node.name" value="nodeTwo"/>
<property name="org.uberfire.metadata.index.dir" value="D:\Servers\Drools-6-Deployment\repoB"/>
<property name="org.uberfire.cluster.id" value="jbpm-cluster"/>
<property name="org.uberfire.cluster.zk" value="localhost:2199"/>
<property name="org.uberfire.cluster.local.id" value="nodeTwo_22"/>
<property name="org.uberfire.cluster.vfs.lock" value="vfs-repo"/>
<property name="org.uberfire.cluster.autostart" value="false"/>
Zookeeper Exception Trace:
2014-06-10 13:58:32,572 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250008 type:setData cxid:0x253 zxid:0x24b txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/56d2d3ac-126e-4ed2-aeaf-4a4
bfd91d80f Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/56d2d3ac-126e-4ed2-aeaf-4a4bfd91d80f
2014-06-10 13:59:03,859 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x38c zxid:0x267 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/dea6167c-ca2c-4f5d-85aa-5fc
65703e5be Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/dea6167c-ca2c-4f5d-85aa-5fc65703e5be
2014-06-10 13:59:06,911 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x3ed zxid:0x281 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/b58e5ff9-235a-4a12-b159-ee1
c9fbc01cc Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/b58e5ff9-235a-4a12-b159-ee1c9fbc01cc
2014-06-10 13:59:09,618 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x44c zxid:0x29b txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/71ba364e-21c1-4ee2-8383-4cb
5d15d339e Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/71ba364e-21c1-4ee2-8383-4cb5d15d339e
2014-06-10 13:59:23,720 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x4ab zxid:0x2b5 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/7d5f0c9c-ee69-4061-94e6-12a
cf045a77b Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/7d5f0c9c-ee69-4061-94e6-12acf045a77b
2014-06-10 13:59:25,252 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x4c2 zxid:0x2b9 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/cc24bd9a-5297-4bc1-85f5-31f
6639de8e6 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/cc24bd9a-5297-4bc1-85f5-31f6639de8e6
2014-06-10 13:59:25,982 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x4d9 zxid:0x2bd txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/337e84c8-06e9-4023-87c5-b48
26ec5ddb1 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/337e84c8-06e9-4023-87c5-b4826ec5ddb1
2014-06-10 13:59:40,762 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x53c zxid:0x2d7 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/1eeac27e-5e48-43b9-bba5-98b
ce0b89015 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/1eeac27e-5e48-43b9-bba5-98bce0b89015
2014-06-10 13:59:41,775 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x59b zxid:0x2f1 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/7611f66a-993d-4652-8b07-011
e5bdcea60 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/7611f66a-993d-4652-8b07-011e5bdcea60
2014-06-10 13:59:43,681 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x5d4 zxid:0x301 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/55991bef-61cb-4011-a8f1-f28
d47c67c53 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/55991bef-61cb-4011-a8f1-f28d47c67c53
2014-06-10 14:00:04,689 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250008 type:setData cxid:0x332 zxid:0x311 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/65d0518e-1853-4373-a455-02d
1699930cc Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/65d0518e-1853-4373-a455-02d1699930cc
2014-06-10 14:00:06,542 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250008 type:setData cxid:0x391 zxid:0x32b txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/87131701-cf41-4c2f-8de4-54c
599da0f03 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/87131701-cf41-4c2f-8de4-54c599da0f03
2014-06-10 14:17:39,329 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x146850ce9250008 type:setData cxid:0x401 zxid:0x367 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/aeb3757b-4560-4dca-b78c-6be
24eb514dc Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/aeb3757b-4560-4dca-b78c-6be24eb514dc
Regards,
Zahid Ahmed
11 years, 9 months
Are there second-rate fact types?
by Wolfgang Laun
Consider:
class Foo { /*...*/ }
rule checkFoo
when
Foo( noSuchField > 0 )
then ... end
DRL compilation reports an error (Error: unable to resolve method ...)
and identifies rule, line and column, which is fine.
Now let's look at:
import java.util.ArrayList;
rule checkArrayList
when
ArrayList( noSuchField > 0 )
then ... end
The same DRL compiler (checked with 5.5.0 and 6.0.0) accepts this, and
there is a nasty exception thrown at runtime. This is inconvenient,
since the exception can be thrown by any code inserting an ArrayList
object, and the faulty rule isn't identified.
Why are certain classes second-rate?
-W
11 years, 9 months
Drools Workbench - Cloning a local Repo Gives “Invalid remote: origin”
by Zahid Ahmed
Hi,
I am trying to clone a repo in Drools WorkBench and getting the following error,
"Can't clone repository. java.lang.RuntimeException:Invalid remote: origin"
The repository which I am cloning, resides in my local machine. D:/Servers/Drools-6-Deployment/repo/repoA.git
Following are the inputs I am providing to WorkBench clone Wizard,
"Repository Name = repoCloned" "Organizational Unit = inTech"
"GIT URL = file:///D:/Servers/Drools-6-Deployment/repo/repoA.git"
"User Name = " (Currently I am giving my github account cred. What to give in user name?)
"Password = " (Currently I am giving my github account cred. What to give as password?)
Question 1
Why am I getting remote origin error when I am cloning from a local GIT repository ?
Question 2
Kindly let me know what to give as User Name and Password when I am cloning from an existing GIT repo in my local filesystem ?
Regards,
Zahid Ahmed
11 years, 9 months
Parallel / Distributed Optaplanner
by jonathan.labin
I know that this topic has come up before. At various times there were
responses indicating that it was being considered at some level within the
project(s).
How has that played out? Was there progress or has the idea been put on the
back-burner? Was something discovered that seems to make the idea not worth
pursuing?
I'm contemplating doing some investigating of my own to attempt to leverage
additional hardware in a distributed way for our application. But I didn't
want to end up re-discovering things or try things that have already proved
to be a dead end by an effort ongoing within the project.
Any insight you could share?
--
View this message in context: http://drools.46999.n3.nabble.com/Parallel-Distributed-Optaplanner-tp4029...
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 9 months
Drools Pluggin Syntax Check
by vdesai
I have installed Drools Pluggin in Eclipse and have installed pluggin -
JBoss Drools Core and related ones.
However, it doesnt complain/error about errors in the typo or bracket issues
for trules. is there anything i am missing or needs to install other
features which will validate Drools files as good as Java Class for syntax.
The Pluggin/Features should validate all brackets, typo erros, reference
java classes and all dependencies.
Appreciate the input.
--
View this message in context: http://drools.46999.n3.nabble.com/Drools-Pluggin-Syntax-Check-tp4029927.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 9 months