Hi,

[Hope my mail to sourceforge is now OK. This is also a test.]

For about a month jbosstest fails when I try
to run it. Tests like ctstest, banktest and
testbeantest all fail with the same client-
side dump:

Exception in thread "main" java.security.AccessControlException: access denied 
(java.util.PropertyPermission
user.home read)
        at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
        at java.security.AccessController.checkPermission(AccessController.java:399)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
        at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1278)
        at java.lang.System.getProperty(System.java:560)
        at junit.swingui.TestRunner.getSettingsFile(TestRunner.java:567)
        at junit.swingui.TestRunner.loadHistory(TestRunner.java:550)
        at junit.swingui.TestRunner.createSuiteCombo(TestRunner.java:383)
        at junit.swingui.TestRunner.createUI(TestRunner.java:411)
        at junit.swingui.TestRunner.start(TestRunner.java:815)
        at junit.swingui.TestRunner.main(TestRunner.java:588)

This even happens with clean, unmodified checkouts
of modules jboss and jbosstest.
I have changed nothing else on my system.

Looking into the CTS test case, it looks like no
client.policy file is placed in the root of the
testbeantest.jar, like ctstest.sh requires.
Changing the ant file to add this file (a copy
from the testbean resources directory) makes my
problem go away. (I am still having a few new
and probably unrelated problems in the CTS test.)

I could easily commit that change, but:
Am I the only one who has seen this problem?
Is adding that file the right thing to do?


Best Regards,

Ole Husgaard.

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to