« ADF Sample Applications | Main | Tom is leaving Oracle »

Warnings when running a JSF application

Warnings are shown in the JDeveloper Log window when running JSF applications:

Target URL -- http://localhost:8988/YourApplication-context-root/faces/YourJSP.jsp
08-Mar-2006 16:19:05 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
(...)
08-Mar-2006 16:19:05 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
2006-03-08 16:19:08.673 NOTIFICATION ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
This is java.util.logging stuff and you can ignore them.
You can edit your logging.properties in /jdk/jre/lib/logging.properties and change the following line
java.util.logging.ConsoleHandler.level = INFO
by
java.util.logging.ConsoleHandler.level = SEVERE
if you want to avoid all these warnings.

Concerning he message:
2006-03-08 16:19:08.673 NOTIFICATION ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml   
it will only happen in the embedded OC4J and will disappear when the application is deployed in an Standalone OC4J or in iAS, unless you explicitly switch the feature on.

Development is aware of these warnings and I hope they will be able to remove them in a future release as this bunch of warnings is not informative and confusing.

Comments (2)

Regee K Chacko:

There is a file named j2ee-logging.xml under the
jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config folder.
In this file change the following line

to

and the warning regarding time-stamp checking will also disappear.

I am not sure whether this is a documented method to solve this.

Didier Laurent:

Hi Regee,

thanks for sharing this. I was not aware of it.

I had a look at the documentation and could find a reference in the JDeveloper online help, topic "About ADF Faces Logging".
See also "Testing and Debugging Web Applications".

I checked the "Embedded OC4J Server Preferences"
(menu "Tools" | "Embedded OC4J Server Preferences...") but I couldn't
find a way to update this preference from the dialog. So the only way
to modify this preference in the Embedded OC4J is to edit the file  \\jdev\\system\\oracle.j2ee.10.1.3.x.x\\embedded-oc4jconfig\\j2ee-logging.xml in an editor.


Alternatively, you can set the following Java Options in the Edit Run Configuration dialog:

-Djbo.debugoutput=adflogger -Djbo.adflogger.level=SEVERE
As explained in the ADF Developer's Guide, topic "24.4.2 Creating an Oracle ADF Debugging Configuration"

Thanks,

Didier.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on March 31, 2006 3:31 AM.

The previous post in this blog was ADF Sample Applications.

The next post in this blog is Tom is leaving Oracle.

Many more can be found on the main index page or by looking through the archives.

Top Tags

Powered by
Movable Type and Oracle