Did you see my reply in the other thread with exactly the same issue last week? If you try a dev build of AspectJ you will find the security exception should now be getting handled appropriately. This is required if you aren't configuring the securitymanager such that the system property can be read by the weaver.
Grab a dev build from: http://eclipse.org/aspectj/downloads.php cheers, Andy On 26 September 2011 00:21, zjtian <[email protected]> wrote: > hi, > My WAS can't start after I added "d:\aspect1.6\lib\aspectjweaver.jar" to > jvmEntries. Exception information is the following: > Question: Is dump file is required? is dump file set in aop.xml? > > ---- AspectJ Properties --- > AspectJ Compiler 1.6.11 built on Tuesday Mar 15, 2011 at 15:31:04 GMT > ---- Dump Properties --- > Dump file: Unknown > Dump reason: java.security.AccessControlException > Dump on exception: true > Dump at exit condition: abort > ---- Exception Information --- > java.security.AccessControlException: Access denied > (java.util.PropertyPermission aj.weaving.verbose read) > at > java.security.AccessController.checkPermission(AccessController.java:108) > at java.lang.SecurityManager.checkPermission(SecurityManager.java:533) > at > java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1286) > at java.lang.System.getProperty(System.java:383) > at java.lang.System.getProperty(System.java:367) > at java.lang.Boolean.getBoolean(Boolean.java:233) > at > org.aspectj.weaver.tools.WeavingAdaptor.getVerbose(WeavingAdaptor.java:158) > at > org.aspectj.weaver.tools.WeavingAdaptor.<init>(WeavingAdaptor.java:78) > at > org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor.<init>(ClassLoaderWeavingAdaptor.java:96) > at > org.aspectj.weaver.loadtime.Aj$WeaverContainer.getWeaver(Aj.java:248) > at org.aspectj.weaver.loadtime.Aj.preProcess(Aj.java:90) > at > org.aspectj.weaver.loadtime.ClassPreProcessorAgentAdapter.transform(ClassPreProcessorAgentAdapter.java:54) > at > sun.instrument.TransformerManager.transform(TransformerManager.java:181) > at > sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:377) > at java.lang.ClassLoader.defineClassImpl(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:274) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:69) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:521) > at java.net.URLClassLoader.access$300(URLClassLoader.java:66) > at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:985) > at > java.security.AccessController.doPrivileged(AccessController.java:284) > at java.net.URLClassLoader.findClass(URLClassLoader.java:416) > at java.lang.ClassLoader.loadClass(ClassLoader.java:652) > at java.lang.ClassLoader.loadClass(ClassLoader.java:618) > at org.eclipse.core.launcher.Main.invokeFramework(Main.java:337) > at org.eclipse.core.launcher.Main.basicRun(Main.java:282) > at org.eclipse.core.launcher.Main.run(Main.java:981) > at > com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:340) > at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:110) > > > -- > View this message in context: > http://aspectj.2085585.n4.nabble.com/Is-dump-file-is-required-tp3842934p3842934.html > Sent from the AspectJ - users mailing list archive at Nabble.com. > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
