Well, i have corrected the .bat file but the result, as it is, is a 
ClassNotFoundException because it add some spaces beetween the elements of the 
classpath, and not the standard classpath separator ';'.
So, the command line interpreter passes some classpath element as the "main" 
class to the VM, and the exception is raised.

I have corrected manually the command line in the following form:
java -classpath 
..\lib-50\concurrent.jar;..\lib-50\javassist.jar;..\lib-50\jboss-aop-jdk50.jar;..\lib-50\jboss-aspect-library.jar;..\lib-50\jboss-common.jar;..\lib-50\qdox.jar;..\lib-50\trove.jar;.;..\..\..\experiment\Hello.jar;..\..\..\experiment\Interceptor.jar
 -Djboss.aop.path=..\..\..\experiment\jboss-aop.xml 
-javaagent:../lib-50/jboss-aop-jdk50.jar org.test.Hello

I wish to remember: the Hello.jar contains the Hello.class file compiled with 
the standard javac, the Interceptor.jar holds the Interceptor.class

No exception here. But again only the Hello class runs, and no interception is 
made. 
I don't understand, really, where is my fault.


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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to