<!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">
I have a WAR with a working WS that uses Drools 3.0.1<br>
<br>
Would that help?<br>
<br>
If so, just let me know and I can ship it to you.<br>
<br>
Burr<br>
<br>
Mohammed JBossRules wrote:
<blockquote
cite="mid:e6bc4ec80707200748t2c594b4an504ae2c810f526b7@mail.gmail.com"
type="cite"><br>
<br>
<div><span class="gmail_quote">2007/7/20, Mohammed JBossRules <<a
moz-do-not-send="true" href="mailto:jboss.lakehayli@gmail.com">jboss.lakehayli@gmail.com</a>>:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,
<br>
an other question , when i'm trying to execute the same code in the
sample test java file provided by the wizard, I get some other errors :<br>
<br>
java.lang.NoClassDefFoundError: org/drools/WorkingMemory<br>
at java.lang.Class.getDeclaredConstructors0(Native Method)<br>
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)<br>
at java.lang.Class.getConstructor0(Unknown Source)<br>
at java.lang.Class.newInstance0
(Unknown Source)<br>
at java.lang.Class.newInstance(Unknown Source)<br>
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1104)<br>
at org.apache.catalina.core.StandardWrapper.allocate
(
StandardWrapper.java:806)<br>
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)<br>
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)<br>
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)<br>
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)<br>
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:109)<br>
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)<br>
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)<br>
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
(Http11Protocol.java:581)<br>
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)<br>
at java.lang.Thread.run(Unknown Source)<br>
<br>
<br>
it works fine if i'm using a simple class, but when i try to use my
servlet, it falls; <br>
<br>
and finally, is it possible to contribute withe a tutorial showing how
to set up drools on eclipse and running a DroolsTest sample
file,(arabic, english and frensh version) that's all i can propose for
the moment.
<br>
<br>
thank you. <br>
<br>
<br>
<br>
<br>
<br>
<br>
<div><span class="gmail_quote">2007/7/20, Mohammed JBossRules <<a
moz-do-not-send="true" href="mailto:jboss.lakehayli@gmail.com"
target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
jboss.lakehayli@gmail.com</a>>:</span>
<div><span class="e" id="q_113e416b7adf4cd7_1">
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hello,<br>
Thank you all for your replays; as you've suggested, what i should<br>
import into my build path was not the core and compiler but all the set<br>
contained in the drools library, maybe that would help someone later!
<br>
here is the list of jars<br>
antlr-runtime.jar<br>
drools-compiler.jar<br>
drools-core.jar<br>
drools-decisiontables.jar<br>
drools-documentation.jar<br>
drools-jsr94.jar<br>
jsr94.jar<br>
junit.jar<br>
jxl.jar<br>
mvel14.jar<br>
xercesImpl.jar<br>
xml-apis.jar<br>
xpp3.jar<br>
xstream.jar<br>
Thankyou Mark for the link<br>
with kind regards,<br>
<br>
ps: tried many times to post this mail yesterday but seems that it<br>
doesn't work, sorry if you received it more than once!
<br>
Mohammed JBossRules wrote:<br>
> Hello,<br>
><br>
> I'm a new user for JBossRules, and I'm feeling like turning around<br>
> since a while, so i thought that sole body could help...<br>
> I'm using JBossRules(
V4.0.0.12865MR3) on eclipse (Version: 3.3.0 Build<br>
> id: I20070621-1340) on MS-Windows XP and Java(TM) SE Runtime<br>
> Environment (build 1.6.0_01-b06)<br>
> now the problem is how to use my rules (simple rules in a DRL
file) in
<br>
> a dynamic project based on JSP/Servlets...<br>
> i've imported the compiler, the core, jsr94, decisiontable, and
also<br>
> the core 3.2.3 jars to my build path , but when i try to execute
the<br>
> same code i'm having errors like:
<br>
> The import org.drools cannot be resolved<br>
> but i have imported the core!!<br>
> what's wrong? help please<br>
><br>
> regards<br>
> _______________________________________________<br>
> rules-users mailing list
<br>
> <a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org" target="_blank"
onclick="return top.js.OpenExtLink(window,event,this)">rules-users@lists.jboss.org</a><br>
> <a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
>
<br>
<br>
</blockquote>
</span></div>
</div>
<br>
</blockquote>
</div>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
</body>
</html>