Tomcat5Upgrade |
|
| Your trail: |
Difference between
version 25
and
version 21:
| At line 23 added 13 lines. |
|
| !Solution:\\ |
| This may be old news, but for the sake of solving the issue for future generations:\\ |
| Change |
| {{{ |
| <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> |
| }}} |
| to |
| {{{ |
| <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %> |
| }}} |
| --[ScottDavis] |
|
| At line 66 changed 3 lines. |
| * Run <code style="color: green; font-weight: bold">ant setup-tomcat</code>, then <code style="color: green; font-weight: bold">mv $CATALINA_HOME/webapps/appfuse.xml $CATALINA_HOME/conf/Catalina/localhost/.</code> |
| * <code style="color: green; font-weight: bold">cp lib/jakarta-log4j*/dist/lib/log4j*.jar $CATALINA_HOME/common/lib/.</code>. |
| * <code style="color: green; font-weight: bold">cp build/appfuse/WEB-INF/classes/log4j.properties $CATALINA_HOME/common/classes/.</code> |
| * Run <code style="font-size: 1.1em; color: green; font-weight: bold">ant setup-tomcat</code>, then <code style="font-size: 1.1em; color: green; font-weight: bold">mv $CATALINA_HOME/webapps/appfuse.xml $CATALINA_HOME/conf/Catalina/localhost/.</code> |
| * <code style="font-size: 1.1em; color: green; font-weight: bold">cp lib/jakarta-log4j*/dist/lib/log4j*.jar $CATALINA_HOME/common/lib/.</code> |
| * <code style="font-size: 1.1em; color: green; font-weight: bold">cp build/appfuse/WEB-INF/classes/log4j.properties $CATALINA_HOME/common/classes/.</code> |
| At line 83 added 2 lines. |
| __Later:__ I discovered (with [Remy's|http://jakarta.apache.org/site/whoweare.html] help) that if I removed ''privileged="true"'' from my <Context> definition - then my Log4j issues went away. I thought that parameter meant that the app used a Realm, but after reading [the documentation|http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html] (Set to true to allow this context |
| to use container servlets, like the manager servlet), I realize that I'm using it incorrectly. |
| At line 80 changed 1 line. |
|
| \\ |
| \\ |
| \\ |
| \\ |
| \\ |
| \\ |
| \\ |
| \\ |
| \\ |
| \\ |
| \\ |
| \\ |
| \\ |
Back to Tomcat5Upgrade,
or to the Page History.
|