[rules-users] Uploading the fact model to the DRools BRMS

2008-01-10 Thread Akila Geethal
When I upload a jar file to the DRools BRMS it does not get uploaded. When i
try to get the clsses by the import statements it says the class cannot be
found. Are there any special way of making the jar?Should that fact
modelapplication include special libraries or etc
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] OutOfMemory with BRMS 4.0.3

2008-01-10 Thread sophie . ramel
Hello, 

I am using Drools BRMS 4.0.3 with tomcat 5.5.25, and I get OutOfMemory 
exceptions in tomcat regularly.

I recently changed the java option of tomcat to add -Xmx512m, but it 
only resulted in taking a little more time before crashing (3 days, 
instead of 1 before). 
The server has nearly no access - it's a development server which is not a 
lot used at the moment - and there are only a few rules, for tests, so I 
really don't understand this error. I'm using java 1.5.0 on a linux 
server. 

The BRMS is accessed by web, to create and deploy the rules, and queried 
from another tool (on the same machine but in another server: in JBoss), 
to insert data in a workingMemory and execute the rules from the deployed 
package URL. I call the dispose() method on the StatefulSession at the end 
of the query (but this shouldn't be linked to this error, since this is in 
JBoss and the OutOfMemory occurs in tomcat...). 

Any idea?
Thanks,

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


Re: [rules-users] OutOfMemory with BRMS 4.0.3

2008-01-10 Thread Mikael Larsson

Hi!

Are you using the WorkingMemoryLogger?
Here is some information from a previous mail thread (Drools 4.02 or 
4.03 memory leak?) on this list:



In 4.0.3, there is a memory leak with the use of WorkingMemoryLogger.
Maybe it's that ?
PS : http://jira.jboss.com/jira/browse/JBRULES-1325


Regards
/Mikael




[EMAIL PROTECTED] wrote:
Hello, 

I am using Drools BRMS 4.0.3 with tomcat 5.5.25, and I get OutOfMemory 
exceptions in tomcat regularly.


I recently changed the java option of tomcat to add -Xmx512m, but it 
only resulted in taking a little more time before crashing (3 days, 
instead of 1 before). 
The server has nearly no access - it's a development server which is not a 
lot used at the moment - and there are only a few rules, for tests, so I 
really don't understand this error. I'm using java 1.5.0 on a linux 
server. 

The BRMS is accessed by web, to create and deploy the rules, and queried 
from another tool (on the same machine but in another server: in JBoss), 
to insert data in a workingMemory and execute the rules from the deployed 
package URL. I call the dispose() method on the StatefulSession at the end 
of the query (but this shouldn't be linked to this error, since this is in 
JBoss and the OutOfMemory occurs in tomcat...). 


Any idea?
Thanks,

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

  


--
__
Mikael Larsson 
Redpill AB

Tel. + 46 54 15 09 40
Mob. + 46 73 42 41 483

www.redpill.se
__

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


Re: [rules-users] OutOfMemory with BRMS 4.0.3

2008-01-10 Thread sophie . ramel
Hi, 

No, I don't use the WorkingMemoryLogger from my client classes in Jboss. 
And I don't know if the BRMS uses it, I suppose not otherwise more people 
would have the problem?

best regards,

Sophie



Mikael Larsson [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
10/01/2008 16:33
Please respond to
Rules Users List rules-users@lists.jboss.org


To
Rules Users List rules-users@lists.jboss.org
cc

Subject
Re: [rules-users] OutOfMemory with BRMS 4.0.3






Hi!

Are you using the WorkingMemoryLogger?
Here is some information from a previous mail thread (Drools 4.02 or 
4.03 memory leak?) on this list:

In 4.0.3, there is a memory leak with the use of WorkingMemoryLogger.
Maybe it's that ?
PS : http://jira.jboss.com/jira/browse/JBRULES-1325

Regards
/Mikael




[EMAIL PROTECTED] wrote:
 Hello, 

 I am using Drools BRMS 4.0.3 with tomcat 5.5.25, and I get OutOfMemory 
 exceptions in tomcat regularly.

 I recently changed the java option of tomcat to add -Xmx512m, but it 
 only resulted in taking a little more time before crashing (3 days, 
 instead of 1 before). 
 The server has nearly no access - it's a development server which is not 
a 
 lot used at the moment - and there are only a few rules, for tests, so I 

 really don't understand this error. I'm using java 1.5.0 on a linux 
 server. 

 The BRMS is accessed by web, to create and deploy the rules, and queried 

 from another tool (on the same machine but in another server: in JBoss), 

 to insert data in a workingMemory and execute the rules from the 
deployed 
 package URL. I call the dispose() method on the StatefulSession at the 
end 
 of the query (but this shouldn't be linked to this error, since this is 
in 
 JBoss and the OutOfMemory occurs in tomcat...). 

 Any idea?
 Thanks,

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

 

-- 
__
Mikael Larsson 
Redpill AB
Tel. + 46 54 15 09 40
Mob. + 46 73 42 41 483

www.redpill.se
__

___
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] Uploading the fact model to the DRools BRMS

2008-01-10 Thread Mark Proctor

Akila Geethal wrote:
When I upload a jar file to the DRools BRMS it does not get uploaded. 
When i try to get the clsses by the import statements it says the 
class cannot be found. Are there any special way of making the 
jar?Should that fact modelapplication include special libraries or 
etc

No it' just a standard jar, with standard pojos.



___
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] Uploading the fact model to the DRools BRMS

2008-01-10 Thread Anstis, Michael (M.)
I have a vague recollection that there is another file in which you need to
list your fully qualified class names before they can be referenced by the
BRMS.
 
I think Kris (or Edson) has provided a posting to the group before about
this.
 
Flame me if I am wrong.


  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Proctor
Sent: 10 January 2008 15:54
To: Rules Users List
Subject: Re: [rules-users] Uploading the fact model to the DRools BRMS


Akila Geethal wrote: 

When I upload a jar file to the DRools BRMS it does not get uploaded. When i
try to get the clsses by the import statements it says the class cannot be
found. Are there any special way of making the jar?Should that fact
modelapplication include special libraries or etc 


No it' just a standard jar, with standard pojos.




  _  


___

rules-users mailing list

rules-users@lists.jboss.org

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

  




smime.p7s
Description: S/MIME cryptographic signature
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Anybody out there to write a book chapter on Jboss-Rules?

2008-01-10 Thread Dr. Gernot Starke

Hi there,
I stumbled upon this highly interesting link:

http://oxygen.informatik.tu-cottbus.de/handbook/?q=objectives

Those guys prepare to compile an extensive book on rule-based  
systems  a thing the world definitely needs!!


I'd love to participate, but the deadlines don't fit my current  
schedule - bad luck for me...



regards from Cologne,
Gernot Starke



Dr. Gernot Starke
Doing IT Right

NEU: http://www.esabuch.de

---
Willi-Lauf Allee 43, D-50858 Köln
[EMAIL PROTECTED],
 +49 (0) 177 - 728 2570
http://www.gernotstarke.de
Blog: http://it-and-more.blogspot.com

Das freie Portal für Software-Architekten:
http://www.arc42.de




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


Re: [rules-users] what is pluggable dialects

2008-01-10 Thread Mark Proctor

jack wu wrote:
i read the documentation saying drools 4.x supports pluggable 
dialects, but i can't find anything else that explains what it is. i 
think by default i am using java dialect. and there is a MVEL dialect. 
is that it?


i am trying to see if there is a way to not use java beans as fact 
objects.


i have been looking to the MVEL website where they have a sample like 
this:

Map vars = new HashMap();
vars.put(x, new Integer(5));
vars.put(y, new Integer(10));

Integer result = (Integer) MVEL.eval(x * y, vars);
my question is if i use MVEL dialect, can i pass in a Map similar to 
the above for fact objects? Thanks.
Dialects make  no difference to  what you can assert. The dialect is 
simple the lanage used to execute returnValue, inlne-evals, evals and 
consequences. You can choose  Java or MVEL, or plugin your own.


jack.


Looking for last minute shopping deals? Find them fast with Yahoo! 
Search. 
http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping 




___
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] OutOfMemory with BRMS 4.0.3

2008-01-10 Thread Fernando Meyer
Have you had the chance to test against JBoss AS 4.0.2 ?

On Jan 10, 2008 1:42 PM, [EMAIL PROTECTED] wrote:

 Hi,

 No, I don't use the WorkingMemoryLogger from my client classes in Jboss.
 And I don't know if the BRMS uses it, I suppose not otherwise more people
 would have the problem?

 best regards,

 Sophie



 Mikael Larsson [EMAIL PROTECTED]
 Sent by: [EMAIL PROTECTED]
 10/01/2008 16:33
 Please respond to
 Rules Users List rules-users@lists.jboss.org


 To
 Rules Users List rules-users@lists.jboss.org
 cc

 Subject
 Re: [rules-users] OutOfMemory with BRMS 4.0.3






 Hi!

 Are you using the WorkingMemoryLogger?
 Here is some information from a previous mail thread (Drools 4.02 or
 4.03 memory leak?) on this list:

 In 4.0.3, there is a memory leak with the use of WorkingMemoryLogger.
 Maybe it's that ?
 PS : http://jira.jboss.com/jira/browse/JBRULES-1325

 Regards
 /Mikael




 [EMAIL PROTECTED] wrote:
  Hello,
 
  I am using Drools BRMS 4.0.3 with tomcat 5.5.25, and I get OutOfMemory
  exceptions in tomcat regularly.
 
  I recently changed the java option of tomcat to add -Xmx512m, but it
  only resulted in taking a little more time before crashing (3 days,
  instead of 1 before).
  The server has nearly no access - it's a development server which is not
 a
  lot used at the moment - and there are only a few rules, for tests, so I

  really don't understand this error. I'm using java 1.5.0 on a linux
  server.
 
  The BRMS is accessed by web, to create and deploy the rules, and queried

  from another tool (on the same machine but in another server: in JBoss),

  to insert data in a workingMemory and execute the rules from the
 deployed
  package URL. I call the dispose() method on the StatefulSession at the
 end
  of the query (but this shouldn't be linked to this error, since this is
 in
  JBoss and the OutOfMemory occurs in tomcat...).
 
  Any idea?
  Thanks,
 
  Sophie
  ___
  rules-users mailing list
  rules-users@lists.jboss.org
  https://lists.jboss.org/mailman/listinfo/rules-users
 
 

 --
 __
 Mikael Larsson
 Redpill AB
 Tel. + 46 54 15 09 40
 Mob. + 46 73 42 41 483

 www.redpill.se
 __

 ___
 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




-- 
Fernando Meyer http://fmeyer.org
JBoss Rules Core Developer
[EMAIL PROTECTED]
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] OutOfMemory with BRMS 4.0.3

2008-01-10 Thread sophie . ramel
No, I haven't, because initially I wanted it to be deployed in an 
environment distinct from my client classes, which are in jboss 
application server (but 3.2.8 for compatibility reasons...). 
But I can try: do you think my problem may be linked to tomcat ?

best regards,

Sophie




Fernando Meyer [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
10/01/2008 19:32
Please respond to
Rules Users List rules-users@lists.jboss.org


To
Rules Users List rules-users@lists.jboss.org
cc

Subject
Re: [rules-users] OutOfMemory with BRMS 4.0.3






Have you had the chance to test against JBoss AS 4.0.2 ?

On Jan 10, 2008 1:42 PM, [EMAIL PROTECTED] wrote:
Hi,

No, I don't use the WorkingMemoryLogger from my client classes in Jboss.
And I don't know if the BRMS uses it, I suppose not otherwise more people
would have the problem?

best regards,

Sophie



Mikael Larsson [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED] 
10/01/2008 16:33
Please respond to
Rules Users List rules-users@lists.jboss.org


To
Rules Users List  rules-users@lists.jboss.org
cc

Subject
Re: [rules-users] OutOfMemory with BRMS 4.0.3






Hi!

Are you using the WorkingMemoryLogger?
Here is some information from a previous mail thread (Drools 4.02 or
4.03 memory leak?) on this list:

In 4.0.3, there is a memory leak with the use of WorkingMemoryLogger.
Maybe it's that ? 
PS : http://jira.jboss.com/jira/browse/JBRULES-1325

Regards
/Mikael




[EMAIL PROTECTED] wrote:
 Hello,

 I am using Drools BRMS 4.0.3 with tomcat 5.5.25, and I get OutOfMemory
 exceptions in tomcat regularly.

 I recently changed the java option of tomcat to add -Xmx512m, but it 
 only resulted in taking a little more time before crashing (3 days,
 instead of 1 before).
 The server has nearly no access - it's a development server which is not
a
 lot used at the moment - and there are only a few rules, for tests, so I 


 really don't understand this error. I'm using java 1.5.0 on a linux
 server.

 The BRMS is accessed by web, to create and deploy the rules, and queried

 from another tool (on the same machine but in another server: in JBoss), 


 to insert data in a workingMemory and execute the rules from the
deployed
 package URL. I call the dispose() method on the StatefulSession at the
end
 of the query (but this shouldn't be linked to this error, since this is 
in
 JBoss and the OutOfMemory occurs in tomcat...).

 Any idea?
 Thanks,

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



--
__
Mikael Larsson
Redpill AB
Tel. + 46 54 15 09 40
Mob. + 46 73 42 41 483

www.redpill.se 
__

___
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



-- 
Fernando Meyer http://fmeyer.org
JBoss Rules Core Developer
[EMAIL PROTECTED] ___
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] Uploading the fact model to the DRools BRMS

2008-01-10 Thread Akila Geethal
what are the configurations should be made to import the classes in the jar.
When trying ti import the classs in the package configuration section im
getting the class not found error when i try to validate the imports. What
are the files should be modified.Iam new to drools.

On Jan 10, 2008 9:30 PM, Anstis, Michael (M.) [EMAIL PROTECTED] wrote:

  I have a vague recollection that there is another file in which you need
 to list your fully qualified class names before they can be referenced by
 the BRMS.

 I think Kris (or Edson) has provided a posting to the group before about
 this.

 Flame me if I am wrong.

  --
 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *Mark Proctor
 *Sent:* 10 January 2008 15:54
 *To:* Rules Users List
 *Subject:* Re: [rules-users] Uploading the fact model to the DRools BRMS

 Akila Geethal wrote:

 When I upload a jar file to the DRools BRMS it does not get uploaded. When
 i try to get the clsses by the import statements it says the class cannot be
 found. Are there any special way of making the jar?Should that fact
 modelapplication include special libraries or etc

 No it' just a standard jar, with standard pojos.

 --

 ___
 rules-users mailing [EMAIL 
 PROTECTED]://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