Drls & bpmns not loading in tomcat 6.0.32
by rahulkrishnan
Hi
I have tried to deploy .drl file &.bpmn file using
flowKBuilder.add(ResourceFactory.newClassPathResource("ConnectorRules.DRL"),
ResourceType.DRL);
n
flowKBuilder.add(ResourceFactory.newClassPathResource("ConnectorFlow.bpmn"),ResourceType.BPMN2);
which am able to do in JBOSS AS. But when i tried this in tomcat it is
not happening it is throwing File Not Found Exception. I have tried
"newFileResource" & new inputStreamResource also but the result is same as
above.
--
View this message in context: http://drools.46999.n3.nabble.com/Drls-bpmns-not-loading-in-tomcat-6-0-32...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 3 months
Call for Papers: 6th International Conference on Web Reasoning and Rule Systems
by Wolfgang Laun
CALL FOR PAPERS
RR 2012
The 6th International Conference on Web Reasoning and Rule Systems
Vienna, Austria, 10-12 September 2012
http://www.rr-conference.org/RR2012/
The International Conference on Web Reasoning and Rule Systems (RR)
is a major forum for discussion and dissemination of new results
concerning Web Reasoning and Rule Systems.
== Highlights in 2012 ==
In addition to regular papers, RR 2012 solicits the submission of
TECHNICAL COMMUNICATIONS (TCs) that report about some interesting
recent work, preliminary result, or inspiring viewpoint. Selected
TCs will be invited for a full presentation like regular papers.
RR 2012 is co-located with a number of interesting events:
- 8th Reasoning Web Summer School
4-8 September, http://reasoningweb.org/2012/
- COMMA 2012: 4th Int. Conf. on Computational Models of Argument
10-12 September, http://www.kr.tuwien.ac.at/events/comma2012/
- DEXA 2012: 23rd Int. Conf. on Database and Expert Systems
Applications 03-07 September, http://www.dexa.org/
- 2nd Workshop "Datalog 2.0"
11-13 September, http://www.dbai.tuwien.ac.at/event/datalog-2.0/
The Reasoning Web Summer School is a great opportunity particularly
for young researchers to combine with attendance of the conference.
Submissions by summer school participants are particularly encouraged.
== Topics ==
RR welcomes original research from all areas of Web Reasoning.
Topics of particular interest are:
- Semantic Web, Rule and Ontology Languages, and related logics
- Reasoning, Querying, Searching and Optimization
- Incompleteness, Inconsistency and Uncertainty
- Non-monotonic, Commonsense, and Closed-World Reasoning for the Web
- Dynamic information, Stream Reasoning and Complex Event Processing
- Decision Making, Planning, and Intelligent Agents
- Reasoning, Machine Learning, Knowledge Extraction and
IR Technologies
- Large-scale data management and reasoning on the Web of Data
- Data Integration, Dataspaces and Ontology-Based Data Access
- Non-Standard Reasoning
- Algorithms for distributed, parallelized, and scalable reasoning
- System Descriptions and Experimentation
- Applications and Experience Papers
== Submissions ==
The conference proceedings will be published by Springer within the
Lecture Notes in Computer Science (LNCS) series. Submissions must
be prepared in Springer's LaTeX style llncs (http://bit.ly/oPRW8y).
There are two submission formats:
- Full papers (up to 15 pages)
Original research works in the above areas
- Technical Communications (up to 4 pages)
Results and ideas with interest to the RR audience,
including reports about recent own publications, position papers,
and presentations of preliminary results
All accepted works will be included in the proceedings, with
Technical Communications clearly marked as such. All full papers and
selected Technical Communications will be invited to give a talk at
the conference. All accepted works will have the opportunity to
present a poster.
Submissions can be made in EasyChair:
http://www.easychair.org/conferences/?conf=rr2012
== Important Dates ==
Abstract submission: May 14, 2012
Full papers submission: May 23, 2012
Notification of acceptance: June 22, 2012
== Invited Speakers ==
(in preparation)
== Program Committee ==
- Darko Anicic
- Jean-François Baget
- Chitta Baral
- Salem Benferhat
- Fernando Bobillo
- Gerhard Brewka
- François Bry
- Diego Calvanese
- Vinay Chaudhri
- Kendall Clark
- Tommaso Di Noia
- Francesco M Donini
- Thomas Eiter
- Michael Fink
- Birte Glimm
- Claudio Gutierrez
- Andreas Harth
- Aidan Hogan
- Giovambattista Ianni
- Yevgeny Kazakov
- Michael Kifer
- Clemens Kupke
- Georg Lausen
- Domenico Lembo
- Francesca Alessandra Lisi
- Thomas Lukasiewicz
- Wolfgang May
- Alessandra Mileo
- Ralf Moeller
- Marie-Laure Mugnier
- Magdalena Ortiz
- Jeff Z. Pan
- Rafael Peñaloza
- Axel Polleres
- Andrea Pugliese
- Guilin Qi
- Sebastian Rudolph
- Steven Schockaert
- Mantas Simkus
- Sergio Tessaris
- Andrei Voronkov
== Organization ==
General chair:
- Pascal Hitzler, Wright State University
Program chairs:
- Markus Krötzsch, University of Oxford
- Umberto Straccia, ISTI-CNR
Local Chair:
- Thomas Eiter, TU Vienna
Doctoral Consortium Chair:
- Alessandra Mileo, DERI Galway
Sponsorship Chair:
- Marco Maratea, University of Genova
Publicity Chair:
- Francesco Calimeri, University of Calabria
13 years, 3 months
How to easily track my fired rules
by Lavoisier Farias
Hi everybody,
I am new at Drools and I would to know the following question:
1) How do I track the rules which had been fired in a session ? I am using
JUnit, Drools 5.1, and I am starting my session is described in the code
right below. So, could you please help me to figure out how can I
understand what were the Rules been fired in a session ?
2) I was using the old and almost dumbest ones: System.out.println(""); But
this is very tedious.
Regards.
--
*Abraços,
Lavoisier José Leite Farias*
Skype: lavoisierfarias
Celular: 019-8122-1177
Twitter: http://twitter.com/LavoisierFarias
13 years, 3 months
Drools Server 5.1.1 - can't run test.jsp
by OlliSee
Hi there.
I was trying to setup the Drools Server. As I understand, this is not a
server per se, its just the usual Drools with some framework plumbing. But I
appreciate not having to do that myself. But I can't get it to work.
I imported the .war file into my Eclipse and tried to deploy it to a few
application servers, but it didn't work.
I tried Tomcat 6/7, JBoss AS 4.2.2/4.2.3/5.0.1/5.1.0 (I know, they are just
using Tomcat, but I gave it a shot anyway...).
The .war deploys right I guess. But as soon as I try to run the test.jsp, I
get a lot of errors.
The log below is from Tomcat 6,...
31.01.2011 10:51:00 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
C:\Programme\Java\jdk1.6.0_22\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Programme/Java/jre6/bin/client;C:/Programme/Java/jre6/bin;C:/Programme/Java/jre6/lib/i386;C:\Programme\ActiveState
Komodo Edit 6\;C:\Programme\Mendeley
Desktop\wordPlugin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;%JAVA_HOME%\bin;C:\Programme\QuickTime\QTSystem\;C:\derby\bin
31.01.2011 10:51:00 org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
property 'source' to 'org.eclipse.jst.jee.server:drools-5.1.1-server' did
not find a matching property.
31.01.2011 10:51:00 org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
31.01.2011 10:51:00 org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
31.01.2011 10:51:00 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 616 ms
31.01.2011 10:51:00 org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
31.01.2011 10:51:00 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.6
31.01.2011 10:51:01 org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO: validateJarFile(C:\Dokumente und Einstellungen\o.roess\Eigene
Dateien\Drools Server
Workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\drools-5.1.1-server\WEB-INF\lib\servlet-api-2.3.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/servlet/Servlet.class
31.01.2011 10:51:11 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger
(org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
31.01.2011 10:51:18 org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be /kservice/rest
31.01.2011 10:51:18 org.apache.cxf.transport.servlet.CXFServlet
updateContext
INFO: Load the bus with application context
31.01.2011 10:51:19 org.apache.cxf.transport.servlet.AbstractCXFServlet
replaceDestinationFactory
INFO: Servlet transport factory already registered
31.01.2011 10:51:19 org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["http-bio-8080"]
31.01.2011 10:51:19 org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
31.01.2011 10:51:19 org.apache.catalina.startup.Catalina start
INFO: Server startup in 18193 ms
Maybe there is already something wrong?
Ok then, this happens when I try to navigate to the test.jsp in my browser
31.01.2011 10:55:00 org.apache.cxf.phase.PhaseInterceptorChain
doDefaultLogging
WARNUNG: Interceptor for
{http://localhost:8080/drools-server-app/kservice/rest}WebClient has thrown
exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.
at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
at
org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:615)
at
org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:596)
at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:241)
at
org.apache.camel.component.cxf.jaxrs.CxfRsProducer.invokeHttpClient(CxfRsProducer.java:129)
at
org.apache.camel.component.cxf.jaxrs.CxfRsProducer.process(CxfRsProducer.java:71)
at
org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)
at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
at
org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:104)
at
org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:272)
at
org.apache.camel.processor.SendProcessor.process(SendProcessor.java:98)
at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
at
org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)
at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
at
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:290)
at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:202)
at
org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)
at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:143)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:78)
at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
at
org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)
at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
at
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:290)
at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:202)
at
org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)
at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:113)
at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)
at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
at
org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:61)
at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:99)
at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:85)
at
org.apache.camel.processor.UnitOfWorkProducer.process(UnitOfWorkProducer.java:63)
at
org.apache.camel.impl.ProducerCache$1.doInProducer(ProducerCache.java:333)
at
org.apache.camel.impl.ProducerCache$1.doInProducer(ProducerCache.java:304)
at
org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:208)
at
org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:303)
at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:171)
at
org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:114)
at
org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:118)
at
org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:135)
at
org.apache.camel.impl.DefaultProducerTemplate.requestBody(DefaultProducerTemplate.java:283)
at
org.apache.camel.impl.DefaultProducerTemplate.requestBody(DefaultProducerTemplate.java:313)
at org.drools.server.Test.execute(Test.java:68)
at org.drools.server.Test.send(Test.java:60)
at org.apache.jsp.test_jsp._jspService(test_jsp.java:77)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:550)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: IOException invoking
http://localhost:8080/drools-server-app/kservice/rest/execute: HTTP response
'404: Not Found'
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.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:2058)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:2043)
at
org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
at
org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:639)
at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
... 79 more
Caused by: java.io.IOException: HTTP response '404: Not Found'
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2194)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2134)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1988)
... 82 more
Anyone got an idea?
Thanks!
Kind regards
Oliver
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Server-5-1-1-c...
Sent from the Drools - User mailing list archive at Nabble.com.
13 years, 3 months
drools variable
by freejava
Hello,
I am a newbie to drools and I have a question on the 'drools' global (?)
variable.
rule "035"
when
MessageBodyType($l : lineItems)
eval(! dao.checkParty($l, "BY", drools))
then
appendMessage(drools)
end
In the above rule, when the checkParty method is called, I am getting a null
value for drools variable.
Whereas when the append message is called I am getting a
"DefaultKnowldgeHelper" object for drools variable.
Can I use 'drools' variable in the when part ?
Thanks for your help.
--
View this message in context: http://drools.46999.n3.nabble.com/drools-variable-tp3586514p3586514.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 3 months
More temporal operator questions
by Mike Melton
If you'll indulge me, I have a couple more questions on temporal
operators. I have specific requirements where the built-in operators
don't *quite* fit. I'm finding workarounds but I don't love them and
basically I'm looking for validation of my approach or better ideas.
1. I need an operator that means "includes with endpoints". In other
words, "A includeswithendpoints B" means A.start <= B.start < B.end <=
A.end. Another way to look at it is: A "includes or coincides or
starts or finishedby" B.
I've been messing around with the parameters to includes. Ideally, I'd
represent this as "includes[0, duration]", where "duration" is A's
duration. This would mean that the minimum distance between the start
and end timestamps is 0 and the maximum distance between the start and
end points is Event A's duration. However, I haven't been able to find
a way to pass a dynamic parameter to the operator.
My workaround in this case is "includes[0, 1000000d]", where 1000000d
is just an arbitrarily large number. My tests so far have borne this
out as working, but I don't like it because it's not very
self-explanatory; everywhere I use it, I will need to include a
comment. The beauty of the temporal operators is that they are
intuitive and I feel like this workaround is compromising that.
2. Given an interval-based event A and a point-in-time event B, I need
an operator which means A "finishedby or includes" B; i.e., A.start <
B.timestamp <= A.end.
Similarly, in this case, the workaround is "includes[1ms, 1000000d, 0,
1000000d]". This takes the ugliness and need for explanatory comments
to a new level.
A few questions:
1. Is there any technical reason why my workarounds won't work
(besides the obvious one where there is an event that lasts 1000001
days)?
2. Are there better solutions? (e.g., can I define my own operators?)
3. As a general rule, I avoid using "or" logic in my rules. However,
is this a case where I should consider it? To me, "EventA( this
includes $eventB || this finishedby $eventB )" is much cleaner than
"EventA( this includes[1ms, 1000000d, 0, 1000000d] $eventB )", but
that doesn't mean I like it.
Thanks in advance for any feedback.
Mike
13 years, 3 months
Cross Reference Utility
by ronalbury
Is there a cross reference utility, that will allow me to easily find the
rules which reference a specific class and/or specific attribute? I'm
hoping for something like the standard Java 'references' report.
I'm guessing (based on what I've read) that the Drools compiler generates a
bunch of Java classes behind the scenes ... is there any way to get it to
leave those Java artifacts so that I could get a 'references' report from
them?
Thanks
Ron
--
View this message in context: http://drools.46999.n3.nabble.com/Cross-Reference-Utility-tp3583733p35837...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 3 months
Many to many matching using Drools rules
by Zhuo Li
Folks,
I am recently working on a BI project which is doing reconciliation between
repository and accounting. I'm using Drools 5.1.1 to maintain all these
matching rules. One scenario I have no clue to implement in Drools is that I
need to find x transactions from repository, to match y transactions from
accounting, while existing repository transactions and accounting
transactions are bigger than x and y. Does anybody have experience to do
similar thing in Drools?
Best Abe
13 years, 3 months