facebook

ME 7.0 M1 No Report capabilities

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #288348 Reply

    USDC-VT
    Member

    Installed 7.0 M1 via Pulse, seemed to install ok.

    Help – About shows the MyEclipse Reports (6.9.100.zmyeclipse…..200808) installed.

    When I import a project from the 6.5 workspace, the imported project cannot find the birt libraries, and when I start a new project and try to add Report capabilities, it is not an option.

    I did delete the M1 profile and re-install, same issue.

    Open to suggestions…

    Thanks

    #288384 Reply

    Riyad Kalla
    Member

    Howard,

    If you go to Window > Prefs > MyEclipse > Project Capabilities, and select Reports, then click “Restore Defaults”, hopefully it’s just picking up older (incorrect) paths for the classpath container from your old install and restore should do the trick.

    #288416 Reply

    USDC-VT
    Member

    Nope, no such luck (sigh)

    Think it’s getting confused with the 6.5 installed profile.

    Deleted all, uninstalled Pulse (double sigh)

    Re-Installed Pulse and am now attempting to install 7.0 M1.

    Install hangs — log cycling on

    Request 33 to model (searching for RealmMember:18399)

    new sequential request number every 3 minutes.

    As I now recall, the first time I attempted this install the same thing (at least a hang – didn’t tail the log that time) happened and I canceled the install (probably rather harshly).

    Re ran the install that time but suspect something thought it was installed but was not.

    Appears the download hang is on
    downloads2.myeclipse.com/downloads/products/eworkbe…om.genutec.dehory_6.9.100.zmyeclipse69100200808.jar..

    So far can’t say I am all that happy with Pulse…

    #288425 Reply

    Riyad Kalla
    Member

    Can you try and right-click on the profile and do a “Reinstall and Run”? Hopefully it will pick a different mirror and get on with it.

    #288427 Reply

    USDC-VT
    Member

    Stopped the install, closed pulse-explorer.

    Restarted pulse-explorer, right clicked ME 7.0 M1, only choice was ‘install’.

    Selected install and install proceeded to completion.

    Started ME, report capabilities are indeed available now. Of course I no longer have a 6.5 install which in my case is fine (I think).

    Selected the 7.0 workspace I had imported 6.5 projects to and still cannot resolve the birt report-viewer dependency although report capabilities are attached to this project now (this is goodness other than that).

    Think at this point I think I will use a clean workspace and re-import the project there.

    The specific dependency this is choking on is WebRoot/report-viewer/birt/pages/*
    cannot resolve org.eclipse ( i.e. org.eclipse.birt.report.* )

    #288436 Reply

    Riyad Kalla
    Member

    Howard,
    I think this issue lies with a discrepency between MyEclipse Reports in 6.5 and in 7.0 and how the engine gets installed in the project. When you create a new reports project in MyEclipse 7.0 it’s slightly different, it uses the upgraded BIRT engine.

    What I might suggest trying is backing up your project, creating a new report project and copying across the /report-viewer content from the new 7.0 project to your existing project and see if it deploys and works then.

    #288504 Reply

    USDC-VT
    Member

    Riyad,

    Tried your suggestion and that did indeed clear up the dependency build issue.

    There is some love in Birtland after all.

    But alas, when I deploy the project to a tomcat 6.0.18 instance, the app fails to load::

    SEVERE: Exception sending context initialized event to listener instance of class org.eclipse.birt.report.listener.ViewerServletContextListener
    java.lang.NoSuchMethodError: org.eclipse.birt.report.engine.api.EmitterInfo.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/eclipse/birt/core/framework/IConfigurationElement;)V
    at org.eclipse.birt.report.engine.extension.internal.ExtensionManager.loadEmitterExtensionDefns(ExtensionManager.java:414)
    at org.eclipse.birt.report.engine.extension.internal.ExtensionManager.<init>(ExtensionManager.java:103)
    at org.eclipse.birt.report.engine.extension.internal.ExtensionManager.createInstance(ExtensionManager.java:112)
    at org.eclipse.birt.report.engine.extension.internal.ExtensionManager.getInstance(ExtensionManager.java:121)
    at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.<init>(ReportEngineHelper.java:77)
    at org.eclipse.birt.report.engine.api.impl.ReportEngine.<init>(ReportEngine.java:93)
    at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory.createReportEngine(ReportEngineFactory.java:13)
    at org.eclipse.birt.report.service.ReportEngineService.setEngineContext(ReportEngineService.java:314)
    at org.eclipse.birt.report.service.BirtViewerReportService.setContext(BirtViewerReportService.java:919)
    at org.eclipse.birt.report.listener.ViewerServletContextListener.contextInitialized(ViewerServletContextListener.java:62)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Aug 21, 2008 12:33:30 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    Aug 21, 2008 12:33:30 PM org.apache.catalina.core.StandardContext start

    Suspect a library conflict between birt 2.2 and birt 2.3.

    Possible tomcat is seeing both??

    #288530 Reply

    Riyad Kalla
    Member

    You are exactly right (as to the cause of the problem), try and clear out Tomcat’s deployments, then double check the libs against your project and against the new skeleton project you created… are they the exact same?

    #288542 Reply

    USDC-VT
    Member

    Well, almost there..

    What I did was to replace the project’s Report Web Libraries with the same folder in the new skeleton project,
    and then replace the project’s WebRoot/WEB-INF/report-engine/platform folder with the same folder in the skeleton project.

    This allowed the project to compile, deploy and actually run on a Tomcat 6.0 container – and a Tomcat 5 for that matter.

    Problem now is that where the jsp file (this is a jsf project) contains a <birt:viewer tag that used to render the report,
    the viewer is never rendered.

    the catalina.out file shows no errors, the viewer is simply not visible.

    Progress, though…

    #288590 Reply

    Riyad Kalla
    Member

    Hmm awesome to hear that we are getting closer. Did the URI for the viewer tag change between 2.2 and 2.3 by chance? Maybe it’s a different class now?

    #288600 Reply

    USDC-VT
    Member

    Hmmm…
    Currently the uri is “/birt.tld”
    Not sure where I would look to tell if it is now different.
    Actual directory is WEB-INF/report-engine/tlds/birt.tld but don’t remember where Tomcat/jsf looks for default tlds if that’s the issue.

    I am also running into an extremely slow performance issue, when opening a file from project view and seemingly pretty much everywhere with this version, or with my particular setup. Can’t seem to do much of anything witout pegging processor cycles..

    Looking into the uri issue.

    #288690 Reply

    USDC-VT
    Member

    Seriously, this is holding me up…

    Doesn’t seem to be a uri issue, or at least the iterations I tried didn’t seem to help.

    The page source shows birt viewer javascript, but it either never calls the js function or the funciton does not run.

    I have re-installed 7.0 M1 (again…) and seem to be running better for now at least.

    #288769 Reply

    USDC-VT
    Member

    Well, seems the page that has the birt viewer tag also has an “OK” command button as well.

    when the birt viewer tag is on the page, neither the viewer nor the button javascript is fired.

    That is, when the birt viewer tag is present in the jsp (jsf project), the report is never rendered, nor is there any attempt or acknowledgement through tomcat logs that it even exists. Additionally, the OK button is rendered, but clicking on the button has absolutely no effect – i.e. the event is never fired.

    If I remove the birt viewer tag, then the rendered OK button works as it has in previous versions.

    Needless to say, the javascript generated with ME < 7.0 and birt 2.2 is very different than that generated under ME 7.0 and birt 2.3

    Any thoughts as to where this issue might lie, or why the birt javascript would disable any following controls from working?

    Saw a similar post from a couple of months ago but can’t seem to locate it at the moment…
    try this:: https://www.genuitec.com/forums/topic/a-myeclipse-report-integrated-on-an-icefaces-page/#post-283477

    thanks

    #288796 Reply

    Riyad Kalla
    Member

    Howard,

    Unfortunately I’m not versed enough with what changed between BIRT 2.2 and 2.3 to explain the massive change in behavior, is it possible for you to create a small Report project that exhibits the problomatic behavior and email it to me at support@genuitec.com ATTN Riyad, so I can file it with our report team to look into ASAP and see if we can figure out what is going on here for 7.0 GA?

Viewing 14 posts - 1 through 14 (of 14 total)
Reply To: ME 7.0 M1 No Report capabilities

You must be logged in to post in the forum log in