This discussion is archived
2 Replies Latest reply: Nov 14, 2012 3:35 PM by 802190 RSS

JSF Design view broken, showing tags as blocks instead of preview

802190 Newbie
Currently Being Moderated
I'm using jDev Build JDEVADF_11.1.2.3.0_GENERIC_120914.0223.6276.1
but this has happened to me several times before with previous versions of jDev.

All of the sudden after restarting jDev the design view for all my jsf pages look broken, showing only tag blocks, and not the design view it was showing previously. Why is this? what happened?
The only fix I found on this forum was to remove the system directory (should be somewhere like: C:\Documents and Settings\yourUser\Application Data\JDeveloper\system11.1.1.3.37.56.60 ) and let jDev create a new one. But then I have to reconfigure everything again, which can be frustrating.

Can anyone explain what's going on here, and if there's a better way to fix my jDev when this happens?

Edited by: tnology on 14-Nov-2012 13:37
  • 1. Re: JSF Design view broken, showing tags as blocks instead of preview
    Shay Shmeltzer Employee ACE
    Currently Being Moderated
    https://blogs.oracle.com/Didier/entry/diagnosing_problems_with_the_v_1
  • 2. Re: JSF Design view broken, showing tags as blocks instead of preview
    802190 Newbie
    Currently Being Moderated
    Thanks, so these are the messages I am getting in Design view, anyone know what it means? :
    Nov 14, 2012 3:31:52 PM oracle.security.jps.util.JpsUtil disableAudit
    INFO: JpsUtil: isAuditDisabled set to true
    Nov 14, 2012 3:32:00 PM oracle.jdevimpl.webapp.faces.config.modelimpl.FacesConfigHandler setIsMetadataComplete
    INFO: jar:file:/C:/Oracle/Middleware23/jdeveloper/jlib/bundleresolver.jar!/META-INF/faces-config.xml metadata-complete undefined (false)
    Nov 14, 2012 3:32:02 PM oracle.bali.xml.share.WeakListenerManager addListener
    WARNING: Tried to add listener that was already attached: listener=oracle.jdevimpl.webapp.grammar.DelegatingGrammarProvider$IdenticalGrammarEventPercolator@185d004source=oracle.jdevimpl.webapp.jsp.libraries.JspLibraryMetadataGrammarProvider@35b0c9
    Nov 14, 2012 3:32:04 PM javax.faces.FactoryFinder$FactoryManager getFactory
    SEVERE: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory. Attempting to find backup.
    WARNING: Unable to initialize <servlet> Faces Servlet. Check project libraries configuration.
    java.lang.IllegalStateException: Could not find backup for factory javax.faces.context.FacesContextFactory. 
         at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:996)
         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:331)
         at javax.faces.webapp.FacesServlet.init(FacesServlet.java:219)
    
    Nov 14, 2012 3:32:06 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
    WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
    Nov 14, 2012 3:32:06 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
    WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
    Nov 14, 2012 3:32:24 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
    WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
    Nov 14, 2012 3:32:24 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
    WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: unavailable.
    Nov 14, 2012 3:32:24 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
    WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
    Nov 14, 2012 3:32:24 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
    WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: unavailable.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points