<br><font size=2 face="sans-serif">Hello Michael, </font>
<br>
<br><font size=2 face="sans-serif">no problem: here it is. </font>
<br><font size=2 face="sans-serif">I have cut it just after the first OutOfMemory,
otherwise it was too big (but I can send you the rest if needed). </font>
<br>
<br><font size=2 face="sans-serif">I have just noticed some exceptions
in the log, that I hadn't seen before (I don't know how I could miss them...):
</font>
<br><font size=2 face="sans-serif">in particular:</font>
<br><font size=2 face="sans-serif">Caused by: java.lang.NoSuchMethodException:
org.drools.brms.server.repository.RulesRepositoryMana</font>
<br><font size=2 face="sans-serif">ger_$$_javassist_4.close()</font>
<br><font size=2 face="sans-serif"> at java.lang.Class.getMethod(Class.java:1581)</font>
<br><font size=2 face="sans-serif"> at org.jboss.seam.Component.callComponentMethod(Component.java:2084)</font>
<br>
<br><font size=2 face="sans-serif">Do you know what it could be?</font>
<br><font size=2 face="sans-serif">thanks a lot for your help,</font>
<br>
<br><font size=2 face="sans-serif">Sophie</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Michael Neale"
<michael.neale@gmail.com></b> </font>
<br><font size=1 face="sans-serif">Sent by: rules-users-bounces@lists.jboss.org</font>
<p><font size=1 face="sans-serif">30/01/2008 11:12</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
Rules Users List <rules-users@lists.jboss.org></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">"Rules Users List" <rules-users@lists.jboss.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [rules-users] OutOfMemory with BRMS
4.0.3</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3>Hi Sophie. We have run the BRMS for some time now, - not
able to see this. If its still happening - are you able to share the log
file for the server with us at all?</font>
<br>
<br><font size=3>Michael.<br>
</font>
<br><font size=3>On Jan 23, 2008 10:29 PM, <</font><a href=mailto:sophie.ramel@tudor.lu><font size=3 color=blue><u>sophie.ramel@tudor.lu</u></font></a><font size=3>>
wrote:</font>
<br><font size=3>Well, I'm pretty sure no agent hit the brms on my server
last week, it's a<br>
development server and I'm currently the only one using it, so the agent<br>
wasn't instantiated (or perhaps I tried it once or twice at the beginning<br>
of the week, to check that it worked, but that's all).<br>
<br>
The tomcat version was tomcat 5.5 (but here again, the error also occurs<br>
in Jboss 3.2.8), jdk is jdk 1.5.0 , and the system is an old Red Hat 7.2.</font>
<br><font size=3><br>
Regards,<br>
<br>
Sophie<br>
<br>
<br>
<br>
<br>
Michael Neale <</font><a href=mailto:michael.neale@gmail.com><font size=3 color=blue><u>michael.neale@gmail.com</u></font></a><font size=3>><br>
Sent by: </font><a href="mailto:rules-users-bounces@lists.jboss.org"><font size=3 color=blue><u>rules-users-bounces@lists.jboss.org</u></font></a>
<br><font size=3>23/01/2008 12:39</font>
<br><font size=3>Please respond to<br>
Rules Users List <</font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3>><br>
<br>
<br>
To<br>
Rules Users List <</font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3>><br>
cc<br>
Rules Users List <</font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3>><br>
Subject<br>
Re: [rules-users] OutOfMemory with BRMS 4.0.3<br>
<br>
<br>
<br>
<br>
<br>
<br>
Ok so yes the error is on the brms web app. The agent will poll the<br>
brms , so that may be causing it.<br>
<br>
So, could you try to run the brms without the agent hitting it and see<br>
if it happens ( will narrow it down massively)? Also, what tomcat, jdk<br>
and I<br>
Os version?<br>
<br>
Sent from my iPhone<br>
<br>
On 23/01/2008, at 1:54, </font><a href=mailto:sophie.ramel@tudor.lu><font size=3 color=blue><u>sophie.ramel@tudor.lu</u></font></a><font size=3>
wrote:<br>
<br>
> Hello michael,<br>
><br>
>> Is the rule agent running on a separate server to the brms?<br>
> The initial configuration was:<br>
> - BRMS in tomcat 5.5<br>
> - server with RuleAgent in Jboss AS 3.2.8<br>
><br>
> But now I moved to this configuration:<br>
> - server with RuleAgent in Jboss AS 3.2.8 (unchanged)<br>
> - BRMS is also in the same jboss instance<br>
><br>
> And in both cases I have the problem.<br>
><br>
>> Is the rule agent actually running when the error happens?<br>
> No I don't think so.<br>
> I don't have any exception before I try to go to a web page (either<br>
> of the<br>
> BRMS, or of my other server in Jboss when the BRMS is in the same<br>
> jboss<br>
> instance), and then I get OufOfMemoryError: Java heap space. The<br>
> RuleAgent<br>
> is only instantiated when I send a specific request to my server<br>
> (and I'm<br>
> not even sure it was called once before the last crash).<br>
><br>
>> Also that is an old version of jboss as?<br>
> yes, it's Jboss application server 3.2.8 (I think it is the last and<br>
> only<br>
> one in the 3.x series that works with JDK 1.5): I need to use an older<br>
> version because of other compatibility issues of my server, but<br>
> since I<br>
> had exactly the same problem with Tomcat, I'm beginning to think it<br>
> may<br>
> not be linked to the server version ...?<br>
><br>
> Regards,<br>
><br>
> Sophie<br>
><br>
><br>
><br>
><br>
> Michael Neale <</font><a href=mailto:michael.neale@gmail.com><font size=3 color=blue><u>michael.neale@gmail.com</u></font></a><font size=3>><br>
> Sent by: </font><a href="mailto:rules-users-bounces@lists.jboss.org"><font size=3 color=blue><u>rules-users-bounces@lists.jboss.org</u></font></a><font size=3><br>
> 22/01/2008 11:31<br>
> Please respond to<br>
> Rules Users List <</font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3>><br>
><br>
><br>
> To<br>
> Rules Users List <</font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3>><br>
> cc<br>
> Rules Users List <</font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3>><br>
> Subject<br>
> Re: [rules-users] OutOfMemory with BRMS 4.0.3<br>
><br>
><br>
><br>
><br>
><br>
><br>
> Thanks sophie. A few more questions to narrow this down. Is the rule<br>
> agent running on a separate server to the brms? Is the rule agent<br>
> actually running when the error happens? Also that is an old version<br>
> of jboss as?<br>
><br>
> I guess the rest depends on your answers to the above.<br>
><br>
> Let me know.<br>
><br>
> Michael<br>
><br>
><br>
><br>
> Sent from my iPhone<br>
><br>
> On 21/01/2008, at 23:03, </font><a href=mailto:sophie.ramel@tudor.lu><font size=3 color=blue><u>sophie.ramel@tudor.lu</u></font></a><font size=3>
wrote:<br>
><br>
>> Hello again,<br>
>><br>
>> After coming back after almost a week without touching the server,<br>
>> the<br>
>> jboss application server with the BRMS also makes a OutOfMemory<br>
>> exception<br>
>> when I try to use the BRMS.<br>
>><br>
>>> When you get back to work if you could provide more info it
would be<br>
>> great.<br>
>> What kind of info do you need?<br>
>> Here is what is done in my server code, to fire the rules:<br>
>><br>
>> Properties props=new Properties();<br>
>> props.setProperty("newInstance", "false");<br>
>> props.setProperty("url", packageURL);<br>
>> props.setProperty("localCacheDir", cacheDir);<br>
>> props.setProperty("poll", "30");<br>
>> props.setProperty("name", "Agent-"+pid);<br>
>> RuleAgent agent = RuleAgent.newRuleAgent(props);<br>
>> RuleBase rb = agent.getRuleBase();<br>
>> workingMemory=ruleBase.newStatefulSession();<br>
>><br>
>> and then we insert all objects in the working memory with "wm.insert<br>
>> (o);",<br>
>> but recursively in order for all the objects to be directly<br>
>> accessible in<br>
>> rules (We've got a hierarchic structure, an XML file transformed
in<br>
>> Java<br>
>> by JAXB, so the insert method tests the accessor methods of the<br>
>> object and<br>
>> is called recursively on the accessors' results, before inserting
the<br>
>> object).<br>
>><br>
>> then we call:<br>
>> workingMemory.fireAllRules();<br>
>> [...interprate results...]<br>
>> workingMemory.dispose();<br>
>><br>
>><br>
>> Best regards,<br>
>><br>
>> Sophie<br>
>><br>
>><br>
>><br>
>> Michael Neale <</font><a href=mailto:michael.neale@gmail.com><font size=3 color=blue><u>michael.neale@gmail.com</u></font></a><font size=3>><br>
>> Sent by: </font><a href="mailto:rules-users-bounces@lists.jboss.org"><font size=3 color=blue><u>rules-users-bounces@lists.jboss.org</u></font></a><font size=3><br>
>> 17/01/2008 23:34<br>
>> Please respond to<br>
>> Rules Users List <</font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3>><br>
>><br>
>><br>
>> To<br>
>> Rules Users List <</font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3>><br>
>> cc<br>
>> Rules Users List <</font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3>><br>
>> Subject<br>
>> Re: [rules-users] OutOfMemory with BRMS 4.0.3<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> Thanks sophie. Any oome I will investigate it just takes time
to find<br>
>> them. I have been running some overnight tests myself today. When
you<br>
>> get back to work if you could provide more info it would be great.<br>
>><br>
>> If the agent is running then it polls the brms. So that could
be one<br>
>> of the possible causes.<br>
>><br>
>> Sent from my iPhone<br>
>><br>
>> On 17/01/2008, at 22:44, </font><a href=mailto:sophie.ramel@tudor.lu><font size=3 color=blue><u>sophie.ramel@tudor.lu</u></font></a><font size=3>
wrote:<br>
>><br>
>>> Hi Michael,<br>
>>><br>
>>> I'm not at my company these days so I cannot check or make
further<br>
>>> tests.<br>
>>> But yes, we use a rule agent and an URL to query the rule.<br>
>>> And it happens after 1-2 days whether we use the system or
not, it<br>
>>> doesn't<br>
>>> seem to make any difference.<br>
>>><br>
>>> however, I'll check when returning, but I think it still worked<br>
>>> after a few<br>
>>> days, now that I have moved the BRMS to the Jboss 3.2.3 app
server.<br>
>>><br>
>>> thanks for trying to help me!<br>
>>><br>
>>> Sophie<br>
>>><br>
>>> -----</font><a href="mailto:rules-users-bounces@lists.jboss.org"><font size=3 color=blue><u>rules-users-bounces@lists.jboss.org</u></font></a><font size=3>
wrote: -----<br>
>>><br>
>>> To: "Rules Users List" <</font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3>><br>
>>> From: "Michael Neale" <</font><a href=mailto:michael.neale@gmail.com><font size=3 color=blue><u>michael.neale@gmail.com</u></font></a><font size=3>><br>
>>> Sent by: </font><a href="mailto:rules-users-bounces@lists.jboss.org"><font size=3 color=blue><u>rules-users-bounces@lists.jboss.org</u></font></a><font size=3><br>
>>> Date: 01/17/2008 12:52AM<br>
>>> Subject: Re: [rules-users] OutOfMemory with BRMS 4.0.3<br>
>>><br>
>>> Hi Sophie - how is the jboss "runtime" server querying
this? via the<br>
>>> rule<br>
>>> agent (and a URL)?<br>
>>><br>
>>> just trying to work out what the usage pattern is so we can<br>
>>> reproduce it.<br>
>>><br>
>>> Michael.<br>
>>><br>
>>><br>
>>> On Jan 11, 2008 12:20 AM, <<br>
>>> </font><a href=mailto:sophie.ramel@tudor.lu><font size=3 color=blue><u>sophie.ramel@tudor.lu</u></font></a><font size=3><br>
>>>> wrote:<br>
>>><br>
>>> Hello,<br>
>>><br>
>>> I am using Drools BRMS 4.0.3 with tomcat 5.5.25, and I get<br>
>>> OutOfMemory<br>
>>> exceptions in tomcat regularly.<br>
>>><br>
>>> I recently changed the java option of tomcat to add "-Xmx512m",
but<br>
>>> it<br>
>>> only resulted in taking a little more time before crashing
(3 days,<br>
>>> instead of 1 before).<br>
>>> The server has nearly no access - it's a development server
which is<br>
>>> not a<br>
>>> lot used at the moment - and there are only a few rules, for
tests,<br>
>>> so I<br>
>>> really don't understand this error. I'm using java<br>
>>> 1.5.0 on a linux<br>
>>> server.<br>
>>><br>
>>> The BRMS is accessed by web, to create and deploy the rules,
and<br>
>>> queried<br>
>>> from another tool (on the same machine but in another server:
in<br>
>>> JBoss),<br>
>>> to insert data in a workingMemory and execute the rules from
the<br>
>>> deployed<br>
>>> package URL. I call the dispose() method on the StatefulSession
at<br>
>>> the end<br>
>>> of the query (but this shouldn't be linked to this error,
since this<br>
>>> is in<br>
>>> JBoss and the OutOfMemory occurs in tomcat...).<br>
>>><br>
>>> Any idea?<br>
>>> Thanks,<br>
>>><br>
>>> Sophie<br>
>>> _______________________________________________<br>
>>> rules-users mailing list<br>
>>> </font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3><br>
>>><br>
>>><br>
>>> </font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target=_blank><font size=3 color=blue><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></a><font size=3><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Michael D Neale<br>
>>> home:<br>
>>> </font><a href=http://www.michaelneale.net/ target=_blank><font size=3 color=blue><u>www.michaelneale.net</u></font></a><font size=3><br>
>>><br>
>>> blog:<br>
>>><br>
>>> </font><a href=http://michaelneale.blogspot.com/ target=_blank><font size=3 color=blue><u>michaelneale.blogspot.com</u></font></a><font size=3><br>
>>><br>
>>> _______________________________________________<br>
>>> rules-users mailing list<br>
>>> </font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3><br>
>>> </font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target=_blank><font size=3 color=blue><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></a><font size=3><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> rules-users mailing list<br>
>>> </font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3><br>
>>> </font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target=_blank><font size=3 color=blue><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></a><font size=3><br>
>> _______________________________________________<br>
>> rules-users mailing list<br>
>> </font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3><br>
>> </font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target=_blank><font size=3 color=blue><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></a><font size=3><br>
>><br>
>><br>
>> _______________________________________________<br>
>> rules-users mailing list<br>
>> </font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3><br>
>> </font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target=_blank><font size=3 color=blue><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></a><font size=3><br>
> _______________________________________________<br>
> rules-users mailing list<br>
> </font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3><br>
> </font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target=_blank><font size=3 color=blue><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></a><font size=3><br>
><br>
><br>
> _______________________________________________<br>
> rules-users mailing list<br>
> </font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3><br>
> </font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target=_blank><font size=3 color=blue><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></a><font size=3><br>
_______________________________________________<br>
rules-users mailing list</font><font size=3 color=blue><u><br>
</u></font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target=_blank><font size=3 color=blue><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></a><font size=3><br>
<br>
<br>
_______________________________________________<br>
rules-users mailing list</font><font size=3 color=blue><u><br>
</u></font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target=_blank><font size=3 color=blue><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></a>
<br><font size=3><br>
<br>
<br>
-- <br>
Michael D Neale<br>
home: </font><a href=http://www.michaelneale.net/><font size=3 color=blue><u>www.michaelneale.net</u></font></a><font size=3><br>
blog: </font><a href=http://michaelneale.blogspot.com/><font size=3 color=blue><u>michaelneale.blogspot.com</u></font></a><font size=3>
</font><tt><font size=2>_______________________________________________<br>
rules-users mailing list<br>
rules-users@lists.jboss.org<br>
https://lists.jboss.org/mailman/listinfo/rules-users<br>
</font></tt>
<br>