Oddjob Hangs

General
Todd Sykes
2012-12-10
2013-05-28
  • Todd Sykes
    Todd Sykes
    2012-12-10

    Been using oddjob for a couple years. Still running Oddjob-0.30.0 in production (Windows Server 2003). Occassionally, when running our nightly jobs, oddjob will start freezing on some of the tasks. By freezing, I mean that I have a green arrow but there is no process running and I can't further load the oddjob that defines the process. If I try to stop, the arrow will turn red for a few seconds and then back to green. The only solution found so far is to restart the oddjob service.

    Here's a stack trace that I found.

    ERROR 09-Dec-12 22:12:58:  Job Exception.
    file:/C:/ETL_Repo_for_Services/Oddjob/Servers/simple_pan_oddjob.xml:117: Failed accessing property  (org.oddjob.Oddjob$OddjobRoot)
    at org.oddjob.arooa.xml.XMLConfiguration.parse(XMLConfiguration.java:253)
    at org.oddjob.arooa.standard.StandardArooaParser.parse(StandardArooaParser.java:123)
    at org.oddjob.Oddjob.doLoad(Oddjob.java:460)
    at org.oddjob.Oddjob.execute(Oddjob.java:517)
    at org.oddjob.framework.StructuralJob.run(StructuralJob.java:98)
    at org.oddjob.jobs.structural.SequentialJob.execute(SequentialJob.java:85)
    at org.oddjob.framework.StructuralJob.run(StructuralJob.java:98)
    at org.oddjob.Oddjob.execute(Oddjob.java:538)
    at org.oddjob.framework.StructuralJob.run(StructuralJob.java:98)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: org.oddjob.arooa.reflect.PropertyAccessException: Failed accessing property  (org.oddjob.Oddjob$OddjobRoot)
    at org.oddjob.arooa.beanutils.BeanUtilsPropertyAccessor.setSimpleProperty(BeanUtilsPropertyAccessor.java:230)
    at org.oddjob.arooa.standard.InstanceConfiguration.setProperty(InstanceConfiguration.java:112)
    at org.oddjob.arooa.standard.InstanceRuntime.setProperty(InstanceRuntime.java:196)
    at org.oddjob.arooa.standard.SimplePropertyRuntime.setProperty(SimplePropertyRuntime.java:55)
    at org.oddjob.arooa.standard.SimpleInstanceRuntime$1.parentSetProperty(SimpleInstanceRuntime.java:27)
    at org.oddjob.arooa.standard.ComponentConfiguration$1.init(ComponentConfiguration.java:30)
    at org.oddjob.arooa.standard.ComponentConfiguration.init(ComponentConfiguration.java:84)
    at org.oddjob.arooa.standard.InstanceRuntime.init(InstanceRuntime.java:159)
    at org.oddjob.arooa.xml.SAXHandler.endElement(SAXHandler.java:202)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2938)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
    at org.oddjob.arooa.xml.XMLConfiguration.parse(XMLConfiguration.java:236)
    … 14 more
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:2170)
    at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:2151)
    at org.oddjob.arooa.beanutils.BeanUtilsPropertyAccessor.setSimpleProperty(BeanUtilsPropertyAccessor.java:226)
    … 34 more
    Caused by: java.lang.IllegalArgumentException: null source
    at java.util.EventObject.<init>(EventObject.java:38)
    at javax.management.Notification.<init>(Notification.java:168)
    at org.oddjob.jmx.server.OddjobMBean$Toolkit.createNotification(OddjobMBean.java:251)
    at org.oddjob.jmx.handlers.StructuralHandlerFactory$ServerStructuralHelper$1.childAdded(StructuralHandlerFactory.java:236)
    at org.oddjob.structural.ChildHelper$ChildAdded.dispatch(ChildHelper.java:299)
    at org.oddjob.structural.ChildHelper.addStructuralListener(ChildHelper.java:249)
    at org.oddjob.framework.StructuralJob.addStructuralListener(StructuralJob.java:251)
    at org.oddjob.jmx.handlers.StructuralHandlerFactory$ServerStructuralHelper.<init>(StructuralHandlerFactory.java:295)
    at org.oddjob.jmx.handlers.StructuralHandlerFactory.createServerHandler(StructuralHandlerFactory.java:84)
    at org.oddjob.jmx.handlers.StructuralHandlerFactory.createServerHandler(StructuralHandlerFactory.java:41)
    at org.oddjob.jmx.server.ServerInterfaceManagerImpl.create(ServerInterfaceManagerImpl.java:115)
    at org.oddjob.jmx.server.ServerInterfaceManagerImpl.<init>(ServerInterfaceManagerImpl.java:73)
    at org.oddjob.jmx.server.ServerInterfaceManagerFactoryImpl.create(ServerInterfaceManagerFactoryImpl.java:53)
    at org.oddjob.jmx.server.OddjobMBean.<init>(OddjobMBean.java:85)
    at org.oddjob.jmx.server.OddjobMBeanFactory.createMBeanFor(OddjobMBeanFactory.java:65)
    at org.oddjob.jmx.handlers.StructuralHandlerFactory$ServerStructuralHelper$1.childAdded(StructuralHandlerFactory.java:217)
    at org.oddjob.structural.ChildHelper.notifyChildAdded(ChildHelper.java:327)
    at org.oddjob.structural.ChildHelper.insertChild(ChildHelper.java:67)
    at org.oddjob.Oddjob$OddjobRoot.setJob(Oddjob.java:866)

     
  • Rob Gordon
    Rob Gordon
    2012-12-11

    Hi - Sorry but I don't know what this could be. Would it be possible for you to upgrade to the latest version to see if the problem is fixed?

    Rob.