|
From: <Pat...@ae...> - 2004-03-08 22:56:47
|
Hi,
I am attempting to write a program that accesses a file on different
machine.
In a simple standalone program, I can read the file fine. The following code
produces "file.exists() = true":
String logFilePath = "//somemachine/j2ee_home/myApp.log";
File file = new File(logFilePath);
System.out.println("file.exists() = " + file.exists() );
However when I run the same code inside the Java Service Wrapper, the output
is "file.exists() = false". For some reason I can't access the file.
Does anyone have any information on this problem?
|