I specified the path in fileAccessConrol.cnf file but unable to write file to the specified directory.The following error is being shown.Please suggest me the solution for this issue, Thanks in advance.
Error:
com.wm.app.b2b.server.ServiceException: [ISS.0086.9263] Specified path [E:\InvwM\wMftpGet] is not on the [allowedReadPaths] allowed list in the fileAccessControl configuration file
even though my flow service is throwing below error.
Error Log
WMERROR 2015-04-05T09:41:57.613Z 2015-04-05T09:41:57.614Z[ISS.0086.9263] Specified path [D:\wM_Pocs\FileDropsTutorial\outbound\out.txt] is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file com.wm.app.b2b.server.ServiceException: [ISS.0086.9263] Specified path [D:\wM_Pocs\FileDropsTutorial\outbound\out.txt] is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file
at pub.file.checkPathValidity(file.java:152)
at pub.file.readerToFile(file.java:222)
at pub.file.stringToFile(file.java:923)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:443)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:641)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:39)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:49)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:243)
at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49)
at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:302)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:34)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:369)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:545)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:384)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:238)
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:205)
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:254)
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:511)
at com.wm.lang.flow.FlowState.step(FlowState.java:389)
at com.wm.lang.flow.FlowState.invoke(FlowState…services:Processfile pub.file:stringToFile
services:Processfile(/3)
I’m Using webMethods 9.7 trail version.
Ya, I did as suggested but no luck, could you please me.
For Filename variable in StringToFile service, I’m giving ‘D:\wM_Pocs\FileDropsTutorial\outbound\out.txt’ value.
As your using 9.7 you need to modify the file in path \IntegrationServer\instances\default\packages\WmPublic\config\fileAccessControl.cnf to specify which directories/files have access to the directorie(s)/file(s) and then reload the WmPublic package.
As it was windows server use the “//” in file hope this help you.
I am using 9.7
Even I have paremeter watt.security.pub.getFile.checkReadAllowed=false I have got the same error ISS.0086.9263] Specified path [/data/test111] is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file
I have entry allowedWritePaths=//data// in configuration file fileAccessControl.cnf.
Do you have any hint for me?
Thank you very much
Janez
Kindly follow this thread you will be able to fix it yourself. After you edit the fileAccessControl.cnf file make sure you reload the WmPublic package.
You are realy fast.
Thank you for your answer.
I have already done all that. The strange thing for me is why it still checks settings in fileAccessCOntrol.cng file allthough i have set mentioned parameter to false.
But I have also set parameter allowedWritePaths and reloaded package and still no change.