Cognos Analytics

 View Only
Expand all | Collapse all

Custom Login Views broken (even the IBM example)

  • 1.  Custom Login Views broken (even the IBM example)

    Posted Thu October 03, 2019 06:58 AM
    On 2 dev environments where we just installed 11.1 R3, when we use a custom login view, the Cognos welcome page shows a message:

    The custom sign-in view is not available. The default sign-in view is displayed instead.



    With and OK button. When pressed the parameter factoryMode=true is added to the URL and the default login page is shown.

    We have a custom extension that, besides our login view, also includes a button, and that button works perfectly well.

    I tried installing the SampleLogin.zip from the samples folder, and it gives the exact same error.

    Did anybody else experience the same, and where you able to fix it?

    rgds,

    Reinier



    ------------------------------
    Reinier
    https://github.com/CognosExt
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Custom Login Views broken (even the IBM example)

    Posted Fri October 04, 2019 08:50 AM
    Just to confirm, the custom login page displays correctly, but after logging in the welcome screen displays the error message? Do you have a custom welcome page? and was this a fresh install or over the top install?​​

    ------------------------------
    DENNY NAREZNY
    ------------------------------



  • 3.  RE: Custom Login Views broken (even the IBM example)

    Posted Fri October 04, 2019 03:04 PM
    Hi Denny,

    thanks for your reply.

    This is what happens:

    - You open the URL to Cognos.
    - You see the spinner with a white background
    - You get an overlay popup (the Cognos one, with the flat blue button) that gives the error message
    - When you press the OK button, you are redirected to the default login page.
    - From there you can login.
    - because of the factoryMode=true  you will see the default theme when you are logged into Cognos. If you remove that parameter from the URL and reload, you see your original theme.

    There are a bunch of errors in the javascript, but the javascript that belongs to the view is not loaded. The css is though.

    ------------------------------
    Reinier Battenberg
    https://github.com/CognosExt
    ------------------------------



  • 4.  RE: Custom Login Views broken (even the IBM example)

    Posted Fri October 04, 2019 03:05 PM
    And both machines where we have this issue are over the top installs.

    ------------------------------
    Reinier Battenberg
    https://github.com/CognosExt
    ------------------------------



  • 5.  RE: Custom Login Views broken (even the IBM example)

    Posted Fri October 04, 2019 08:37 PM
      |   view attached
    I've seen this once before. The issue was the "sign in page" view was pointing to an unavailable extension. Could you confirm what the sign-on view is pointing to? (Screenshot attached for reference)

    ------------------------------
    DENNY NAREZNY
    ------------------------------



  • 6.  RE: Custom Login Views broken (even the IBM example)

    Posted Sat October 05, 2019 05:02 AM
    That option is set to SampleLogin.
    And it is correct. The Javascript is a pain to debug, but I can find one object that has as .defaultView the property ' v1/ext/Sample_Login/login/js/views/SampleLoginView'  which is the correct view.

    Unfortunatly, in the this__loadRequirejsConfig() call 3 lines higher, the corresponding javascript file is not in the Array that requirejs is loading. So, the config is there, but requirejs never loads the javascript.

    I tried deleting all custom extensions & themes and only uploading the SampleLogin.zip but to no avail. Is there a cache I can clear, where possible extensions that were overwritten (and thus not available anymore) could still linger, that I can reset? If so, how?



    ------------------------------
    Reinier Battenberg
    https://github.com/CognosExt
    ------------------------------



  • 7.  RE: Custom Login Views broken (even the IBM example)

    Posted Sat October 05, 2019 05:37 AM
    I found errors in a logfile. Could it be a missing / in a path somewhere? Also, the /ui/ is invalid. The request path should be without the /ui/. Also, the images are loaded from the wrong folder. (And the images are loaded because the css of the SampleLogin view is loaded correctly.

    Could this be an IIS redirect issue?


    [05/10/19 09:54:56:072 CEST] 000002e9 com.ibm.ws.webcontainer.servlet I SRVE0242I: [glug-service] [/glug-service] [com.ibm.bi.logging.glug.rs.GlugApplication]: Initialization successful.
    [05/10/19 10:52:55:929 CEST] 0000009e org.apache.cxf.jaxrs.utils.JAXRSUtils W No operation matching request path "/ui/v1/extensions/Sample_Login/login/js/views/SampleLoginView" is found, Relative Path: /Sample_Login/login/js/views/SampleLoginView, HTTP Method: GET, ContentType: */*, Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,. Please enable FINE/TRACE log level for more details.
    [05/10/19 10:53:06:106 CEST] 00000437 com.ibm.ws.logging.internal.impl.IncidentImpl I FFDC1015I: An FFDC Incident has been created: "com.ibm.ba.glass.exception.ResourceNotFoundException: java.io.FileNotFoundException: C:\Program Files\ibm\cognos\analytics\temp\extensions\Sample_Login\login\js\views\v1\ext\Sample_Login\login\images\username.svg (The system cannot find the path specified.) org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor 267" at ffdc_19.10.05_10.53.05.0.log
    [05/10/19 10:53:06:107 CEST] 00000437 org.apache.cxf.jaxrs.utils.JAXRSUtils E Problem with writing the data, class com.ibm.ba.glass.resource.BaseJaxrsFileResource, ContentType: image/svg+xml
    [05/10/19 10:53:06:173 CEST] 00000323 com.ibm.ws.logging.internal.impl.IncidentImpl I FFDC1015I: An FFDC Incident has been created: "com.ibm.ba.glass.exception.ResourceNotFoundException: java.io.FileNotFoundException: C:\Program Files\ibm\cognos\analytics\temp\extensions\Sample_Login\login\js\views\v1\ext\Sample_Login\login\images\password.svg (The system cannot find the path specified.) org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor 267" at ffdc_19.10.05_10.53.06.0.log
    [05/10/19 10:53:06:173 CEST] 00000323 org.apache.cxf.jaxrs.utils.JAXRSUtils E Problem with writing the data, class com.ibm.ba.glass.resource.BaseJaxrsFileResource, ContentType: image/svg+xml
    [05/10/19 10:53:06:203 CEST] 000004ba com.ibm.ws.logging.internal.impl.IncidentImpl I FFDC1015I: An FFDC Incident has been created: "com.ibm.ba.glass.exception.ResourceNotFoundException: java.io.FileNotFoundException: C:\Program Files\ibm\cognos\analytics\temp\extensions\Sample_Login\login\js\views\v1\ext\Sample_Login\login\images\login_background.jpg (The system cannot find the path specified.) org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor 267" at ffdc_19.10.05_10.53.06.1.log
    [05/10/19 10:53:06:204 CEST] 000004ba org.apache.cxf.jaxrs.utils.JAXRSUtils E Problem with writing the data, class com.ibm.ba.glass.resource.BaseJaxrsFileResource, ContentType: image/jpg
    [05/10/19 10:53:06:212 CEST] 0000047c com.ibm.ws.logging.internal.impl.IncidentImpl I FFDC1015I: An FFDC Incident has been created: "com.ibm.ba.glass.exception.ResourceNotFoundException: java.io.FileNotFoundException: C:\Program Files\ibm\cognos\analytics\temp\extensions\Sample_Login\login\js\views\images\loginPrompt_background.jpg (The system cannot find the path specified.) org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor 267" at ffdc_19.10.05_10.53.06.2.log
    [05/10/19 10:53:06:212 CEST] 0000047c org.apache.cxf.jaxrs.utils.JAXRSUtils E Problem with writing the data, class com.ibm.ba.glass.resource.BaseJaxrsFileResource, ContentType: image/jpg
    [05/10/19 10:56:56:342 CEST] 000004b5 org.apache.cxf.jaxrs.utils.JAXRSUtils W No operation matching request path "/ui/v1/extensions/Sample_Login/login/js/views/SampleLoginView" is found, Relative Path: /Sample_Login/login/js/views/SampleLoginView, HTTP Method: GET, ContentType: */*, Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,. Please enable FINE/TRACE log level for more details.
    [05/10/19 10:57:08:568 CEST] 00000453 org.apache.cxf.jaxrs.utils.JAXRSUtils W No operation matching request path "/ui/v1/extensions/Sample_Login/login/js/views/SampleLoginView" is found, Relative Path: /Sample_Login/login/js/views/SampleLoginView, HTTP Method: GET, ContentType: */*, Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,. Please enable FINE/TRACE log level for more details.

    ------------------------------
    Reinier Battenberg
    https://github.com/CognosExt
    ------------------------------



  • 8.  RE: Custom Login Views broken (even the IBM example)

    Posted Mon October 07, 2019 07:36 AM
    Here is more logging. From the cognosserver.log file:

    2019-10-07T13:15:50.092+0200	ERROR	com.ibm.ba.glass.exception.GlassExceptionMapper	[Default Executor-thread-79]	vsw4yG492MqM8sdv8q29vl9MswC4sG2Cj2q88dy2	l2MGqydjqhsw2vhMhyjvjwCh8sGd8hdCl4qjq9vv	2hylGldhj8s4vyyl2Cvyjd2Cv8lMlwd2v4vG8yvs	NA	192.168.7.64	64592	LoginUser-149614924	NA	/v1/perspectives/login	bi-service	6992	Perspective not found: sampleLogin
    com.ibm.ba.glass.exception.ResourceNotFoundException: Perspective not found: sampleLogin
    	at com.ibm.ba.glass.loader.FileSystemLoader.load(FileSystemLoader.java:75) ~[ba_glass_server_core-11.1.3-19050214.jar:11.1.3-19050214]
    	at com.ibm.ba.glass.endpoints.PerspectivesResource.getPerspectiveDefinition(PerspectivesResource.java:188) ~[ba_glass_server_core-11.1.3-19050214.jar:11.1.3-19050214]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90) ~[?:1.8.0]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) ~[?:1.8.0]
    	at java.lang.reflect.Method.invoke(Method.java:508) ~[?:1.8.0]
    	at com.ibm.ws.jaxrs20.cdi.component.JaxRsFactoryImplicitBeanCDICustomizer.serviceInvoke(JaxRsFactoryImplicitBeanCDICustomizer.java:302) ~[?:?]
    	at com.ibm.ws.jaxrs20.server.LibertyJaxRsServerFactoryBean.performInvocation(LibertyJaxRsServerFactoryBean.java:637) ~[?:?]
    	at com.ibm.ws.jaxrs20.server.LibertyJaxRsInvoker.performInvocation(LibertyJaxRsInvoker.java:160) ~[?:?]
    	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) ~[com.ibm.ws.jaxrs.2.0.common_1.0.27.jar:?]
    	at com.ibm.ws.jaxrs20.server.LibertyJaxRsInvoker.invoke(LibertyJaxRsInvoker.java:273) ~[?:?]
    	at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:191) [com.ibm.ws.jaxrs.2.0.common_1.0.27.jar:?]
    	at com.ibm.ws.jaxrs20.server.LibertyJaxRsInvoker.invoke(LibertyJaxRsInvoker.java:444) [com.ibm.ws.jaxrs.2.0.server_1.0.27.jar:?]
    	at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:101) [com.ibm.ws.jaxrs.2.0.common_1.0.27.jar:?]
    	at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:61) [com.ibm.ws.jaxrs.2.0.common_1.0.27.jar:?]
    	at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:99) [com.ibm.ws.jaxrs.2.0.common_1.0.27.jar:?]
    	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:309) [com.ibm.ws.jaxrs.2.0.common_1.0.27.jar:?]
    	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:124) [com.ibm.ws.jaxrs.2.0.common_1.0.27.jar:?]
    	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:271) [com.ibm.ws.jaxrs.2.0.common_1.0.27.jar:?]
    	at com.ibm.ws.jaxrs20.endpoint.AbstractJaxRsWebEndpoint.invoke(AbstractJaxRsWebEndpoint.java:134) [com.ibm.ws.jaxrs.2.0.common_1.0.27.jar:?]
    	at com.ibm.websphere.jaxrs.server.IBMRestServlet.handleRequest(IBMRestServlet.java:146) [com.ibm.ws.jaxrs.2.0.server_1.0.27.jar:?]
    	at com.ibm.websphere.jaxrs.server.IBMRestServlet.doGet(IBMRestServlet.java:112) [com.ibm.ws.jaxrs.2.0.server_1.0.27.jar:?]
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [com.ibm.websphere.javaee.servlet.3.1_1.0.27.jar:?]
    	at com.ibm.websphere.jaxrs.server.IBMRestServlet.service(IBMRestServlet.java:96) [com.ibm.ws.jaxrs.2.0.server_1.0.27.jar:?]
    	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1255) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:743) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:440) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:182) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:78) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:996) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1134) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1005) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1410) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:171) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.platform.commons.web.BIProxyBase.local(BIProxyBase.java:194) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.bi.platform.commons.web.BIServiceProxy.proxyRequest(BIServiceProxy.java:87) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at sun.reflect.GeneratedMethodAccessor338.invoke(Unknown Source) ~[?:?]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) ~[?:1.8.0]
    	at java.lang.reflect.Method.invoke(Method.java:508) ~[?:1.8.0]
    	at org.tuckey.web.filters.urlrewrite.Run.invokeRunMethod(Run.java:419) [urlrewritefilter-4.0.5.jar:4.0.5]
    	at org.tuckey.web.filters.urlrewrite.Run.execute(Run.java:537) [urlrewritefilter-4.0.5.jar:4.0.5]
    	at org.tuckey.web.filters.urlrewrite.Run.execute(Run.java:495) [urlrewritefilter-4.0.5.jar:4.0.5]
    	at org.tuckey.web.filters.urlrewrite.RuleBase.matchesBase(RuleBase.java:224) [urlrewritefilter-4.0.5.jar:4.0.5]
    	at org.tuckey.web.filters.urlrewrite.NormalRule.matches(NormalRule.java:92) [urlrewritefilter-4.0.5.jar:4.0.5]
    	at org.tuckey.web.filters.urlrewrite.RuleChain.doRuleProcessing(RuleChain.java:83) [urlrewritefilter-4.0.5.jar:4.0.5]
    	at org.tuckey.web.filters.urlrewrite.RuleChain.process(RuleChain.java:137) [urlrewritefilter-4.0.5.jar:4.0.5]
    	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:144) [urlrewritefilter-4.0.5.jar:4.0.5]
    	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) [urlrewritefilter-4.0.5.jar:4.0.5]
    	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389) [urlrewritefilter-4.0.5.jar:4.0.5]
    	at com.ibm.bi.platform.commons.web.filters.BIRewriteFilter.doFilter(BIRewriteFilter.java:84) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:996) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1134) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1005) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1410) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:171) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213) [urlrewritefilter-4.0.5.jar:4.0.5]
    	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171) [urlrewritefilter-4.0.5.jar:4.0.5]
    	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) [urlrewritefilter-4.0.5.jar:4.0.5]
    	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) [urlrewritefilter-4.0.5.jar:4.0.5]
    	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389) [urlrewritefilter-4.0.5.jar:4.0.5]
    	at com.ibm.bi.platform.commons.web.filters.BIRewriteFilter.doFilter(BIRewriteFilter.java:84) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.platform.commons.web.filters.CompressionFilter.doFilter(CompressionFilter.java:89) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.platform.commons.web.filters.LoggingContextFilter.doFilter(LoggingContextFilter.java:70) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.platform.commons.web.filters.BISecurityFilter.doFilter(BISecurityFilter.java:147) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.platform.commons.web.filters.BIFilter.doFilter(BIFilter.java:112) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at io.prometheus.client.filter.MetricsFilter.doFilter(MetricsFilter.java:170) [simpleclient_servlet-0.4.0.jar:?]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.platform.commons.web.filters.LoadBalancingFilter.doFilter(LoadBalancingFilter.java:82) [bi-loadbalancer-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.platform.commons.web.filters.BIHeaderFilter.doFilter(BIHeaderFilter.java:65) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.platform.commons.web.filters.BICORSFilter.doFilter(BICORSFilter.java:104) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.platform.commons.web.caf.CAFFilter.doFilter(CAFFilter.java:59) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:996) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1134) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4968) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequest(DynamicVirtualHost.java:314) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:992) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:279) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:1061) [com.ibm.ws.transport.http_1.0.27.jar:?]
    	at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.wrapHandlerAndExecute(HttpDispatcherLink.java:417) [com.ibm.ws.transport.http_1.0.27.jar:?]
    	at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:376) [com.ibm.ws.transport.http_1.0.27.jar:?]
    	at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:532) [com.ibm.ws.transport.http_1.0.27.jar:?]
    	at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:466) [com.ibm.ws.transport.http_1.0.27.jar:?]
    	at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:331) [com.ibm.ws.transport.http_1.0.27.jar:?]
    	at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:302) [com.ibm.ws.transport.http_1.0.27.jar:?]
    	at com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:165) [com.ibm.ws.channelfw_1.0.27.jar:?]
    	at com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:74) [com.ibm.ws.channelfw_1.0.27.jar:?]
    	at com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:503) [com.ibm.ws.channelfw_1.0.27.jar:?]
    	at com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:573) [com.ibm.ws.channelfw_1.0.27.jar:?]
    	at com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:954) [com.ibm.ws.channelfw_1.0.27.jar:?]
    	at com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:1043) [com.ibm.ws.channelfw_1.0.27.jar:?]
    	at com.ibm.ws.threading.internal.ExecutorServiceImpl$RunnableWrapper.run(ExecutorServiceImpl.java:239) [com.ibm.ws.threading_1.1.27.jar:?]
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) [?:1.8.0]
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:1.8.0]
    	at java.lang.Thread.run(Thread.java:812) [?:2.9 (04-17-2019)]
    2019-10-07T13:15:50.110+0200	ERROR	com.ibm.bi.webapp.inputBuilders.PerspectivesInputBuilder	[Default Executor-thread-11]	vsw4yG492MqM8sdv8q29vl9MswC4sG2Cj2q88dy2	vsw4yG492MqM8sdv8q29vl9MswC4sG2Cj2q88dy2	l2MGqydjqhsw2vhMhyjvjwCh8sGd8hdCl4qjq9vv	NA	192.168.7.64	64590		NA	/	bi-service	6992	Failure to retrieve the specified perspective
    java.lang.RuntimeException: [404] Not Found
    	at com.ibm.bi.rest.RESTClient.reallyExecuteMethod(RESTClient.java:694) ~[commons-core-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.bi.rest.RESTClient.executeMethod(RESTClient.java:663) ~[commons-core-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.bi.rest.RESTClient.getResourceAsStream(RESTClient.java:263) ~[commons-core-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.bi.rest.RESTClient.getResource(RESTClient.java:209) ~[commons-core-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.bi.webapp.inputBuilders.PerspectivesInputBuilder.build(PerspectivesInputBuilder.java:68) [bi-service.war:?]
    	at com.ibm.bi.webapp.inputBuilders.PerspectivesInputBuilder.build(PerspectivesInputBuilder.java:33) [bi-service.war:?]
    	at com.ibm.bi.webapp.LoginTemplatePage.buildInput(LoginTemplatePage.java:85) [bi-service.war:?]
    	at com.ibm.bi.webapp.BaseTemplatePage.writeHtml(BaseTemplatePage.java:111) [bi-service.war:?]
    	at com.ibm.bi.webapp.BaseTemplatePage.writeHtml(BaseTemplatePage.java:124) [bi-service.war:?]
    	at com.ibm.bi.webapp.IndexPage.doGet(IndexPage.java:116) [bi-service.war:?]
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [com.ibm.websphere.javaee.servlet.3.1_1.0.27.jar:?]
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [com.ibm.websphere.javaee.servlet.3.1_1.0.27.jar:?]
    	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1255) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:743) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:440) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:182) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:93) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.platform.commons.web.filters.RedirectFilter.doFilter(RedirectFilter.java:80) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:996) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1134) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1005) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1410) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:171) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:790) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:182) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:93) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.logging.glug.support.web.BITransactionFilter.doFilter(BITransactionFilter.java:68) [glug-support-11.1.3-19060515.jar:11.1.3-19060515]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.platform.commons.shared.BIBlockingFilter.doFilter(BIBlockingFilter.java:61) [commons-core-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.platform.commons.web.filters.RedirectFilter.doFilter(RedirectFilter.java:80) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.platform.commons.web.filters.CompressionFilter.doFilter(CompressionFilter.java:89) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.platform.commons.web.filters.BISecurityFilter.doFilter(BISecurityFilter.java:147) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.platform.commons.web.filters.BIFilter.doFilter(BIFilter.java:112) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.platform.commons.web.filters.BICORSFilter.doFilter(BICORSFilter.java:104) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.bi.platform.commons.web.caf.CAFFilter.doFilter(CAFFilter.java:59) [web-filters-11.1.3-19062411.jar:11.1.3-19062411]
    	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:996) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1134) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4968) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequest(DynamicVirtualHost.java:314) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:992) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:279) [com.ibm.ws.webcontainer_1.1.27.jar:?]
    	at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:1061) [com.ibm.ws.transport.http_1.0.27.jar:?]
    	at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.wrapHandlerAndExecute(HttpDispatcherLink.java:417) [com.ibm.ws.transport.http_1.0.27.jar:?]
    	at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:376) [com.ibm.ws.transport.http_1.0.27.jar:?]
    	at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:532) [com.ibm.ws.transport.http_1.0.27.jar:?]
    	at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:466) [com.ibm.ws.transport.http_1.0.27.jar:?]
    	at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:331) [com.ibm.ws.transport.http_1.0.27.jar:?]
    	at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:302) [com.ibm.ws.transport.http_1.0.27.jar:?]
    	at com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:165) [com.ibm.ws.channelfw_1.0.27.jar:?]
    	at com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:74) [com.ibm.ws.channelfw_1.0.27.jar:?]
    	at com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:503) [com.ibm.ws.channelfw_1.0.27.jar:?]
    	at com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:573) [com.ibm.ws.channelfw_1.0.27.jar:?]
    	at com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:954) [com.ibm.ws.channelfw_1.0.27.jar:?]
    	at com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:1043) [com.ibm.ws.channelfw_1.0.27.jar:?]
    	at com.ibm.ws.threading.internal.ExecutorServiceImpl$RunnableWrapper.run(ExecutorServiceImpl.java:239) [com.ibm.ws.threading_1.1.27.jar:?]
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) [?:1.8.0]
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:1.8.0]
    	at java.lang.Thread.run(Thread.java:812) [?:2.9 (04-17-2019)]
    ​


    ------------------------------
    Reinier Battenberg
    https://github.com/CognosExt
    ------------------------------



  • 9.  RE: Custom Login Views broken (even the IBM example)

    Posted Mon October 07, 2019 08:33 AM
    Sorry, I am not on the deployment side of things. We have a working 1.1.3 install, and 2 failing ones that are running a custom build: 11.1.3-1909191358

    ------------------------------
    Reinier Battenberg
    https://github.com/CognosExt
    ------------------------------



  • 10.  RE: Custom Login Views broken (even the IBM example)

    Posted Mon October 07, 2019 10:57 AM
    IBM support has been able to reproduce this issue. It is an official bug.


    ------------------------------
    Reinier Battenberg
    https://github.com/CognosExt
    ------------------------------



  • 11.  RE: Custom Login Views broken (even the IBM example)

    Posted Mon October 21, 2019 05:14 AM
    This is the fix:

    In "spec.json" file, add "excludeCommon": true, below "id", and remove "excludeItems":["com.ibm.bi.glass.navbar","com.ibm.bi.glass.appbar"] on your login view.





    ------------------------------
    Reinier Battenberg
    https://github.com/CognosExt
    ------------------------------



  • 12.  RE: Custom Login Views broken (even the IBM example)

    Posted Thu October 31, 2019 09:25 AM
    Hi Reinier,

    I have tried the change you mentioned but it does not work for me. Could you please copy/paste the spec.json file and reply with it?

    Regards, Håkan

    ------------------------------
    Håkan Alvgren
    ------------------------------



  • 13.  RE: Custom Login Views broken (even the IBM example)

    Posted Thu October 31, 2019 09:35 AM
    {
    "name": "OurCommonView",
    "schemaVersion": "2.0",
    "extensions": [
    {
    "perspective": "ourLoginView",
    "type": "login",
    "excludeCommon": true,
    "features": [
    {
    "id": "com.our.login.multiple",
    "toolItems": [],
    "content": {
    "type": "v1/ext/OurCommonView/login/js/views/OurLoginView",
    "options": {
    "info": {
    "title": "Our login page"
    }
    }
    },
    "comment": "/** Our comment */",
    "cssStyles": [
    "v1/ext/OurCommonView/login/OurFonts.css",
    "v1/ext/OurCommonView/login/iconFont.css",
    "v1/ext/OurCommonView/login/OurLoginView.css",
    "v1/ext/OurCommonView/login/OurLoginViewAnimation.css"
    ]
    }
    ]
    },

    and here there is a common view that holds a button



    ------------------------------
    Reinier Battenberg
    https://github.com/CognosExt
    ------------------------------