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

        Ken Fyten created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Link This issue blocks ICE-10671 [ ICE-10671 ]
        Ken Fyten made changes -
        Support Case References Support Case #13384 - https://icesoft.my.salesforce.com/50070000017euw7
        Ken Fyten made changes -
        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 Weblogic 12c. 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.
        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.
        Ken Fyten made changes -
        Attachment Case13384Example.war [ 19485 ]
        Ken Fyten made changes -
        Attachment Case13384Example.zip [ 19486 ]
        Ken Fyten made changes -
        Environment Weblogic 12c (12.1.2) WebSphere 8 (8.5 Liberty)
        Ken Fyten made changes -
        Assignee Judy Guglielmin [ judy.guglielmin ] Mircea Toma [ mircea.toma ]
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA_P04 [ 12270 ]
        Fix Version/s EE-3.3.0.GA_P03 [ 11572 ]
        Ken Fyten made changes -
        Assignee Priority P2 [ 10011 ]
        Ken Fyten made changes -
        Fix Version/s EE-4.1.0.BETA [ 13072 ]
        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.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mircea Toma made changes -
        Affects Version/s EE-3.3.0.GA_P03 [ 11572 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48700 Thu May 05 16:21:40 MDT 2016 mircea.toma ICE-10672 Fix regular expression used for extracting the theme names out of the theme jar files to work on Websphere.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/themeselect/ThemeSelect.java
        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
        Carmen Cristurean made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48722 Mon May 09 11:47:22 MDT 2016 mircea.toma ICE-10672 Temporarily add debugging logging.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/themeselect/ThemeSelect.java
        Mircea Toma made changes -
        Assignee Priority P1 [ 10010 ]
        Ken Fyten made changes -
        Fix Version/s EE-4.1.0.RC1 [ 13072 ]
        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.
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48764 Wed May 11 15:51:13 MDT 2016 mircea.toma ICE-10672 Add slash character at the end of the directory name so that Websphere is able to match the searched resources.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/themeselect/ThemeSelect.java
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Fix Version/s EE-4.1.0.RC1 [ 13072 ]
        Ken Fyten made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        Carmen Cristurean made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Fix Version/s EE-4.1.0.RC1 [ 13072 ]
        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.
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48806 Mon May 16 15:07:21 MDT 2016 mircea.toma ICE-10672 Add '/' character at the end each directory name so that Websphere is able to match the resource directory.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/themeselect/ThemeSelect.java
        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.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: