Warnings are shown in the JDeveloper Log window when running JSF applications:
Target URL -- http://localhost:8988/YourApplication-context-root/faces/YourJSP.jspThis is java.util.logging stuff and you can ignore them.
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
You can edit your logging.properties in
java.util.logging.ConsoleHandler.level = INFOby
java.util.logging.ConsoleHandler.level = SEVEREif 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.xmlit 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)
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.
Posted by Regee K Chacko | January 17, 2007 12:22 AM
Posted on January 17, 2007 00:22
Hi Regee,
As explained in the ADF Developer's Guide, topic "24.4.2 Creating an Oracle ADF Debugging Configuration"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:
Thanks,
Didier.
Posted by Didier Laurent | January 17, 2007 3:30 AM
Posted on January 17, 2007 03:30