all right, thanks a lot.

Scott Ferguson wrote:
> On Sep 5, 2008, at 2:07 PM, Riccardo Cohen wrote:
> 
>> as an additionnal comment, I can see on linux server only, that  
>> there is
>> an exception "sometimes" (about every minute), wether I put a  
>> scheduled
>> task or not :
> 
> That's not related.  Resin 3.2.0 is polling JMX for status on the  
> memory.  However, it assumed the memory pool names were standardized.  
> Apparently, they're not.  That's been fixed in more recent snapshots.
> 
> -- Scott
>>
>> [21:55:10.615] {resin-12} javax.management.InstanceNotFoundException:
>> java.lang:type=MemoryPool,name=Tenured Gen
>> [21:55:10.615] {resin-12}    at
>> com 
>> .caucho 
>> .jmx.AbstractMBeanServer.getAttribute(AbstractMBeanServer.java:586)
>> [21:55:10.615] {resin-12}    at
>> com 
>> .caucho.server.admin.ProManagement.getMemoryUsage(ProManagement.java: 
>> 350)
>> [21:55:10.615] {resin-12}    at
>> com 
>> .caucho 
>> .server.admin.ProManagement.checkFreeMemory(ProManagement.java:321)
>> [21:55:10.615] {resin-12}    at
>> com.caucho.server.admin.ProManagement.handleAlarm(ProManagement.java: 
>> 212)
>> [21:55:10.615] {resin-12}    at
>> com.caucho.util.Alarm.handleAlarm(Alarm.java:427)
>> [21:55:10.615] {resin-12}    at com.caucho.util.Alarm.run(Alarm.java: 
>> 397)
>> [21:55:10.615] {resin-12}    at
>> com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:759)
>> [21:55:10.615] {resin-12}    at
>> com.caucho.util.ThreadPool$Item.run(ThreadPool.java:681)
>> [21:55:10.615] {resin-12}    at java.lang.Thread.run(Thread.java:595)
>>
>> I don't know if this is related to the multiple schedule task  
>> problem, I
>> just wanted to inform.
>> Thanks
>>
>> Scott Ferguson wrote:
>>> On Sep 2, 2008, at 9:09 AM, Riccardo Cohen wrote:
>>>
>>>> Hi
>>>> I set a scheduled-task :
>>>>
>>>>  <scheduled-task class="mputils.Cronvisible">
>>>>    <cron>* * * * *</cron>
>>>>  </scheduled-task>
>>>>
>>>> The first time it is executed 3 times instead of once, then one  
>>>> minute
>>>> later it is executed 4 times, then more etc... (not regular)
>>> Hmm.  That should be the same as our basic scheduled-task test.  I
>>> don't know why it would act differently.
>>>
>>> I've added a bug report at http://bugs.caucho.com/view.php?id=2894
>>>
>>> -- Scott
>>>
>>>> the cron job is :
>>>>
>>>>  public void run()
>>>>  {
>>>>    Globalaction.in.log.info("Cronvisible is running");
>>>>  }
>>>>
>>>> this is the log :
>>>>
>>>> [18:07:00.004] {resin-15} Cronvisible is running
>>>> [18:07:00.108] {resin-20} Cronvisible is running
>>>> [18:07:00.211] {resin-15} Cronvisible is running
>>>>
>>>> [18:08:00.001] {resin-19} Cronvisible is running
>>>> [18:08:00.064] {resin-21} Cronvisible is running
>>>> [18:08:00.129] {resin-19} Cronvisible is running
>>>> [18:08:00.193] {resin-21} Cronvisible is running
>>>>
>>>> [18:09:00.001] {resin-20} Cronvisible is running
>>>> [18:09:00.026] {resin-21} Cronvisible is running
>>>> [18:09:00.050] {resin-20} Cronvisible is running
>>>> [18:09:00.075] {resin-21} Cronvisible is running
>>>> [18:09:00.099] {resin-20} Cronvisible is running
>>>> [18:09:00.124] {resin-21} Cronvisible is running
>>>> [18:09:00.148] {resin-20} Cronvisible is running
>>>> [18:09:00.173] {resin-21} Cronvisible is running
>>>> [18:09:00.198] {resin-20} Cronvisible is running
>>>> [18:09:00.222] {resin-21} Cronvisible is running
>>>> [18:09:00.247] {resin-20} Cronvisible is running
>>>>
>>>>
>>>> I use resin 3.2 (6th aug) on macosx 10,5
>>>>
>>>> Am I doing something wrong ?
>>>>
>>>> Thanks for any info.
>>>> -- 
>>>> Riccardo Cohen
>>>> Architecte du Logiciel
>>>> http://www.architectedulogiciel.fr
>>>> +33 (0)6.09.83.64.49
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> resin-interest mailing list
>>>> resin-interest@caucho.com
>>>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>>>
>>>
>>> _______________________________________________
>>> resin-interest mailing list
>>> resin-interest@caucho.com
>>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>>>
>>>
>> -- 
>> Riccardo Cohen
>> Architecte du Logiciel
>> http://www.architectedulogiciel.fr
>> +33 (0)6.09.83.64.49
>>
>>
>>
>> _______________________________________________
>> resin-interest mailing list
>> resin-interest@caucho.com
>> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 
> 
> 
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 
> 

-- 
Riccardo Cohen
Architecte du Logiciel
http://www.architectedulogiciel.fr
+33 (0)6.09.83.64.49



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to