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.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837317#3837317

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837317


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to