Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

file chooser is acting strangely

 
Nathan Daniels
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nathan, can you post your policy file?
 
Nathan Daniels
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic