Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
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

Quick

Links

to:

{

Panel
Wiki Markup
Table of Contents
:
minLevel
=
3
|
maxLevel
=
3
}
h3. *

Converting

an

Tomcat

7

WAR

application

to

a

OC4J

WAR

application

Panel
Wiki Markup
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.

* {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}

  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):
    Code Block
    
    <param name="File" value="${logs.dir}/att/att.log" />
    <param name="File" value="${logs.dir}/att/hbn-att.log" />
    
{code}
  1. and
  1. change
  1. them
  1. to:
{
  1. Code Block
}
  1. 
    <param name="File" value="log/att.log" />
    <param name="File" value="log/hbn-att.log" />
    
{code}
  1. When
  1. you
  1. are
  1. satisfied
  1. that
  1. everything
  1. is
  1. correct,
*
  1. save
*
  1. the
  1. changes.