As of Tomcat 6, the old common/lib, server/lib and shared/lib have been collapsed into one /lib directory. However it’s possible to restore that old layout so that applications can run in the newer servlet containers without having to be updated themselves.
Heres what you need to do:
- Build and deploy Sakai into a Tomcat 7 install.
- Open the Tomcat 7
- Find the line that starts with common.loader= and append to the end:
That is, we’ve appended the old classloader location for the common jars to the end. Make sure you only append and not replace, you need to keep the existing configuration.
- Find the line that starts with server.loader= and replace it with:
That is, we’ve restored the old classloader location for the server jars.
- Find the line that starts with shared.loader= and replace it with:
That is, we’ve restored the old classloader location for the shared jars.
- Save and close.
- Start Tomcat.