Skip to Content
Former Member
Apr 28, 2005 at 09:47 AM

Reading a file from a File Server using WAS


Hello All,

We are required to access a few files from the Lan File Servers, where only certain users have read access. When I run a java program to read the files on my local JVM, I am able to access the file. However, when I deploy the same java program on the J2EE engine, the following error comes\04_Design\01_Design_Docs\cookbook.xls (Logon failure: unknown user name or bad password).( is the IP of lan server). We noticed that System property in this case is SAPJ2EService, while when local JVM runs it is my windows login. I am not sure what is the workaround for this? One way is to change WAS's java.policy and security file, but is there any other way which can be done programmatically, since we wouldn't have access to the Production Server.