Help is available by sending an email to csf-support@mit.edu
Have any suggestion on how improve this wiki? Please give us your feedback at csf-support@mit.edu
Quick Links to:
Converting an Tomcat 7 WAR application to a OC4J WAR application
Any Maven project who's artifact is a JAR is OC4J compatible and no conversion is required.
The following instructions are for Maven project who's artifact is a WAR. These instructions should make a Tomcat 7 web application run on OC4J.
- Run Eclipse and open the Maven project that you want to convert to a OC4J application.
- Open your project's log4j.xml for editing and find the 2 lines similar to the following (att is the project's application context root):
and change them to:
<param name="File" value="${logs.dir}/att/att.log" /> <param name="File" value="${logs.dir}/att/hbn-att.log" />
When you are satisfied that everything is correct, save the changes.<param name="File" value="log/att.log" /> <param name="File" value="log/hbn-att.log" />