Dear all,
I cannot deploy the testing ear file (tomcat-test.ear) to jboss. I get the
following exception:
[Verifier] java.security.AccessControlException: access denied
(java.io.FilePerm
ission \E:\jboss_tomcat\jboss-2.0-FINAL\client\ejb.jar read)
[Verifier] at
java.security.AccessControlContext.checkPermission(AccessCont
rolContext.java:195)
[Verifier] at
java.security.AccessController.checkPermission(AccessControll
er.java:403)
[Verifier] at
java.lang.SecurityManager.checkPermission(SecurityManager.jav
a:549)
[Verifier] at java.net.URLClassLoader$3.run(URLClassLoader.java:429)
[Verifier] at java.security.AccessController.doPrivileged(Native
Method)
[Verifier] at
java.net.URLClassLoader.getPermissions(URLClassLoader.java:42
7)
[Verifier] at
sun.misc.Launcher$AppClassLoader.getPermissions(Launcher.java
:283)
[Verifier] at
java.security.SecureClassLoader.getProtectionDomain(SecureCla
ssLoader.java:145)
I have checked the server.policy file in the directory conf/tomcat
I have granted access right to all files as below:
grant {
// Allow everything for now
permission java.io.FilePermission "<<ALL FILES>>", "read, write,
delete, execute";
permission java.security.AllPermission;
};
Buy, the problem stills here.
Hope if there's anyone has a solution to this problem.
Thanks for your attention.
Regard,
Raymond
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]