1 Reply Latest reply on Jun 3, 2004 9:01 AM by Bill Burke

    getURL fails, is this a bug of jbossAOP?

    morrisonli Newbie

      In my application I wrote the following code:

      URL url = getClass().getProtectionDomain().getCodeSource().getLocation();

      If the application runs under normal JVM, the url contains valid value. However, when the application runs under the control of JbossAOP (the JVM startups with parameter: -Djava.system.class.loader=org.jboss.aop.standalone.SystemClassLoader ), the url is null.

      Although the interceptor I wrote can work well, my application can not work properly because it relies on the url.

      I am not sure what this problem results from.