How to install and configure the oryx designer in Drools-guvnor ?
by Manohar Kokkula
Hi to all,
I followed all the steps given in the link
https://blog.athico.com/2010/09/bpmn2-authoring-int-drools-guvnor.html
but when i am trying to create the process in Guvnor I am getting
following error:
HTTP Status 404- /designer/editor/
type Status report
message /designer/editor/
description The requested resource (/designer/editor) is not available
JBoss Web/2.1.1.GA.
and also I am unable to open the designer through browser
I got above same error in browser.
Please any one help me.
Thanks and regards
Manohar Kokkula
Mailto: manohar.kokkula(a)tcs.com
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
13 years
Can we make our kbase object available from one context to another context (one application to another webservice)
by srinivasasanda
Hi Sir,
I have another Problem Please try to give some suggestion.
how can i provide my Kbase object loaded with all packages is at one
context , and can i make it available to other context applications or
webservices
Ex:My actual scenario is :I created all my rules and loaded my application
as
KnowledgeBuilder kbuilder1 = KnowledgeBuilderFactory.newKnowledgeBuilder();
KnowledgeBase kbase1 = readKnowledgeBase();
// Like this i added some 50 packages and build single kbase haveing 15000
rules
kbuilder1.add(ResourceFactory.newUrlResource("http://localhost:8082/guvnor-5.3.0.Final-jboss-as-5.1/org.drools.guvnor.G..."),ResourceType.PKG);
KnowledgeBase kbase = KnowledgeBaseFactory.newKnowledgeBase();
kbase.addKnowledgePackages(kbuilder1.getKnowledgePackages());
This code i made it as .sar file,so it loads automatically when server
start up without user control --
which is loaded is in one context, as per my understanding kbase object is
present in that context.
Now can I make that kbase object available to web service which is present
in some other context(some other application) , so that web service can make
use of kbase which is already available (Instead of creating and loading
new kbase)..
So far,you suggested so many solutions.Hope you will help me to get out of
this problem.
Thanks
--
View this message in context: http://drools.46999.n3.nabble.com/Can-we-make-our-kbase-object-available-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years
Eval0Invoker : java.lang.NullPointerException
by Venkat
Hi, I am new to Drools and I have read about it and not mastered yet. I have
written some rules and junit to test it. The rules works good and passes the
test if ran individually, but if ranned all at once with one junit test case
with all the test cases in it, it is through this exception.
Please find the stack trace.
com.ge.energy.drms.smartgrid.datamodel.services.enddevicemanagement.pandeviceregistrationservice.PANDeviceRegistrationServiceFault:
com.ge.energy.drms.external.integration.service.impl.Rule_PAN_Device_Smart_Device_Model_Device_Class_null_ruleEval0Invoker@1e87bc80
: java.lang.NullPointerException
at
com.ge.energy.drms.external.integration.service.impl.PANDeviceRegistrationServiceImpl.provisionPANDevice(PANDeviceRegistrationServiceImpl.java:108)
at
com.ge.energy.drms.external.integration.service.impl.test.ProvisionPanDeviceRequestValidationTest.testMACAdress(ProvisionPanDeviceRequestValidationTest.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
com.ge.energy.drms.external.integration.service.impl.Rule_PAN_Device_Smart_Device_Model_Device_Class_null_ruleEval0Invoker@1e87bc80
: java.lang.NullPointerException
I have googled on this and found that, it might not be able to take all the
rules, one by one, and execute it. As I said I am new to Drools, I am not
able to work on this.
Please help me on this.
Thanks,
Venkat.
--
View this message in context: http://drools.46999.n3.nabble.com/Eval0Invoker-java-lang-NullPointerExcep...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years
Get GuidedDecisionTable from Guvnor
by gonzalez.mariano
Hello all,
I've seen the following example from the guvnor 5.3.0 rest api
documentation:
WebClient client = WebClient.create("http://127.0.0.1:8080/");
String
content=client.path("guvnor-webapp-${project.version}/rest/packages/essaiRest/assets/tab2/source").accept("text/plain").get(String.class);
GuidedDecisionTable52 dt =
GuidedDTXMLPersistence.getInstance().unmarshal(content);
I'm trying this locally but it doesn't work because the source that guvnor
is returning is a plain DRL text file while the GuidedDTXMLPersistence is
expecting something in XML format. I also took a look at
GuidedDTDRLPersistence but it does not support the unmarshal operation.
Does anybody knows how can I populate a GuidedDecisionTable52 instance
using guvnor's rest API (or any API whatsoever?)
Thanks,
--
View this message in context: http://drools.46999.n3.nabble.com/Get-GuidedDecisionTable-from-Guvnor-tp3...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years
Does anyone have a Fusion application running?
by Robert Crawford
I'm asking because I'm continuously getting exceptions from mine. I get
exceptions from the engine when it's expiring events, I get exceptions while
inserting objects in my rules, I get them when I insert through a named
entry point, I get them for the sin of apparently just having a sliding time
window in my rules. They're all wrapped around NullPointerExceptions, and
while they don't shut the engine down, they ARE preventing the system from
working correctly.
None of this happens immediately. In the short-term everything appears to be
OK. It's after running for 6+ hours that I start to see this.
I'm running with 5.2.0-Final, which I know is not the latest release, but I
dropped back to it because, well, I was getting too many failures and
exceptions with 5.3.0.
I'm not inserting data from another thread. The rules engine is started with
fireUntilHalt, and when I have a data backlog to insert into it, I call halt
and the same thread that called fireUntilHalt loads the data, then calls
fireUntilHalt again.
I'm not using MultiThreadEvaluationOption -- which in my experience just
generates MORE exceptions than I'm getting now.
Nothing older than the event expiration age is being inserted.
Any advice? Any examples of a continuously-running Fusion application anyone
can share with me?
Thanks!
--
View this message in context: http://drools.46999.n3.nabble.com/Does-anyone-have-a-Fusion-application-r...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years