Maximo

 View Only
  • 1.  After Maximo Upgrade to 7.6.1.3 - None of BIRT reports are running. We are getting following error "java.lang.IllegalStateException: BIRT Report Engine not initialized properly for this operation to work."

    Posted Tue May 28, 2024 02:35 AM

    Any insight/help on this? We already tried with disabling Java 2 security and rebuild/redeploy & clearing cache. But none worked out.

    java.lang.IllegalStateException: BIRT Report Engine not initialized properly for this operation to work.

    ERROR] [SvrMaxDev] [] ReportRequestProcessServlet Failed to process request.
    psdi.util.MXApplicationException: BMXAA5476E - The report asset_detail.rptdesign could not be prepared to run.
      BIRT Report Engine not initialized properly for this operation to work.
      at com.ibm.tivoli.maximo.report.birt.admin.ReportAdminService.prepareReportDesignForRun(ReportAdminService.java:2537) ~[businessobjects.jar:?]
      at com.ibm.tivoli.maximo.report.birt.admin.ReportAdminService.prepareReportDesignForRun(ReportAdminService.java:2461) ~[businessobjects.jar:?]
      at com.ibm.tivoli.maximo.report.birt.admin.ReportAdminService.prepareReportForRun(ReportAdminService.java:2211) ~[businessobjects.jar:?]
      at com.ibm.tivoli.maximo.report.birt.admin.ReportAdminService.prepareReportForRun(ReportAdminService.java:2121) ~[businessobjects.jar:?]
      at com.ibm.tivoli.maximo.report.birt.servlet.ReportRequestProcessServlet.processReportRequest(ReportRequestProcessServlet.java:634) [classes/:?]
      at com.ibm.tivoli.maximo.report.birt.servlet.ReportRequestProcessServlet.doPost(ReportRequestProcessServlet.java:158) [classes/:?]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) [javax.j2ee.servlet.jar:?]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) [javax.j2ee.servlet.jar:?]
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.tivoli.maximo.report.birt.servlet.ReportRequestFilter.doFilter(ReportRequestFilter.java:86) [classes/:?]
      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) [com.ibm.ws.webcontainer.jar:?]
      at psdi.webclient.system.filter.HttpCrossSiteScriptingSecurity.doFilter(HttpCrossSiteScriptingSecurity.java:66) [classes/:?]
      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.tivoli.maximo.filter.UnSupportedMethodBlockFilter.doFilter(UnSupportedMethodBlockFilter.java:60) [commonweb.jar:?]
      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) [com.ibm.ws.webcontainer.jar:?]
      at psdi.webclient.system.filter.HttpXFrameOptionsFilter.doFilter(HttpXFrameOptionsFilter.java:38) [classes/:?]
      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) [com.ibm.ws.webcontainer.jar:?]
      at psdi.webclient.system.filter.MTContextFilter.doFilter(MTContextFilter.java:53) [classes/:?]
      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) [com.ibm.ws.webcontainer.jar:?]
      at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) [log4j-web-2.17.1.jar:2.17.1]
      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:952) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:213) [com.ibm.ws.webcontainer.jar:?]
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463) [com.ibm.ws.runtime.jar:?]
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530) [com.ibm.ws.runtime.jar:?]
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316) [com.ibm.ws.runtime.jar:?]
      at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88) [com.ibm.ws.runtime.jar:?]
      at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175) [com.ibm.ws.runtime.jar:?]
      at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) [com.ibm.ws.runtime.jar:?]
      at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) [com.ibm.ws.runtime.jar:?]
      at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) [com.ibm.ws.runtime.jar:?]
      at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) [com.ibm.ws.runtime.jar:?]
      at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775) [com.ibm.ws.runtime.jar:?]
      at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) [com.ibm.ws.runtime.jar:?]
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892) [com.ibm.ws.runtime.jar:?]
    Caused by: java.lang.IllegalStateException: BIRT Report Engine not initialized properly for this operation to work.
      at com.ibm.tivoli.maximo.report.birt.admin.ReportAdminService.updateRuntimeReportDesign(ReportAdminService.java:5451) ~[businessobjects.jar:?]
      at com.ibm.tivoli.maximo.report.birt.admin.ReportAdminService.prepareReportDesignForRun(ReportAdminService.java:2514) ~[businessobjects.jar:?]
      ... 49 more



    ------------------------------
    Rajkumar Selvaraj
    ------------------------------


  • 2.  RE: After Maximo Upgrade to 7.6.1.3 - None of BIRT reports are running. We are getting following error "java.lang.IllegalStateException: BIRT Report Engine not initialized properly for this operation to work."

    Posted 14 days ago

    Hi Raj -  Are you able to resolve this issue? We having same issue.



    ------------------------------
    Hardik Patel
    ------------------------------



  • 3.  RE: After Maximo Upgrade to 7.6.1.3 - None of BIRT reports are running. We are getting following error "java.lang.IllegalStateException: BIRT Report Engine not initialized properly for this operation to work."

    Posted 14 days ago

    Hi Hardik, Not yet, still investigating..



    ------------------------------
    Rajkumar Selvaraj
    ------------------------------



  • 4.  RE: After Maximo Upgrade to 7.6.1.3 - None of BIRT reports are running. We are getting following error "java.lang.IllegalStateException: BIRT Report Engine not initialized properly for this operation to work."

    Posted 13 days ago

    Raj - We were able to resolve it by clearing caches on user's browsers.  Please try that.  



    ------------------------------
    Hardik Patel
    ------------------------------



  • 5.  RE: After Maximo Upgrade to 7.6.1.3 - None of BIRT reports are running. We are getting following error "java.lang.IllegalStateException: BIRT Report Engine not initialized properly for this operation to work."

    Posted 13 days ago

    Hi Raj,

    There are several known solutions for this issue, please see below. However, it's not clear if only immediate reports are affected, or only scheduled reports, or both. Also, please note that without a deeper understanding of your environment details, some of the points below may not apply:

    1. It is possible that the INTEGRATION JVM was not running when you tried to run the report. Please make sure that the JVM is running.

    2. Are you using the mxe.report.birt.tempfolder JVM parameter for which each JVM has its own path ?

    Please refer to this document for details:

    https://www.ibm.com/support/pages/configuring-mxereportbirttempfolder-jvm-parameter

    3. Please also refer to this document as a possible solution:

    https://www.ibm.com/support/pages/scheduled-reports-sometimes-fail-run

    This resolution points at WAS "Security Integration" checkbox. Please try and see if this "Sec Integration" setting resolves the issue.

    4. Please also refer to this document as a possible solution, however, I believe you said you already tried this:

    https://www.ibm.com/support/pages/cannot-run-and-import-birt-reports

    This document states that this problem is caused by Java 2 Security and recommends disabling it. 

    5. One cause for this issue is a change in your system configuration to https from http (or vice versa). If you have previously ran reports they may still be trying to run under the previous setting (likely still have "http://"). You can try this for scheduled reports:

    Diagnosing The Problem

    The easiest way to verify this is to run a sql statement on the database:

    select reportname, userid, maximourl from reportsched

    If you notice a combination of "http://" and "https://" in the maximourl attribute, then this is likely the issue.

    Resolving The Problem

    You can update the url if this is possible in your database tool, or remove the old ones and reschedule the reports."

    6. Set up BROS and confirm it is set up correctly , as described in our guide on page 10 here:

    https://www.ibm.com/support/pages/maximo-76-report-performance-considerations

    After it is done, proceed to the section "The property name is mxe.report.birt.disablequeuemanager. This property can have separate values in each Maximo jvm.On the jvm where reports are failing, add a row in "Instance Properties" section with values, property name=mxe.report.birt.disablequeuemanager and Value=1. After setting the this reports will not run on the server where the issue is happening."

    7. After checking the above, if no solution has worked, we then suggest that you set the REPORTSCHEDULE cron task run on the CRON JVM rather than on the INT JVM ans see if that resolved the issue.

    If you're still unable to run reports after trying the points above, please open a case with IBM Support



    ------------------------------
    Dan Alexandru Ticlea
    ------------------------------



  • 6.  RE: After Maximo Upgrade to 7.6.1.3 - None of BIRT reports are running. We are getting following error "java.lang.IllegalStateException: BIRT Report Engine not initialized properly for this operation to work."

    Posted 13 days ago

    Hi Raj,

    Is the BIRT designer using same JDK as of upgraded maximo?

    Thanks!



    ------------------------------
    Sankar Ganesh
    ------------------------------