Tomcat5Upgrade |
|
Your trail: |
Difference between
version 25
and
version 19:
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 73 added 13 lines. |
---- |
!!Tomcat 5.0.6 (August 4, 2003) |
<a name="5.0.6a"></a> |
Everything works the same as it did in Release 5.0.5 Alpha (above). A did get a new error about parsing struts-menu.tld, but after looking at the logs, I discovered it's solved by putting log4j.jar in $CATALINA_HOME/common/lib. |
|
To summarize - to install [AppFuse] (or [StrutsResume]) on Tomcat 5.0.4+, perform the following steps: |
* 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> |
|
__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 69 changed 1 line. |
|
\\ |
\\ |
\\ |
\\ |
\\ |
\\ |
\\ |
\\ |
\\ |
\\ |
\\ |
\\ |
\\ |
Back to Tomcat5Upgrade,
or to the Page History.
|