@@ -824,11 +824,6 @@ Spring remains compatible with older versions of Java and the JDK: concretely, J
824824and above are still fully supported. However, for newly started development projects
825825based on Spring 4, we recommend the use of Java 7 or 8.
826826
827- Note that the Java 8 bytecode level (`-target 1.8`, as required by `-source 1.8`) is only
828- fully supported as of Spring Framework 4.0. In particular, Spring 3.2 based applications
829- need to be compiled with a maximum of Java 7 as the target, even if they happen to be
830- deployed onto a Java 8 runtime. Please upgrade to Spring 4 for Java 8 based applications.
831- 
832827
833828
834829
@@ -15786,7 +15781,7 @@ above and can be registered individually for __each__ web application as follows
1578615781	</Context>
1578715782----
1578815783
15789- Apache Tomcat 6.0.x (similar to 5.0.x/5.5.x) series  supports several context locations:
15784+ Apache Tomcat ( 6.0+)  supports several context locations:
1579015785
1579115786* server configuration file - __$CATALINA_HOME/conf/server.xml__
1579215787* default context configuration - __$CATALINA_HOME/conf/context.xml__ - that affects all
@@ -15801,64 +15796,14 @@ changes to the server configuration. See the Tomcat 6.0.x
1580115796http://tomcat.apache.org/tomcat-6.0-doc/config/context.html[documentation] for more
1580215797details about available context locations.
1580315798
15804- * Tomcat 5.0.x/5.5.x
15805- * Copy `org.springframework.instrument.tomcat.jar` into __$CATALINA_HOME__/server/lib,
15806-   where __$CATALINA_HOME__ represents the root of the Tomcat installation.
15807- * Instruct Tomcat to use the custom class loader instead of the default one by editing
15808-   the web application context file:
15809- 
15810- [source,xml,indent=0]
15811- [subs="verbatim,quotes"]
15812- ----
15813- 	<Context path="/myWebApp" docBase="/my/webApp/location">
15814- 		<Loader
15815- 			loaderClass="org.springframework.instrument.classloading.tomcat.TomcatInstrumentableClassLoader"/>
15816- 	</Context>
15817- ----
15818- 
15819- Tomcat 5.0.x and 5.5.x series supports several context locations:
15820- 
15821- * server configuration file - __$CATALINA_HOME/conf/server.xml__
15822- * default context configuration - __$CATALINA_HOME/conf/context.xml__ - that affects all
15823-   deployed web applications
15824- * per-web application configuration which can be deployed either on the server-side at
15825-   __$CATALINA_HOME/conf/[enginename]/[hostname]/[webapp]-context.xml__ or embedded
15826-   inside the web-app archive at __META-INF/context.xml__
15827- 
15828- For efficiency, the embedded web-app configuration style is recommended recommended
15829- because it will impact only applications that use the class loader. See the Tomcat 5.x
15830- http://tomcat.apache.org/tomcat-5.5-doc/config/context.html[documentation] for more
15831- details about available context locations.
15832- 
15833- Tomcat versions prior to 5.5.20 contained a bug in the XML configuration parsing that
15834- prevented usage of the `Loader` tag inside __server.xml__ configuration, regardless of
15835- whether a class loader is specified or whether it is the official or a custom one. See
15836- Tomcat's bugzilla for http://issues.apache.org/bugzilla/show_bug.cgi?id=39704[more
15837- details].
15838- 
15839- In Tomcat 5.5.x, versions 5.5.20 or later, you should set
15840- __useSystemClassLoaderAsParent__ to `false` to fix this problem:
15841- 
15842- [source,xml,indent=0]
15843- [subs="verbatim,quotes"]
15844- ----
15845- 	<Context path="/myWebApp" docBase="/my/webApp/location">
15846- 		<Loader
15847- 			loaderClass="org.springframework.instrument.classloading.tomcat.TomcatInstrumentableClassLoader"
15848- 					**useSystemClassLoaderAsParent="false"**/>
15849- 	</Context>
15850- ----
15851- 
15852- This setting is not needed on Tomcat 6 or higher.
15853- 
1585415799Alternatively, consider the use of the Spring-provided generic VM agent, to be specified
1585515800in Tomcat's launch script (see above). This will make instrumentation available to all
1585615801deployed web applications, no matter what ClassLoader they happen to run on.
1585715802
1585815803[[aop-aj-ltw-environments-weblogic-oc4j-resin-glassfish-jboss]]
1585915804====== WebLogic, WebSphere, Resin, GlassFish, JBoss
1586015805Recent versions of WebLogic Server (version 10 and above), IBM WebSphere Application
15861- Server (version 7 and above), Resin (3.1 and above) and JBoss (5 .x or above) provide a
15806+ Server (version 7 and above), Resin (3.1 and above) and JBoss (6 .x or above) provide a
1586215807ClassLoader that is capable of local instrumentation. Spring's native LTW leverages such
1586315808ClassLoaders to enable AspectJ weaving. You can enable LTW by simply activating
1586415809load-time weaving as described earlier. Specifically, you do __not__ need to modify the
@@ -46194,12 +46139,6 @@ The supported languages were chosen because __a)__ the languages have a lot of t
4619446139the Java enterprise community, __b)__ no requests were made for other languages at the time
4619546140that this support was added, and __c)__ the Spring developers were most familiar with
4619646141them.
46197- 
46198- There is nothing stopping the inclusion of further languages though. If you want to see
46199- support for <__insert your favorite dynamic language here__>, you can always raise an
46200- issue on Spring's
46201- http://opensource.atlassian.com/projects/spring/secure/Dashboard.jspa[JIRA] page (or
46202- implement such support yourself).
4620346142****
4620446143
4620546144Fully working examples of where this dynamic language support can be immediately useful
0 commit comments