问题描述
was6访问共享文件夹\cnbdc01it该如何设置was.policy文件?尝试了设置,但是还是无法访问/*AUTOMATICALLYGENERATEDONMonApr2013:00:46CST2009*//*DONOTEDIT*/keystore"";grantcodeBase"file:DocumentsSearch.war"{permissionjava.io.FilePermission"//cnbdc01","read,write,delete,execute";};
解决方案
解决方案二:
补充说明,window下was6如何访问\cnbdc01share共享盘?,代码在rational通过的,然而deploy到was上就是不能访问.Filef=newFile("\\cnbdc01\share\");if(f.exists()){System.out.println("thisfileisexists");}else{System.out.println("thisfileisnotexists");}
解决方案三:
把\cnbdc01it映射成本地磁盘
解决方案四:
http://www-01.ibm.com/support/docview.wss?rs=180&context=SSEQTP&uid=swg21316456&loc=en_US&cs=utf-8&lang=enThisproblemisoutlinedinMicrosoftSupportarticle180362:http://support.microsoft.com/default.aspx/kb/180362/
时间: 2024-09-15 17:28:01