What steps will reproduce the problem?
1. Create a poller-config.xml which points to a non existent directory
2. File connector fails to start with the below error message:
com.cordys.coe.ac.fileconnector.exception.ConfigException: Unable to load
configuration from XMLStore.
at com.cordys.coe.ac.fileconnector.extensions.directorypoller.DirectoryPoller.getConfiguration(DirectoryPoller.java:284)
at com.cordys.coe.ac.fileconnector.extensions.directorypoller.DirectoryPoller.initialize(DirectoryPoller.java:159)
at com.cordys.coe.ac.fileconnector.FileConnector.loadExtensions(FileConnector.java:496)
at com.cordys.coe.ac.fileconnector.FileConnector.open(FileConnector.java:262)
at com.eibus.soap.Processor.open(Processor.java:755)
at com.eibus.soap.Processor.startProcessor(Processor.java:1050)
at com.eibus.soap.ProcessStreamsHandler.startProcessor(ProcessStreamsHandler.java:686)
at com.eibus.soap.ProcessStreamsHandler$StreamReader.run(ProcessStreamsHandler.java:353)
Caused by: com.cordys.coe.ac.fileconnector.exception.FileException: Unable to
create input folder: /mnt/hgfs/directory/in
at com.cordys.coe.ac.fileconnector.extensions.directorypoller.Folder.parseFromXML(Folder.java:179)
at com.cordys.coe.ac.fileconnector.extensions.directorypoller.Folder.<init>(Folder.java:120)
at com.cordys.coe.ac.fileconnector.extensions.directorypoller.FolderConfiguration.parseConfiguration(FolderConfiguration.java:122)
at com.cordys.coe.ac.fileconnector.extensions.directorypoller.FolderConfiguration.<init>(FolderConfiguration.java:62)
at com.cordys.coe.ac.fileconnector.extensions.directorypoller.DirectoryPoller.getConfiguration(DirectoryPoller.java:280)
... 7 more
The message suggests that the configuration file is not found. Looking further
down the stack trace it becomes clear that directory configured in the
poller-config.xml is not available.
The expected error message should directly point on:
"Unable to create input folder: /mnt/hgfs/directory/in"
Original issue reported on code.google.com by te...@cordys.com on 31 Jul 2012 at 2:57
Original issue reported on code.google.com by
te...@cordys.com
on 31 Jul 2012 at 2:57