Topic
7 replies Latest Post - ‏2014-02-14T19:22:10Z by msoucy
msoucy
msoucy
336 Posts
ACCEPTED ANSWER

Pinned topic Installing and setting up Eclipse BIRT Report Viewer v4.2.2

‏2014-02-12T21:11:33Z |

I'm not sure if this is the proper place to ask this question, but I figured there are probably a lot of EGL developers out there using BIRT for their reporting needs. I want to install and setup the BIRT Report Viewer on our IBM i5. We are using Websphere Application Server Express v8.5 to run all our EGL applications. I want to start using RBD 9.0 to develop my EGL applications. I see with RBD 9.0, IBM has updated the BIRT report engine from v2.6.2 in RBD 8.5 to v4.2.2 in RBD 9.0. I tried installing the BIRT report viewer that comes with BIRT 4.2.2 from the Eclipse BIRT website and I think I did something wrong. None of the reports I had previously created would work. Does anyone have any information on how to install the BIRT report viewer for v4.2.2? Again, I apologize if this is the wrong place to post this type of question.

  • canutri
    canutri
    348 Posts
    ACCEPTED ANSWER

    Re: Installing and setting up Eclipse BIRT Report Viewer v4.2.2

    ‏2014-02-13T22:24:24Z  in response to msoucy

    Does the index.jsp page work?  I curious if its your reports or the birt.war installation.

    -Daron

    • msoucy
      msoucy
      336 Posts
      ACCEPTED ANSWER

      Re: Installing and setting up Eclipse BIRT Report Viewer v4.2.2

      ‏2014-02-14T14:54:03Z  in response to canutri

      Hi Daron,

      I didn't try running the test page. I'm going to try and install it again and see what the specific error is. I know I've asked the before, but don't remember what the answer was. Where do you stick the JT400.jar file? The directory structure is different with BIRT 4.2.2.

      Thank you,

      Mike

    • msoucy
      msoucy
      336 Posts
      ACCEPTED ANSWER

      Re: Installing and setting up Eclipse BIRT Report Viewer v4.2.2

      ‏2014-02-14T15:40:41Z  in response to canutri

      Okay, I just installed BIRT report viewer v4.2.2 on WAS Express 8.5 and when I try and run one of the sample reports I get the following errors.  Anyone out there have any idea what this means?

      - error.CannotStartupOSGIPlatform

      org.eclipse.birt.core.exception.BirtException: error.CannotStartupOSGIPlatform at org.eclipse.birt.core.framework.Platform.startup(Platform.java:81) 
      at org.eclipse.birt.report.service.ReportEngineService.setEngineContext(ReportEngineService.java:336) 
      at org.eclipse.birt.report.service.BirtViewerReportService.setContext(BirtViewerReportService.java:1022) 
      at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(ViewerServlet.java:148) 
      at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doGet(BirtSoapMessageDispatcherServlet.java:151) 
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:575) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) 
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122) 
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230) 
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779) 
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478) 
      at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178) 
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136) 
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97) 
      at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68) 
      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) 
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) 
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:960) 
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1064) 
      at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87) 
      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909) 
      at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662) 
      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200) 
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459) 
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526) 
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312) 
      at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88) 
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:558) 
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:608) 
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:985) 
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1074) 
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
      Caused by: org.eclipse.birt.core.framework.FrameworkException: Cant register the ExtensionRegistry classpath 
      at org.eclipse.birt.core.framework.jar.ServiceLauncher.startup(ServiceLauncher.java:99) 
      at org.eclipse.birt.core.framework.Platform.startup(Platform.java:75) 
      ... 32 more
      Caused by: org.eclipse.core.runtime.CoreException: Extension registry provider is already set. 
      at org.eclipse.core.internal.registry.RegistryProviderFactory.setDefault(RegistryProviderFactory.java:31) 
      at org.eclipse.core.runtime.RegistryFactory.setDefaultRegistryProvider(RegistryFactory.java:129) 
      at org.eclipse.birt.core.framework.jar.ServiceLauncher.startup(ServiceLauncher.java:84) 
      ... 33 more

      • canutri
        canutri
        348 Posts
        ACCEPTED ANSWER

        Re: Installing and setting up Eclipse BIRT Report Viewer v4.2.2

        ‏2014-02-14T17:33:36Z  in response to msoucy

        Mike,

        What are you using for installation instructions?  Have you posted on the BIRT Exchange forum?

        I wonder if BIRT v4.2.2 is compatible with WAS v8.5.  Actuate's new BVT only mentions WAS v6.1 compatibility.  I've asked if it was compatible with new WAS releases citing that support from IBM for WAS v6.1 has ended.  However, I have not gotten a response to this question.

        -Daron

        • msoucy
          msoucy
          336 Posts
          ACCEPTED ANSWER

          Re: Installing and setting up Eclipse BIRT Report Viewer v4.2.2

          ‏2014-02-14T18:42:54Z  in response to canutri

          I figured it out!  I did some surfing on the net and found this post on another forum.

          http://developer.actuate.com/community/forum/index.php?/topic/29816-jdbc-driver-in-birt-runtime-422/

          I downloaded and installed the OSGi version as referenced in the post and it worked.  I was able to get the sample report to run.  Seems that in version 3.7.0 they changed the runtime to POJO (Plain old java object).  The OSGi version seems to work with WAS.

          • canutri
            canutri
            348 Posts
            ACCEPTED ANSWER

            Re: Installing and setting up Eclipse BIRT Report Viewer v4.2.2

            ‏2014-02-14T19:04:48Z  in response to msoucy

            So then, there are two different viewers:  1) OSGi and 2) POJO?

            I did see this link for POJO installation

            http://wiki.eclipse.org/BirtPOJO_Viewer_WebSphere_Deployment

            I wonder what the new look of the Viewer is as POJO instead of OSGi.  Looks like I'll be heading over to the BIRT forum for answers.

            • msoucy
              msoucy
              336 Posts
              ACCEPTED ANSWER

              Re: Installing and setting up Eclipse BIRT Report Viewer v4.2.2

              ‏2014-02-14T19:22:10Z  in response to canutri

              Please post a reply of what you find out.  When I was first researching this problem I cam across the link you just posted. Seems like a heck of a lot of work just to deploy the POJO version on WAS.