[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA

2007-04-19 Thread varkon
I've made the following changes: 1. Changed UseJBossWebLoader to true 2. Removed jboss-app.xml from the example's deployment and the loader-repository tag from jboss-aop.xml in the .aop archive. 3. Changed ear-deployer.xml Isolated attribute to false. 4. Re-started the server, and re-deployed

[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA

2007-04-19 Thread [EMAIL PROTECTED]
I would 1) copy a vanilla default configuration from a clean jboss dist 2) Use a clean injbossexample 3) Follow the instructions in section 10.3 of the reference manual to set up the -javaagent loader **Use the jboss-aop-jdk5.deployer from the 1.5.5.GA release, and follow the instructions in

[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA

2007-04-19 Thread varkon
Ok, I got it. The problem was that I forgot to replace the javassist.jar in JBoss/server/myConf/lib with the one in the JDK5 AOP deployer... everything seems to work fine now, *with* scoped class-loading. Thank you very much for the help! View the original post :

[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA

2007-04-18 Thread varkon
Another thing: I've also tried to follow the instructions in chapter 10.4.2. Attaching to a scoped deployment. So, I've modified my jboss-aop.xml to read: | aop | loader-repositoryeapp:loader=eapp.ear/loader-repository | aspect class=org.lg.eapp.aop.AOPLoggingAspect scope=PER_VM/

[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA

2007-04-18 Thread [EMAIL PROTECTED]
varkon wrote : Ok, I've installed and ran the example. | The example's documentation clearly states that UseJBossWebLoader should be true for it to work. This is an old requirement which relates to the use of EnableTransformer which plugs in to the JBoss UnifiedClassLoaders. For

[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA

2007-04-18 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote : | If you are having problems running the injboss example, you have something wrong with your setup. If you are running it unscoped that is View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038289#4038289 Reply to the post :

[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA

2007-04-18 Thread varkon
Ok, I'll try running it un-scoped and post the findings here. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038304#4038304 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038304

[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA

2007-04-17 Thread varkon
Thanks. I'll try it out and let you know. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037890#4037890 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4037890 ___ jboss-user

[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA

2007-04-17 Thread varkon
Ok, I've installed and ran the example. | 15:17:10,241 INFO [STDOUT] ExampleValue empty Constructor | 15:17:10,242 INFO [STDOUT] ExampleValue.getMessage() | 15:17:15,314 INFO [STDOUT] EarExampleServlet.service() | 15:17:15,336 INFO [STDOUT] ***

[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA

2007-04-16 Thread [EMAIL PROTECTED]
The slowdown is due to the classloader inspecting every class whether it matches bindings. This can be controlled by using the Include/Exclude options. Can you try your example with non-isolated classloading? Also, try the injboss tutorial and see if you can reproduce the problem there with