[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Security errors with maven tests
pgier
do-not-reply at jboss.com
Tue Dec 4 12:21:14 EST 2007
I'm working on completing the maven migration for aop and I'm getting some errors when running the unit tests. I thought I would ask here before spending too much time trying to figure it out.
| Testcase: testSubSuperOnlyMetadata took 0.458 sec
| Testcase: testSubSubSuperOnlyMetadata took 0.008 sec
| Caused an ERROR
| null
| java.lang.reflect.InvocationTargetException
| at org.jboss.test.AbstractTestDelegate.getDelegate(AbstractTestDelegate.java:73)
| at org.jboss.test.AbstractTestSetup.setUp(AbstractTestSetup.java:62)
| at org.jboss.test.AbstractTestCaseWithSetup.setUp(AbstractTestCaseWithSetup.java:103)
| Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission * read,write)
| at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
| at java.security.AccessController.checkPermission(AccessController.java:427)
| at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
| at java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:1252)
| at java.lang.System.getProperties(System.java:561)
| at org.jboss.test.aop.AOPTestDelegate$1.run(AOPTestDelegate.java:51)
| at org.jboss.test.aop.AOPTestDelegate$1.run(AOPTestDelegate.java:49)
| at java.security.AccessController.doPrivileged(Native Method)
| at org.jboss.test.aop.AOPTestDelegate.<init>(AOPTestDelegate.java:47)
| at org.jboss.test.aop.AOPTestWithSetup.getDelegate(AOPTestWithSetup.java:53)
| ... 19 more
|
Any ideas why I'm getting these security errors running the tests with maven but not with ant?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110271#4110271
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110271
More information about the jboss-dev-forums
mailing list