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.

  1. Run Eclipse and open the Maven project that you want to convert to a OC4J application.
  2. 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):
    <param name="File" value="${logs.dir}/att/att.log" />
    <param name="File" value="${logs.dir}/att/hbn-att.log" />
    
    and change them to:
    <param name="File" value="log/att.log" />
    <param name="File" value="log/hbn-att.log" />
    
    When you are satisfied that everything is correct, save the changes.
  • No labels