blob: 756dc5bcbfd145f104ac377f1f4c584065dd3919 [file] [log] [blame]
<?xml version='1.0' encoding='utf-8' ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>FAQ - How can I change the version of Spring framework in the user region?</title>
<link type="text/css" rel="stylesheet" href="../../book.css"/>
</head>
<body>
<table class="navigation" style="width: 100%;" border="0" summary="navigation">
<tr>
<th style="width: 100%" align="center" colspan="3">How can I change the version of Spring framework in the user region?</th>
</tr>
<tr>
<td style="width: 20%" align="left">
<a href="How-can-I-get-a-graphical-application-to-work-in-Virgo-.html" title="How can I get a graphical application to work in Virgo?">
<img alt="Previous" border="0" src="../../images/prev.gif"/>
</a>
</td>
<td style="width: 60%" align="center"></td>
<td style="width: 20%" align="right">
<a href="How-can-I-programmatically-deploy-applications-to-Virgo-.html" title="How can I programmatically deploy applications to Virgo?">
<img alt="Next" border="0" src="../../images/next.gif"/>
</a>
</td>
</tr>
<tr>
<td style="width: 20%" align="left" valign="top">How can I get a graphical application to work in Virgo?</td>
<td style="width: 60%" align="center"></td>
<td style="width: 20%" align="right" valign="top">How can I programmatically deploy applications to Virgo?</td>
</tr>
</table><hr/>
<h1 id="How_can_I_change_the_version_of_Spring_framework_in_the_user_region.3F">How can I change the version of Spring framework in the user region?</h1>
<p>You can upgrade or downgrade the version of Spring framework in the user region provided the new version satisfies the version range required by Virgo. Virgo 3.0.x can use 3.0.x versions of Spring framework. To use Spring framework 3.1.x requires Virgo 3.5.0 or later.</p>
<p>To upgrade or downgrade, delete the Spring framework bundles and &lt;tt&gt;.libd&lt;/tt&gt; file in &lt;tt&gt;repository/ext&lt;/tt&gt; and then add the corresponding bundles and &lt;tt&gt;.libd&lt;/tt&gt; file for the replacement version of Spring framework. The Spring framework bundles are listed in the &lt;tt&gt;.libd&lt;/tt&gt; file if you are uncertain about which they are. Then re-start Virgo with the &lt;tt&gt;-clean&lt;/tt&gt; switch and the user region should now run with the replacement version of Spring framework.</p>
<p>Here's an example of upgrading Spring framework on a UNIX system:</p>
<pre>cd repository/ext/
rm org.springframework.*-3.0.5.RELEASE.*
cp /.../spring-framework-3.0.6/dist/org.springframework.* .
</pre>
<p>Note that it is not necessary to change the version of Spring framework used by the Virgo kernel as that version is independent of the version of Spring framework used by the user region.</p>
<p>If you want to use Spring framework version less than 3.0 (for instance 2.5.6.SEC2) you will have to use Virgo 2.1.x or Virgo Jetty Server 3.0. The reason for this is that Virgo Server for Apache Tomcat 3.0.x ships with Tomcat 7 and Servlet 3.0, while Spring framework 2.5.6 import range allows maximum Servlet 2.5 and this makes the two incompatible.</p><hr/>
<table class="navigation" style="width: 100%;" border="0" summary="navigation">
<tr>
<td style="width: 20%" align="left">
<a href="How-can-I-get-a-graphical-application-to-work-in-Virgo-.html" title="How can I get a graphical application to work in Virgo?">
<img alt="Previous" border="0" src="../../images/prev.gif"/>
</a>
</td>
<td style="width: 60%" align="center">
<a href="FAQ.html" title="FAQ">
<img alt="FAQ" border="0" src="../../images/home.gif"/>
</a>
</td>
<td style="width: 20%" align="right">
<a href="How-can-I-programmatically-deploy-applications-to-Virgo-.html" title="How can I programmatically deploy applications to Virgo?">
<img alt="Next" border="0" src="../../images/next.gif"/>
</a>
</td>
</tr>
<tr>
<td style="width: 20%" align="left" valign="top">How can I get a graphical application to work in Virgo?</td>
<td style="width: 60%" align="center"></td>
<td style="width: 20%" align="right" valign="top">How can I programmatically deploy applications to Virgo?</td>
</tr>
</table>
</body>
</html>