Question

How to access file reader on IFSCloud

  • 17 January 2022
  • 4 replies
  • 406 views

Userlevel 1
Badge +3

Hello,

We have ifscloud environment (remote). on pervious version we used to send files to application server and the same was picked by file reader.

can you suggest how the same be done in ifscloud. which path do we need to give as the application server now is on ubuntu/Kubernets 

 

Regards

Pankaj


This topic has been closed for comments

4 replies

Userlevel 7
Badge +18

Hi @pgupta,

File connector runs inside of the connect container hence it is not possible for the user to place the files inside the folder in the container. IN and OUT folder shared location and path should be provided in the settings along with a username and a password for accessing this location. This is necessary as you are accessing a shared location. File connector will work only with remote customers. 

Shared IN and OUT folders could be placed inside Linux server or inside the windows management server as well. For a Linux system SMB server should be installed.

If the folders are on a Windows Server, first you will have to create a shared folder and need to provide this path when setting up the file reader and should make sure that the full qualified path to the server is given. Also the archive folder. If the file reader still do not pick files from the shared folder, it is possible to increase the log level to debug and check the  output logs for any hints.

 

Hope this helps!

Userlevel 1
Badge +3

Hello Himasha,

thanks for your reply. can you suggest where do we check output logs. 

Regards

Pankaj

Userlevel 7
Badge +18

Hi @pgupta,

Hope this helps!

 

Userlevel 1
Badge +3

Hello,

Thanks a lot for the quickest reply.

checked and got this error

PS C:\IFSOCDEV\ifsroot\deliveries\ifs-cloud-21.2.4-pe3zujo-4.2.0-20220222T071637Z-success\ifsinstaller> kubectl logs -l app=ifsapp-connect -c ifsapp-connect -n ifsocdev
[0m[31m2022-02-24 12:43:30,038 SEVERE [ifs.Integration] (EJB default - 5) Successfully looked up ManagedExecutorService [java:jboss/ee/concurrency/executor/ConnectReader] for [Reader]
[0m[31m2022-02-24 12:43:30,038 SEVERE [ifs.Integration] (EJB default - 5) Creating ConnectReaderManager(READSOFTFTP, INIT_READER, null)
[0m[31m2022-02-24 12:43:30,038 SEVERE [ifs.Integration] (EJB default - 5) Submiting work
[0m[31m2022-02-24 12:43:30,039 SEVERE [ifs.Integration] (EE-ManagedExecutorService-ConnectReader-Thread-12) Initializating FTP(S) Reader [READSOFTFTP]...
[0m[31m2022-02-24 12:43:30,042 SEVERE [ifs.Integration] (EE-ManagedExecutorService-ConnectReader-Thread-12) Building FtpClient for [FTPS/SSL] at [rstestapp02.ifs.ori.local:21]
[0m[31m2022-02-24 12:43:30,042 SEVERE [ifs.Integration] (EE-ManagedExecutorService-ConnectReader-Thread-12) Creating new FTPSClient for protocol [SSL]
[0m[31m2022-02-24 12:43:30,039 SEVERE [ifs.Integration] (EJB default - 5) Waiting [60] seconds for completion of work...
[0m[31m2022-02-24 12:43:30,044 SEVERE [ifs.Integration] (EJB default - 5) Restoring previous Logger
[0m[31m2022-02-24 12:43:30,044 SEVERE [ifs.Integration] (EJB default - 5) Calling nativeClose()...
[0m[31m2022-02-24 12:43:30,045 SEVERE [ifs.Integration] (EJB default - 5) Fatal error in timer [READER:READSOFTFTP] count=2156 delay=600000
PS C:\IFSOCDEV\ifsroot\deliveries\ifs-cloud-21.2.4-pe3zujo-4.2.0-20220222T071637Z-success\ifsinstaller>

Can you suggest. 

Regards

Pankaj