Weird random error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Weird random error

Jacques Le Roux
Administrator
From time to time I get this error which repeat over and over when I start OFBiz after an "ant clean", then ant (my serviceengine.xml is clean)

2009-03-18 07:45:27,156 (default-invoker-Thread-11) [         JobInvoker.java:286:ERROR] Problems reading value from attribute [ttl] of element [thread-pool] in serviceengine.xml file [java.lang.NumberFormatException: For input string: ""]. Using default (18000000).

If I restart the problem dissapears

Nobody an idea what it could be ?

Jacques
Reply | Threaded
Open this post in threaded view
|

Re: Weird random error

Bilgin Ibryam
I also face this error from time to time, but could't find the reason  
for it.

Bilgin
On Mar 18, 2009, at 9:04 AM, Jacques Le Roux wrote:

> From time to time I get this error which repeat over and over when I  
> start OFBiz after an "ant clean", then ant (my serviceengine.xml is  
> clean)
>
> 2009-03-18 07:45:27,156 (default-invoker-Thread-11)  
> [         JobInvoker.java:286:ERROR] Problems reading value from  
> attribute [ttl] of element [thread-pool] in serviceengine.xml file  
> [java.lang.NumberFormatException: For input string: ""]. Using  
> default (18000000).
>
> If I restart the problem dissapears
>
> Nobody an idea what it could be ?
>
> Jacques

Reply | Threaded
Open this post in threaded view
|

Re: Weird random error

Stephen Rufle-2
Could it be that the xml file does not get fully parsed? I also think
that if
we switched
to
ttl= NumberUtils.toLong(ServiceConfigUtil.getElementAttr("thread-pool",
"ttl"),THREAD_TTL);

from
ttl = Long.parseLong();

the problem might never  showup.

Bilgin Ibryam wrote:

> I also face this error from time to time, but could't find the reason
> for it.
>
> Bilgin
> On Mar 18, 2009, at 9:04 AM, Jacques Le Roux wrote:
>
>> From time to time I get this error which repeat over and over when I
>> start OFBiz after an "ant clean", then ant (my serviceengine.xml is
>> clean)
>>
>> 2009-03-18 07:45:27,156 (default-invoker-Thread-11) [        
>> JobInvoker.java:286:ERROR] Problems reading value from attribute
>> [ttl] of element [thread-pool] in serviceengine.xml file
>> [java.lang.NumberFormatException: For input string: ""]. Using
>> default (18000000).
>>
>> If I restart the problem dissapears
>>
>> Nobody an idea what it could be ?
>>
>> Jacques
>
>
>

--
Stephen P Rufle
[hidden email]
H1:480-626-8022
H2:480-802-7173
Yahoo IM: stephen_rufle
AOL IM: stephen1rufle

Reply | Threaded
Open this post in threaded view
|

Re: Weird random error

Jacques Le Roux
Administrator
Thanks Stephen,

Commited in trunk at r768675, R9.04 at r768681

Jacques

From: "Stephen Rufle" <[hidden email]>

> Could it be that the xml file does not get fully parsed? I also think
> that if
> we switched
> to
> ttl= NumberUtils.toLong(ServiceConfigUtil.getElementAttr("thread-pool",
> "ttl"),THREAD_TTL);
>
> from
> ttl = Long.parseLong();
>
> the problem might never  showup.
>
> Bilgin Ibryam wrote:
>> I also face this error from time to time, but could't find the reason
>> for it.
>>
>> Bilgin
>> On Mar 18, 2009, at 9:04 AM, Jacques Le Roux wrote:
>>
>>> From time to time I get this error which repeat over and over when I
>>> start OFBiz after an "ant clean", then ant (my serviceengine.xml is
>>> clean)
>>>
>>> 2009-03-18 07:45:27,156 (default-invoker-Thread-11) [        
>>> JobInvoker.java:286:ERROR] Problems reading value from attribute
>>> [ttl] of element [thread-pool] in serviceengine.xml file
>>> [java.lang.NumberFormatException: For input string: ""]. Using
>>> default (18000000).
>>>
>>> If I restart the problem dissapears
>>>
>>> Nobody an idea what it could be ?
>>>
>>> Jacques
>>
>>
>>
>
> --
> Stephen P Rufle
> [hidden email]
> H1:480-626-8022
> H2:480-802-7173
> Yahoo IM: stephen_rufle
> AOL IM: stephen1rufle
>