When i use read resource content to read the file i got the following error:
Caused by: com.adobe.repository.ResourceNotFoundException: ALC-REP-018-000: Resource [////Shiva//Test//tempExcel.xlsx] does not exist or you do not have sufficient rights to access it.
How can i fix this error?
readResource content operation will fetch documents from Adobe Repository. Unless you checkin the required file into repository, the above error will remain.
From a shared folder, you should able to read the files using readDocument (using FileUtils) without any issues. Perhaps, the access rights prevent the execution.
If you are running JBoss as a windows service (turnkey will create a windows service for the JBoss instance), try the following:
Run -> services.msc -> Right click on JBoss service for Adobe LiveCycle -> Properties
Check the value given under logon tab. The User Account mentioned there should have appropriate access to the shared folder you are attempting read.