Pattern matching question
by Markus Wolf
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi, I have two questions for pattern matching with drools:
1. I have a multiline string to which a would match an expression. I've
tried that in various ways, but none worked. Is this not supported?
2. When I have a rule condition like this:
Somethin( test matches "abc def")
I'll get an exception during compilation saying "RuleError: Unable to
determine the used declarations". What does this mean?
When I remove the space and replace it with \s it does compile well.
Thanks for any help
Markus Wolf
- --
NMMN - New Media Markets & Networks GmbH
Geschäftsführung: Kfm. Michael Schütt
Finanzamt HH-Altona UStID DE 812 699 852 HRB 71102 Hamburg
HypoVereinsbank - BLZ 200 300 00 - Konto-Nr. 156 29 82
http://www.nmmn.com Tel.: +49 40 284 118 -0
Langbehnstrasse 6 Entwicklung: -720
22761 Hamburg Fax: -999
Rufen Sie uns kostenlos an: http://www.nmmn.com/call/software
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHAhbxDBHISU1oEKERAomwAKDadi+jqXtdL1D7rl7ehBO3bGm/9ACg123k
6p/ibdw1LsQL28RfUHI4ovk=
=ek2D
-----END PGP SIGNATURE-----
17 years, 2 months
classpath issue
by Krishnan
I am including the following libraries :-
D:\programs\java\jdk1.5.0\bin\javaw -classpath
"O:\fieldstation\jars\antlr\antlr-runtime-3.0.jar
;O:\fieldstation\jars\Drools\drools-compiler-4.0.0.jar
;O:\fieldstation\jars\Drools\drools-core-4.0.0.jar
;O:\fieldstation\jars\Drools\drools-decisiontables-4.0.0.jar
;O:\fieldstation\jars\Drools\drools-jsr94-4.0.0.jar
;O:\fieldstation\jars\mvel\mvel14-1.2rc1.jar
;O:\fieldstation\jars\janino\janino-2.5.7.jar" -Ddrools.compiler=JANINO
com.makesys.fs.app.adapter.AdapterServerWrapperImpl
I have included all the drools libraries, antlr library, janino library and
mvel library. I have also included the option to specify the JANINO
compiler. I have not done any code change to imply
janino compiler (Is this needed ?)
Below is the stack trace I get
EXCEPTION [org.drools.RuntimeDroolsException: Unable to load dialect '
org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java']
STACK [org.drools.RuntimeDroolsException: Unable to load dialect '
org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java'
at org.drools.compiler.PackageBuilderConfiguration.buildDialectRegistry(
PackageBuilderConfiguration.java:138)
at org.drools.compiler.PackageBuilderConfiguration.init(
PackageBuilderConfiguration.java:114)
at org.drools.compiler.PackageBuilderConfiguration.<init>(
PackageBuilderConfiguration.java:87)
at com.makesys.fs.is.cfi.CfiRulesLoader.getPackageBuilder(
CfiRulesLoader.java:45)
at com.makesys.fs.is.cfi.CfiRulesLoader.loadRuleFiles(
CfiRulesLoader.java:54)
at com.makesys.fs.is.cfi.CfiRulesLoader.createRules(CfiRulesLoader.java
:37)
at com.makesys.fs.is.cfi.CfiAdapter.collectHelper(CfiAdapter.java:469)
at
com.makesys.fs.is.cfi.Cisco.showCmds.ipRoute.CfiAdapterShowIpRoute.collect(
CfiAdapterShowIpRoute.java:38)
at com.makesys.fs.app.adapter.BaseAdapterWithArchiveInfo.activate(
BaseAdapterWithArchiveInfo.java:106)
at com.makesys.fs.app.adapter.UnicastAdapterImpl.activate(
UnicastAdapterImpl.java:111)
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:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java
:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(
TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: The Eclipse JDT Core jar is not in
the classpath
at
org.drools.rule.builder.dialect.java.JavaDialectConfiguration.setCompiler(
JavaDialectConfiguration.java:98)
at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(
JavaDialectConfiguration.java:56)
at org.drools.compiler.PackageBuilderConfiguration.buildDialectRegistry(
PackageBuilderConfiguration.java:134)
... 20 more
]
Any help will be appreciated.
TIA,
Krishnan.
--
Sivaramakrishna Iyer Krishnan (Anand)
Never assume the obvious is true.
- William Safire
17 years, 2 months
Cannot recreate a rule or package in BRMS after archiving
by Shahad Ahmed
Is there a way of really deleting a rule or package in the BRMS? If you
archive a rule or package to delete it then you cannot create a new rule or
package with the same name as the archived assets - you get an error saying
the rule or package already exists!
The workaround I'm using at the moment is to rename a package or rule before
archiving it. This seems to allow you to create a new rule/package with the
same name as the original rule/package - but it isn't nice or intuitive.
Thanks
Shahad
17 years, 2 months
Hibernate
by Heyns, Juan
Hi,
I am getting the following error with 4.0.1, I didn't get this with
4.0.0... Has anything changed in the way Drools works with Hibernate.
Juan
15:24:52,281 ERROR LazyInitializationException:19 - failed to lazily
initialize a collection, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a
collection, no session or session was closed
at
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializ
ationException(AbstractPersistentCollection.java:358)
at
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializ
ationExceptionIfNotConnected(AbstractPersistentCollection.java:350)
at
org.hibernate.collection.AbstractPersistentCollection.readElementExisten
ce(AbstractPersistentCollection.java:132)
at
org.hibernate.collection.PersistentSet.contains(PersistentSet.java:153)
at
org.drools.base.evaluators.ObjectFactory$ObjectContainsEvaluator.evaluat
eCachedLeft(ObjectFactory.java:481)
at
org.drools.rule.VariableRestriction.isAllowedCachedLeft(VariableRestrict
ion.java:72)
at
org.drools.rule.VariableConstraint.isAllowedCachedLeft(VariableConstrain
t.java:72)
at
org.drools.common.SingleBetaConstraints.isAllowedCachedLeft(SingleBetaCo
nstraints.java:117)
at org.drools.reteoo.JoinNode.assertTuple(JoinNode.java:119)
at
org.drools.reteoo.CompositeTupleSinkAdapter.createAndPropagateAssertTupl
e(CompositeTupleSinkAdapter.java:73)
at
org.drools.reteoo.LeftInputAdapterNode.assertObject(LeftInputAdapterNode
.java:131)
at
org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleOb
jectSinkAdapter.java:20)
at
org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:160)
at org.drools.reteoo.Rete.assertObject(Rete.java:176)
at
org.drools.reteoo.ReteooRuleBase.assertObject(ReteooRuleBase.java:196)
at
org.drools.reteoo.ReteooWorkingMemory.doInsert(ReteooWorkingMemory.java:
70)
at
org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.jav
a:854)
at
org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.jav
a:826)
at
org.drools.base.DefaultKnowledgeHelper.insert(DefaultKnowledgeHelper.jav
a:60)
at
org.drools.base.DefaultKnowledgeHelper.insert(DefaultKnowledgeHelper.jav
a:54)
at
com.lonmin.bns.domain.rules.Rule_Stope_Drilling_work_is_evaluated_based_
on_the_holes_drilled_and_blasts_0.consequence(Rule_Stope_Drilling_work_i
s_evaluated_based_on_the_holes_drilled_and_blasts_0.java:35)
at
com.lonmin.bns.domain.rules.Rule_Stope_Drilling_work_is_evaluated_based_
on_the_holes_drilled_and_blasts_0ConsequenceInvoker.evaluate(Rule_Stope_
Drilling_work_is_evaluated_based_on_the_holes_drilled_and_blasts_0Conseq
uenceInvoker.java:22)
at
org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:550)
at
org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:514)
at
org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemo
ry.java:434)
at
org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemo
ry.java:396)
at
com.lonmin.bns.domain.rules.RulesEngine.calculateStopeDrillingBonus(Rule
sEngine.java:54)
at
com.lonmin.bns.domain.model.StopeDrillingCardPersister.processDetail(Sto
peDrillingCardPersister.java:371)
at
com.lonmin.bns.domain.model.StopeDrillingCardPersister.processCard(Stope
DrillingCardPersister.java:276)
at
com.lonmin.bns.domain.model.StopeDrillingCardPersister.process(StopeDril
lingCardPersister.java:69)
at
com.lonmin.bns.domain.model.ValueObjectPersister.persist(ValueObjectPers
ister.java:38)
at
com.lonmin.bns.domain.model.StopeDrillingCardPersisterTest.testEditStope
DrillingCard(StopeDrillingCardPersisterTest.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe
stRunner.java:392)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRun
ner.java:276)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRu
nner.java:167)
org.hibernate.LazyInitializationException: failed to lazily initialize a
collection, no session or session was closed
at
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializ
ationException(AbstractPersistentCollection.java:358)
at
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializ
ationExceptionIfNotConnected(AbstractPersistentCollection.java:350)
at
org.hibernate.collection.AbstractPersistentCollection.readElementExisten
ce(AbstractPersistentCollection.java:132)
at
org.hibernate.collection.PersistentSet.contains(PersistentSet.java:153)
at
org.drools.base.evaluators.ObjectFactory$ObjectContainsEvaluator.evaluat
eCachedLeft(ObjectFactory.java:481)
at
org.drools.rule.VariableRestriction.isAllowedCachedLeft(VariableRestrict
ion.java:72)
at
org.drools.rule.VariableConstraint.isAllowedCachedLeft(VariableConstrain
t.java:72)
at
org.drools.common.SingleBetaConstraints.isAllowedCachedLeft(SingleBetaCo
nstraints.java:117)
at org.drools.reteoo.JoinNode.assertTuple(JoinNode.java:119)
at
org.drools.reteoo.CompositeTupleSinkAdapter.createAndPropagateAssertTupl
e(CompositeTupleSinkAdapter.java:73)
at
org.drools.reteoo.LeftInputAdapterNode.assertObject(LeftInputAdapterNode
.java:131)
at
org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleOb
jectSinkAdapter.java:20)
at
org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:160)
at org.drools.reteoo.Rete.assertObject(Rete.java:176)
at
org.drools.reteoo.ReteooRuleBase.assertObject(ReteooRuleBase.java:196)
at
org.drools.reteoo.ReteooWorkingMemory.doInsert(ReteooWorkingMemory.java:
70)
at
org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.jav
a:854)
at
org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.jav
a:826)
at
org.drools.base.DefaultKnowledgeHelper.insert(DefaultKnowledgeHelper.jav
a:60)
at
org.drools.base.DefaultKnowledgeHelper.insert(DefaultKnowledgeHelper.jav
a:54)
at
com.lonmin.bns.domain.rules.Rule_Stope_Drilling_work_is_evaluated_based_
on_the_holes_drilled_and_blasts_0.consequence(Rule_Stope_Drilling_work_i
s_evaluated_based_on_the_holes_drilled_and_blasts_0.java:35)
at
com.lonmin.bns.domain.rules.Rule_Stope_Drilling_work_is_evaluated_based_
on_the_holes_drilled_and_blasts_0ConsequenceInvoker.evaluate(Rule_Stope_
Drilling_work_is_evaluated_based_on_the_holes_drilled_and_blasts_0Conseq
uenceInvoker.java:22)
at
org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:550)
at
org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:514)
at
org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemo
ry.java:434)
at
org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemo
ry.java:396)
at
com.lonmin.bns.domain.rules.RulesEngine.calculateStopeDrillingBonus(Rule
sEngine.java:54)
at
com.lonmin.bns.domain.model.StopeDrillingCardPersister.processDetail(Sto
peDrillingCardPersister.java:371)
at
com.lonmin.bns.domain.model.StopeDrillingCardPersister.processCard(Stope
DrillingCardPersister.java:276)
at
com.lonmin.bns.domain.model.StopeDrillingCardPersister.process(StopeDril
lingCardPersister.java:69)
at
com.lonmin.bns.domain.model.ValueObjectPersister.persist(ValueObjectPers
ister.java:38)
at
com.lonmin.bns.domain.model.StopeDrillingCardPersisterTest.testEditStope
DrillingCard(StopeDrillingCardPersisterTest.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe
stRunner.java:392)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRun
ner.java:276)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRu
nner.java:167)
"Employees of Lonmin Platinum ("Lonplats") are not authorised to conclude
electronic transactions or to enter into electronic agreements on behalf
of Lonplats. Any electronic signature (other than an advanced electronic
signature as defined in the Electronic Communications and Transactions
Act of 2003) added to a data message (such as an email or an attachment
to an (email) ostensibly on behalf of Lonplats by a Lonplats employee shall
not be legally binding on Lonplats and Lonplats shall incur no liability of
any nature whatsoever, directly or indirectly, arising from such act on the
part of it's employee. It is further recorded that nothing (other than an
advanced electronic signature) inserted into any data message
emanating from Lonplats shall be construed as constituting an electronic
signature"
17 years, 2 months
Re: [rules-users] executing specific rules using agenda group
by Sankar S
>
> Hello Prateek,
I am using Drools 4.0. I have the sample rule for agenda-group with
output.Hope it helps you.
Regards
Sankar S
OUTPUT
rule1
rule4
rule3
rule2
rule2.1
RULE
package com.sample.agenda
rule "rule1" agenda-group "rulegroup1" auto-focus true
when
eval(true)
then
System.out.println("rule1");
end
rule "rule2" agenda-group "rulegroup2"
salience 12
when
eval(true)
then
System.out.println("rule2");
end
rule "rule2.1" agenda-group "rulegroup2"
salience 10
when
eval(true)
then
System.out.println("rule2.1");
end
rule "rule3" agenda-group "rulegroup3"
when
eval(true)
then
System.out.println("rule3");
drools.setFocus("rulegroup2");
end
rule "rule4" agenda-group "MAIN"
when
eval(true)
then
System.out.println("rule4");
drools.setFocus("rulegroup3");
end
Date: Mon, 1 Oct 2007 10:43:28 +0530
> From: <prateek.katiyar(a)wipro.com>
> Subject: [rules-users] executing specific rules using agenda group
> To: <rules-users(a)lists.jboss.org>
> Message-ID:
> <A94AD757879CE142B7CEBC3E6FF5D3EC02C6A9BE(a)BLR-EC-MBX02.wipro.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> Hi
>
> I am using Drools 4.0.
> First time I want to fire some specific rules from my rule file(in .xml
> format) and then other rules for the second time.
> I have defined agenda-group attribute for the rules as follows:
>
> <rule-attribute name="agenda-group" value="Check-rfq"/>
>
> how can I execute specific rules using agenda group or is there any other
> options are available.
> When I had gone through Drools documentation ,they mentioned Listener api
> can be used to execute specific rules but I did not find enough information
> on Listener.
> Please let me know how can I implement Listener api to execute specific
> rules.
>
> Thanks
>
> With Regards
> Prateek
>
>
17 years, 2 months
executing specific rules using agenda group
by prateek.katiyar@wipro.com
Hi
I am using Drools 4.0.
First time I want to fire some specific rules from my rule file(in .xml format) and then other rules for the second time.
I have defined agenda-group attribute for the rules as follows:
<rule-attribute name="agenda-group" value="Check-rfq"/>
how can I execute specific rules using agenda group or is there any other options are available.
When I had gone through Drools documentation ,they mentioned Listener api can be used to execute specific rules but I did not find enough information on Listener.
Please let me know how can I implement Listener api to execute specific rules.
Thanks
With Regards
Prateek
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
17 years, 2 months
ClassNotFound exception running brms example (newbie)
by Martin Fuzzey
Hi,
I am trying to run the insurance example with the brms
after replacing the client mvel jar with the one used by the brms web
app as mentionned on this list I get this exeception (full stacktrace below)
java.lang.ClassNotFoundException:
org.drools.rule.builder.dialect.mvel.MVELDialect$ModifyInterceptor
adding the drools-compiler-4.0.1.jar to the client classpath fixes this
but I thought the rules were supposed to be compiled by the brms. Indeed
the documentation says :
The rule agent is a component which is embedded in the core runtime of
the rules engine. To use this, you don't need any extra components. In
fact, if you are using the BRMS, your application should only need to
include the drools-core.jar in its classpath, and no other rules
specific dependencies.
so am I misunderstanding something or is this a bug?
Thanks,
Martin Fuzzey
RuleAgent(insuranceconfig) INFO (Sun Sep 30 14:02:33 CEST 2007):
Configuring with newInstance=true, secondsToRefresh=30
RuleAgent(insuranceconfig) INFO (Sun Sep 30 14:02:33 CEST 2007):
Configuring package provider : URLScanner monitoring URLs:
http://localhost:8080/drools-jbrms/org.drools.brms.JBRMS/package/org.acme...
with local cache dir of /home/martin/tmp
RuleAgent(insuranceconfig) EXCEPTION (Sun Sep 30 14:02:34 CEST 2007):
org.drools.rule.builder.dialect.mvel.MVELDialect$ModifyInterceptor.
Stack trace should follow.
java.lang.ClassNotFoundException:
org.drools.rule.builder.dialect.mvel.MVELDialect$ModifyInterceptor
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at
java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)
at
org.drools.common.DroolsObjectInputStream.resolveClass(DroolsObjectInputStream.java:74)
at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
at
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at java.util.HashMap.readObject(HashMap.java:1029)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at java.util.HashMap.readObject(HashMap.java:1029)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at org.drools.rule.Package.readExternal(Package.java:189)
at
java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at
org.drools.agent.HttpClientImpl.fetchPackage(HttpClientImpl.java:54)
at org.drools.agent.URLScanner.readPackage(URLScanner.java:137)
at org.drools.agent.URLScanner.getChangeSet(URLScanner.java:109)
at
org.drools.agent.URLScanner.loadPackageChanges(URLScanner.java:88)
at org.drools.agent.RuleAgent.checkForChanges(RuleAgent.java:327)
at org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:295)
at org.drools.agent.RuleAgent.configure(RuleAgent.java:281)
at org.drools.agent.RuleAgent.init(RuleAgent.java:205)
at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:173)
at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:145)
at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:213)
at
org.acme.insurance.launcher.InsuranceBusiness.loadRuleBase(InsuranceBusiness.java:26)
at
org.acme.insurance.launcher.InsuranceBusiness.executeExample(InsuranceBusiness.java:14)
at org.acme.insurance.launcher.MainClass.main(MainClass.java:13)
RuleAgent(insuranceconfig) WARNING (Sun Sep 30 14:02:35 CEST 2007): Was
unable to load a class when loading a package. Perhaps it is missing
from this appl
17 years, 2 months