org.exolab.castor.xml.MarshalException: /root/etc/poller-configuration.d/pkg_Generic-Layer-3.xml (No such file or directory)

The OpenNMS Issue Tracker | Ronny Trommer | 3 years ago
  1. 0

    The configuration are located in {code}/opt/opennms/etc{code}. The runnable jar for the program is in {code}/root{code}. If you run the command in the directory with the following command {code}java -jar -DConfigFolder=/opt/opennms/etc -DOutPutFile=/root/result.xls configcleaner-1.0-SNAPSHOT-jar-with-dependencies.jar{code}. You receive the following error message: {code} Exception in thread "main" org.exolab.castor.xml.MarshalException: /root/etc/poller-configuration.d/pkg_Generic-Layer-3.xml (No such file or directory) at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:718) at org.opennms.core.xml.CastorUtils.unmarshal(CastorUtils.java:213) at org.opennms.core.xml.CastorUtils.unmarshal(CastorUtils.java:191) at org.opennms.netmgt.config.PollerConfigManager.<init>(PollerConfigManager.java:100) at org.opennms.netmgt.config.PollerConfigFactory.<init>(PollerConfigFactory.java:90) at org.opennms.netmgt.config.PollerConfigFactory.init(PollerConfigFactory.java:126) at org.opennms.configcleaner.PollerChecker.readPollerConfiguration(PollerChecker.java:45) at org.opennms.configcleaner.PollerChecker.updateServiceCompounds(PollerChecker.java:25) at org.opennms.configcleaner.Starter.main(Starter.java:43) Caused by: java.io.FileNotFoundException: /root/etc/poller-configuration.d/pkg_Generic-Layer-3.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at java.io.FileInputStream.<init>(FileInputStream.java:101) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:709) ... 8 more Caused by: java.io.FileNotFoundException: /root/etc/poller-configuration.d/pkg_Generic-Layer-3.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at java.io.FileInputStream.<init>(FileInputStream.java:101) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:709) at org.opennms.core.xml.CastorUtils.unmarshal(CastorUtils.java:213) at org.opennms.core.xml.CastorUtils.unmarshal(CastorUtils.java:191) at org.opennms.netmgt.config.PollerConfigManager.<init>(PollerConfigManager.java:100) at org.opennms.netmgt.config.PollerConfigFactory.<init>(PollerConfigFactory.java:90) at org.opennms.netmgt.config.PollerConfigFactory.init(PollerConfigFactory.java:126) at org.opennms.configcleaner.PollerChecker.readPollerConfiguration(PollerChecker.java:45) at org.opennms.configcleaner.PollerChecker.updateServiceCompounds(PollerChecker.java:25) at org.opennms.configcleaner.Starter.main(Starter.java:43) {code}

    The OpenNMS Issue Tracker | 3 years ago | Ronny Trommer
    org.exolab.castor.xml.MarshalException: /root/etc/poller-configuration.d/pkg_Generic-Layer-3.xml (No such file or directory)
  2. 0

    The configuration are located in {code}/opt/opennms/etc{code}. The runnable jar for the program is in {code}/root{code}. If you run the command in the directory with the following command {code}java -jar -DConfigFolder=/opt/opennms/etc -DOutPutFile=/root/result.xls configcleaner-1.0-SNAPSHOT-jar-with-dependencies.jar{code}. You receive the following error message: {code} Exception in thread "main" org.exolab.castor.xml.MarshalException: /root/etc/poller-configuration.d/pkg_Generic-Layer-3.xml (No such file or directory) at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:718) at org.opennms.core.xml.CastorUtils.unmarshal(CastorUtils.java:213) at org.opennms.core.xml.CastorUtils.unmarshal(CastorUtils.java:191) at org.opennms.netmgt.config.PollerConfigManager.<init>(PollerConfigManager.java:100) at org.opennms.netmgt.config.PollerConfigFactory.<init>(PollerConfigFactory.java:90) at org.opennms.netmgt.config.PollerConfigFactory.init(PollerConfigFactory.java:126) at org.opennms.configcleaner.PollerChecker.readPollerConfiguration(PollerChecker.java:45) at org.opennms.configcleaner.PollerChecker.updateServiceCompounds(PollerChecker.java:25) at org.opennms.configcleaner.Starter.main(Starter.java:43) Caused by: java.io.FileNotFoundException: /root/etc/poller-configuration.d/pkg_Generic-Layer-3.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at java.io.FileInputStream.<init>(FileInputStream.java:101) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:709) ... 8 more Caused by: java.io.FileNotFoundException: /root/etc/poller-configuration.d/pkg_Generic-Layer-3.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at java.io.FileInputStream.<init>(FileInputStream.java:101) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:709) at org.opennms.core.xml.CastorUtils.unmarshal(CastorUtils.java:213) at org.opennms.core.xml.CastorUtils.unmarshal(CastorUtils.java:191) at org.opennms.netmgt.config.PollerConfigManager.<init>(PollerConfigManager.java:100) at org.opennms.netmgt.config.PollerConfigFactory.<init>(PollerConfigFactory.java:90) at org.opennms.netmgt.config.PollerConfigFactory.init(PollerConfigFactory.java:126) at org.opennms.configcleaner.PollerChecker.readPollerConfiguration(PollerChecker.java:45) at org.opennms.configcleaner.PollerChecker.updateServiceCompounds(PollerChecker.java:25) at org.opennms.configcleaner.Starter.main(Starter.java:43) {code}

    The OpenNMS Issue Tracker | 3 years ago | Ronny Trommer
    org.exolab.castor.xml.MarshalException: /root/etc/poller-configuration.d/pkg_Generic-Layer-3.xml (No such file or directory)
  3. 0

    bug avec le build pour parser

    GitHub | 4 years ago | nodea
    java.io.FileNotFoundException: /home/etu4/git/mysimplexmlGIT/dcll.truc/NezFile.xml (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NoClassDefFound Error and Document Exception while trying to do a select operation in hibernate via a servlet

    Stack Overflow | 1 year ago | Soumava Das
    java.io.FileNotFoundException: C:\Program Files\eclipse-jee-luna-R-win32\eclipse\src\dtd\hibernate-configuration-3.0.dtd (The system cannot find the path specified)
  6. 0

    java.io.FileNotFoundException: /root/bimn/bimserver/home/templates/VM_global_library.vm (No such file or directory)

    GitHub | 3 years ago | navneetccna
    java.io.FileNotFoundException: /root/bimn/bimserver/home/templates/VM_global_library.vm (No such file or directory)

  1. Andreas Häber 1 times, last 3 weeks ago
  2. treefolk 1 times, last 1 week ago
  3. davidvanlaatum 1 times, last 2 weeks ago
  4. kjhdofjosvs 1 times, last 1 month ago
  5. MoYapro 1 times, last 1 month ago
7 more registered users
15 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    /root/etc/poller-configuration.d/pkg_Generic-Layer-3.xml (No such file or directory)

    at java.io.FileInputStream.open()
  2. Java RT
    FileURLConnection.getInputStream
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:146)
    3. java.io.FileInputStream.<init>(FileInputStream.java:101)
    4. sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
    5. sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
    5 frames
  3. Xerces2-j
    AbstractSAXParser.parse
    1. org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
    2. org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
    3. org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
    4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(Unknown Source)
    5. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    6. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    7. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    8. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    9. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    10. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    10 frames
  4. Castor
    Unmarshaller.unmarshal
    1. org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:709)
    1 frame
  5. org.opennms.core
    CastorUtils.unmarshal
    1. org.opennms.core.xml.CastorUtils.unmarshal(CastorUtils.java:213)
    2. org.opennms.core.xml.CastorUtils.unmarshal(CastorUtils.java:191)
    2 frames
  6. org.opennms.netmgt
    PollerConfigFactory.init
    1. org.opennms.netmgt.config.PollerConfigManager.<init>(PollerConfigManager.java:100)
    2. org.opennms.netmgt.config.PollerConfigFactory.<init>(PollerConfigFactory.java:90)
    3. org.opennms.netmgt.config.PollerConfigFactory.init(PollerConfigFactory.java:126)
    3 frames
  7. org.opennms.configcleaner
    Starter.main
    1. org.opennms.configcleaner.PollerChecker.readPollerConfiguration(PollerChecker.java:45)
    2. org.opennms.configcleaner.PollerChecker.updateServiceCompounds(PollerChecker.java:25)
    3. org.opennms.configcleaner.Starter.main(Starter.java:43)
    3 frames