Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The basic problem here is that you can't simply take a Tomcat 5.5 <code>server.xml</code> file, drop it into Tomcat 6, and expect it to work without any changes. You need to read the <a href="http://tomcat.apache.org/migration-6.html" rel="nofollow">Migration Guide</a> among other things. The best strategy is to start with the <code>server.xml</code> that ships with Tomcat and make whatever modifications you need to configure it as you had the previous version configured. That usually means <code>&lt;Connector&gt;</code> and <code>&lt;Resource&gt;</code> definitions. Note that <strong>you should not be defining <code>&lt;Context&gt;</code> elements in <code>server.xml</code> any longer</strong>.</p> <p>One more note: if you are upgrading to a different major version of Tomcat, why not go all the way up to Tomcat 7.0?</p> <blockquote> <p>No rules found matching 'Server/GlobalNamingResources/ResourceParams/parameter/value</p> </blockquote> <p><code>&lt;Resource&gt;</code> elements no longer take sub-elements called <code>&lt;parameter&gt;</code>, etc. Instead, convert all your parameters to attributes of the <code>&lt;Resource&gt;</code> element.</p> <blockquote> <p>[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' ...</p> </blockquote> <p><code>&lt;Context&gt;</code> does not support the "source" attribute: Eclipse is adding this and it shouldn't be there. Note that this is only a warning: Tomcat (and your webapp) will start up just fine in spite of this message.</p> <blockquote> <p>The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found ...</p> </blockquote> <p>You haven't compiled Tomcat's native library, but you have configured the <code>AprLifecycleListener</code>, which attempts to load this library. If you want to use APR, go <a href="http://tomcat.apache.org/download-native.cgi" rel="nofollow">get it and compile it</a>. If you don't want it or need it, disable the <code>AprLifecycleListener</code> (or just ignore the warning message, which doesn't hurt anything). Using APR is a very good idea if you are using Tomcat for SSL termination because APR is much higher performance for SSL than Java's JSSE, plus APR supports FIPS mode if you need that sort of thing. The APR connector scales much better than the BIO connector, too, even if you aren't using SSL.</p> <blockquote> <p>Could not get url for /javax/servlet/jsp/resources/jsp_2_1.xsd ...</p> </blockquote> <p>I'm not sure I can help you with that one. Without the full stack trace or other information (like what file mentions that URL), we can't help.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload