<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 18/01/2010 02:09, petersellars wrote:
<blockquote
 cite="mid:28183_1263780548_4B53C2C4_28183_78_1_OF08AC3DD8.91182FD9-ONCC2576AF.000B408F-CC2576AF.000BD306@solnetsolutions.co.nz"
 type="cite">Using the latest snapshot I am now able to build the
trunk. When I then try
  <br>
to run the web application that uses this new version I am getting a
  <br>
SystemEventListenerProvider failure. Has anyone else encountered this
  <br>
issue? I know this area of the code was added as part of the OSGi work
- I
  <br>
was just wondering if there is a way for me to fix this issue?
  <br>
</blockquote>
I'm retro-fitting the various providers to allow both reflection and
OSGi access, so that the static factories will work, for legacy code. I
just got the last OSGi bit working, so I'm just cleaning things up and
making sure things work.<br>
<br>
Although we are still waiting for MVEL2 to be released, until hudson
begins working again :(<br>
<br>
Mark<br>
<blockquote
 cite="mid:28183_1263780548_4B53C2C4_28183_78_1_OF08AC3DD8.91182FD9-ONCC2576AF.000B408F-CC2576AF.000BD306@solnetsolutions.co.nz"
 type="cite"><br>
java.lang.IllegalArgumentException: Unable to locate a service for
Class
  <br>
'org.dr
  <br>
ools.SystemEventListenerProvider'
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; at org.drools.util.ServiceRegistryImpl.get
  <br>
(ServiceRegistryImpl.java:76)
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; at org.drools.SystemEventListenerFactory.loadProvider
  <br>
(SystemEventListene
  <br>
rFactory.java:44)
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; at
  <br>
org.drools.SystemEventListenerFactory.getSystemEventListenerProvider(
  <br>
SystemEventListenerFactory.java:38)
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; at org.drools.SystemEventListenerFactory.getSystemEventListener
  <br>
(SystemEv
  <br>
entListenerFactory.java:29)
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; at org.drools.io.impl.ResourceChangeNotifierImpl.&lt;init&gt;
  <br>
(ResourceChangeNo
  <br>
tifierImpl.java:33)
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; at
  <br>
org.drools.io.impl.ResourceProviderImpl.getResourceChangeNotifierServ
  <br>
ice(ResourceProviderImpl.java:27)
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; at
org.drools.io.ResourceFactory.getResourceChangeNotifierService
  <br>
(Resour
  <br>
ceFactory.java:38)
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; at drools.rex.AgentListener.contextDestroyed(Server.scala:129)
  <br>
  <br>
Regards,
  <br>
  <br>
Peter Sellars
  <br>
  <br>
  <br>
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
&nbsp; From: &nbsp; &nbsp; &nbsp; "Mark Proctor [via Drools - Java Rules Engine]" &lt;<a
 moz-do-not-send="true"
 href="http://n3.nabble.com/user/SendEmail.jtp?type=node&amp;node=124589&amp;i=0"
 target="_top" rel="nofollow">[hidden email]</a>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
&nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp; petersellars &lt;<a moz-do-not-send="true"
 href="http://n3.nabble.com/user/SendEmail.jtp?type=node&amp;node=124589&amp;i=1"
 target="_top" rel="nofollow">[hidden email]</a>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
&nbsp; Date: &nbsp; &nbsp; &nbsp; 15/01/2010 04:38 p.m. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
&nbsp; Subject: &nbsp; &nbsp;Re: [rules-dev] Drools trunk build issue - any info? &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
  <br>
  <br>
  <br>
  <br>
  <br>
On 14/01/2010 23:10, petersellars wrote:
  <br>
&nbsp; &nbsp; &nbsp; Mark,
  <br>
  <br>
&nbsp; &nbsp; &nbsp; I have updated this morning and noticed that the ProviderLocator
and
  <br>
&nbsp; &nbsp; &nbsp; associated classes have now been removed. I had used these to
provide
  <br>
&nbsp; &nbsp; &nbsp; the
  <br>
&nbsp; &nbsp; &nbsp; UserResource for custom Drl rule implementation. I notice there
is
  <br>
&nbsp; &nbsp; &nbsp; now a
  <br>
&nbsp; &nbsp; &nbsp; ServiceRegistry - so am assuming I now need to refactor my
  <br>
&nbsp; &nbsp; &nbsp; implementation
  <br>
&nbsp; &nbsp; &nbsp; to use this in order to provide a custom Drl rule resource (which
can
  <br>
&nbsp; &nbsp; &nbsp; be
  <br>
&nbsp; &nbsp; &nbsp; set via the services property file)? Am I correct in this
assumption?
  <br>
The ServiceLocator and &nbsp;OSGi locator where community contributed,
ripped
  <br>
from another project.
  <br>
And to be honest way to complicated for needs, we really don't need
  <br>
discovery for this. So I'm
  <br>
doing a hard coded version, where containers can inject impl.
  <br>
  <br>
I'm refactoring this as part of thet OSGi work, it'll change just a bit
  <br>
more over next day or two.
  <br>
  <br>
&nbsp; &nbsp; &nbsp; For your information I am also experiencing the following failure
  <br>
&nbsp; &nbsp; &nbsp; when
  <br>
&nbsp; &nbsp; &nbsp; performing an mvn -DskipTests clean install
  <br>
  <br>
&nbsp; &nbsp; &nbsp; [INFO] Compilation failure
  <br>
&nbsp; &nbsp; &nbsp; C:\Documents and Settings\ps1336\workspace\tohu\JBoss-Trunk
  <br>
&nbsp; &nbsp; &nbsp; \drools-decisiontable
  <br>
&nbsp; &nbsp; &nbsp; s\src\test\java\org\drools\decisiontable\parser\xls
  <br>
&nbsp; &nbsp; &nbsp; \ExcelParserTest.java:[95,11]
  <br>
&nbsp; &nbsp; &nbsp; &nbsp;org.drools.decisiontable.parser.xls.ExcelParserTest.MockCell is
not
  <br>
&nbsp; &nbsp; &nbsp; abstract an
  <br>
&nbsp; &nbsp; &nbsp; d does not override abstract method getCellFeatures() in jxl.Cell
  <br>
i'll double check that myself later today.
  <br>
  <br>
mark
  <br>
  <br>
&nbsp; &nbsp; &nbsp; Regards,
  <br>
  <br>
&nbsp; &nbsp; &nbsp; Peter Sellars
  <br>
&nbsp; &nbsp; &nbsp; Senior Developer
  <br>
&nbsp; &nbsp; &nbsp; Solnet Solutions Limited
  <br>
&nbsp; &nbsp; &nbsp; Level 7, Brookfields House
  <br>
&nbsp; &nbsp; &nbsp; 19 Victoria Street, Auckland 1010, New Zealand
  <br>
&nbsp; &nbsp; &nbsp; PO Box 6619, Auckland 1141, New Zealand
  <br>
&nbsp; &nbsp; &nbsp; DDI: +64 9 977 5808 &nbsp;Mobile: +64 21 809 009
  <br>
&nbsp; &nbsp; &nbsp; Main: +64 9 977 5800 Fax: +64 9 977 5801
  <br>
  <br>
&nbsp; &nbsp; &nbsp; <a class="moz-txt-link-abbreviated" href="http://www.solnetsolutions.co.nz">www.solnetsolutions.co.nz</a>
  <br>
&nbsp; &nbsp; &nbsp; A Solnet Group Company
  <br>
  <br>
  <br>
  <br>
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; From: &nbsp; &nbsp; &nbsp; "Mark Proctor [via Drools - Java Rules Engine]"
&lt;
  <br>
&nbsp; &nbsp; &nbsp; [hidden email]&gt;
  <br>
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp; petersellars &lt;[hidden email]&gt;
  <br>
  <br>
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; Date: &nbsp; &nbsp; &nbsp; 14/01/2010 05:17 p.m.
  <br>
  <br>
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp;Re: [rules-dev] Drools trunk build issue - any
info?
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
&nbsp; &nbsp; &nbsp; On 14/01/2010 04:05, Peter Sellars wrote:
  <br>
&nbsp; &nbsp; &nbsp; &gt; an roll back my local version to a version that
  <br>
&nbsp; &nbsp; &nbsp; &gt; works with the patched code (but then this will not work
with the
  <br>
&nbsp; &nbsp; &nbsp; next
  <br>
&nbsp; &nbsp; &nbsp; &gt; version containing the current changes as it is).
  <br>
&nbsp; &nbsp; &nbsp; &gt;
  <br>
&nbsp; &nbsp; &nbsp; &gt; I have included the error below....(may give someone more
info
  <br>
&nbsp; &nbsp; &nbsp; about the
  <br>
&nbsp; &nbsp; &nbsp; &gt; issue).
  <br>
&nbsp; &nbsp; &nbsp; &gt;
  <br>
&nbsp; &nbsp; &nbsp; We are having a bit of a problem with trunk at the moment.
Everything
  <br>
  <br>
&nbsp; &nbsp; &nbsp; should compile, but unit tests are failing due to an MVEL
regression.
  <br>
&nbsp; &nbsp; &nbsp; We
  <br>
&nbsp; &nbsp; &nbsp; are chasing the MVEL author for a release ASAP.
  <br>
  <br>
&nbsp; &nbsp; &nbsp; Caused by: [Error: drools.insertLogical(questionnaire): null]
  <br>
&nbsp; &nbsp; &nbsp; [Near : {... Unknown ....}]
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^
  <br>
&nbsp; &nbsp; &nbsp; [Line: 1, Column: 0]
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;at
  <br>
  <br>
&nbsp; &nbsp; &nbsp; Sorry for the inconvenience.
  <br>
  <br>
&nbsp; &nbsp; &nbsp; Mark
  <br>
  <br>
&nbsp; &nbsp; &nbsp; _______________________________________________
  <br>
&nbsp; &nbsp; &nbsp; rules-dev mailing list
  <br>
&nbsp; &nbsp; &nbsp; [hidden email]
  <br>
&nbsp; &nbsp; &nbsp; <a moz-do-not-send="true"
 href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_top"
 rel="nofollow">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
  <br>
  <br>
&nbsp; &nbsp; &nbsp; View message @
  <br>
&nbsp; &nbsp; &nbsp; <a moz-do-not-send="true"
 href="http://n3.nabble.com/Drools-trunk-build-issue-any-info-tp120143p120169.html"
 target="_top" rel="nofollow">http://n3.nabble.com/Drools-trunk-build-issue-any-info-tp120143p120169.html</a><br>
  <br>
  <br>
&nbsp; &nbsp; &nbsp; To start a new topic under Drools - Dev, email ml-node
  <br>
&nbsp; &nbsp; &nbsp; +[hidden email]
  <br>
&nbsp; &nbsp; &nbsp; To unsubscribe from Drools - Dev, click here.
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
&nbsp; &nbsp; &nbsp; Attention:
  <br>
&nbsp; &nbsp; &nbsp; This email may contain information intended for the sole use of
  <br>
&nbsp; &nbsp; &nbsp; the original recipient. Please respect this when sharing or
  <br>
&nbsp; &nbsp; &nbsp; disclosing this email's contents with any third party. If you
  <br>
&nbsp; &nbsp; &nbsp; believe you have received this email in error, please delete it
  <br>
&nbsp; &nbsp; &nbsp; and notify the sender or [hidden email] as
  <br>
&nbsp; &nbsp; &nbsp; soon as possible. The content of this email does not necessarily
  <br>
&nbsp; &nbsp; &nbsp; reflect the views of Solnet Solutions Ltd.
  <br>
  <br>
  <br>
&nbsp; &nbsp; &nbsp; View this message in context: Re: [rules-dev] Drools trunk build
  <br>
&nbsp; &nbsp; &nbsp; issue - any info?
  <br>
&nbsp; &nbsp; &nbsp; Sent from the Drools - Dev mailing list archive at Nabble.com.
  <br>
  <br>
  <br>
&nbsp; &nbsp; &nbsp; _______________________________________________
  <br>
&nbsp; &nbsp; &nbsp; rules-dev mailing list
  <br>
&nbsp; &nbsp; &nbsp; [hidden email]
  <br>
&nbsp; &nbsp; &nbsp; <a moz-do-not-send="true"
 href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_top"
 rel="nofollow">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
  <br>
  <br>
  <br>
_______________________________________________
  <br>
rules-dev mailing list
  <br>
[hidden email]
  <br>
  <a moz-do-not-send="true"
 href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_top"
 rel="nofollow">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
  <br>
  <br>
View message @
  <br>
  <a moz-do-not-send="true"
 href="http://n3.nabble.com/Drools-trunk-build-issue-any-info-tp120143p121518.html"
 target="_top" rel="nofollow">http://n3.nabble.com/Drools-trunk-build-issue-any-info-tp120143p121518.html</a><br>
  <br>
To start a new topic under Drools - Dev, email ml-node
  <br>
+<a moz-do-not-send="true"
 href="http://n3.nabble.com/user/SendEmail.jtp?type=node&amp;node=124589&amp;i=2"
 target="_top" rel="nofollow">[hidden email]</a>
  <br>
To unsubscribe from Drools - Dev, click here.
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
Attention:
  <br>
This email may contain information intended for the sole use of
  <br>
the original recipient. Please respect this when sharing or
  <br>
disclosing this email's contents with any third party. If you
  <br>
believe you have received this email in error, please delete it
  <br>
and notify the sender or <a moz-do-not-send="true"
 href="http://n3.nabble.com/user/SendEmail.jtp?type=node&amp;node=124589&amp;i=3"
 target="_top" rel="nofollow">[hidden email]</a> as
  <br>
soon as possible. The content of this email does not necessarily
  <br>
reflect the views of Solnet Solutions Ltd.
  <br>
  <br>
  <br>
  <hr width="300" align="left">View this message in context: <a
 moz-do-not-send="true"
 href="http://n3.nabble.com/Drools-trunk-build-issue-any-info-tp120143p124589.html">Re:
[rules-dev] Drools trunk build issue - any info?</a><br>
Sent from the <a moz-do-not-send="true"
 href="http://n3.nabble.com/Drools-Dev-f62260.html">Drools - Dev
mailing list archive</a> at Nabble.com.<br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a>
  </pre>
</blockquote>
<br>
</body>
</html>