Problems reading values from serviceengine.xml file

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

Problems reading values from serviceengine.xml file

ikarpov
Hello.

We have three production OFBiz severs in a load-balanced configuration. The configuration has worked well for a while, serving record-high volumes, with very few problems. Suddenly, the servers started failing, and the logs filled up with the following exception:

JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml file [java.lang.NumberFormatException: null]. Using defaults.


It happens on all the servers, though not at the same time.

The error seems to indicate that JobInvoker.java encounters a number format problem when getTTL tries to read the ttl value from the <thread-pool/>  tag, but I checked the production file, and it looks ok. In addition, when you restart the servers it works, so the file does not seem to be the issue here.

Please provide any guidance you can, for we do expect even  higher volumes, with the holidays coming up.

Regards, and thanks to all in advance.

Igor Karpov

PS I have searched this forum, and have not been able to find this issue addressed
Reply | Threaded
Open this post in threaded view
|

Re: Problems reading values from serviceengine.xml file

Jacques Le Roux
Administrator
Which veesion and revision are you using ?

Jacques

From: "ikarpov" <[hidden email]>

>
> Hello.
>
> We have three production OFBiz severs in a load-balanced configuration. The
> configuration has worked well for a while, serving record-high volumes, with
> very few problems. Suddenly, the servers started failing, and the logs
> filled up with the following exception:
>
> JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml
> file [java.lang.NumberFormatException: null]. Using defaults.
>
>
> It happens on all the servers, though not at the same time.
>
> The error seems to indicate that JobInvoker.java encounters a number format
> problem when getTTL tries to read the ttl value from the <thread-pool/>
> tag, but I checked the production file, and it looks ok. In addition, when
> you restart the servers it works, so the file does not seem to be the issue
> here.
>
> Please provide any guidance you can, for we do expect even  higher volumes,
> with the holidays coming up.
>
> Regards, and thanks to all in advance.
>
> Igor Karpov
>
> PS I have searched this forum, and have not been able to find this issue
> addressed
> --
> View this message in context: http://www.nabble.com/Problems-reading-values-from-serviceengine.xml-file-tp20441194p20441194.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: Problems reading values from serviceengine.xml file

ikarpov
Hello, Jacques.

I believe the release we use is 4.0_550295.

Thank you very much

Igor

jacques.le.roux wrote
Which veesion and revision are you using ?

Jacques

From: "ikarpov" <karpov.igor@gmail.com>
>
> Hello.
>
> We have three production OFBiz severs in a load-balanced configuration. The
> configuration has worked well for a while, serving record-high volumes, with
> very few problems. Suddenly, the servers started failing, and the logs
> filled up with the following exception:
>
> JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml
> file [java.lang.NumberFormatException: null]. Using defaults.
>
>
> It happens on all the servers, though not at the same time.
>
> The error seems to indicate that JobInvoker.java encounters a number format
> problem when getTTL tries to read the ttl value from the <thread-pool/> 
> tag, but I checked the production file, and it looks ok. In addition, when
> you restart the servers it works, so the file does not seem to be the issue
> here.
>
> Please provide any guidance you can, for we do expect even  higher volumes,
> with the holidays coming up.
>
> Regards, and thanks to all in advance.
>
> Igor Karpov
>
> PS I have searched this forum, and have not been able to find this issue
> addressed
> --
> View this message in context: http://www.nabble.com/Problems-reading-values-from-serviceengine.xml-file-tp20441194p20441194.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: Problems reading values from serviceengine.xml file

BJ Freeman
there was a change to the pool manager after 4.0
I believe it was to solve a similar problem.
how ever you can not, most of the time, put what is done in the current
trunk into 4.0


ikarpov sent the following on 11/11/2008 11:36 AM:

> Hello, Jacques.
>
> I believe the release we use is 4.0_550295.
>
> Thank you very much
>
> Igor
>
>
> jacques.le.roux wrote:
>> Which veesion and revision are you using ?
>>
>> Jacques
>>
>> From: "ikarpov" <[hidden email]>
>>> Hello.
>>>
>>> We have three production OFBiz severs in a load-balanced configuration.
>>> The
>>> configuration has worked well for a while, serving record-high volumes,
>>> with
>>> very few problems. Suddenly, the servers started failing, and the logs
>>> filled up with the following exception:
>>>
>>> JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml
>>> file [java.lang.NumberFormatException: null]. Using defaults.
>>>
>>>
>>> It happens on all the servers, though not at the same time.
>>>
>>> The error seems to indicate that JobInvoker.java encounters a number
>>> format
>>> problem when getTTL tries to read the ttl value from the <thread-pool/>
>>> tag, but I checked the production file, and it looks ok. In addition,
>>> when
>>> you restart the servers it works, so the file does not seem to be the
>>> issue
>>> here.
>>>
>>> Please provide any guidance you can, for we do expect even  higher
>>> volumes,
>>> with the holidays coming up.
>>>
>>> Regards, and thanks to all in advance.
>>>
>>> Igor Karpov
>>>
>>> PS I have searched this forum, and have not been able to find this issue
>>> addressed
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Problems-reading-values-from-serviceengine.xml-file-tp20441194p20441194.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Problems reading values from serviceengine.xml file

Jacques Le Roux
Administrator
Yes, unfortunately this is not easy to solve. A client which I was working with solved this issue by switching to DBCP though, and
they were using and even older version than yours.
Is this related to https://issues.apache.org/jira/browse/OFBIZ-2041 ?

BTW are you sure of this revision # (550295) I don't find it in our svn history (I have 550233 and then 550347)

Jacques

From: "BJ Freeman" <[hidden email]>

> there was a change to the pool manager after 4.0
> I believe it was to solve a similar problem.
> how ever you can not, most of the time, put what is done in the current
> trunk into 4.0
>
>
> ikarpov sent the following on 11/11/2008 11:36 AM:
>> Hello, Jacques.
>>
>> I believe the release we use is 4.0_550295.
>>
>> Thank you very much
>>
>> Igor
>>
>>
>> jacques.le.roux wrote:
>>> Which veesion and revision are you using ?
>>>
>>> Jacques
>>>
>>> From: "ikarpov" <[hidden email]>
>>>> Hello.
>>>>
>>>> We have three production OFBiz severs in a load-balanced configuration.
>>>> The
>>>> configuration has worked well for a while, serving record-high volumes,
>>>> with
>>>> very few problems. Suddenly, the servers started failing, and the logs
>>>> filled up with the following exception:
>>>>
>>>> JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml
>>>> file [java.lang.NumberFormatException: null]. Using defaults.
>>>>
>>>>
>>>> It happens on all the servers, though not at the same time.
>>>>
>>>> The error seems to indicate that JobInvoker.java encounters a number
>>>> format
>>>> problem when getTTL tries to read the ttl value from the <thread-pool/>
>>>> tag, but I checked the production file, and it looks ok. In addition,
>>>> when
>>>> you restart the servers it works, so the file does not seem to be the
>>>> issue
>>>> here.
>>>>
>>>> Please provide any guidance you can, for we do expect even  higher
>>>> volumes,
>>>> with the holidays coming up.
>>>>
>>>> Regards, and thanks to all in advance.
>>>>
>>>> Igor Karpov
>>>>
>>>> PS I have searched this forum, and have not been able to find this issue
>>>> addressed
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Problems-reading-values-from-serviceengine.xml-file-tp20441194p20441194.html
>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Problems reading values from serviceengine.xml file

ikarpov
Hello, Jacques.

The https://issues.apache.org/jira/browse/OFBIZ-2041 entry looks very similar to the issue we are having, so I will try some of Srinivas's recommendations (particularly changing the MySQL settings), and watch this issue for other solutions.

As far as the ofbiz revision we are running, could it be 555384? I inherited this installation, so I am guessing, based on the two urls I see in our SVN: http://svn2.mypublisher.com/repos/mypub/ofbiz/vendor/ofbiz/release4.0_550295 and http://svn2.mypublisher.com/repos/mypub/ofbiz/vendor/ofbiz/release4.0_555384

Thanks a lot for your help,

Igor


jacques.le.roux wrote
Yes, unfortunately this is not easy to solve. A client which I was working with solved this issue by switching to DBCP though, and
they were using and even older version than yours.
Is this related to https://issues.apache.org/jira/browse/OFBIZ-2041 ?

BTW are you sure of this revision # (550295) I don't find it in our svn history (I have 550233 and then 550347)

Jacques

From: "BJ Freeman" <bjfree@free-man.net>
> there was a change to the pool manager after 4.0
> I believe it was to solve a similar problem.
> how ever you can not, most of the time, put what is done in the current
> trunk into 4.0
>
>
> ikarpov sent the following on 11/11/2008 11:36 AM:
>> Hello, Jacques.
>>
>> I believe the release we use is 4.0_550295.
>>
>> Thank you very much
>>
>> Igor
>>
>>
>> jacques.le.roux wrote:
>>> Which veesion and revision are you using ?
>>>
>>> Jacques
>>>
>>> From: "ikarpov" <karpov.igor@gmail.com>
>>>> Hello.
>>>>
>>>> We have three production OFBiz severs in a load-balanced configuration.
>>>> The
>>>> configuration has worked well for a while, serving record-high volumes,
>>>> with
>>>> very few problems. Suddenly, the servers started failing, and the logs
>>>> filled up with the following exception:
>>>>
>>>> JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml
>>>> file [java.lang.NumberFormatException: null]. Using defaults.
>>>>
>>>>
>>>> It happens on all the servers, though not at the same time.
>>>>
>>>> The error seems to indicate that JobInvoker.java encounters a number
>>>> format
>>>> problem when getTTL tries to read the ttl value from the <thread-pool/>
>>>> tag, but I checked the production file, and it looks ok. In addition,
>>>> when
>>>> you restart the servers it works, so the file does not seem to be the
>>>> issue
>>>> here.
>>>>
>>>> Please provide any guidance you can, for we do expect even  higher
>>>> volumes,
>>>> with the holidays coming up.
>>>>
>>>> Regards, and thanks to all in advance.
>>>>
>>>> Igor Karpov
>>>>
>>>> PS I have searched this forum, and have not been able to find this issue
>>>> addressed
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Problems-reading-values-from-serviceengine.xml-file-tp20441194p20441194.html
>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>
>>>
>>
>