after I run in to a dead-end(for now) with compile-time instrumentation / 
Weaving  

http://jboss.org/index.html?module=bb&op=viewtopic&t=89412


I tried load-time instrumentation / Weaving  
(using jboss4.0.4sp1, jbosscache1.4sp1 javassist.3.3  1.5jdk  1.5 annotations)
I'm  also having problems.

I added 

  | set JAVA_OPTS=%JAVA_OPTS% 
-Djboss.aop.path=d:/jboss-4.0.4/server/default/conf/jboss-aop.xml 
  | 
  | 
-javaagent:D:/jboss-4.0.4/server/default/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar
 
  | 

but the get 

  | .
  | Exception in thread "main" java.lang.reflect.InvocationTargetException
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  |         at java.lang.reflect.Method.invoke(Unknown Source)
  |         at 
sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Unknown Source)
  | Caused by: java.lang.NoClassDefFoundError: javassist/ClassPool
  |         at java.lang.ClassLoader.defineClass1(Native Method)
  | 

so I stared to adding jars to the classpath...
javassist.jar log4j.jar....

and come to yet again to another dead-end

help  !!


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967765
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to