Hi, My app has been running fine, then I decided to install a security manager on both my gui and server, and I am requiring the a policy file in the command lines of both client and server. What is happening is that for some strange reason, when I ask for the file chooser in the gui, it attempts to read the a: drive first, even though, I instantiated the file chooser to start on a specific directory. I get an error message from java.exe that it could not read the a: drive and if I click cancel, I get my file chooser dialog. The same code is in the server, but there the file chooser behaves as it should by opening in the directory specified. Has anyone ever ran into this problem before? This only started happening after installing the security manager. Any clues would greatly reduce my stress level right now Thanks, Nate
Emerson Dunne
Greenhorn
Joined: Oct 19, 2000
Posts: 28
posted
0
Nathan, can you post your policy file?
Nathan Daniels
Greenhorn
Joined: May 03, 2001
Posts: 21
posted
0
I tried both a policy file that grants all permission and one that grants permissions to specific ports. Nothing different than you have normally seen posted here. Besides, either policy file works on the server. The code is the same on the client, but I only get my file chooser in the specified directory after I cancelled out of the java.exe error message. I am getting to the point, where I have to decide if a security manager on the client is really necessary for the purpose of this assignment. Any thoughts and/or arguments on this subject??
Rohini Sulatycki
Greenhorn
Joined: Jun 07, 2001
Posts: 5
posted
0
Have you resolved this problem? I am getting the same error...
Originally posted by Nathan Daniels: I tried both a policy file that grants all permission and one that grants permissions to specific ports. Nothing different than you have normally seen posted here. Besides, either policy file works on the server. The code is the same on the client, but I only get my file chooser in the specified directory after I cancelled out of the java.exe error message. I am getting to the point, where I have to decide if a security manager on the client is really necessary for the purpose of this assignment. Any thoughts and/or arguments on this subject??