Regd Drools compatibility with Jboss version
by Dibya Ranjan
Hi
We have a requirement to implement Drools in an application ,which is
hosting the application server in Jboss with version as 3.2.7.
It further uses java 1.4 version with the application being build and
deployed with Ant 1.6.2.
Could anyone help me in providing the Drools version that is compatible with
above .
--
With Warm Regards
Dibya Ranjan
13 years, 3 months
installing oryx designer with guvnor 5.2 (on win2003, tomcat6)
by itchupe
hello
i am trying to use drools on a windows 2003 server... (not my choice, but
hey :)
on on tomcat 6 i deployed drools 5.2 and oryx designer.
1. the oryx designer does not work properly (i can put objects on the
drawarea but i can not use any other functionality, see example)
2. and integration in guvnor does not work.
(1.) When for example i try to do "show BPMN 2.0 DI XML" in designer it
displays the error:
Oryx: An error occurred while generating the BPMN 2.0 DI XML Serialization.
==> INFO 05-08 11:27:02,426 (NilAuthenticator.java:authenticate:35)
All users are guests.
javax.xml.bind.PropertyException: name:
com.sun.xml.bind.namespacePrefixMapper value:
de.hpi.bpmn2_0.transformation.BPMN
PrefixMapper@11f5ff9
at
javax.xml.bind.helpers.AbstractMarshallerImpl.setProperty(AbstractMarshallerImpl.java:338)
at
com.sun.xml.internal.bind.v2.runtime.MarshallerImpl.setProperty(MarshallerImpl.java:532)
at
org.oryxeditor.server.Bpmn2_0Servlet.performTransformationToDi(Bpmn2_0Servlet.java:127)
at
org.oryxeditor.server.Bpmn2_0Servlet.doPost(Bpmn2_0Servlet.java:78)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:864)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1665)
at java.lang.Thread.run(Thread.java:662)
(2.) Knowledge Bases -> Create New -> New BPMN2 Process
-------------------
HTTP Status 404 - /designer/editor/
type Status report
message /designer/editor/
description The requested resource (/designer/editor/) is not available.
Apache Tomcat/6.0.32
-------------------
urls are: http://localhost:8080/drools/org.drools.guvnor.Guvnor/Guvnor.html
http://localhost:8080/designer/editor
any help would be appreciated. cheers.
itchupe
--
View this message in context: http://drools.46999.n3.nabble.com/installing-oryx-designer-with-guvnor-5-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 3 months
when should we the not operator.
by arun1979
Below is the code
declare EventX
@role( event )
@timestamp( eventDate )
@expires( 2m )
end
rule "test rule"
no-loop
when
event : EventX(eventType == 'XYZ', $oId :Id)
not ( EventY(eventType == 'ABC', Id == $oId, this after[0s,8s] event))
then
//fire the rule. code never reaches here if EventY does not occur at all
end
Can someone help me in understanding what i am doing wrong. I tried removing
the not and inserting EventY and it works fine. The eventDate is also
populated for both events.
Thanks
Arun
--
View this message in context: http://drools.46999.n3.nabble.com/when-should-we-the-not-operator-tp32259...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 3 months
how to update object modified by call to remote web service
by lhorton
We are at 5.2.0 Final
We recently moved our rules server (written in-house) to its own Tomcat
instance. Some of our existing rules call a service to modify facts. With
the move of the rules server, these calls to the service no longer happen in
the working memory of the rules server. The rule must now capture the
return from the call to the remote service, in order to see the changes made
by the remote service call.
Within the rule, this change is working fine. The RHS was:
applicationService.applyInstruction($step);
as above, the $step fact would not be updated within the rule WM now that
the service is called remotely. However, when I changed this to
$step = applicationService.applyInstruction($step);
then $step did have the changes(I am verifying this by writing debug info to
the log). BUT, the object that was passed in to execute() on the knowledge
session did NOT have the changes. I have tried several things to fix this.
one was to update($step) but this failed with "Update error: handle not
found for object," I assume because the fact handle changed in the object
returned from the service call.
I also tried some variations on retracting and inserting the step:
retract($step);
$step = applicationService.applyInstruction($step);
insert($step);
and also tried using a different variable name:
retract($step);
$step2 = applicationService.applyInstruction($step);
insert($step2);
update($step2);
both these above did not get errors, but also did not cause the updated
object to return from session.execute() call.
To summarize:
in a call to execute() on a stateless knowledge session, an object is passed
in
a rule fires that calls a remote service that modifies the object
within the rule, we catch the changed object that is returned from the
service call
within the rule, the changes to the object ARE visible
on the return from execute(), the changes are NOT visible
thanks for your help...
--
View this message in context: http://drools.46999.n3.nabble.com/how-to-update-object-modified-by-call-t...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 3 months
drools-server Vs drools-grid
by DroolersEye
Hi,
Please let me know what is the difference between drools-server and
drools-grid, when I read salaboy blog (great blog contains lots of useful
informations about drools, Hats off to him) and drools web site documents I
am not clear, Please provide some abstract details about these two
components.
thanks & best regards,
-----
with kind regards,
--
View this message in context: http://drools.46999.n3.nabble.com/drools-server-Vs-drools-grid-tp3227204p...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 3 months
Fact in Guvnor
by S.M.H.Jamali
Hello All
After upload a jar file which contains some java bean (Fact) to Guvnor , gwt-console don't detect my process definitions ! I have facts , processes and rules all in Guvnor and i build the defaultPackage successfully but gwt-console process list don't show my newly added process !
Is it a gwt-console bug ? or is it my error ? can you help me ?
Thanks in advance
S.M.H.Jamali
13 years, 3 months