Urgent production issue

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

Urgent production issue

Florin Popa
Hello all,

Has anyone experienced that problem? There could be hours and even days when
it does not appear at all.. But when it starts, I need to restart the
instance of ofbiz...


2010-02-16 03:09:08,014 (TP-Processor2) [            UtilXml.java:651:ERROR]
XmlFileLoader: File
file:/data/ofbiz/ofbiz_ok_20100209/framework/entity/config/entityengine.xml
process error. Line: 50. Error message: cvc-complex-type.2.4.a: Invalid
content was found starting with element 'connection-factory'. One of
'{delegator}' is expected.
Exception in thread "default-invoker-Thread-831"
java.lang.NullPointerException
2010-02-16 03:09:08,618 (default-invoker-Thread-830) [
JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml
file [java.lang.NumberFormatException: null]. Using defaults.
        at
org.apache.xerces.dom.DeferredElementNSImpl.synchronizeData(Unknown Source)
        at org.apache.xerces.dom.ElementImpl.getNodeName(Unknown Source)
        at org.ofbiz.base.util.UtilXml.firstChildElement(UtilXml.java:431)
        at
org.ofbiz.service.config.ServiceConfigUtil.getXmlRootElement(ServiceConfigUtil.java:48)
        at
org.ofbiz.service.config.ServiceConfigUtil.getElement(ServiceConfigUtil.java:55)
        at
org.ofbiz.service.config.ServiceConfigUtil.getElementAttr(ServiceConfigUtil.java:63)
        at org.ofbiz.service.job.JobInvoker.getTTL(JobInvoker.java:265)
        at org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:255)
        at java.lang.Thread.run(Thread.java:619)2010-02-16 03:09:08,619
(default-invoker-Thread-830) [         JobInvoker.java:267:ERROR] Problems
reading values from serviceengine.xml file [java.lang.NumberFormatException:
null]. Using defaults.

2010-02-16 03:09:09,371 (default-invoker-Thread-830) [
JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml
file [java.lang.NumberFormatException: null]. Using defaults.
2010-02-16 03:09:09,371 (default-invoker-Thread-830) [
JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml
file [java.lang.NumberFormatException: null]. Using defaults.
2010-02-16 03:09:10,123 (default-invoker-Thread-830) [
JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml
file [java.lang.NumberFormatException: null]. Using defaults.
2010-02-16 03:09:10,123 (default-invoker-Thread-830) [
JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml
file [java.lang.NumberFormatException: null]. Using defaults.


Since it starts with this, the onlu solution is server restart

thanks in advanced,
 Florin
Reply | Threaded
Open this post in threaded view
|

Re: Urgent production issue

Jacques Le Roux
Administrator
I know it's an old thread, just curious to know it this issue has been addressed/resolved somehow?

Thanks

Jacques

From: "Florin Popa" <[hidden email]>

> Hello all,
>
> Has anyone experienced that problem? There could be hours and even days when
> it does not appear at all.. But when it starts, I need to restart the
> instance of ofbiz...
>
>
> 2010-02-16 03:09:08,014 (TP-Processor2) [            UtilXml.java:651:ERROR]
> XmlFileLoader: File
> file:/data/ofbiz/ofbiz_ok_20100209/framework/entity/config/entityengine.xml
> process error. Line: 50. Error message: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'connection-factory'. One of
> '{delegator}' is expected.
> Exception in thread "default-invoker-Thread-831"
> java.lang.NullPointerException
> 2010-02-16 03:09:08,618 (default-invoker-Thread-830) [
> JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml
> file [java.lang.NumberFormatException: null]. Using defaults.
>        at
> org.apache.xerces.dom.DeferredElementNSImpl.synchronizeData(Unknown Source)
>        at org.apache.xerces.dom.ElementImpl.getNodeName(Unknown Source)
>        at org.ofbiz.base.util.UtilXml.firstChildElement(UtilXml.java:431)
>        at
> org.ofbiz.service.config.ServiceConfigUtil.getXmlRootElement(ServiceConfigUtil.java:48)
>        at
> org.ofbiz.service.config.ServiceConfigUtil.getElement(ServiceConfigUtil.java:55)
>        at
> org.ofbiz.service.config.ServiceConfigUtil.getElementAttr(ServiceConfigUtil.java:63)
>        at org.ofbiz.service.job.JobInvoker.getTTL(JobInvoker.java:265)
>        at org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:255)
>        at java.lang.Thread.run(Thread.java:619)2010-02-16 03:09:08,619
> (default-invoker-Thread-830) [         JobInvoker.java:267:ERROR] Problems
> reading values from serviceengine.xml file [java.lang.NumberFormatException:
> null]. Using defaults.
>
> 2010-02-16 03:09:09,371 (default-invoker-Thread-830) [
> JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml
> file [java.lang.NumberFormatException: null]. Using defaults.
> 2010-02-16 03:09:09,371 (default-invoker-Thread-830) [
> JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml
> file [java.lang.NumberFormatException: null]. Using defaults.
> 2010-02-16 03:09:10,123 (default-invoker-Thread-830) [
> JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml
> file [java.lang.NumberFormatException: null]. Using defaults.
> 2010-02-16 03:09:10,123 (default-invoker-Thread-830) [
> JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml
> file [java.lang.NumberFormatException: null]. Using defaults.
>
>
> Since it starts with this, the onlu solution is server restart
>
> thanks in advanced,
> Florin
>