fixed instrumentation jar names (SPR-6753)
This commit is contained in:
parent
0f75210408
commit
8c791b529b
|
|
@ -3637,7 +3637,7 @@ http://www.springframework.org/schema/context
|
||||||
looks as follows, to be included either in Tomcat's central
|
looks as follows, to be included either in Tomcat's central
|
||||||
<literal>server.xml</literal> file or in an application-specific
|
<literal>server.xml</literal> file or in an application-specific
|
||||||
<literal>META-INF/context.xml</literal> file within the WAR root.
|
<literal>META-INF/context.xml</literal> file within the WAR root.
|
||||||
Spring's <literal>spring-instrument-tomcat.jar</literal> needs to be
|
Spring's <literal>org.springframework.instrument.tomcat.jar</literal> needs to be
|
||||||
included in Tomcat's common lib directory in order to make this
|
included in Tomcat's common lib directory in order to make this
|
||||||
setup work.</para>
|
setup work.</para>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1497,8 +1497,8 @@ TR: OK AS IS. The requirement is to provide the classloader for the runtime envi
|
||||||
|
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Copy <literal>spring-tomcat-weaver.jar</literal> into
|
<para>Copy <literal>org.springframework.instrument.tomcat.jar</literal>
|
||||||
<emphasis>$CATALINA_HOME</emphasis>/server/lib,where
|
into <emphasis>$CATALINA_HOME</emphasis>/server/lib,where
|
||||||
<emphasis>$CATALINA_HOME</emphasis> represents the root of the
|
<emphasis>$CATALINA_HOME</emphasis> represents the root of the
|
||||||
Tomcat installation.</para>
|
Tomcat installation.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
@ -1558,8 +1558,8 @@ TR: REVISED, PLS REVIEW. Chnaged the last one to *inside*--> is recommended
|
||||||
|
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Copy <literal>spring-tomcat-weaver.jar</literal> into
|
<para>Copy <literal>org.springframework.instrument.tomcat.jar</literal>
|
||||||
<emphasis>$CATALINA_HOME</emphasis>/lib, where
|
into <emphasis>$CATALINA_HOME</emphasis>/lib, where
|
||||||
<emphasis>$CATALINA_HOME</emphasis> represents the root of the
|
<emphasis>$CATALINA_HOME</emphasis> represents the root of the
|
||||||
Tomcat installation)</para>
|
Tomcat installation)</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
@ -1629,10 +1629,10 @@ TR: REVISED, PLS REVIEW. Should be *inside your war*.--></para>
|
||||||
not supported by the existing <classname>LoadTimeWeaver</classname>
|
not supported by the existing <classname>LoadTimeWeaver</classname>
|
||||||
implementations<!--OK? If you mean environments that are not supported by existing impl, revise as shown. If you mean class instrumentation is not supp--><!--orted, say *For environments that require class instrumentation that is not supported...*-->,
|
implementations<!--OK? If you mean environments that are not supported by existing impl, revise as shown. If you mean class instrumentation is not supp--><!--orted, say *For environments that require class instrumentation that is not supported...*-->,
|
||||||
a JDK agent can be the only solution. For such cases, Spring
|
a JDK agent can be the only solution. For such cases, Spring
|
||||||
provides <classname>InstrumentationLoadTimeWeaver,</classname> which
|
provides <classname>InstrumentationLoadTimeWeaver</classname>,
|
||||||
requires a Spring-specific (but very general) VM agent, <filename
|
which requires a Spring-specific (but very general) VM agent,
|
||||||
class="libraryfile">org.springframework.instrument-{version}.jar</filename> (previously named <filename
|
<filename class="libraryfile">org.springframework.instrument-{version}.jar</filename>
|
||||||
class="libraryfile">spring-agent.jar</filename>):</para>
|
(previously named <filename class="libraryfile">spring-agent.jar</filename>):</para>
|
||||||
|
|
||||||
<programlisting language="xml"><bean id="emf" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
|
<programlisting language="xml"><bean id="emf" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
|
||||||
<property name="loadTimeWeaver">
|
<property name="loadTimeWeaver">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue