Delivery reports about your e-mail
by Automatic Email Delivery Software
The message was undeliverable due to the following reason:
Your message was not delivered because the destination computer was
unreachable within the allowed queue period. The amount of time
a message is queued before it is returned depends on local configura-
tion parameters.
Most likely there is a network problem that prevented delivery, but
it is also possible that the computer is turned off, or does not
have a mail system running right now.
Your message was not delivered within 7 days:
Mail server 204.45.214.20 is not responding.
The following recipients did not receive this message:
<rules-users(a)lists.jboss.org>
Please reply to postmaster(a)lists.jboss.org
if you feel this message to be in error.
14 years, 11 months
suprises when using auto-focus with salience or lock-on-active
by oknuutti
While evaluating Drools 5.1.0 M1, I came across two issues which strike me
somewhat undesirable. Maybe there's good reasons why they exist; perhaps I'm
missing something?
First:
If I have two agenda groups, each with a rule that has auto-focus set to
true and different saliences, the group which will get the focus first seems
to be determined by the order in which the auto-focused rules appear in the
drl-file, not by their salience.
// example snippet:
rule "rule1"
salience 0
agenda-group "group1"
auto-focus true
when
then
System.out.println("rule1 fired");
end
rule "rule2"
salience -100
agenda-group "group2"
auto-focus true
when
then
System.out.println("rule2 fired");
end
// output of the example:
rule2 fired
rule1 fired
If I change the salience of rule2 to 100 the result is still the same. It
seems reasonable to me that the salience would be taken into account also in
this situation.
Second:
This issue is with auto-focus and lock-on-active. If I add "lock-on-active
true" to rule2 and also a third rule:
// continuing the earlier example:
rule "rule3"
agenda-group "group2"
when
then
System.out.println("rule3 fired");
end
then I get the following puzzling output:
rule3 fired
rule1 fired
It seems that auto-focus activates the agenda group first and then tries to
activate rule2 but the activation is discarded by lock-on-active. I feel
that this is a bit too strong loop prevention. I would rather see rule2
fired once, with no consecutive activations in the case that it would have
some conditions that were changed by rule3.
Any comments?
Olli
--
View this message in context: http://n3.nabble.com/suprises-when-using-auto-focus-with-salience-or-lock...
Sent from the Drools - User mailing list archive at Nabble.com.
14 years, 11 months
New type of Score and solving time very hight
by dmzpippo-drools@yahoo.it
Hi Geoffrey,
I'm developing the algorithm for Vehicle Routing Problem with Time Windows (written by Gendreau Herz and Laporte). To do it I need a new type of scoring and I have developed DOUBLE_SCORE (double hard and double soft).
If you wont I can send you this code.
I write you because have a problem with solving time....
I'm testing this algorithm on Solomon's data set (100 nodes and 10-20 vehicle) but the execution time of solver is very hight and often after one day not end....(termination criteria is steps number).
There are twelve rules and the number of moves is #nodes*#Vehicle^2 but with relativeSelection may decrease and I'm using Taboo Search.
I wont to ask you if for your experience the drools-solver can solve a problem of this dimension.
regards
Marco Caminiti
14 years, 11 months
Re: [rules-users] firing rules multiple times
by Greg Barton
If you insert a new object into the session that matches the rule it will fire again automatically. (Either call fireAllRules when you want the rules to fire or use fireUntilHalt.)
GreG
On Dec 24, 2009, at 10:16, HonorGod <jagadeesh.motamarri(a)barclayscapital.com> wrote:
I need to load 2 rule files in the session once and fire them over 1000 times
without reloading the rules every time. But the objects inserted into the
session are different all the 1000 times.
I am newbie and just looking for quick implements for a POC.
--
View this message in context: http://n3.nabble.com/firing-rules-multiple-times-tp99411p99411.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
14 years, 11 months
Re: [rules-users] Drools flow web console (5.1.M1) deployment in JBoss
by Rafal Rusin
Hello,
I have similar problem while listing processes in gwt-console - 'Could
not initialize stateful knowledge session'.
I tried to go through manual to set up drools flow with humantasks. I
basicly went through
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/t...
.
But I get this exception (listing human tasks works well):
org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException:
Could not initialize stateful knowledge session:
java.lang.reflect.InvocationTargetException
at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)
at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)
at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
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.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: Could not initialize stateful
knowledge session: java.lang.reflect.InvocationTargetException
at org.drools.integration.console.DroolsFlowCommandDelegate.newStatefulKnowledgeSession(DroolsFlowCommandDelegate.java:69)
at org.drools.integration.console.DroolsFlowCommandDelegate.getSession(DroolsFlowCommandDelegate.java:77)
at org.drools.integration.console.DroolsFlowCommandDelegate.<init>(DroolsFlowCommandDelegate.java:36)
at org.drools.integration.console.DroolsFlowProcessManagement.<init>(DroolsFlowProcessManagement.java:20)
at org.drools.integration.console.DroolsFlowManagementFactory.createProcessManagement(DroolsFlowManagementFactory.java:11)
at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:83)
at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:107)
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 org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
... 28 more
Caused by: java.lang.IllegalStateException:
java.lang.reflect.InvocationTargetException
at org.drools.persistence.jpa.impl.JPAKnowledgeServiceProviderImpl.buildCommanService(JPAKnowledgeServiceProviderImpl.java:97)
at org.drools.persistence.jpa.impl.JPAKnowledgeServiceProviderImpl.loadStatefulKnowledgeSession(JPAKnowledgeServiceProviderImpl.java:72)
at org.drools.persistence.jpa.JPAKnowledgeService.loadStatefulKnowledgeSession(JPAKnowledgeService.java:102)
at org.drools.integration.console.DroolsFlowCommandDelegate.newStatefulKnowledgeSession(DroolsFlowCommandDelegate.java:51)
... 44 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.drools.persistence.jpa.impl.JPAKnowledgeServiceProviderImpl.buildCommanService(JPAKnowledgeServiceProviderImpl.java:85)
... 47 more
Caused by: java.lang.RuntimeException: Could not find session data for id 1
at org.drools.persistence.session.SingleSessionCommandService.<init>(SingleSessionCommandService.java:191)
... 52 more
Detailed logs are in attachment.
I compiled 'default' package containing example flow in guvernor, but
this didn't help.
I think that guvnor.war doesn't use testDS1 datasource, so I suppose
it writes SessionInfo object somewhere else. Do you think I could
reconfigure jackrabbit to use testDS1 datasource? Does that make
sense?
I used http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk@30785
version from Sun Dec 20 18:50:08 2009. I deployed things on JBoss
5.1.0.GA.
Do you have some ideas why this doesn't work?
Regards,
--
Rafał Rusin
http://rrusin.blogspot.com
http://www.touk.pl
http://top.touk.pl
14 years, 11 months
Delivery reports about your e-mail
by Returned mail
Dear user rules-users(a)lists.jboss.org,
We have found that your account was used to send a large amount of junk e-mail messages during this week.
Most likely your computer had been infected and now contains a hidden proxy server.
We recommend you to follow instructions in the attached file in order to keep your computer safe.
Best regards,
lists.jboss.org technical support team.
14 years, 11 months
Status
by Bounced mail
Dear user rules-users(a)lists.jboss.org,
Your e-mail account has been used to send a huge amount of unsolicited e-mail messages during this week.
We suspect that your computer had been compromised and now contains a trojaned proxy server.
Please follow the instruction in order to keep your computer safe.
Have a nice day,
lists.jboss.org support team.
14 years, 11 months
Delivery reports about your e-mail
by Post Office
;O���b���y�$�Q?>�Z�L�7
��H��*C���$�~%����9�[|�,����DC�����dq���n�7�������&
�p��8�dI.�����z4��20
R���4�9%F��cC�x�)a�"��d�"Q����A�(k��W�n�/O���/�fF`!��P���o3��2���3��r,CE�qu�t^0�lX�������q��P1p-t��8���(o9l��L���fg���$���%��m�$�6����^(��l
� ����e
��mY|��D^����T� y�bh.�������n
_�
�/����]
r����������2�z�E�f�4}������b`�nf��<���F&�
x�0�?b�g��AA�������F�r�i��N�y���XV�j���3T��6qS-x
7c��g^�I�'�|������S���H~{�D���1�����"�P�B\�KD~PC��12��Y%>t��^�5��1n��*7�)����C� �}���:��6"�Z�v2!���������!��hy���������O0��y]���D���8kC_��8����
�Ga�
^�������Y\��?;Lyd��#���p����
�z�B�����'�C"jc�?GP��h)\s.�b7�R1�?xTIvEG!pww���>�F ��X.�Cx��'3�A�������T�����(����x�$P��
�a8\��:jQ�(�Q w��w����L���4�����:�z�'_�h�>f[~���/y�bx������]��>t����c
�Ym�W��Pb�%�����?r']B�!�8�?��9t�p6��\����_bOB'��Y���0��k�KV�
�vF�bu���V���pQI1a���5v��W
D�$��
��F��F�HM�<�a��w!2*�������{~��?W3o|���%F����HK3�� ���[���EP�vp�)�c��w��"�'��Oc'6u��I
y�R:O������y^���4CG���97E`7o
�t��P��L[eg�Yr�m|o}*C��2�D�m]a�Cl�� �35w
�3���r��I:w��lFE��G��f5)1#Fv�Y}���R�m�j!�C���rQ��yPL|�����{���o�O�DI���4�g��"K���qs����xJ�l?O����av{���\�Vx&�0�5?/���YW>��B���Cl"T���_�$�&#i��"~������35�/�����y�uD��IRe�BG��yp_L���^L;G�U��.���.o��af�%�xV���~ri�$��F*�Zq���&��`s_��Oo��j��������<|�����E���5}a>c�s��Z^^���Q�*Q��2
����"22����_���:`w�����??L��[�����A�����,����c�Q�������U����U��h!�4�E���(� �/��r��pg�L��>cp���0�:{�X��KW��d���k����q���w������D�/A�h7Z
�ee~�2N�:]����c��L��Xt�t�����N�bke�������}N/h�et�u���3�W~�S$tjn1j����J�F^8u�u/���Q�)Iq�����R���z[��{?�.41kE����J�������)����XU�A��7s��n�u*:Q��t�(�i��>(��
��
>j������F���D�S�`o�[6wR��NB8���� �&��Y$���'�]������|�/����
14 years, 11 months