From 8c791b529b5043a5d74a35473fd2e8a363e100bc Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Fri, 22 Jan 2010 19:23:11 +0000 Subject: [PATCH] fixed instrumentation jar names (SPR-6753) --- spring-framework-reference/src/aop.xml | 2 +- spring-framework-reference/src/orm.xml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/spring-framework-reference/src/aop.xml b/spring-framework-reference/src/aop.xml index 15d34eee75..259477ea7a 100644 --- a/spring-framework-reference/src/aop.xml +++ b/spring-framework-reference/src/aop.xml @@ -3637,7 +3637,7 @@ http://www.springframework.org/schema/context looks as follows, to be included either in Tomcat's central server.xml file or in an application-specific META-INF/context.xml file within the WAR root. - Spring's spring-instrument-tomcat.jar needs to be + Spring's org.springframework.instrument.tomcat.jar needs to be included in Tomcat's common lib directory in order to make this setup work. diff --git a/spring-framework-reference/src/orm.xml b/spring-framework-reference/src/orm.xml index 766a9ffa14..c4bc4b7f74 100644 --- a/spring-framework-reference/src/orm.xml +++ b/spring-framework-reference/src/orm.xml @@ -1497,8 +1497,8 @@ TR: OK AS IS. The requirement is to provide the classloader for the runtime envi - Copy spring-tomcat-weaver.jar into - $CATALINA_HOME/server/lib,where + Copy org.springframework.instrument.tomcat.jar + into $CATALINA_HOME/server/lib,where $CATALINA_HOME represents the root of the Tomcat installation. @@ -1558,8 +1558,8 @@ TR: REVISED, PLS REVIEW. Chnaged the last one to *inside*--> is recommended - Copy spring-tomcat-weaver.jar into - $CATALINA_HOME/lib, where + Copy org.springframework.instrument.tomcat.jar + into $CATALINA_HOME/lib, where $CATALINA_HOME represents the root of the Tomcat installation) @@ -1629,10 +1629,10 @@ TR: REVISED, PLS REVIEW. Should be *inside your war*.--> not supported by the existing LoadTimeWeaver implementations, a JDK agent can be the only solution. For such cases, Spring - provides InstrumentationLoadTimeWeaver, which - requires a Spring-specific (but very general) VM agent, org.springframework.instrument-{version}.jar (previously named spring-agent.jar): + provides InstrumentationLoadTimeWeaver, + which requires a Spring-specific (but very general) VM agent, + org.springframework.instrument-{version}.jar + (previously named spring-agent.jar): <bean id="emf" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> <property name="loadTimeWeaver">