Skip to Content
0
Former Member
Aug 03, 2016 at 01:36 PM

Hot folder import using external file path

875 Views

           <constructor-arg value="#{configurationService.configuration.getProperty('xyz.base.hotfolder.location')}" />
    </bean>


I have given the location ---> xyz.base.hotfolder.location=c:/hot_folder_test

and Started the server in normal like hybrisserver.bat

When I am try to import csv file through hot folder from c:/hot_folder_test I am encounter with the following exception.

INFO [task-scheduler-10] (junit) [TenantActivationAspect] Setting tenant <>[458629275] on the current thread Thread[task-scheduler-10,5,main] ERROR [task-scheduler-10] [ErrorHandler] unexpected exception caught org.springframework.messaging.MessageHandlingException: ; nested exception is de.hybris.platform.acceleratorservices.dataimport.batch.BatchException: system not initialized at org.springframework.integration.handler.MethodInvokingMessageProcessor.processMessage(MethodInvokingMessageProcessor.java:78) ~[spring-integration-core-4.1.2.RELEASE.jar:?] at org.springframework.integration.handler.ServiceActivatingHandler.handleRequestMessage(ServiceActivatingHandler.java:71) ~[spring-integration-core-4.1.2.RELEASE.jar:?] org.springframework.integration.handler.AbstractReplyProducingMessageHandler.handleMessageInternal(AbstractReplyProducingMessageHandler.java:99) ~[spring-integration-core-4.1.2.RELEASE.jar:?] at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:78) ~[spring-integration-core-4.1.2.RELEASE.jar:?]

Could you