Converting an Tomcat 7 WAR application to a OC4J WAR application
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 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.xmlfile for editing . The log4j.xml file is located in your project's resources directory. Your decorator.xml should look similar to the following:and find the 2 lines similar to the following (att is the project's application context root):