Migrating To Tomcat 7

View and download documents on various topics e.g. Configuring Ebase Xi under different environmental setups

Moderators: Jon, Steve, Ian, Dave

Hovik
Moderator
Moderator
Posts: 184
Joined: Tue Sep 11, 2007 8:58 am

Migrating To Tomcat 7

#1

Postby Hovik » Fri Nov 01, 2013 3:59 pm

The following is one possible way of upgrading an Ebase system from Tomcat 6 to Tomcat 7. We have used this with success. It is only applicable when your existing system is Ebase V4.4.0 or later.

Note: in the following steps, replace xyz by the name of your webapp - e.g. ufs

1. Download and install a new Ebase matching your exact version, e.g. V4.5.0 - Test that it starts ok - Stop it
2. In the new system, delete folder UfsServer\tomcat\webapps\xyz and the corresponding xyz.xml (from folder UfsServer\tomcat\conf\Catalina\localhost)
3. In the new system, clear the cache (delete contents of folder UfsServer\tomcat\work\Catalina\localhost\xyz)
4. Edit UfsServer\tomcat\conf\server.xml and repeat any changes made to the original server.xml - e.g. port numbers (DO NOT copy server.xml into the new system)
5. Edit UfsServer\tomcat\bin\service.bat and repeat any changes made to the original service.bat - e.g. JRE_HOME, service name (DO NOT copy service.bat into the new system)
6. Copy the following files from the existing Tomcat system to the same location on the new system:
  • External\EbaseTrigger\properties\ebasetrigger.properties
    LanguageBuilder\Fpl\FPL.jj
    UfsServer\start_ebase_server.bat
    the webapp folder, e.g. UfsServer\tomcat\webapps\xyz
    UfsServer\tomcat\conf\Catalina\localhost\xyz.xml
    any additional jar files you've added to Tomcat\lib. e.g. Oracle/MySql jdbc drivers
    UfsClient\start_ebase_designer.bat
    UfsClient\designer.vmoptions
    contents of folders within UfsServer, excluding Tomcat. e.g.
    • DB - If using the local Apache Derby as the Ebase repository
      generatedfiles
      generatedpdfs
      samples
      transport
      transport_files
      velocityTemplates
7. Stop the existing Tomcat 6 service
8. Start the new system using UfsServer\start_ebase_server.bat and test your application(s)
9. Stop the new system
10. Uninstall the existing Tomcat 6 service
11. Install the new system as a windows service and test that it starts
0 x

Who is online

Users browsing this forum: No registered users and 3 guests