Ah, just forgotten:
I had another problem after the ClassNotFoundException which was some "access
denied" thing.
But I think I fixed that by inserting the following line
| permission java.security.AllPermission;
|
into the JREs security policy file.
Here is the file java.policy:
| // Standard extensions get all permissions by default
|
| grant codeBase "file:${{java.ext.dirs}}/*" {
| permission java.security.AllPermission;
| };
|
| // default permissions granted to all domains
|
| grant {
| permission java.security.AllPermission;
|
| // Allows any thread to stop itself using the java.lang.Thread.stop()
| // method that takes no argument.
| // Note that this permission is granted by default only to remain
| // backwards compatible.
| // It is strongly recommended that you either remove this permission
| // from this policy file or further restrict it to code sources
| // that you specify, because Thread.stop() is potentially unsafe.
| // See "http://java.sun.com/notes" for more information.
| permission java.lang.RuntimePermission "stopThread";
|
| // allows anyone to listen on un-privileged ports
| permission java.net.SocketPermission "localhost:1024-", "listen";
|
| // "standard" properies that can be read by anyone
|
| permission java.util.PropertyPermission "java.version", "read";
| permission java.util.PropertyPermission "java.vendor", "read";
| permission java.util.PropertyPermission "java.vendor.url", "read";
| permission java.util.PropertyPermission "java.class.version", "read";
| permission java.util.PropertyPermission "os.name", "read";
| permission java.util.PropertyPermission "os.version", "read";
| permission java.util.PropertyPermission "os.arch", "read";
| permission java.util.PropertyPermission "file.separator", "read";
| permission java.util.PropertyPermission "path.separator", "read";
| permission java.util.PropertyPermission "line.separator", "read";
|
| permission java.util.PropertyPermission "java.specification.version",
"read";
| permission java.util.PropertyPermission "java.specification.vendor",
"read";
| permission java.util.PropertyPermission "java.specification.name",
"read";
|
| permission java.util.PropertyPermission
"java.vm.specification.version", "read";
| permission java.util.PropertyPermission "java.vm.specification.vendor",
"read";
| permission java.util.PropertyPermission "java.vm.specification.name",
"read";
| permission java.util.PropertyPermission "java.vm.version", "read";
| permission java.util.PropertyPermission "java.vm.vendor", "read";
| permission java.util.PropertyPermission "java.vm.name", "read";
| };
|
I have no more ideas...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924798#3924798
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924798
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user