5 Replies Latest reply on Nov 2, 2009 3:37 PM by James Holstead

    3.3.0 GA styles not showing

    James Holstead Newbie

      JDev11.1.1.0.2, Weblogic 10.3, RF 3.3.0.GA

      None of the component styles are being applied to my application. Tabs, MenuItems, etc..., are all showing up as plain text. Firebug NET traffic is showing all resources are loading 200 OK.


      darkX jar is in the web-inf/lib directory.

      <context-param>
       <param-name>org.richfaces.SKIN</param-name>
       <param-value>darkX</param-value>
       </context-param>


      <filter>
       <filter-name>JpsFilter</filter-name>
       <filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
       </filter>
      <filter-mapping>
       <filter-name>JpsFilter</filter-name>
       <servlet-name>Faces Servlet</servlet-name>
       <dispatcher>FORWARD</dispatcher>
       <dispatcher>REQUEST</dispatcher>
       <dispatcher>INCLUDE</dispatcher>
       </filter-mapping>
      <filter>
       <filter-name>richfaces</filter-name>
       <filter-class>org.ajax4jsf.Filter</filter-class>
       <init-param>
       <param-name>createTempFiles</param-name>
       <param-value>false</param-value>
       </init-param>
       <init-param>
       <param-name>maxRequestSize</param-name>
       <param-value>1000000</param-value>
       </init-param>
       </filter>
      <filter-mapping>
       <filter-name>richfaces</filter-name>
       <servlet-name>Faces Servlet</servlet-name>
       <dispatcher>REQUEST</dispatcher>
       <dispatcher>FORWARD</dispatcher>
       <dispatcher>INCLUDE</dispatcher>
       </filter-mapping>



      There are jsp:includes, so I tried:
      <context-param>
       <param-name>org.richfaces.LoadStyleStrategy</param-name>
       <param-value>ALL</param-value>
      </context-param>


      and get this in the logs, probably not relevant, but appears to go into an infinite loop:
      java.lang.StackOverflowError
       at java.util.regex.Pattern$CharProperty.match(Pattern.java:3344)
       at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3903)
       at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
       at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
       at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
       Truncated. see log file for complete stacktrace


      Is this that xml parser bug from OC4J come back to life? xmlparserv2.jar is in the project classpath.


        • 1. Re: 3.3.0 GA styles not showing
          Nick Belaevski Master

          Hi,

          Can you please post complete stack trace?

          • 2. Re: 3.3.0 GA styles not showing
            James Holstead Newbie

            Its more of the same:

            ####<Oct 29, 2009 8:39:44 AM CDT> <Info> <Health> <HOLSTEADJ> <DefaultServer> <weblogic.GCMonitor> <<anonymous>> <> <> <1256823584581> <BEA-310002> <81% of the total memory in the server is free>
            ####<Oct 29, 2009 8:39:54 AM CDT> <Error> <HTTP> <HOLSTEADJ> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1256823594409> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@46f6e4 - appName: 'E2MC', name: 'EEMC', context-path: '/EEMC', spec-version: '2.5'] Servlet failed with Exception
            java.lang.StackOverflowError
             at java.util.regex.Pattern$CharProperty.match(Pattern.java:3344)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3944)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3366)
             at java.util.regex.Pattern$GroupCurly.match0(Pattern.java:3972)
             at java.util.regex.Pattern$GroupCurly.match(Pattern.java:3916)
             at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
             at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
             at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
             at
            ......................................
            >


            • 3. Re: 3.3.0 GA styles not showing
              James Holstead Newbie

              Hmmm this last time I noticed a 500 error in the Firebug NET traffic for the following location:

              https://localhost/EEMC/a4j/s/3_3_0.GA/org/richfaces/skin.xcss/DATB/eAHbdnRLUujyGdIAFdEEQQ__.jsf;jsessionid=h6LyKpbDKsfTtZkhVKl9NfywjR7nv2R8Gh3DRTyCVqmh5JptFLv5!1737085750


              The response was of course throwing the above StackOverflowError.

              • 4. Re: 3.3.0 GA styles not showing
                Nick Belaevski Master

                Unfortunately there's not much information yet in the posted stack - there's nothing about caller of java.util.regex.Pattern methods. Can you please check this with DEFAULT styles loading strategy?

                • 5. Re: 3.3.0 GA styles not showing
                  James Holstead Newbie

                  Fixed, noticed weblogic-application.xml was referencing the adf oracle domain shared library. I removed this, redeployed, and the skins show up fine now.