Problems when using drools-server
by Zhang Jing-A52198
Hi All,
When I access the drools-server by URLConnection, I've always got such
errors:
WARNING: RuleAgent(default) EXCEPTION (Mon Feb 02 16:09:46 CST 2009):
org.drools.base.BaseEvaluator; local class incompatible: stream
classdesc serialVersionUID = -7767879457606879276, local class
serialVersionUID = -7149415669283058142. Stack trace should follow.
WARNING: java.io.InvalidClassException: org.drools.base.BaseEvaluator;
local class incompatible: stream classdesc serialVersionUID =
-7767879457606879276, local class serialVersionUID =
-7149415669283058142
at
java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
at
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
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
org.drools.rule.LiteralRestriction.readExternal(LiteralRestriction.java:
66)
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.rule.LiteralConstraint.readExternal(LiteralConstraint.java:67
)
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 java.util.ArrayList.readObject(ArrayList.java:593)
at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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:1849)
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.Pattern.readExternal(Pattern.java:115)
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 java.util.ArrayList.readObject(ArrayList.java:593)
at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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:1849)
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.GroupElement.readExternal(GroupElement.java:57)
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.rule.Rule.readExternal(Rule.java:170)
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 java.util.HashMap.readObject(HashMap.java:1029)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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:1849)
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.MVELDialectRuntimeData.readExternal(MVELDialectRuntimeDa
ta.java:42)
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 java.util.HashMap.readObject(HashMap.java:1030)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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:1849)
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.DialectRuntimeRegistry.readExternal(DialectRuntimeRegist
ry.java:41)
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.rule.Package.readExternal(Package.java:197)
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.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:189)
at
org.drools.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:158)
at
org.drools.agent.HttpClientImpl.fetchPackage(HttpClientImpl.java:47)
at
org.drools.agent.URLScanner.readPackage(URLScanner.java:148)
at
org.drools.agent.URLScanner.getChangeSet(URLScanner.java:120)
at
org.drools.agent.URLScanner.loadPackageChanges(URLScanner.java:96)
at
org.drools.agent.RuleAgent.checkForChanges(RuleAgent.java:410)
at
org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:362)
at
org.drools.agent.RuleAgent.configure(RuleAgent.java:347)
at org.drools.agent.RuleAgent.init(RuleAgent.java:247)
at
org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:187)
at
org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:147)
at
org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:256)
at
org.drools.server.KnowledgeStatelessServlet.getRuleBase(KnowledgeStatele
ssServlet.java:109)
at
org.drools.server.KnowledgeStatelessServlet.doPost(KnowledgeStatelessSer
vlet.java:71)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at
org.apache.catalina.core.ApplicationFilterChain.servletService(Applicati
onFilterChain.java:411)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:317)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:198)
at
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFi
lter.java:390)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:230)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:198)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:288)
at
WARNING:
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:271)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:202)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:577)
at
com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:206)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
71)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:150)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
71)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdap
ter(DefaultProcessorTask.java:637)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(
DefaultProcessorTask.java:568)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(De
faultProcessorTask.java:813)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcesso
rTask(DefaultReadTask.java:341)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultR
eadTask.java:263)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultR
eadTask.java:214)
at
com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(Po
rtUnificationPipeline.java:380)
at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWork
erThread.java:106)
WARNING: java.lang.NullPointerException
at
org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:363)
at
org.drools.agent.RuleAgent.configure(RuleAgent.java:347)
at org.drools.agent.RuleAgent.init(RuleAgent.java:247)
at
org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:187)
at
org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:147)
at
org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:256)
at
org.drools.server.KnowledgeStatelessServlet.getRuleBase(KnowledgeStatele
ssServlet.java:109)
at
org.drools.server.KnowledgeStatelessServlet.doPost(KnowledgeStatelessSer
vlet.java:71)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at
org.apache.catalina.core.ApplicationFilterChain.servletService(Applicati
onFilterChain.java:411)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:317)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:198)
at
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFi
lter.java:390)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:230)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:198)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:288)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:271)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:202)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:577)
at
com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:206)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
71)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:150)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
71)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdap
ter(DefaultProcessorTask.java:637)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(
DefaultProcessorTask.java:568)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(De
faultProcessorTask.java:813)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcesso
rTask(DefaultReadTask.java:341)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultR
eadTask.java:263)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultR
eadTask.java:214)
at
com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(Po
rtUnificationPipeline.java:380)
at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWork
erThread.java:106)
Can anyone help me to fix this problem? I've got the same errors when
trying to run KnowledgeServiceServletTest.java from the drool-server
source code.
Thanks,
Jing
15 years, 11 months
Drools test failure on OS X
by Karl Schwamb
My platform is OS X 10.5.6 running Java 1.5.0_16 and Maven 2.0.9. When I
run Maven for a build I get no failures in the unit tests but I get numerous
errors which leads to a build failure. The command line was simply
mvn clean install
The end of the JUnit report is:
=====================
Results :
Tests in error:
testTaskMultipleActors(org.drools.process.workitem.wsht.WSHumanTaskHandlerTest)
testTaskFail(org.drools.process.workitem.wsht.WSHumanTaskHandlerTest)
testTaskSkip(org.drools.process.workitem.wsht.WSHumanTaskHandlerTest)
testTaskAbortSkippable(org.drools.process.workitem.wsht.WSHumanTaskHandlerTest)
testTaskAbortNotSkippable(org.drools.process.workitem.wsht.WSHumanTaskHandlerTest)
testTaskData(org.drools.process.workitem.wsht.WSHumanTaskHandlerTest)
testAddRemoveComment(org.drools.task.service.TaskServiceCommentsAndAttachmentsTest)
testAddRemoveAttachment(org.drools.task.service.TaskServiceCommentsAndAttachmentsTest)
testLifeCycle(org.drools.task.service.TaskLifeCycleTest)
testLifeCycleMultipleTasks(org.drools.task.service.TaskLifeCycleTest)
testNewTaskWithNoPotentialOwners(org.drools.task.service.TaskServiceLifeCycleTest)
testNewTaskWithSinglePotentialOwner(org.drools.task.service.TaskServiceLifeCycleTest)
testNewTaskWithContent(org.drools.task.service.TaskServiceLifeCycleTest)
testClaimWithMultiplePotentialOwners(org.drools.task.service.TaskServiceLifeCycleTest)
testStartFromReadyStateWithPotentialOwner(org.drools.task.service.TaskServiceLifeCycle\
Test)
testStartFromReadyStateWithIncorrectPotentialOwner(org.drools.task.service.TaskService\
LifeCycleTest)
testStartFromReserved(org.drools.task.service.TaskServiceLifeCycleTest)
testStartFromReservedWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycleTes\
t)
testStop(org.drools.task.service.TaskServiceLifeCycleTest)
testStopWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycleTest)
testReleaseFromInprogress(org.drools.task.service.TaskServiceLifeCycleTest)
testReleaseFromReserved(org.drools.task.service.TaskServiceLifeCycleTest)
testReleaseWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycleTest)
testSuspendFromReady(org.drools.task.service.TaskServiceLifeCycleTest)
testSuspendFromReserved(org.drools.task.service.TaskServiceLifeCycleTest)
testSuspendFromReservedWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycleT\
est)
testResumeFromReady(org.drools.task.service.TaskServiceLifeCycleTest)
testResumeFromReserved(org.drools.task.service.TaskServiceLifeCycleTest)
testResumeFromReservedWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycleTe\
st)
testSkipFromReady(org.drools.task.service.TaskServiceLifeCycleTest)
testSkipFromReserved(org.drools.task.service.TaskServiceLifeCycleTest)
testDelegateFromReady(org.drools.task.service.TaskServiceLifeCycleTest)
testDelegateFromReserved(org.drools.task.service.TaskServiceLifeCycleTest)
testDelegateFromReservedWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycle\
Test)
testForwardFromReady(org.drools.task.service.TaskServiceLifeCycleTest)
testForwardFromReserved(org.drools.task.service.TaskServiceLifeCycleTest)
testForwardFromReservedWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycleT\
est)
testComplete(org.drools.task.service.TaskServiceLifeCycleTest)
testCompleteWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycleTest)
testCompleteWithContent(org.drools.task.service.TaskServiceLifeCycleTest)
testFail(org.drools.task.service.TaskServiceLifeCycleTest)
testFailWithIncorrectUser(org.drools.task.service.TaskServiceLifeCycleTest)
testFailWithContent(org.drools.task.service.TaskServiceLifeCycleTest)
testSendWithStartandEndDeadline(org.drools.task.service.IcalTest)
testSendWithStartDeadline(org.drools.task.service.IcalTest)
testSendWithEndDeadline(org.drools.task.service.IcalTest)
testSendWithNoDeadline(org.drools.task.service.IcalTest)
testClaimEvent(org.drools.task.service.TaskServiceEventMessagingTest)
testDelayedEmailNotificationOnDeadline(org.drools.task.service.TaskServiceDeadlinesTes\
t)
testDelayedReassignmentOnDeadline(org.drools.task.service.TaskServiceDeadlinesTest)
testTasksOwnedQueryWithI18N(org.drools.task.service.TaskServiceTest)
testPeopleAssignmentQueries(org.drools.task.service.TaskServiceTest)
Tests run: 58, Failures: 0, Errors: 52, Skipped: 0
=====================
Looking at the trace I see a number of exceptions that look similar. Does
the following exception indicate a root cause that may resolve this issue?
Or do the above errors indicate another problem?
Thanks!
=====================
...
Jan 27, 2009 7:57:17 PM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: schema export complete
Exception in thread "Thread-5" java.lang.RuntimeException: Server Exception
with class c\
lass org.drools.task.service.MinaTaskServer using port 9123
at
org.drools.task.service.BaseMinaServer.run(BaseMinaServer.java:38)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at
org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor\
.java:235)
at
org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor\
.java:48)
at
org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHandles(Abstra\
ctPollingIoAcceptor.java:485)
at
org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$200(AbstractPol\
lingIoAcceptor.java:67)
at
org.apache.mina.core.polling.AbstractPollingIoAcceptor$Worker.run(AbstractPol\
lingIoAcceptor.java:385)
at
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:5\
1)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.jav\
a:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:67\
5)
... 1 more
Jan 27, 2009 7:57:18 PM org.hibernate.impl.SessionFactoryImpl close
[...]
[ stack trace above repeated 4 more times]
INFO: Mapping collection: org.drools.task.Notification.descriptions ->
I18NText
Jan 27, 2009 7:57:26 PM org.hibernate.cfg.annotations.CollectionBinder
bindOneToManySeco\
ndPass
Tests run: 7, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 14.42 sec
<<< FAILURE!
Running org.drools.task.service.TaskServiceCommentsAndAttachmentsTest
[... more intermittent exceptions with stack traces ...]
15 years, 11 months
Dynamic Facts: how to get jar wih Facts declared in drl
by Oleg Zenzin
I'm working on having rules set published as a web-service. Previously we
were able to package drl descriptor along with fact POJO's in *.aar (axis2
packaged web-service). The problem though is not to create and package
Drools engine client [within web-service]. The thing is I'm looking to
preserve approach I used to generate wsdl: using axis2 java2wsdl and having
all defined in Java classes I got the result easily. So if there's
possibility to keep it (for awhile, later I'm going to work on drl-to-wsdl
interpreter) I would gain from it timewise.
Thank you!
-Oleg
On Tue, Feb 3, 2009 at 10:00 AM, <rules-dev-request(a)lists.jboss.org> wrote:
> Send rules-dev mailing list submissions to
> rules-dev(a)lists.jboss.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.jboss.org/mailman/listinfo/rules-dev
> or, via email, send a message with subject or body 'help' to
> rules-dev-request(a)lists.jboss.org
>
> You can reach the person managing the list at
> rules-dev-owner(a)lists.jboss.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of rules-dev digest..."
>
>
> Today's Topics:
>
> 1. Re: Dynamic Facts: how to get jar wih Facts declared in drl
> (Edson Tirelli)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 2 Feb 2009 21:19:47 -0500
> From: Edson Tirelli <tirelli(a)post.com>
> Subject: Re: [rules-dev] Dynamic Facts: how to get jar wih Facts
> declared in drl
> To: Rules Dev List <rules-dev(a)lists.jboss.org>
> Message-ID:
> <e6dd5ba30902021819x134f75fq2161805dc27f423f(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Sorry, Michael just told me that he is not exposing that to users. My
> mistake.
>
> What is your need? Would an API solve your problem?
>
> []s
> Edson
>
> 2009/2/2 Oleg Zenzin <zenzin(a)intalio.com>
>
> > Hi there, and thanks for your quick responses
> >
> > A week or so ago I got a response to my question about instantiation of
> > facts declared in DRL. I also got this from Edson:
> >
> > > Also, if you use Guvnor to define your model, Guvnor is capable of
> > > generating a jar file for you with the generated classes. This way you
> > can
> > > download the jar and add it to the classpath of your application and
> use
> > it
> > > as any POJOs too.
> >
> > I've looked thru Guvnor UI, but was unable to find where this jar is to
> be
> > retrieved from. Is there some undocumented API (or servlet) to be called
> to?
> >
> > Thanks!
> > -Oleg Zenzin
> >
> > _______________________________________________
> > rules-dev mailing list
> > rules-dev(a)lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-dev
> >
> >
>
>
> --
> Edson Tirelli
> JBoss Drools Core Development
> JBoss, a division of Red Hat @ www.jboss.com
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.jboss.org/pipermail/rules-dev/attachments/20090202/d7d46d9c/...
>
> ------------------------------
>
> _______________________________________________
> rules-dev mailing list
> rules-dev(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
> End of rules-dev Digest, Vol 26, Issue 8
> ****************************************
>
15 years, 11 months
Drools Community Clinic Feb 4th 5PM GMT
by Mark Proctor
I'm going to try an informal experiment for the 4th of February at 5PM
GMT (Date/Time subject to change), we will run an online Drools Clinic
in the form of a Webinar. So the idea here isn't of a 60 minute
presentation, but really more of a 60 minute interactive Q&A where we
will use the desktop to assist in some explanations talking through code
or examples. What do people think?
Ideally we would have a set of pre-determined questions, with some adhoc
ones on the day too. Feel free to start listing your Qs here. I want to
avoid "What's WorkingMemory" type questions, but other than that,
anything is game. Also if anyone has anything cool they would like to
discuss about how they have used Drools, or just general interesting AI
ideas, then that's fine too - happy for this just to turn into a fun
geek chat too.
Mark
15 years, 11 months
Dynamic Facts: how to get jar wih Facts declared in drl
by Oleg Zenzin
Hi there, and thanks for your quick responses
A week or so ago I got a response to my question about instantiation of
facts declared in DRL. I also got this from Edson:
> Also, if you use Guvnor to define your model, Guvnor is capable of
> generating a jar file for you with the generated classes. This way you can
> download the jar and add it to the classpath of your application and use
it
> as any POJOs too.
I've looked thru Guvnor UI, but was unable to find where this jar is to be
retrieved from. Is there some undocumented API (or servlet) to be called to?
Thanks!
-Oleg Zenzin
15 years, 11 months