The following items should be considered for backup when using servlets:
Servlet source and class files
Application code and configuration (such as bindings) is located by default in the /QIBM/UserData/WebASE/ASE5/instance/installedApps directory. By saving this directory, you save your installed applications, including HTML, servlets, and JavaServer Pages (JSP) files. Normally, each application is located in a separate subdirectory, so you can choose to save all applications or a subset.
Note: The commands below have been wrapped for display purposes. Enter each as a single command.
This command saves all installed applications:
SAV DEV('/QSYS.lib/wsalib.lib/wsasavf.file') OBJ(('/QIBM/UserData/WebASE/ASE5/instance/installedApps'))
This command saves the sampleApp application only:
SAV DEV('/QSYS.lib/wsalib.lib/wsasavf.file') OBJ(('/QIBM/UserData/WebASE/ASE5/instance/installedApps/cellName/sampleApp.ear'))
If you have located utility or general purpose classes in other directories, such as /QIBM/UserData/WebASE/ASE5/instance/lib/app or /QIBM/UserData/WebASE/ASE5/instance/lib/ext, be sure to include those locations in your backup plan as well.
HTTP configuration
Note: The following information applies to IBM HTTP Server for i5/OS (powered by Apache). If you are using Lotus Domino HTTP Server, see the Notes.net Documentation Library (http://www.notes.net/notesua.nsf?OpenDatabase) .
Changes to the HTTP configuration are often made to enable WebSphere Application Server - Express to serve servlets and JSP requests, and to enable WebSphere Application Server - Express security. You should consider saving your HTTP configuration as a part of your WebSphere Application Server - Express backup and recovery.
HTTP server instances for IBM HTTP Server for i5/OS (powered by Apache) are members of the QATMHINSTC file in the library QUSRSYS. This is an example save command for this file:
SAVOBJ OBJ(QATMHINSTC) LIB(QUSRSYS) DEV(*SAVF) OBJTYPE(*FILE) SAVF(WSALIB/WSASAVF)
The HTTP configurations for IBM HTTP Server for i5/OS (powered by Apache) are stored in the integrated file system in a subdirectory, chosen when the configuration was created. The recommended location is within the WebSphere instance directory. You can determine this file location by inspecting HTTP server instance member in the QATMHINSTC file in library QUSRSYS. This is an example save command for this file:
SAV DEV('/QSYS.lib/wsalib.lib/wsasavf.file') OBJ(('/QIBM/UserData/WebASE/ASE5/instance/apache/conf') ('/QIBM/UserData/WebASE/ASE5/instance/htdocs'))
where instance is the name of your instance.