From 0c5a13cc967cb1ae2c92ee167e986da892991045 Mon Sep 17 00:00:00 2001 From: Costin Leau Date: Mon, 31 Jan 2011 16:53:56 +0000 Subject: [PATCH] SPR-7887 + add note about JBoss 6 --- spring-framework-reference/src/aop.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/spring-framework-reference/src/aop.xml b/spring-framework-reference/src/aop.xml index 906cd94b4b..db0de19c7b 100644 --- a/spring-framework-reference/src/aop.xml +++ b/spring-framework-reference/src/aop.xml @@ -3813,7 +3813,13 @@ TR: REVISED, PLS REVIEW. Chnaged the last one to *inside*--> is recommended Note that GlassFish instrumentation-capable ClassLoader is available only in its EAR environment. For GlassFish web applications, follow the Tomcat setup instructions as outlined above. - + + Note that on JBoss 6.x, the app server scanning needs to be disabled to prevent it from loading the classes + before the application actually starts. A quick workaround is to add to your artifact a file named + WEB-INF/jboss-scanning.xml with the following content: + + <scanning xmlns="urn:jboss:scanning:1.0"/> +
Generic Java applications