We are facing an issue while trying to access a unix directory and files in that directory via webMethods Integration Server.
The permission of unix Directory “Monitoring” is set as owner=root and group= “master”.
webMethods server is installed as user webmethqa in unix server and this user is part of “master” group.
When we connect to machine via putty with user “webmethqa” and try to access directory “Monitoring” , then we can access it and see the files.
But , when we are trying to list files via Integration server, its not working.
We are getting following error:
Null pointer exception and file doesn’t exist.
Not able to understand when “webmethqa” user is able to access files then why not IS which is installed with “webmethqa” user.
webMethods Server version: 7.1.2
Fix Level: IS_7.1.2_Core_Fix45
I am using pub.file:getFile service to pick the file as bytes.
I am getting error as :
//b00/inbound/InterfaceName/Monitoring/abc.xml does not exist
Could you please let me know what I should check in mounting as I am able to view this file via putty for same user with which webMethods is installed.
I have tried with both single slash / and double slash // but none of them is working.
Was going through other forums where putting double slash has resolved issue for other people.
One or two slash depends on where the file is, it should have a certain answer for that, no need to try.
In my opinion, the path starts with two slash is used to access to remote directory in network, and the service pub.file:getFile could be used only for local, so you should always pass the path starts with one slash to this service.
So the question is, is that really a local file? Because there is a folder named b00 under root really seems weird.
Could you run this command successfully from shell?