Я создал собственный модуль и зарегистрировал его, как указано в документе Spring-XD. Во время развертывания потока я получаю аналогичную ошибку:
Mar 02, 2015 10:45:48 PM org.springframework.shell.core.SimpleExecutionStrategy invoke
SEVERE: Command failed org.springframework.xd.rest.client.impl.SpringXDException: Multiple top level module resources found :file [/opt/spring-xd/spring-xd-1.1.0.RELEASE/xd/config/jms-activemq.properties],file [/opt/spring-xd/spring-xd-1.1.0.RELEASE/xd/config/xd-container-logger.properties],file [/opt/spring-xd/spring-xd-1.1.0.RELEASE/xd/config/jms-hornetq.properties],file [/opt/spring-xd/spring-xd-1.1.0.RELEASE/xd/config/xd-singlenode-logger.properties],file [/opt/spring-xd/spring-xd-1.1.0.RELEASE/xd/config/xd-admin-logger.properties],file [/opt/spring-xd/spring-xd-1.1.0.RELEASE/xd/config/httpSSL.properties],file [/opt/spring-xd/spring-xd-1.1.0.RELEASE/xd/config/hadoop.properties]
Я так понимаю, что моему модулю не хватает файла конфигурации и файла свойств.
Вот я и хочу понять, можно ли копировать файлы вручную? Если да, то какое будет место
Заранее спасибо.
Разрешение:
1. Create "config" directory at $XD_HOME/modules/processor/<name>/
2. Add <name>.xml to $XD_HOME/modules/processor/<name>/config