Be sure to change the password to passwords of your choice. • The script user will be used to deploy your application to the Tomcat server. • The gui user will be used to access the Tomcat Manager. When you are satisified that everything is correct, save your changes.
Install the ojdbc14-10.2.0.5.jar Install the ojdbc14-10.2.0.5.jar to either the ${CATALINA_HOME}/lib or the ${CATALINA_HOME}/common/lib directory. The ojdbc14-10.2.0.5.jar has to go into only one directory. If you do not have the ojdbc14-10.2.0.5.jar now, you can download the ojdbc14-10.2.0.5.jar and save it to your workstation.
Configure context.xml Open ${CATALINA_HOME}/conf/context.xml with a text editor.
change the <context> tag to the following:
Code Block
<Context crossContext="true" useHttpOnly="false">
add the following anywhere beteen the <context> ans </context> tags:
If your project's JNDI name is something other than MitsisDS, then you must change MitsisDS in the above to your project's JNDI name. Be sure to change the username and password. When you are satisified that everything is correct, save the changes.
Test the Tomcat installation
Open a cmd window, cd to ${CATALINA_HOME}/bin and start the tomcat server.
When prompted for the username and password, use gui for the user name and enter the password that you choose in Step 1 above. If everything was done correctly, you will have the following page displayed: