ICEfaces
  1. ICEfaces
  2. ICE-10672

ace:themeSelect - Additional themes not showing in WebSphere 8

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P02, EE-4.0.0.GA, EE-3.3.0.GA_P03
    • Fix Version/s: EE-4.1.0.GA, EE-3.3.0.GA_P04
    • Component/s: ACE-Components, Framework
    • Labels:
      None
    • Environment:
      WebSphere 8 (8.5 Liberty)
    • Assignee Priority:
      P1

      Description

      When adding a new ThemeRoller jar file to the classpath, the Theme is not shown in the ace:themeSelect component. Only the default ones are shown (sam, rime). This only happens when deploying on WebSphere 8.

        Activity

        Hide
        Ken Fyten added a comment - - edited

        For Websphere 8.5 (Liberty), when deploying a war to the app server, it creates an ear of it and the classloader that you get from Thread.currentThread().getContextClassLoader();
        returns the uppermost classes from the server jee6 jar, etc.

        When using an empty string in the following line of code. None of the jars in the WEB-INF/lib are listed in the enumeration for classLoader.getResources(" "); and no jars are listed for classLoader.getResources("META-INF/resources");

        I will attach 2 ears that I built to try and deploy to WAS with the theme jars loaded at uppermost level (<ear>/lib). I can run this on Weblogic, but not WAS. They will install, but will not start. The simplest one will not choke on the jsf annotations of TestBean.

        2 zips will be attached. myEar.zip was developed in NetBeans and works well on weblogic.
        eclipseWASEAR.zip was developed in Eclipse for WAS Liberty profile settings, but still no luck.

        Notice that myEar uses maven so could be used with any IDE.

        Show
        Ken Fyten added a comment - - edited For Websphere 8.5 (Liberty), when deploying a war to the app server, it creates an ear of it and the classloader that you get from Thread.currentThread().getContextClassLoader(); returns the uppermost classes from the server jee6 jar, etc. When using an empty string in the following line of code. None of the jars in the WEB-INF/lib are listed in the enumeration for classLoader.getResources(" "); and no jars are listed for classLoader.getResources("META-INF/resources"); I will attach 2 ears that I built to try and deploy to WAS with the theme jars loaded at uppermost level (<ear>/lib). I can run this on Weblogic, but not WAS. They will install, but will not start. The simplest one will not choke on the jsf annotations of TestBean. 2 zips will be attached. myEar.zip was developed in NetBeans and works well on weblogic. eclipseWASEAR.zip was developed in Eclipse for WAS Liberty profile settings, but still no luck. Notice that myEar uses maven so could be used with any IDE.
        Hide
        Mircea Toma added a comment -

        Fixed regular expression (by simplify it a lot) used for extracting the theme names out of the theme jar files to work on Websphere.

        Show
        Mircea Toma added a comment - Fixed regular expression (by simplify it a lot) used for extracting the theme names out of the theme jar files to work on Websphere.
        Hide
        Carmen Cristurean added a comment -

        Tested showcase with EE4 trunk r48702 on WAS 8.5.5.9, and only two themes are still available.
        Deployment steps provided here: http://wiki.icesoft.com/display/IFEE2/EE4+-+WebSphere+Application+Server+8

        Show
        Carmen Cristurean added a comment - Tested showcase with EE4 trunk r48702 on WAS 8.5.5.9, and only two themes are still available. Deployment steps provided here: http://wiki.icesoft.com/display/IFEE2/EE4+-+WebSphere+Application+Server+8
        Hide
        Mircea Toma added a comment -

        Add '/' character at the end of the directory name so that Websphere is able to match the searched resources.

        Show
        Mircea Toma added a comment - Add '/' character at the end of the directory name so that Websphere is able to match the searched resources.
        Hide
        Carmen Cristurean added a comment - - edited

        EE-4.1.0.RC1 Jenkins Build#5/ EE 4 trunk r.48800: there are still only two themes available in showcase on WAS 8.5.5.9.

        Show
        Carmen Cristurean added a comment - - edited EE-4.1.0.RC1 Jenkins Build#5/ EE 4 trunk r.48800: there are still only two themes available in showcase on WAS 8.5.5.9.
        Hide
        Mircea Toma added a comment -

        Please retest this issue with EE4-trunk.

        Show
        Mircea Toma added a comment - Please retest this issue with EE4-trunk.
        Hide
        Mircea Toma added a comment -

        Add '/' character also at the end of each directory name so that Websphere is able to match the resource directory.

        Show
        Mircea Toma added a comment - Add '/' character also at the end of each directory name so that Websphere is able to match the resource directory.
        Hide
        Carmen Cristurean added a comment - - edited

        Verified EE 4 trunk r48806 on WAS 8.5.5.9/Tomcat7.0.42 on FF41, IE11/IE8, Chrome50.

        Show
        Carmen Cristurean added a comment - - edited Verified EE 4 trunk r48806 on WAS 8.5.5.9/Tomcat7.0.42 on FF41, IE11/IE8, Chrome50.
        Hide
        Carmen Cristurean added a comment -

        Verified EE 4.1.1.BETA Jenkins Build #2 on WAS 8.5.5.9/Tomcat 7.0.42 on IE11, Chrome50, FF41.

        Show
        Carmen Cristurean added a comment - Verified EE 4.1.1.BETA Jenkins Build #2 on WAS 8.5.5.9/Tomcat 7.0.42 on IE11, Chrome50, FF41.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: