Hello,
I'm running my rmi client and got the following errors.
java.io.FileNotFoundException: \logs\new.log (The system cannot find the path specified)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
and
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission createSecurityManager)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.<init>(Unknown Source)
at net.jini.security.Security$ClassContextAccess.<init>(Security.java:965)
at net.jini.security.Security$ClassContextAccess.<init>(Security.java:965)
at net.jini.security.Security$1.run(Security.java:167)
at java.security.AccessController.doPrivileged(Native Method)
at net.jini.security.Security.<clinit>(Security.java:165)
... 10 more
Does anyone have any suggestion on how to fix these two problems?
Does anyone know what these error means?
Started by minifish, Nov 03 2008 10:17 AM
1 reply to this topic
#1
Posted 03 November 2008 - 10:17 AM
|
|
|
#2
Posted 03 November 2008 - 12:37 PM
It looks like you are trying to add text to a non-existent file. Without seeing your code and the content of \logs, it's hard to say for sure.
For the second item, you may have tried to use a function (such as in an applet) that is not allowed to run in the given situation (applets cannot access files on the local system). Again, without the code it's hard to say.
For the second item, you may have tried to use a function (such as in an applet) that is not allowed to run in the given situation (applets cannot access files on the local system). Again, without the code it's hard to say.


Sign In
Create Account

Back to top









