Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Info

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

Panel
Wiki Markup

Quick Links to:

{toc
:minLevel
=3
|maxLevel
=3}
Panel
Wiki Markup


h3. *Converting an Tomcat 7 WAR application to a OC4J WAR application
Warning
Any Maven project
*
{warning}
Any Maven project who's artifact is a JAR is OC4J compatible and no conversion is required.
  
The following instructions are for Maven project
  
*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):
    Code Block
    *
    {warning}
    # 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):
    {code}
    <param name="File" value="${logs.dir}/att/att.log" />
    <param name="File" value="${logs.dir}/att/hbn-att.log" />
    {code}
    
    and change them to:
    
    {code
    }
    <param name="File" value="log/att.log" />
    <param name="File" value="log/hbn-att.log" />
    {code}
    
    When you are satisfied that everything is correct, *save* the changes.