Upgrading from tomcat 5.5 to tomcat 6

1,022 views
Skip to first unread message

Gan...@j4fry.org

unread,
Feb 3, 2009, 3:13:08 AM2/3/09
to j4fry
This thread was moved from our old sourceforge forum:

Upgrading from tomcat 5.5 to tomcat 6
By: ganesh (ganeshpuriProject Admin) - 2008-03-15 06:47
Hi,

When upgrading from tomcat 5.5 to tomcat 6 everything runs fine if you
don't bring your own catalina.properties, server.xml or an old
web.xml. Also the loader pathes have changed a lot.

An old catalina.properties will result in:
java.lang.ClassNotFoundException:
org.apache.catalina.startup.Catalina

An old server.xml will bring you:
java.lang.ClassNotFoundException:
org.apache.catalina.storeconfig.StoreConfigLifecycleListener

And an old web.xml that uses the ssi servlet may result in:
java.lang.SecurityException: Servlet of class
org.apache.catalina.ssi.SSIServlet is privileged and cannot be loaded
by this web application

Tomcat 6 will load all server libs from ${CATALINA_HOME}/lib. The old
common, server, shared folders are not used any more. If still want to
specify them do so in catalina.properties, e.g. to define
shared.loader=${catalina.base}/shared/classes
to give tomcat access to your log4j.properties

Greetz,
Ganesh
Reply all
Reply to author
Forward
0 new messages