Hello,
I'm running my rmi client and got the following errors.
java.io.FileNot FoundException: \logs\new.log (The system cannot find the path specified)
at java.io.FileOut putStream.openA ppend(Native Method)
at java.io.FileOut putStream.<init >(Unknown Source)
at java.io.FileOut putStream.<init >(Unknown Source)
and
Caused by: java.security.A ccessControlExc eption: access denied (java.lang.Runt imePermission createSecurityM anager)
at java.security.A ccessControlCon text.checkPermi ssion(Unknown Source)
at java.security.A ccessController .checkPermissio n(Unknown Source)
at java.lang.Secur ityManager.chec kPermission(Unk nown Source)
at java.lang.Secur ityManager.<ini t>(Unknown Source)
at net.jini.securi ty.Security$Cla ssContextAccess .<init>(Securit y.java:965)
at net.jini.securi ty.Security$Cla ssContextAccess .<init>(Securit y.java:965)
at net.jini.securi ty.Security$1.r un(Security.jav a:167)
at java.security.A ccessController .doPrivileged(N ative Method)
at net.jini.securi ty.Security.<cl init>(Security. java:165)
... 10 more
Does anyone have any suggestion on how to fix these two problems?
I'm running my rmi client and got the following errors.
java.io.FileNot FoundException: \logs\new.log (The system cannot find the path specified)
at java.io.FileOut putStream.openA ppend(Native Method)
at java.io.FileOut putStream.<init >(Unknown Source)
at java.io.FileOut putStream.<init >(Unknown Source)
and
Caused by: java.security.A ccessControlExc eption: access denied (java.lang.Runt imePermission createSecurityM anager)
at java.security.A ccessControlCon text.checkPermi ssion(Unknown Source)
at java.security.A ccessController .checkPermissio n(Unknown Source)
at java.lang.Secur ityManager.chec kPermission(Unk nown Source)
at java.lang.Secur ityManager.<ini t>(Unknown Source)
at net.jini.securi ty.Security$Cla ssContextAccess .<init>(Securit y.java:965)
at net.jini.securi ty.Security$Cla ssContextAccess .<init>(Securit y.java:965)
at net.jini.securi ty.Security$1.r un(Security.jav a:167)
at java.security.A ccessController .doPrivileged(N ative Method)
at net.jini.securi ty.Security.<cl init>(Security. java:165)
... 10 more
Does anyone have any suggestion on how to fix these two problems?
Comment