Download oint Warrior Interoperability Demonstration (JWID) Web Data
Transcript
DSTO-GD-0378 2.2.5.2. Oracle JDBC drivers for Jakarta Tomcat The Oracle JDBC driver files must be copied into the Jakarta Tomcat context lib directory for Tomcat to make use of them. 1. Locate the file “classes12.zip” found in “[ORACLE HOME]\jdbc\lib” (“c:\oracle\ora81” or “c:\oracle\ora90” are the default oracle home directories for this installation manual) using Windows Explorer or the My Computer icon on your desktop. 2. Rightclick on the classes12.zip file and select “Copy” from the context menu. 3. Locate the Jakarta Tomcat ROOT context, lib directory. This is at “[TOMCAT_ROOT]\Webapps\ROOT\WEB-INF\lib” (“c:\jakarta-tomcat-3.2.3\” is the default Tomcat root directory for this installation procedure). The file can’t be placed into the lib directory within the tomcat root, it must be within the contexts’ lib directory. If this file is not placed in the correct directory then errors will occur when starting Tomcat as it will not be able to locate the Oracle drivers. 4. Right click on the lib directory and select “Paste” from the context menu. This will copy the “classes12.zip” file into the lib directory. 5. Right click on the “classes12.zip” file you have just copied into the lib directory. Select “Rename” from the context menu. 6. Change the filename of the “classes12.zip” file to “classes12.jar”. 7. Click “Yes” on the Rename prompt box if it appears. 2.2.5.3. Set Up Jakarta Tomcat To Run As A Windows Service When you start the machine to run the WDCT you want to have Jakarta Tomcat automatically start running and stay running while the server is powered up. In Microsoft Windows NT you can accomplish this by registering Jakarta Tomcat as a service. To install Jakarta Tomcat as a service you need to: 1. Locate the “[CD-DRIVE]:\Jakarta\tomcat_as_a_service.zip” file using Windows Explorer or from the “My Computer” icon. 2. Rightclick on this file and select “Extract to” option from the context menu. 3. Click “I Agree” if the WinZip evaluation notice is displayed. 4. In the “Extract To…” text entry box type “[TOMCAT_HOME]\bin”. Alternatively you may use the select “Folders/Drives:” window to select the bin directory inside your Jakarta Tomcat installation. 5. Make sure that the “All Files” radio button is selected and press the “Extract” button to extract the files. You should now have TomcatService.exe and Tomcat321service.bat in your “[TOMCAT_HOME]\bin” directory. 6. You may now close the WinZip window by clicking the “X” button located in the upper right hand corner of its window. 7. Locate the “Tomcat321service.bat” file in “[TOMCAT_HOME]\bin” directory using Windows Explorer or the My Computer icon on your desktop. 15