Re: [rules-users] JBossRules and JAVA Servlet / JSP (part2)

2007-07-24 Thread Burr Sutter
Please do make a small tutorial and add a wiki page.  I'd love it if we 
had a series of wiki pages that showed the use of Drools from a servlet, 
JSP, WS, Struts Action, EJB, Spring bean, etc so that people understand 
how to get some basic stuff moving and quickly.



spilirit wrote:

Hello;
Thank you for your help; it's working now, i'm just trying to remove 
jars that i won't need, and then i'll make a small tutorial for 
servlets if it could help.


Regards,
Fernando Meyer wrote:

Hi spilirit,

Try copy all your dependencies to the WebContent/WEB-INF/lib 
instead referring in your project. The Eclipse IDE will automatically 
add these libs to your classpath and to your exported war.


Regards
Fernando Meyer http://fmeyer.org
[EMAIL PROTECTED]
PGP: 0xD804DDFB



On Jul 23, 2007, at 5:33 AM, spilirit wrote:


Hi,
please find attached a copy of my Eclipse project,

Thank you for your 
Help___

rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] JBossRules and JAVA Servlet / JSP (part2)

2007-07-24 Thread spilirit

Hello;
Thank you for your help; it's working now, i'm just trying to remove 
jars that i won't need, and then i'll make a small tutorial for servlets 
if it could help.


Regards, 


Fernando Meyer wrote:

Hi spilirit,

Try copy all your dependencies to the WebContent/WEB-INF/lib 
instead referring in your project. The Eclipse IDE will automatically 
add these libs to your classpath and to your exported war.


Regards

Fernando Meyer http://fmeyer.org

[EMAIL PROTECTED]
PGP: 0xD804DDFB



On Jul 23, 2007, at 5:33 AM, spilirit wrote:


Hi,
please find attached a copy of my Eclipse project,

Thank you for your 
Help___

rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] JBossRules and JAVA Servlet / JSP (part2)

2007-07-23 Thread Fernando Meyer

Hi spilirit,

	Try copy all your dependencies to the WebContent/WEB-INF/lib instead  
referring in your project. The Eclipse IDE will automatically add  
these libs to your classpath and to your exported war.


Regards

Fernando Meyer http://fmeyer.org
[EMAIL PROTECTED]
PGP: 0xD804DDFB



On Jul 23, 2007, at 5:33 AM, spilirit wrote:


Hi,
please find attached a copy of my Eclipse project,

Thank you for your  
Help___

rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] JBossRules and JAVA Servlet / JSP (part2)

2007-07-23 Thread spilirit

Hi Burr,

That would be very kind from you, if you could send me the WAR,

Thank you,
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] JBossRules and JAVA Servlet / JSP (part2)

2007-07-23 Thread spilirit

Hi,
please fond attached a copy of my Eclipse project, 


Burr; that would be very kind from you, if you could send me the WAR,

Thankyou for your Help
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] JBossRules and JAVA Servlet / JSP (part2)

2007-07-20 Thread Burr Sutter

I have a WAR with a working WS that uses Drools 3.0.1

Would that help?

If so, just let me know and I can ship it to you.

Burr

Mohammed JBossRules wrote:



2007/7/20, Mohammed JBossRules <[EMAIL PROTECTED] 
>:


Hi, 
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 :

java.lang.NoClassDefFoundError: org/drools/WorkingMemory
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0 (Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at

org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1104)
at org.apache.catalina.core.StandardWrapper.allocate (
StandardWrapper.java:806)
at

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
(Http11Protocol.java:581)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)


it works fine if i'm using a simple class, but when i try to use
my servlet, it falls; 


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.

thank you.






2007/7/20, Mohammed JBossRules < [EMAIL PROTECTED]
>:

hello,
Thank you all for your replays; as you've suggested, what i should
import into my build path was not the core and compiler but
all the set
contained in the drools library, maybe that would help someone
later!
here is the list of jars
antlr-runtime.jar
drools-compiler.jar
drools-core.jar
drools-decisiontables.jar
drools-documentation.jar
drools-jsr94.jar
jsr94.jar
junit.jar
jxl.jar
mvel14.jar
xercesImpl.jar
xml-apis.jar
xpp3.jar
xstream.jar
Thankyou Mark for the link
with kind regards,

ps: tried many times to post this mail yesterday but seems that it
doesn't work, sorry if you received it more than once!
Mohammed JBossRules wrote:
> Hello,
>
> I'm a new user for JBossRules, and I'm feeling like turning
around
> since a while, so i thought that sole body could help...
> I'm using JBossRules( V4.0.0.12865MR3) on eclipse (Version:
3.3.0 Build
> id: I20070621-1340) on MS-Windows XP and  Java(TM) SE Runtime
> Environment (build 1.6.0_01-b06)
> now the problem is how to use my rules (simple rules in a DRL
file) in
> a dynamic project based on JSP/Servlets...
> i've imported the compiler, the core, jsr94, decisiontable,
and also
> the core 3.2.3 jars to my build path , but when i try to
execute the
> same code i'm having errors like:
> The import org.drools cannot be resolved
> but i have imported the core!!
> what's wrong? help please
>
> regards
> ___
> rules-users mailing list
> rules-users@lists.jboss.org 
> https://lists.jboss.org/mailman/listinfo/rules-users
>





___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
  
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] JBossRules and JAVA Servlet / JSP (part2)

2007-07-20 Thread Fernando Meyer


Please Mohamed,

	Attach your demo web project with scource code, then we can try to  
reproduce this problem.


regards

Fernando Meyer http://fmeyer.org
[EMAIL PROTECTED]
PGP: 0xD804DDFB



On Jul 20, 2007, at 11:48 AM, Mohammed JBossRules wrote:




2007/7/20, Mohammed JBossRules <[EMAIL PROTECTED]>:
Hi,
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 :


java.lang.NoClassDefFoundError: org/drools/WorkingMemory
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0 (Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.apache.catalina.core.StandardWrapper.loadServlet 
(StandardWrapper.java:1104)
at org.apache.catalina.core.StandardWrapper.allocate  
( StandardWrapper.java:806)
at org.apache.catalina.core.StandardWrapperValve.invoke 
(StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke 
(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke 
(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke 
(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke  
(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service 
(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process 
(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol 
$Http11ConnectionHandler.process (Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run 
(JIoEndpoint.java:447)

at java.lang.Thread.run(Unknown Source)


it works fine if i'm using a simple class, but when i try to use my  
servlet, it falls;


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.


thank you.






2007/7/20, Mohammed JBossRules < [EMAIL PROTECTED]>:
hello,
Thank you all for your replays; as you've suggested, what i should
import into my build path was not the core and compiler but all the  
set

contained in the drools library, maybe that would help someone later!
here is the list of jars
antlr-runtime.jar
drools-compiler.jar
drools-core.jar
drools-decisiontables.jar
drools-documentation.jar
drools-jsr94.jar
jsr94.jar
junit.jar
jxl.jar
mvel14.jar
xercesImpl.jar
xml-apis.jar
xpp3.jar
xstream.jar
Thankyou Mark for the link
with kind regards,

ps: tried many times to post this mail yesterday but seems that it
doesn't work, sorry if you received it more than once!
Mohammed JBossRules wrote:
> Hello,
>
> I'm a new user for JBossRules, and I'm feeling like turning around
> since a while, so i thought that sole body could help...
> I'm using JBossRules( V4.0.0.12865MR3) on eclipse (Version: 3.3.0  
Build

> id: I20070621-1340) on MS-Windows XP and  Java(TM) SE Runtime
> Environment (build 1.6.0_01-b06)
> now the problem is how to use my rules (simple rules in a DRL  
file) in

> a dynamic project based on JSP/Servlets...
> i've imported the compiler, the core, jsr94, decisiontable, and also
> the core 3.2.3 jars to my build path , but when i try to execute the
> same code i'm having errors like:
> The import org.drools cannot be resolved
> but i have imported the core!!
> what's wrong? help please
>
> regards
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] JBossRules and JAVA Servlet / JSP (part2)

2007-07-20 Thread Mohammed JBossRules

2007/7/20, Mohammed JBossRules <[EMAIL PROTECTED]>:


Hi,
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 :

java.lang.NoClassDefFoundError: org/drools/WorkingMemory
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0 (Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.apache.catalina.core.StandardWrapper.loadServlet(
StandardWrapper.java:1104)
at org.apache.catalina.core.StandardWrapper.allocate(
StandardWrapper.java:806)
at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke (
StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(
Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process (
Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
:447)
at java.lang.Thread.run(Unknown Source)


it works fine if i'm using a simple class, but when i try to use my
servlet, it falls;

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.

thank you.






2007/7/20, Mohammed JBossRules <[EMAIL PROTECTED]>:
>
> hello,
> Thank you all for your replays; as you've suggested, what i should
> import into my build path was not the core and compiler but all the set
> contained in the drools library, maybe that would help someone later!
> here is the list of jars
> antlr-runtime.jar
> drools-compiler.jar
> drools-core.jar
> drools-decisiontables.jar
> drools-documentation.jar
> drools-jsr94.jar
> jsr94.jar
> junit.jar
> jxl.jar
> mvel14.jar
> xercesImpl.jar
> xml-apis.jar
> xpp3.jar
> xstream.jar
> Thankyou Mark for the link
> with kind regards,
>
> ps: tried many times to post this mail yesterday but seems that it
> doesn't work, sorry if you received it more than once!
> Mohammed JBossRules wrote:
> > Hello,
> >
> > I'm a new user for JBossRules, and I'm feeling like turning around
> > since a while, so i thought that sole body could help...
> > I'm using JBossRules( V4.0.0.12865MR3) on eclipse (Version: 3.3.0Build
> > id: I20070621-1340) on MS-Windows XP and  Java(TM) SE Runtime
> > Environment (build 1.6.0_01-b06)
> > now the problem is how to use my rules (simple rules in a DRL file) in
>
> > a dynamic project based on JSP/Servlets...
> > i've imported the compiler, the core, jsr94, decisiontable, and also
> > the core 3.2.3 jars to my build path , but when i try to execute the
> > same code i'm having errors like:
> > The import org.drools cannot be resolved
> > but i have imported the core!!
> > what's wrong? help please
> >
> > regards
> > ___
> > rules-users mailing list
> > rules-users@lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
>
>

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] JBossRules and JAVA Servlet / JSP (part2)

2007-07-20 Thread Mohammed JBossRules

Hi,
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 :

java.lang.NoClassDefFoundError: org/drools/WorkingMemory
   at java.lang.Class.getDeclaredConstructors0(Native Method)
   at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
   at java.lang.Class.getConstructor0(Unknown Source)
   at java.lang.Class.newInstance0 (Unknown Source)
   at java.lang.Class.newInstance(Unknown Source)
   at org.apache.catalina.core.StandardWrapper.loadServlet(
StandardWrapper.java:1104)
   at org.apache.catalina.core.StandardWrapper.allocate(
StandardWrapper.java:806)
   at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:129)
   at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:175)
   at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:128)
   at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:104)
   at org.apache.catalina.core.StandardEngineValve.invoke (
StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:261)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
   at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process (
Http11Protocol.java:581)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
:447)
   at java.lang.Thread.run(Unknown Source)


it works if i'm using a simple class, but when i try to use my servlet, it
falls;

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.

thank you.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: Re: [rules-users] JBossRules and JAVA Servlet / JSP

2007-07-19 Thread Mohammed JBossRules

hello,
Thank you all for your replays; as you've suggested, what i should 
import into my build path was not the core and compiler but all the set 
contained in the drools library, maybe that would help someone later!

here is the list of jars
antlr-runtime.jar
drools-compiler.jar
drools-core.jar
drools-decisiontables.jar
drools-documentation.jar
drools-jsr94.jar
jsr94.jar
junit.jar
jxl.jar
mvel14.jar
xercesImpl.jar
xml-apis.jar
xpp3.jar
xstream.jar

and thankyou Mark for the link,

with kind regards,

Natraj Gudla wrote:
You are getting an error at run time. Make sure you include all the 
required drools jars in your run time class path. THis will resolve 
the issue. If you are using an eclipse launch config, it is very easy 
to set the class path jars.
 
You need to know that compile time libraries and run time libraries 
have to indicated separately.
 
Thanks

Natraj

 
On 7/19/07, *Mohammed JBossRules* <[EMAIL PROTECTED] 
> wrote:


Hello,

I'm a new user for JBossRules, and I'm feeling like turning around
since
a while, so i thought that sole body could help...
I'm using JBossRules(V4.0.0.12865MR3) on eclipse (Version: 3.3.0 Build
id: I20070621-1340) on MS-Windows XP and  Java(TM) SE Runtime
Environment (build 1.6.0_01-b06)
now the problem is how to use my rules (simple rules in a DRL
file) in a
dynamic project based on JSP/Servlets...
i've imported the compiler, the core, jsr94, decisiontable, and
also the
core 3.2.3 jars to my build path , but when i try to execute the same
code i'm having errors like:
The import org.drools cannot be resolved
but i have imported the core!!
what's wrong? help please

regards
___
rules-users mailing list
rules-users@lists.jboss.org 
https://lists.jboss.org/mailman/listinfo/rules-users




___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
  


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: Re: [rules-users] JBossRules and JAVA Servlet / JSP

2007-07-19 Thread Mohammed JBossRules

hello,
Thank you all for your replays; as you've suggested, what i should 
import into my build path was not the core and compiler but all the set 
contained in the drools library, maybe that would help someone later!

here is the list of jars
antlr-runtime.jar
drools-compiler.jar
drools-core.jar
drools-decisiontables.jar
drools-documentation.jar
drools-jsr94.jar
jsr94.jar
junit.jar
jxl.jar
mvel14.jar
xercesImpl.jar
xml-apis.jar
xpp3.jar
xstream.jar

and thankyou Mark for the link,

with kind regards,

Natraj Gudla wrote:
You are getting an error at run time. Make sure you include all the 
required drools jars in your run time class path. THis will resolve 
the issue. If you are using an eclipse launch config, it is very easy 
to set the class path jars.
 
You need to know that compile time libraries and run time libraries 
have to indicated separately.
 
Thanks

Natraj

 
On 7/19/07, *Mohammed JBossRules* <[EMAIL PROTECTED] 
> wrote:


Hello,

I'm a new user for JBossRules, and I'm feeling like turning around
since
a while, so i thought that sole body could help...
I'm using JBossRules(V4.0.0.12865MR3) on eclipse (Version: 3.3.0 Build
id: I20070621-1340) on MS-Windows XP and  Java(TM) SE Runtime
Environment (build 1.6.0_01-b06)
now the problem is how to use my rules (simple rules in a DRL
file) in a
dynamic project based on JSP/Servlets...
i've imported the compiler, the core, jsr94, decisiontable, and
also the
core 3.2.3 jars to my build path , but when i try to execute the same
code i'm having errors like:
The import org.drools cannot be resolved
but i have imported the core!!
what's wrong? help please

regards
___
rules-users mailing list
rules-users@lists.jboss.org 
https://lists.jboss.org/mailman/listinfo/rules-users




___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
  


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] JBossRules and JAVA Servlet / JSP

2007-07-19 Thread Mohammed JBossRules

hello,
i've got it  :); what i shoult import into my build path was not the 
core and compiler but all the set contained in the drools library, maybe 
that would help someone later

here is the list of jars
antlr-runtime.jar
drools-compiler.jar
drools-core.jar
drools-decisiontables.jar
drools-documentation.jar
drools-jsr94.jar
jsr94.jar
junit.jar
jxl.jar
mvel14.jar
xercesImpl.jar
xml-apis.jar
xpp3.jar
xstream.jar

with kind regards,


Mohammed JBossRules wrote:

Hello,

I'm a new user for JBossRules, and I'm feeling like turning around 
since a while, so i thought that sole body could help...
I'm using JBossRules(V4.0.0.12865MR3) on eclipse (Version: 3.3.0 Build 
id: I20070621-1340) on MS-Windows XP and  Java(TM) SE Runtime 
Environment (build 1.6.0_01-b06)
now the problem is how to use my rules (simple rules in a DRL file) in 
a dynamic project based on JSP/Servlets...
i've imported the compiler, the core, jsr94, decisiontable, and also 
the core 3.2.3 jars to my build path , but when i try to execute the 
same code i'm having errors like:

The import org.drools cannot be resolved
but i have imported the core!!
what's wrong? help please

regards
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] JBossRules and JAVA Servlet / JSP

2007-07-19 Thread Mark Proctor

http://wiki.jboss.org/wiki/Wiki.jsp?page=RulesTomcat

Mohammed JBossRules wrote:

Hello,

I'm a new user for JBossRules, and I'm feeling like turning around 
since a while, so i thought that sole body could help...
I'm using JBossRules(V4.0.0.12865MR3) on eclipse (Version: 3.3.0 Build 
id: I20070621-1340) on MS-Windows XP and  Java(TM) SE Runtime 
Environment (build 1.6.0_01-b06)
now the problem is how to use my rules (simple rules in a DRL file) in 
a dynamic project based on JSP/Servlets...
i've imported the compiler, the core, jsr94, decisiontable, and also 
the core 3.2.3 jars to my build path , but when i try to execute the 
same code i'm having errors like:

The import org.drools cannot be resolved
but i have imported the core!!
what's wrong? help please

regards
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] JBossRules and JAVA Servlet / JSP

2007-07-19 Thread Natraj Gudla

You are getting an error at run time. Make sure you include all the required
drools jars in your run time class path. THis will resolve the issue. If you
are using an eclipse launch config, it is very easy to set the class path
jars.

You need to know that compile time libraries and run time libraries have to
indicated separately.

Thanks
Natraj


On 7/19/07, Mohammed JBossRules <[EMAIL PROTECTED]> wrote:


Hello,

I'm a new user for JBossRules, and I'm feeling like turning around since
a while, so i thought that sole body could help...
I'm using JBossRules(V4.0.0.12865MR3) on eclipse (Version: 3.3.0 Build
id: I20070621-1340) on MS-Windows XP and  Java(TM) SE Runtime
Environment (build 1.6.0_01-b06)
now the problem is how to use my rules (simple rules in a DRL file) in a
dynamic project based on JSP/Servlets...
i've imported the compiler, the core, jsr94, decisiontable, and also the
core 3.2.3 jars to my build path , but when i try to execute the same
code i'm having errors like:
The import org.drools cannot be resolved
but i have imported the core!!
what's wrong? help please

regards
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] JBossRules and JAVA Servlet / JSP

2007-07-19 Thread Mohammed JBossRules

Hello,

I'm a new user for JBossRules, and I'm feeling like turning around since 
a while, so i thought that sole body could help...
I'm using JBossRules(V4.0.0.12865MR3) on eclipse (Version: 3.3.0 Build 
id: I20070621-1340) on MS-Windows XP and  Java(TM) SE Runtime 
Environment (build 1.6.0_01-b06)
now the problem is how to use my rules (simple rules in a DRL file) in a 
dynamic project based on JSP/Servlets...
i've imported the compiler, the core, jsr94, decisiontable, and also the 
core 3.2.3 jars to my build path , but when i try to execute the same 
code i'm having errors like:

The import org.drools cannot be resolved
but i have imported the core!!
what's wrong? help please

regards
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users