Konstantin Kolinko wrote:
2010/3/10 Christopher Schultz <ch...@christopherschultz.net>:
I don't mean to belabor the point, but upgrading from Tomcat 5.5 to 6.0
should have been this easy:
0. Stop Tomcat 5.5
1. Install Tomcat 6.0
2. Copy yourapp.war from Tomcat 5.5\webapps -> Tomcat 6.0\webapps
If my original installation was that simple, it would have been.
Unfortunately, that's not where my .war was to start with, and I also
need to create an additional context path for it.
3. Start Tomcat 6.0
Here are some potential things you'd have to change:
1. Copy JDBC library from Tomcat 5.5\common\lib into Tomcat 6.0\lib
Yes, I figured that one out.
2. <Connector> port numbers in Tomcat 6.0\conf\server.xml
No problem there; that didn't change.
3. Cluster configuration in server.xml
Don't use clusters.
4. Global environment entries in server.xml
After using it for a while, I decided global environment entries were
too cumbersome to handle in the server.xml, so I came up with my own
.properties file that I use with the java.util.properties class. Makes
it much easier to change (and particularly add new ones).
A document that might add to the above:
http://tomcat.apache.org/migration.html
5. In Tomcat 5.5 the commons-logging library was bundled with Tomcat
and was visible to all installed applications. In Tomcat 6 you have to
deploy it explicitly, if your application uses it.
Best regards,
Konstantin Kolinko
Thanks for the comments!
D
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org