On 2012/11/23 I already wrote about my way to install Tomee on Linux. Today we have Tomee 1.7.1 and I want to write how I upgrade. First of all I unpack the new version in the /opt
directory. Now I do the following steps.
I copy the following files from the current version to the new version:
bin/setenv.sh
conf/groups.properties
conf/login.config
conf/users.properties
lib/postgresql-9.1-902.jdbc4.jar
I have a list of files that I changed. I re-apply these changes again.
conf/server.xml
Add my JAAS Realm configuration.conf/tomcat-users.xml
Add my users.conf/tomee.xml
Add my datasources.Copy all your deployed applications to the new version.
/opt/tomee
./opt/tomee
that links to the new version.Now applications are hosted in the new version of Tomee.