Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Birt upgrade openreports Resolved
Birt upgrade openreports Resolved [message #536812] Mon, 31 May 2010 07:20 Go to next message
panoramix is currently offline panoramix
Messages: 5
Registered: May 2010
Junior Member
Hi,


OpenReports 3.20 use birt 2 3 2, Eclipse Helios Birt 2.6.0. The rptdesign files produced are not in same format. Eclipse Birt works to update the rptdesign 2 3.2 files.

I would like to update birt (2.3.2) OpenReport to deploy the files generated by eclipse 2.6.0.


Someone should do this or he would give me a track?

Many thank's.

[Updated on: Wed, 09 June 2010 07:19]

Report message to a moderator

Re: Birt upgrade openreports [message #536975 is a reply to message #536812] Mon, 31 May 2010 18:12 Go to previous messageGo to next message
panoramix is currently offline panoramix
Messages: 5
Registered: May 2010
Junior Member




[Updated on: Tue, 01 June 2010 11:12]

Report message to a moderator

Re: Birt upgrade openreports [message #536976 is a reply to message #536812] Mon, 31 May 2010 18:24 Go to previous messageGo to next message
panoramix is currently offline panoramix
Messages: 5
Registered: May 2010
Junior Member
Hi,

I use birt runtime2.6.0 to upgrade openreports but i facing trouble with web.xml


Does any people help me

Many thank's




I receive:
GRAVE: Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.eclipse.birt.report.listener.ViewerServletContextListene r
java.lang.NoSuchMethodError: org.eclipse.birt.report.engine.api.EngineConfig.getLogRollin gSize()I
at org.eclipse.birt.report.engine.api.impl.ReportEngine.intiali zeLogger(ReportEngine.java:220)
at org.eclipse.birt.report.engine.api.impl.ReportEngine.<init>(ReportEngine.java:132)
at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory$ 1.run(ReportEngineFactory.java:18)
at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory$ 1.run(ReportEngineFactory.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory. createReportEngine(ReportEngineFactory.java:14)
at org.eclipse.birt.report.service.ReportEngineService.setEngin eContext(ReportEngineService.java:328)
at org.eclipse.birt.report.service.BirtViewerReportService.setC ontext(BirtViewerReportService.java:1022)
at org.eclipse.birt.report.listener.ViewerServletContextListene r.contextInitialized(ViewerServletContextListener.java:62)
at org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3972)
at org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4467)
at org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:546)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig. java:905)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig .java:740)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:500)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 89)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 4)


























the new web.xml i from birt runtime

the old web.xml from openreports has:
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>



<display-name>OpenReports</display-name>



<context-param>

<param-name>contextConfigLocation</param-name>

<param-value>/WEB-INF/applicationContext*.xml</param-value >

</context-param>



<context-param>

<param-name>contextFactory</param-name>

<param-value>

com.tonbeller.wcf.controller.RequestContextFactoryImpl

</param-value>

</context-param>



<filter>

<filter-name>struts</filter-name>

<filter-class>

org.apache.struts2.dispatcher.FilterDispatcher

</filter-class>

</filter>



<filter>

<filter-name>ResponseOverrideFilter</filter-name>

<filter-class>

org.displaytag.filter.ResponseOverrideFilter

</filter-class>

</filter>



<filter>

<filter-name>JPivotController</filter-name>

<filter-class>

com.tonbeller.wcf.controller.RequestFilter

</filter-class>

<!--

<init-param>

<param-name>indexJSP</param-name>

<param-value>/index.html</param-value>

<description>

forward to this page if session is new

</description>

</init-param>

<init-param>

<param-name>errorJSP</param-name>

<param-value>/error.jsp</param-value>

<description>URI of error page</description>

</init-param>

<init-param>

<param-name>busyJSP</param-name>

<param-value>/busy.jsp</param-value>

<description>

This page is displayed if a the user clicks on a query

before the previous query has finished

</description>

</init-param>



<init-param>

<param-name>forceExtension</param-name>

<param-value>.faces</param-value>

<description>replace .jsp with .faces</description>

</init-param>

-->

</filter>



<filter-mapping>

<filter-name>JPivotController</filter-name>

<url-pattern>/jpivot.action</url-pattern>

</filter-mapping>



<filter-mapping>

<filter-name>JPivotController</filter-name>

<url-pattern>/JPivot.jsp</url-pattern>

</filter-mapping>



<filter-mapping>

<filter-name>ResponseOverrideFilter</filter-name>

<url-pattern>*.action</url-pattern>

</filter-mapping>



<filter-mapping>

<filter-name>struts</filter-name>

<url-pattern>/*</url-pattern>

</filter-mapping>



<!-- resources initializer -->

<listener>

<listener-class>

com.tonbeller.tbutils.res.ResourcesFactoryContextListener

</listener-class>

</listener>



<listener>

<listener-class>

org.springframework.web.context.ContextLoaderListener

</listener-class>

</listener>



<servlet>

<servlet-name>JspSupportServlet</servlet-name>

<servlet-class>

org.apache.struts2.views.JspSupportServlet

</servlet-class>

<load-on-startup>1</load-on-startup>

</servlet>



<servlet>

<servlet-name>fileServlet</servlet-name>

<servlet-class>

org.efs.openreports.dispatcher.FileDispatcher

</servlet-class>

<load-on-startup>99</load-on-startup>

</servlet>



<servlet>

<servlet-name>MondrianXmlaServlet</servlet-name>

<servlet-class>

org.efs.openreports.dispatcher.XMLADispatcher

</servlet-class>

</servlet>



<servlet>

<servlet-name>XFireServlet</servlet-name>

<display-name>XFire Servlet</display-name>

<servlet-class>

org.codehaus.xfire.spring.XFireSpringServlet

</servlet-class>

</servlet>



<!-- jfreechart provided servlet -->

<servlet>

<servlet-name>DisplayChart</servlet-name>

<servlet-class>

org.jfree.chart.servlet.DisplayChart

</servlet-class>

</servlet>



<!-- jfreechart provided servlet -->

<servlet>

<servlet-name>GetChart</servlet-name>

<display-name>GetChart</display-name>

<description>

Default configuration created for servlet.

</description>

<servlet-class>

com.tonbeller.jpivot.chart.GetChart

</servlet-class>

</servlet>

<servlet>

<servlet-name>Print</servlet-name>

<display-name>Print</display-name>

<description>

Default configuration created for servlet.

</description>

<servlet-class>

com.tonbeller.jpivot.print.PrintServlet

</servlet-class>

</servlet>



<servlet-mapping>

<servlet-name>DisplayChart</servlet-name>

<url-pattern>/DisplayChart</url-pattern>

</servlet-mapping>

<servlet-mapping>

<servlet-name>Print</servlet-name>

<url-pattern>/Print</url-pattern>

</servlet-mapping>

<servlet-mapping>

<servlet-name>GetChart</servlet-name>

<url-pattern>/GetChart</url-pattern>

</servlet-mapping>

<servlet-mapping>

<servlet-name>fileServlet</servlet-name>

<url-pattern>/report-images/*</url-pattern>

</servlet-mapping>



<servlet-mapping>

<servlet-name>fileServlet</servlet-name>

<url-pattern>/report-files/*</url-pattern>

</servlet-mapping>



<servlet-mapping>

<servlet-name>XFireServlet</servlet-name>

<url-pattern>/services/*</url-pattern>

</servlet-mapping>



<servlet-mapping>

<servlet-name>MondrianXmlaServlet</servlet-name>

<url-pattern>/xmla</url-pattern>

</servlet-mapping>



<welcome-file-list>

<welcome-file>/Login.jsp</welcome-file>

</welcome-file-list>



<taglib>

<taglib-uri>http://www.tonbeller.com/wcf</taglib-uri>

<taglib-location>/WEB-INF/wcf/wcf-tags.tld</taglib-location >

</taglib>



<taglib>

<taglib-uri>http://www.tonbeller.com/jpivot</taglib-uri>

<taglib-location>

/WEB-INF/jpivot/jpivot-tags.tld

</taglib-location>

</taglib>



</web-app>

[Updated on: Mon, 31 May 2010 18:25]

Report message to a moderator

Re: Birt upgrade openreports [message #537183 is a reply to message #536976] Tue, 01 June 2010 14:47 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

This still looks like a version conflict as the
EngineConfig.getLogRollingSize did not exist in 2.3.2 but does exist in
2.6. Make sure you cleared the
openreports\WebRoot\WEB-INF\platform\workspace folder and cleared
everything in openreports\WebRoot\WEB-INF\platform\configuration except
the config.ini file.

Jason

On 5/31/2010 2:24 PM, panoramix wrote:
> Hi,
>
> I use birt runtime2.6.0 to upgrade openreports but i facing trouble with
> web.xml
>
> I receive:
> GRAVE: Exception lors de l'envoi de l'évènement contexte initialisé
> (context initialized) à l'instance de classe d'écoute (listener)
> org.eclipse.birt.report.listener.ViewerServletContextListene r
> java.lang.NoSuchMethodError:
> org.eclipse.birt.report.engine.api.EngineConfig.getLogRollin gSize()I
> at org.eclipse.birt.report.engine.api.impl.ReportEngine.intiali
> zeLogger(ReportEngine.java:220)
> at
> org.eclipse.birt.report.engine.api.impl.ReportEngine.<init>(ReportEngine.java:132)
>
> at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory$
> 1.run(ReportEngineFactory.java:18)
> at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory$
> 1.run(ReportEngineFactory.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory.
> createReportEngine(ReportEngineFactory.java:14)
> at org.eclipse.birt.report.service.ReportEngineService.setEngin
> eContext(ReportEngineService.java:328)
> at org.eclipse.birt.report.service.BirtViewerReportService.setC
> ontext(BirtViewerReportService.java:1022)
> at org.eclipse.birt.report.listener.ViewerServletContextListene
> r.contextInitialized(ViewerServletContextListener.java:62)
> at org.apache.catalina.core.StandardContext.listenerStart(Stand
> ardContext.java:3972)
> at org.apache.catalina.core.StandardContext.start(StandardConte
> xt.java:4467)
> at org.apache.catalina.core.ContainerBase.addChildInternal(Cont
> ainerBase.java:791)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:771)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:546)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig. java:905)
> at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig .java:740)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:500)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1277)
> at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo
> nfig.java:321)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
> (LifecycleSupport.java:119)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1053)
> at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:785)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
> at org.apache.catalina.core.StandardService.start(StandardServi
> ce.java:519)
> at org.apache.catalina.core.StandardServer.start(StandardServer .java:710)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:581 )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 89)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 4)
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> the new web.xml i from birt runtime
>
> the old web.xml from openreports has:
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
> 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
>
> <web-app>
>
>
>
> <display-name>OpenReports</display-name>
>
>
>
> <context-param>
>
> <param-name>contextConfigLocation</param-name>
>
> <param-value>/WEB-INF/applicationContext*.xml</param-value >
>
> </context-param>
>
>
>
> <context-param>
>
> <param-name>contextFactory</param-name>
>
> <param-value>
>
> com.tonbeller.wcf.controller.RequestContextFactoryImpl
>
> </param-value>
>
> </context-param>
>
>
>
> <filter>
>
> <filter-name>struts</filter-name>
>
> <filter-class>
>
> org.apache.struts2.dispatcher.FilterDispatcher
>
> </filter-class>
>
> </filter>
>
>
>
> <filter>
>
> <filter-name>ResponseOverrideFilter</filter-name>
>
> <filter-class>
>
> org.displaytag.filter.ResponseOverrideFilter
>
> </filter-class>
>
> </filter>
>
>
>
> <filter>
>
> <filter-name>JPivotController</filter-name>
>
> <filter-class>
>
> com.tonbeller.wcf.controller.RequestFilter
>
> </filter-class>
>
> <!--
>
> <init-param>
>
> <param-name>indexJSP</param-name>
>
> <param-value>/index.html</param-value>
>
> <description>
>
> forward to this page if session is new
>
> </description>
>
> </init-param>
>
> <init-param>
>
> <param-name>errorJSP</param-name>
>
> <param-value>/error.jsp</param-value>
>
> <description>URI of error page</description>
>
> </init-param>
>
> <init-param>
>
> <param-name>busyJSP</param-name>
>
> <param-value>/busy.jsp</param-value>
>
> <description>
>
> This page is displayed if a the user clicks on a query
>
> before the previous query has finished
>
> </description>
>
> </init-param>
>
>
>
> <init-param>
>
> <param-name>forceExtension</param-name>
>
> <param-value>.faces</param-value>
>
> <description>replace .jsp with .faces</description>
>
> </init-param>
>
> -->
>
> </filter>
>
>
>
> <filter-mapping>
>
> <filter-name>JPivotController</filter-name>
>
> <url-pattern>/jpivot.action</url-pattern>
>
> </filter-mapping>
>
>
>
> <filter-mapping>
>
> <filter-name>JPivotController</filter-name>
>
> <url-pattern>/JPivot.jsp</url-pattern>
>
> </filter-mapping>
>
>
>
> <filter-mapping>
>
> <filter-name>ResponseOverrideFilter</filter-name>
>
> <url-pattern>*.action</url-pattern>
>
> </filter-mapping>
>
>
>
> <filter-mapping>
>
> <filter-name>struts</filter-name>
>
> <url-pattern>/*</url-pattern>
>
> </filter-mapping>
>
>
>
> <!-- resources initializer -->
>
> <listener>
>
> <listener-class>
>
> com.tonbeller.tbutils.res.ResourcesFactoryContextListener
>
> </listener-class>
>
> </listener>
>
>
>
> <listener>
>
> <listener-class>
>
> org.springframework.web.context.ContextLoaderListener
>
> </listener-class>
>
> </listener>
>
>
>
> <servlet>
>
> <servlet-name>JspSupportServlet</servlet-name>
>
> <servlet-class>
>
> org.apache.struts2.views.JspSupportServlet
>
> </servlet-class>
>
> <load-on-startup>1</load-on-startup>
>
> </servlet>
>
>
>
> <servlet>
>
> <servlet-name>fileServlet</servlet-name>
>
> <servlet-class>
>
> org.efs.openreports.dispatcher.FileDispatcher
>
> </servlet-class>
>
> <load-on-startup>99</load-on-startup>
>
> </servlet>
>
>
>
> <servlet>
>
> <servlet-name>MondrianXmlaServlet</servlet-name>
>
> <servlet-class>
>
> org.efs.openreports.dispatcher.XMLADispatcher
>
> </servlet-class>
>
> </servlet>
>
>
>
> <servlet>
>
> <servlet-name>XFireServlet</servlet-name>
>
> <display-name>XFire Servlet</display-name>
>
> <servlet-class>
>
> org.codehaus.xfire.spring.XFireSpringServlet
>
> </servlet-class>
>
> </servlet>
>
>
>
> <!-- jfreechart provided servlet -->
>
> <servlet>
>
> <servlet-name>DisplayChart</servlet-name>
>
> <servlet-class>
>
> org.jfree.chart.servlet.DisplayChart
>
> </servlet-class>
>
> </servlet>
>
>
>
> <!-- jfreechart provided servlet -->
>
> <servlet>
>
> <servlet-name>GetChart</servlet-name>
>
> <display-name>GetChart</display-name>
>
> <description>
>
> Default configuration created for servlet.
>
> </description>
>
> <servlet-class>
>
> com.tonbeller.jpivot.chart.GetChart
>
> </servlet-class>
>
> </servlet>
>
> <servlet>
>
> <servlet-name>Print</servlet-name>
>
> <display-name>Print</display-name>
>
> <description>
>
> Default configuration created for servlet.
>
> </description>
>
> <servlet-class>
>
> com.tonbeller.jpivot.print.PrintServlet
>
> </servlet-class>
>
> </servlet>
>
>
>
> <servlet-mapping>
>
> <servlet-name>DisplayChart</servlet-name>
>
> <url-pattern>/DisplayChart</url-pattern>
>
> </servlet-mapping>
>
> <servlet-mapping>
>
> <servlet-name>Print</servlet-name>
>
> <url-pattern>/Print</url-pattern>
>
> </servlet-mapping>
>
> <servlet-mapping>
>
> <servlet-name>GetChart</servlet-name>
>
> <url-pattern>/GetChart</url-pattern>
>
> </servlet-mapping>
>
> <servlet-mapping>
>
> <servlet-name>fileServlet</servlet-name>
>
> <url-pattern>/report-images/*</url-pattern>
>
> </servlet-mapping>
>
>
>
> <servlet-mapping>
>
> <servlet-name>fileServlet</servlet-name>
>
> <url-pattern>/report-files/*</url-pattern>
>
> </servlet-mapping>
>
>
>
> <servlet-mapping>
>
> <servlet-name>XFireServlet</servlet-name>
>
> <url-pattern>/services/*</url-pattern>
>
> </servlet-mapping>
>
>
>
> <servlet-mapping>
>
> <servlet-name>MondrianXmlaServlet</servlet-name>
>
> <url-pattern>/xmla</url-pattern>
>
> </servlet-mapping>
>
>
>
> <welcome-file-list>
>
> <welcome-file>/Login.jsp</welcome-file>
>
> </welcome-file-list>
>
>
>
> <taglib>
>
> <taglib-uri>http://www.tonbeller.com/wcf</taglib-uri>
>
> <taglib-location>/WEB-INF/wcf/wcf-tags.tld</taglib-location >
>
> </taglib>
>
>
>
> <taglib>
>
> <taglib-uri>http://www.tonbeller.com/jpivot</taglib-uri>
>
> <taglib-location>
>
> /WEB-INF/jpivot/jpivot-tags.tld
>
> </taglib-location>
>
> </taglib>
>
>
>
> </web-app>
>
>
Re: Birt upgrade openreports [message #550427 is a reply to message #537183] Fri, 30 July 2010 10:42 Go to previous messageGo to next message
Eclipse User
Originally posted by: headerhound.yahoo.co.uk

Did this ever get sorted? I too have tried upgrading the 2.3 jars etc in
Open Reports to 2.6 and redeploying a new war without any success. I
guess its more an OReports issue but theres very little documentation
with it.

Jason Weathersby wrote:
> This still looks like a version conflict as the
> EngineConfig.getLogRollingSize did not exist in 2.3.2 but does exist in
> 2.6. Make sure you cleared the
> openreports\WebRoot\WEB-INF\platform\workspace folder and cleared
> everything in openreports\WebRoot\WEB-INF\platform\configuration except
> the config.ini file.
>
> Jason
>
> On 5/31/2010 2:24 PM, panoramix wrote:
>> Hi,
>>
>> I use birt runtime2.6.0 to upgrade openreports but i facing trouble with
>> web.xml
>>
>> I receive:
>> GRAVE: Exception lors de l'envoi de l'évènement contexte initialisé
>> (context initialized) à l'instance de classe d'écoute (listener)
>> org.eclipse.birt.report.listener.ViewerServletContextListene r
>> java.lang.NoSuchMethodError:
>> org.eclipse.birt.report.engine.api.EngineConfig.getLogRollin gSize()I
>> at org.eclipse.birt.report.engine.api.impl.ReportEngine.intiali
>> zeLogger(ReportEngine.java:220)
>> at
>> org.eclipse.birt.report.engine.api.impl.ReportEngine.<init>(ReportEngine.java:132)
>>
>>
>> at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory$
>> 1.run(ReportEngineFactory.java:18)
>> at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory$
>> 1.run(ReportEngineFactory.java:1)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory.
>> createReportEngine(ReportEngineFactory.java:14)
>> at org.eclipse.birt.report.service.ReportEngineService.setEngin
>> eContext(ReportEngineService.java:328)
>> at org.eclipse.birt.report.service.BirtViewerReportService.setC
>> ontext(BirtViewerReportService.java:1022)
>> at org.eclipse.birt.report.listener.ViewerServletContextListene
>> r.contextInitialized(ViewerServletContextListener.java:62)
>> at org.apache.catalina.core.StandardContext.listenerStart(Stand
>> ardContext.java:3972)
>> at org.apache.catalina.core.StandardContext.start(StandardConte
>> xt.java:4467)
>> at org.apache.catalina.core.ContainerBase.addChildInternal(Cont
>> ainerBase.java:791)
>> at org.apache.catalina.core.ContainerBase.addChild(ContainerBas
>> e.java:771)
>> at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:546)
>> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig. java:905)
>> at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig
>> .java:740)
>> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig
>> .java:500)
>> at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1277)
>> at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo
>> nfig.java:321)
>> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
>> (LifecycleSupport.java:119)
>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1053)
>> at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:785)
>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
>> at org.apache.catalina.core.StandardEngine.start(StandardEngine
>> .java:443)
>> at org.apache.catalina.core.StandardService.start(StandardServi
>> ce.java:519)
>> at org.apache.catalina.core.StandardServer.start(StandardServer
>> .java:710)
>> at org.apache.catalina.startup.Catalina.start(Catalina.java:581 )
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
>> ssorImpl.java:57)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>> thodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:616)
>> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 89)
>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 4)
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> the new web.xml i from birt runtime
>>
>> the old web.xml from openreports has:
>> <?xml version="1.0" encoding="ISO-8859-1"?>
>>
>> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
>> 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
>>
>> <web-app>
>>
>>
>>
>> <display-name>OpenReports</display-name>
>>
>>
>>
>> <context-param>
>>
>> <param-name>contextConfigLocation</param-name>
>>
>> <param-value>/WEB-INF/applicationContext*.xml</param-value >
>>
>> </context-param>
>>
>>
>>
>> <context-param>
>>
>> <param-name>contextFactory</param-name>
>>
>> <param-value>
>>
>> com.tonbeller.wcf.controller.RequestContextFactoryImpl
>>
>> </param-value>
>>
>> </context-param>
>>
>>
>>
>> <filter>
>>
>> <filter-name>struts</filter-name>
>>
>> <filter-class>
>>
>> org.apache.struts2.dispatcher.FilterDispatcher
>>
>> </filter-class>
>>
>> </filter>
>>
>>
>>
>> <filter>
>>
>> <filter-name>ResponseOverrideFilter</filter-name>
>>
>> <filter-class>
>>
>> org.displaytag.filter.ResponseOverrideFilter
>>
>> </filter-class>
>>
>> </filter>
>>
>>
>>
>> <filter>
>>
>> <filter-name>JPivotController</filter-name>
>>
>> <filter-class>
>>
>> com.tonbeller.wcf.controller.RequestFilter
>>
>> </filter-class>
>>
>> <!--
>>
>> <init-param>
>>
>> <param-name>indexJSP</param-name>
>>
>> <param-value>/index.html</param-value>
>>
>> <description>
>>
>> forward to this page if session is new
>>
>> </description>
>>
>> </init-param>
>>
>> <init-param>
>>
>> <param-name>errorJSP</param-name>
>>
>> <param-value>/error.jsp</param-value>
>>
>> <description>URI of error page</description>
>>
>> </init-param>
>>
>> <init-param>
>>
>> <param-name>busyJSP</param-name>
>>
>> <param-value>/busy.jsp</param-value>
>>
>> <description>
>>
>> This page is displayed if a the user clicks on a query
>>
>> before the previous query has finished
>>
>> </description>
>>
>> </init-param>
>>
>>
>>
>> <init-param>
>>
>> <param-name>forceExtension</param-name>
>>
>> <param-value>.faces</param-value>
>>
>> <description>replace .jsp with .faces</description>
>>
>> </init-param>
>>
>> -->
>>
>> </filter>
>>
>>
>>
>> <filter-mapping>
>>
>> <filter-name>JPivotController</filter-name>
>>
>> <url-pattern>/jpivot.action</url-pattern>
>>
>> </filter-mapping>
>>
>>
>>
>> <filter-mapping>
>>
>> <filter-name>JPivotController</filter-name>
>>
>> <url-pattern>/JPivot.jsp</url-pattern>
>>
>> </filter-mapping>
>>
>>
>>
>> <filter-mapping>
>>
>> <filter-name>ResponseOverrideFilter</filter-name>
>>
>> <url-pattern>*.action</url-pattern>
>>
>> </filter-mapping>
>>
>>
>>
>> <filter-mapping>
>>
>> <filter-name>struts</filter-name>
>>
>> <url-pattern>/*</url-pattern>
>>
>> </filter-mapping>
>>
>>
>>
>> <!-- resources initializer -->
>>
>> <listener>
>>
>> <listener-class>
>>
>> com.tonbeller.tbutils.res.ResourcesFactoryContextListener
>>
>> </listener-class>
>>
>> </listener>
>>
>>
>>
>> <listener>
>>
>> <listener-class>
>>
>> org.springframework.web.context.ContextLoaderListener
>>
>> </listener-class>
>>
>> </listener>
>>
>>
>>
>> <servlet>
>>
>> <servlet-name>JspSupportServlet</servlet-name>
>>
>> <servlet-class>
>>
>> org.apache.struts2.views.JspSupportServlet
>>
>> </servlet-class>
>>
>> <load-on-startup>1</load-on-startup>
>>
>> </servlet>
>>
>>
>>
>> <servlet>
>>
>> <servlet-name>fileServlet</servlet-name>
>>
>> <servlet-class>
>>
>> org.efs.openreports.dispatcher.FileDispatcher
>>
>> </servlet-class>
>>
>> <load-on-startup>99</load-on-startup>
>>
>> </servlet>
>>
>>
>>
>> <servlet>
>>
>> <servlet-name>MondrianXmlaServlet</servlet-name>
>>
>> <servlet-class>
>>
>> org.efs.openreports.dispatcher.XMLADispatcher
>>
>> </servlet-class>
>>
>> </servlet>
>>
>>
>>
>> <servlet>
>>
>> <servlet-name>XFireServlet</servlet-name>
>>
>> <display-name>XFire Servlet</display-name>
>>
>> <servlet-class>
>>
>> org.codehaus.xfire.spring.XFireSpringServlet
>>
>> </servlet-class>
>>
>> </servlet>
>>
>>
>>
>> <!-- jfreechart provided servlet -->
>>
>> <servlet>
>>
>> <servlet-name>DisplayChart</servlet-name>
>>
>> <servlet-class>
>>
>> org.jfree.chart.servlet.DisplayChart
>>
>> </servlet-class>
>>
>> </servlet>
>>
>>
>>
>> <!-- jfreechart provided servlet -->
>>
>> <servlet>
>>
>> <servlet-name>GetChart</servlet-name>
>>
>> <display-name>GetChart</display-name>
>>
>> <description>
>>
>> Default configuration created for servlet.
>>
>> </description>
>>
>> <servlet-class>
>>
>> com.tonbeller.jpivot.chart.GetChart
>>
>> </servlet-class>
>>
>> </servlet>
>>
>> <servlet>
>>
>> <servlet-name>Print</servlet-name>
>>
>> <display-name>Print</display-name>
>>
>> <description>
>>
>> Default configuration created for servlet.
>>
>> </description>
>>
>> <servlet-class>
>>
>> com.tonbeller.jpivot.print.PrintServlet
>>
>> </servlet-class>
>>
>> </servlet>
>>
>>
>>
>> <servlet-mapping>
>>
>> <servlet-name>DisplayChart</servlet-name>
>>
>> <url-pattern>/DisplayChart</url-pattern>
>>
>> </servlet-mapping>
>>
>> <servlet-mapping>
>>
>> <servlet-name>Print</servlet-name>
>>
>> <url-pattern>/Print</url-pattern>
>>
>> </servlet-mapping>
>>
>> <servlet-mapping>
>>
>> <servlet-name>GetChart</servlet-name>
>>
>> <url-pattern>/GetChart</url-pattern>
>>
>> </servlet-mapping>
>>
>> <servlet-mapping>
>>
>> <servlet-name>fileServlet</servlet-name>
>>
>> <url-pattern>/report-images/*</url-pattern>
>>
>> </servlet-mapping>
>>
>>
>>
>> <servlet-mapping>
>>
>> <servlet-name>fileServlet</servlet-name>
>>
>> <url-pattern>/report-files/*</url-pattern>
>>
>> </servlet-mapping>
>>
>>
>>
>> <servlet-mapping>
>>
>> <servlet-name>XFireServlet</servlet-name>
>>
>> <url-pattern>/services/*</url-pattern>
>>
>> </servlet-mapping>
>>
>>
>>
>> <servlet-mapping>
>>
>> <servlet-name>MondrianXmlaServlet</servlet-name>
>>
>> <url-pattern>/xmla</url-pattern>
>>
>> </servlet-mapping>
>>
>>
>>
>> <welcome-file-list>
>>
>> <welcome-file>/Login.jsp</welcome-file>
>>
>> </welcome-file-list>
>>
>>
>>
>> <taglib>
>>
>> <taglib-uri>http://www.tonbeller.com/wcf</taglib-uri>
>>
>> <taglib-location>/WEB-INF/wcf/wcf-tags.tld</taglib-location >
>>
>> </taglib>
>>
>>
>>
>> <taglib>
>>
>> <taglib-uri>http://www.tonbeller.com/jpivot</taglib-uri>
>>
>> <taglib-location>
>>
>> /WEB-INF/jpivot/jpivot-tags.tld
>>
>> </taglib-location>
>>
>> </taglib>
>>
>>
>>
>> </web-app>
>>
>>
>
Re: Birt upgrade openreports [message #550495 is a reply to message #550427] Fri, 30 July 2010 14:32 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Can you post the error you are getting?

Jason

On 7/30/2010 6:42 AM, headerhound wrote:
> Did this ever get sorted? I too have tried upgrading the 2.3 jars etc in
> Open Reports to 2.6 and redeploying a new war without any success. I
> guess its more an OReports issue but theres very little documentation
> with it.
>
> Jason Weathersby wrote:
>> This still looks like a version conflict as the
>> EngineConfig.getLogRollingSize did not exist in 2.3.2 but does exist
>> in 2.6. Make sure you cleared the
>> openreports\WebRoot\WEB-INF\platform\workspace folder and cleared
>> everything in openreports\WebRoot\WEB-INF\platform\configuration
>> except the config.ini file.
>>
>> Jason
>>
>> On 5/31/2010 2:24 PM, panoramix wrote:
>>> Hi,
>>>
>>> I use birt runtime2.6.0 to upgrade openreports but i facing trouble with
>>> web.xml
>>>
>>> I receive:
>>> GRAVE: Exception lors de l'envoi de l'évènement contexte initialisé
>>> (context initialized) à l'instance de classe d'écoute (listener)
>>> org.eclipse.birt.report.listener.ViewerServletContextListene r
>>> java.lang.NoSuchMethodError:
>>> org.eclipse.birt.report.engine.api.EngineConfig.getLogRollin gSize()I
>>> at org.eclipse.birt.report.engine.api.impl.ReportEngine.intiali
>>> zeLogger(ReportEngine.java:220)
>>> at
>>> org.eclipse.birt.report.engine.api.impl.ReportEngine.<init>(ReportEngine.java:132)
>>>
>>>
>>> at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory$
>>> 1.run(ReportEngineFactory.java:18)
>>> at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory$
>>> 1.run(ReportEngineFactory.java:1)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory.
>>> createReportEngine(ReportEngineFactory.java:14)
>>> at org.eclipse.birt.report.service.ReportEngineService.setEngin
>>> eContext(ReportEngineService.java:328)
>>> at org.eclipse.birt.report.service.BirtViewerReportService.setC
>>> ontext(BirtViewerReportService.java:1022)
>>> at org.eclipse.birt.report.listener.ViewerServletContextListene
>>> r.contextInitialized(ViewerServletContextListener.java:62)
>>> at org.apache.catalina.core.StandardContext.listenerStart(Stand
>>> ardContext.java:3972)
>>> at org.apache.catalina.core.StandardContext.start(StandardConte
>>> xt.java:4467)
>>> at org.apache.catalina.core.ContainerBase.addChildInternal(Cont
>>> ainerBase.java:791)
>>> at org.apache.catalina.core.ContainerBase.addChild(ContainerBas
>>> e.java:771)
>>> at org.apache.catalina.core.StandardHost.addChild(StandardHost.
>>> java:546)
>>> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.
>>> java:905)
>>> at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig
>>> .java:740)
>>> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig
>>> .java:500)
>>> at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1277)
>>> at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo
>>> nfig.java:321)
>>> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
>>> (LifecycleSupport.java:119)
>>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j
>>> ava:1053)
>>> at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:785)
>>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j
>>> ava:1045)
>>> at org.apache.catalina.core.StandardEngine.start(StandardEngine
>>> .java:443)
>>> at org.apache.catalina.core.StandardService.start(StandardServi
>>> ce.java:519)
>>> at org.apache.catalina.core.StandardServer.start(StandardServer
>>> .java:710)
>>> at org.apache.catalina.startup.Catalina.start(Catalina.java:581 )
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
>>> ssorImpl.java:57)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>>> thodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:616)
>>> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 89)
>>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 4)
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> the new web.xml i from birt runtime
>>>
>>> the old web.xml from openreports has:
>>> <?xml version="1.0" encoding="ISO-8859-1"?>
>>>
>>> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
>>> 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
>>>
>>> <web-app>
>>>
>>>
>>>
>>> <display-name>OpenReports</display-name>
>>>
>>>
>>>
>>> <context-param>
>>>
>>> <param-name>contextConfigLocation</param-name>
>>>
>>> <param-value>/WEB-INF/applicationContext*.xml</param-value >
>>>
>>> </context-param>
>>>
>>>
>>>
>>> <context-param>
>>>
>>> <param-name>contextFactory</param-name>
>>>
>>> <param-value>
>>>
>>> com.tonbeller.wcf.controller.RequestContextFactoryImpl
>>>
>>> </param-value>
>>>
>>> </context-param>
>>>
>>>
>>>
>>> <filter>
>>>
>>> <filter-name>struts</filter-name>
>>>
>>> <filter-class>
>>>
>>> org.apache.struts2.dispatcher.FilterDispatcher
>>>
>>> </filter-class>
>>>
>>> </filter>
>>>
>>>
>>>
>>> <filter>
>>>
>>> <filter-name>ResponseOverrideFilter</filter-name>
>>>
>>> <filter-class>
>>>
>>> org.displaytag.filter.ResponseOverrideFilter
>>>
>>> </filter-class>
>>>
>>> </filter>
>>>
>>>
>>>
>>> <filter>
>>>
>>> <filter-name>JPivotController</filter-name>
>>>
>>> <filter-class>
>>>
>>> com.tonbeller.wcf.controller.RequestFilter
>>>
>>> </filter-class>
>>>
>>> <!--
>>>
>>> <init-param>
>>>
>>> <param-name>indexJSP</param-name>
>>>
>>> <param-value>/index.html</param-value>
>>>
>>> <description>
>>>
>>> forward to this page if session is new
>>>
>>> </description>
>>>
>>> </init-param>
>>>
>>> <init-param>
>>>
>>> <param-name>errorJSP</param-name>
>>>
>>> <param-value>/error.jsp</param-value>
>>>
>>> <description>URI of error page</description>
>>>
>>> </init-param>
>>>
>>> <init-param>
>>>
>>> <param-name>busyJSP</param-name>
>>>
>>> <param-value>/busy.jsp</param-value>
>>>
>>> <description>
>>>
>>> This page is displayed if a the user clicks on a query
>>>
>>> before the previous query has finished
>>>
>>> </description>
>>>
>>> </init-param>
>>>
>>>
>>>
>>> <init-param>
>>>
>>> <param-name>forceExtension</param-name>
>>>
>>> <param-value>.faces</param-value>
>>>
>>> <description>replace .jsp with .faces</description>
>>>
>>> </init-param>
>>>
>>> -->
>>>
>>> </filter>
>>>
>>>
>>>
>>> <filter-mapping>
>>>
>>> <filter-name>JPivotController</filter-name>
>>>
>>> <url-pattern>/jpivot.action</url-pattern>
>>>
>>> </filter-mapping>
>>>
>>>
>>>
>>> <filter-mapping>
>>>
>>> <filter-name>JPivotController</filter-name>
>>>
>>> <url-pattern>/JPivot.jsp</url-pattern>
>>>
>>> </filter-mapping>
>>>
>>>
>>>
>>> <filter-mapping>
>>>
>>> <filter-name>ResponseOverrideFilter</filter-name>
>>>
>>> <url-pattern>*.action</url-pattern>
>>>
>>> </filter-mapping>
>>>
>>>
>>>
>>> <filter-mapping>
>>>
>>> <filter-name>struts</filter-name>
>>>
>>> <url-pattern>/*</url-pattern>
>>>
>>> </filter-mapping>
>>>
>>>
>>>
>>> <!-- resources initializer -->
>>>
>>> <listener>
>>>
>>> <listener-class>
>>>
>>> com.tonbeller.tbutils.res.ResourcesFactoryContextListener
>>>
>>> </listener-class>
>>>
>>> </listener>
>>>
>>>
>>>
>>> <listener>
>>>
>>> <listener-class>
>>>
>>> org.springframework.web.context.ContextLoaderListener
>>>
>>> </listener-class>
>>>
>>> </listener>
>>>
>>>
>>>
>>> <servlet>
>>>
>>> <servlet-name>JspSupportServlet</servlet-name>
>>>
>>> <servlet-class>
>>>
>>> org.apache.struts2.views.JspSupportServlet
>>>
>>> </servlet-class>
>>>
>>> <load-on-startup>1</load-on-startup>
>>>
>>> </servlet>
>>>
>>>
>>>
>>> <servlet>
>>>
>>> <servlet-name>fileServlet</servlet-name>
>>>
>>> <servlet-class>
>>>
>>> org.efs.openreports.dispatcher.FileDispatcher
>>>
>>> </servlet-class>
>>>
>>> <load-on-startup>99</load-on-startup>
>>>
>>> </servlet>
>>>
>>>
>>>
>>> <servlet>
>>>
>>> <servlet-name>MondrianXmlaServlet</servlet-name>
>>>
>>> <servlet-class>
>>>
>>> org.efs.openreports.dispatcher.XMLADispatcher
>>>
>>> </servlet-class>
>>>
>>> </servlet>
>>>
>>>
>>>
>>> <servlet>
>>>
>>> <servlet-name>XFireServlet</servlet-name>
>>>
>>> <display-name>XFire Servlet</display-name>
>>>
>>> <servlet-class>
>>>
>>> org.codehaus.xfire.spring.XFireSpringServlet
>>>
>>> </servlet-class>
>>>
>>> </servlet>
>>>
>>>
>>>
>>> <!-- jfreechart provided servlet -->
>>>
>>> <servlet>
>>>
>>> <servlet-name>DisplayChart</servlet-name>
>>>
>>> <servlet-class>
>>>
>>> org.jfree.chart.servlet.DisplayChart
>>>
>>> </servlet-class>
>>>
>>> </servlet>
>>>
>>>
>>>
>>> <!-- jfreechart provided servlet -->
>>>
>>> <servlet>
>>>
>>> <servlet-name>GetChart</servlet-name>
>>>
>>> <display-name>GetChart</display-name>
>>>
>>> <description>
>>>
>>> Default configuration created for servlet.
>>>
>>> </description>
>>>
>>> <servlet-class>
>>>
>>> com.tonbeller.jpivot.chart.GetChart
>>>
>>> </servlet-class>
>>>
>>> </servlet>
>>>
>>> <servlet>
>>>
>>> <servlet-name>Print</servlet-name>
>>>
>>> <display-name>Print</display-name>
>>>
>>> <description>
>>>
>>> Default configuration created for servlet.
>>>
>>> </description>
>>>
>>> <servlet-class>
>>>
>>> com.tonbeller.jpivot.print.PrintServlet
>>>
>>> </servlet-class>
>>>
>>> </servlet>
>>>
>>>
>>>
>>> <servlet-mapping>
>>>
>>> <servlet-name>DisplayChart</servlet-name>
>>>
>>> <url-pattern>/DisplayChart</url-pattern>
>>>
>>> </servlet-mapping>
>>>
>>> <servlet-mapping>
>>>
>>> <servlet-name>Print</servlet-name>
>>>
>>> <url-pattern>/Print</url-pattern>
>>>
>>> </servlet-mapping>
>>>
>>> <servlet-mapping>
>>>
>>> <servlet-name>GetChart</servlet-name>
>>>
>>> <url-pattern>/GetChart</url-pattern>
>>>
>>> </servlet-mapping>
>>>
>>> <servlet-mapping>
>>>
>>> <servlet-name>fileServlet</servlet-name>
>>>
>>> <url-pattern>/report-images/*</url-pattern>
>>>
>>> </servlet-mapping>
>>>
>>>
>>>
>>> <servlet-mapping>
>>>
>>> <servlet-name>fileServlet</servlet-name>
>>>
>>> <url-pattern>/report-files/*</url-pattern>
>>>
>>> </servlet-mapping>
>>>
>>>
>>>
>>> <servlet-mapping>
>>>
>>> <servlet-name>XFireServlet</servlet-name>
>>>
>>> <url-pattern>/services/*</url-pattern>
>>>
>>> </servlet-mapping>
>>>
>>>
>>>
>>> <servlet-mapping>
>>>
>>> <servlet-name>MondrianXmlaServlet</servlet-name>
>>>
>>> <url-pattern>/xmla</url-pattern>
>>>
>>> </servlet-mapping>
>>>
>>>
>>>
>>> <welcome-file-list>
>>>
>>> <welcome-file>/Login.jsp</welcome-file>
>>>
>>> </welcome-file-list>
>>>
>>>
>>>
>>> <taglib>
>>>
>>> <taglib-uri>http://www.tonbeller.com/wcf</taglib-uri>
>>>
>>> <taglib-location>/WEB-INF/wcf/wcf-tags.tld</taglib-location >
>>>
>>> </taglib>
>>>
>>>
>>>
>>> <taglib>
>>>
>>> <taglib-uri>http://www.tonbeller.com/jpivot</taglib-uri>
>>>
>>> <taglib-location>
>>>
>>> /WEB-INF/jpivot/jpivot-tags.tld
>>>
>>> </taglib-location>
>>>
>>> </taglib>
>>>
>>>
>>>
>>> </web-app>
>>>
>>>
>>
Re: Birt upgrade openreports [message #550525 is a reply to message #550495] Fri, 30 July 2010 16:26 Go to previous messageGo to next message
Eclipse User
Originally posted by: headerhound.yahoo.co.uk

Jason Weathersby wrote:
> Can you post the error you are getting?

Snip

Ok, basically I replaced the 2.3.2 files with the 2.6 files I could see
a mapping for. so for Web_inf/lib I put these files in ...

17/06/2010 13:04 6,451,211 com.ibm.icu_4.2.1.v20100412.jar
09/06/2010 20:07 771,550 js.jar
17/06/2010 13:06 211,682
org.eclipse.emf.common_2.6.0.v20100614-1136.jar
17/06/2010 13:06 219,248
org.eclipse.emf.ecore.xmi_2.5.0.v20100521-1846.jar
17/06/2010 13:06 1,231,338
org.eclipse.emf.ecore_2.6.0.v20100614-1136.jar

and for Web_inf/platform/plugins ......

17/06/2010 13:05 138,224
org.eclipse.birt.chart.device.extension_2.6.0.v20100521.jar
17/06/2010 13:05 12,906
org.eclipse.birt.chart.device.pdf_2.6.0.v20100304.jar
17/06/2010 13:05 66,595
org.eclipse.birt.chart.device.svg_2.6.0.v20100527.jar
17/06/2010 13:05 58,472
org.eclipse.birt.chart.device.swt_2.6.0.v20100519.jar
17/06/2010 13:05 275,478
org.eclipse.birt.chart.engine.extension_2.6.0.v20100601.jar
17/06/2010 13:05 1,543,550
org.eclipse.birt.chart.engine_2.6.0.v20100607.jar
17/06/2010 13:05 253,199
org.eclipse.birt.chart.reportitem_2.6.0.v20100604.jar
17/06/2010 13:05 144,244
org.eclipse.birt.core.script.function_2.6.0.v20100524.jar
17/06/2010 13:05 429,213
org.eclipse.birt.core_2.6.0.v20100526.jar
17/06/2010 13:05 122,711
org.eclipse.birt.data.aggregation_2.6.0.v20100524.jar
17/06/2010 13:05 1,648,451
org.eclipse.birt.data_2.6.0.v20100524.jar
17/06/2010 13:05 26,910
org.eclipse.birt.report.data.oda.jdbc.dbprofile_2.6.0.v20100 524.jar
29/07/2010 21:46 <DIR>
org.eclipse.birt.report.data.oda.jdbc_2.6.0.v20100524
17/06/2010 13:05 21,845
org.eclipse.birt.report.data.oda.xml_2.6.0.v20100524.jar
17/06/2010 13:05 11,537
org.eclipse.birt.report.engine.dataextraction.csv_2.5.2.v201 00115.jar
17/06/2010 13:05 14,692
org.eclipse.birt.report.engine.dataextraction_2.5.2.v2010011 5.jar
17/06/2010 13:05 23,794
org.eclipse.birt.report.engine.emitter.config_2.6.0.v2010030 4.jar
17/06/2010 13:05 13,074
org.eclipse.birt.report.engine.emitter.excel.config_2.6.0.v2 0100527.jar
17/06/2010 13:05 11,853
org.eclipse.birt.report.engine.emitter.html.config_2.6.0.v20 100304.jar
17/06/2010 13:05 79,630
org.eclipse.birt.report.engine.emitter.html_2.6.0.v20100603. jar
17/06/2010 13:05 13,887
org.eclipse.birt.report.engine.emitter.pdf.config_2.6.0.v201 00512.jar
17/06/2010 13:05 28,567
org.eclipse.birt.report.engine.emitter.pdf_2.6.0.v20100513.j ar
17/06/2010 13:05 14,446
org.eclipse.birt.report.engine.emitter.postscript.config_2.6 .0.v20100512.jar
17/06/2010 13:05 60,385
org.eclipse.birt.report.engine.emitter.postscript_2.6.0.v201 00526.jar
17/06/2010 13:05 13,698
org.eclipse.birt.report.engine.emitter.ppt.config_2.6.0.v201 00512.jar
17/06/2010 13:05 27,293
org.eclipse.birt.report.engine.emitter.ppt_2.6.0.v20100429.j ar
17/06/2010 13:05 105,868
org.eclipse.birt.report.engine.emitter.prototype.excel_2.6.0 .v20100601.jar
17/06/2010 13:05 12,486
org.eclipse.birt.report.engine.emitter.wpml.config_2.6.0.v20 100512.jar
17/06/2010 13:05 65,822
org.eclipse.birt.report.engine.emitter.wpml_2.6.0.v20100520. jar
29/07/2010 21:46 <DIR>
org.eclipse.birt.report.engine.fonts_2.6.0.v20100428
17/06/2010 13:05 26,615
org.eclipse.birt.report.engine.script.javascript_2.6.0.v2010 0408.jar
17/06/2010 13:05 2,612,238
org.eclipse.birt.report.engine_2.6.0.v20100609.jar
17/06/2010 13:05 260,529
org.eclipse.birt.report.item.crosstab.core_2.6.0.v20100531.j ar
17/06/2010 13:05 165,874
org.eclipse.birt.report.model.adapter.oda_2.6.0.v20100528.ja r
17/06/2010 13:05 2,740,417
org.eclipse.birt.report.model_2.6.0.v20100603.jar
29/07/2010 21:46 <DIR>
org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100 520
29/07/2010 21:47 <DIR> org.mozilla.rhino_1.7.1.v20090608
29/07/2010 21:47 <DIR> org.w3c.sac_1.3.0.v20070710

The war built ok but when I deploy I get

30-Jul-2010 16:57:48 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance
of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'birtProvider' defined in ServletContext resource
[/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested
exception is org.springframework.beans.BeanInstantiationException: Could
not instantiate bean class [org.efs.openreports.providers.BirtProvider]:
Constructor threw exception; nested exception is
java.lang.NullPointerException
Caused by: org.springframework.beans.BeanInstantiationException: Could
not instantiate bean class [org.efs.openreports.providers.BirtProvider]:
Constructor threw exception; nested exception is
java.lang.NullPointerException
Caused by: java.lang.NullPointerException
at
org.efs.openreports.providers.BirtProvider.startBirtEngine(B irtProvider.java:121)
at
org.efs.openreports.providers.BirtProvider.<init>(BirtProvider.java:75)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)

etc etc

I had hoped to get it going without refactoring src code .....
Re: Birt upgrade openreports [message #550564 is a reply to message #550525] Fri, 30 July 2010 19:50 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

The Web_inf/lib directory should contain all the jars in the 2.6
runtime/ReportEngine/lib not just the five you posted. You also should
replace the Web_inf/platform/configuration directory with the one in the
runtime. Verify that that it only contains config.ini. I am not
certain this will fix the problem but its worth a try.

Jason

On 7/30/2010 12:26 PM, headerhound wrote:
> Jason Weathersby wrote:
>> Can you post the error you are getting?
>
> Snip
>
> Ok, basically I replaced the 2.3.2 files with the 2.6 files I could see
> a mapping for. so for Web_inf/lib I put these files in ...
>
> 17/06/2010 13:04 6,451,211 com.ibm.icu_4.2.1.v20100412.jar
> 09/06/2010 20:07 771,550 js.jar
> 17/06/2010 13:06 211,682 org.eclipse.emf.common_2.6.0.v20100614-1136.jar
> 17/06/2010 13:06 219,248 org.eclipse.emf.ecore.xmi_2.5.0.v20100521-1846.jar
> 17/06/2010 13:06 1,231,338 org.eclipse.emf.ecore_2.6.0.v20100614-1136.jar
>
> and for Web_inf/platform/plugins ......
>
> 17/06/2010 13:05 138,224
> org.eclipse.birt.chart.device.extension_2.6.0.v20100521.jar
> 17/06/2010 13:05 12,906
> org.eclipse.birt.chart.device.pdf_2.6.0.v20100304.jar
> 17/06/2010 13:05 66,595
> org.eclipse.birt.chart.device.svg_2.6.0.v20100527.jar
> 17/06/2010 13:05 58,472
> org.eclipse.birt.chart.device.swt_2.6.0.v20100519.jar
> 17/06/2010 13:05 275,478
> org.eclipse.birt.chart.engine.extension_2.6.0.v20100601.jar
> 17/06/2010 13:05 1,543,550
> org.eclipse.birt.chart.engine_2.6.0.v20100607.jar
> 17/06/2010 13:05 253,199
> org.eclipse.birt.chart.reportitem_2.6.0.v20100604.jar
> 17/06/2010 13:05 144,244
> org.eclipse.birt.core.script.function_2.6.0.v20100524.jar
> 17/06/2010 13:05 429,213 org.eclipse.birt.core_2.6.0.v20100526.jar
> 17/06/2010 13:05 122,711
> org.eclipse.birt.data.aggregation_2.6.0.v20100524.jar
> 17/06/2010 13:05 1,648,451 org.eclipse.birt.data_2.6.0.v20100524.jar
> 17/06/2010 13:05 26,910
> org.eclipse.birt.report.data.oda.jdbc.dbprofile_2.6.0.v20100 524.jar
> 29/07/2010 21:46 <DIR>
> org.eclipse.birt.report.data.oda.jdbc_2.6.0.v20100524
> 17/06/2010 13:05 21,845
> org.eclipse.birt.report.data.oda.xml_2.6.0.v20100524.jar
> 17/06/2010 13:05 11,537
> org.eclipse.birt.report.engine.dataextraction.csv_2.5.2.v201 00115.jar
> 17/06/2010 13:05 14,692
> org.eclipse.birt.report.engine.dataextraction_2.5.2.v2010011 5.jar
> 17/06/2010 13:05 23,794
> org.eclipse.birt.report.engine.emitter.config_2.6.0.v2010030 4.jar
> 17/06/2010 13:05 13,074
> org.eclipse.birt.report.engine.emitter.excel.config_2.6.0.v2 0100527.jar
> 17/06/2010 13:05 11,853
> org.eclipse.birt.report.engine.emitter.html.config_2.6.0.v20 100304.jar
> 17/06/2010 13:05 79,630
> org.eclipse.birt.report.engine.emitter.html_2.6.0.v20100603. jar
> 17/06/2010 13:05 13,887
> org.eclipse.birt.report.engine.emitter.pdf.config_2.6.0.v201 00512.jar
> 17/06/2010 13:05 28,567
> org.eclipse.birt.report.engine.emitter.pdf_2.6.0.v20100513.j ar
> 17/06/2010 13:05 14,446
> org.eclipse.birt.report.engine.emitter.postscript.config_2.6 .0.v20100512.jar
>
> 17/06/2010 13:05 60,385
> org.eclipse.birt.report.engine.emitter.postscript_2.6.0.v201 00526.jar
> 17/06/2010 13:05 13,698
> org.eclipse.birt.report.engine.emitter.ppt.config_2.6.0.v201 00512.jar
> 17/06/2010 13:05 27,293
> org.eclipse.birt.report.engine.emitter.ppt_2.6.0.v20100429.j ar
> 17/06/2010 13:05 105,868
> org.eclipse.birt.report.engine.emitter.prototype.excel_2.6.0 .v20100601.jar
> 17/06/2010 13:05 12,486
> org.eclipse.birt.report.engine.emitter.wpml.config_2.6.0.v20 100512.jar
> 17/06/2010 13:05 65,822
> org.eclipse.birt.report.engine.emitter.wpml_2.6.0.v20100520. jar
> 29/07/2010 21:46 <DIR> org.eclipse.birt.report.engine.fonts_2.6.0.v20100428
> 17/06/2010 13:05 26,615
> org.eclipse.birt.report.engine.script.javascript_2.6.0.v2010 0408.jar
> 17/06/2010 13:05 2,612,238
> org.eclipse.birt.report.engine_2.6.0.v20100609.jar
> 17/06/2010 13:05 260,529
> org.eclipse.birt.report.item.crosstab.core_2.6.0.v20100531.j ar
> 17/06/2010 13:05 165,874
> org.eclipse.birt.report.model.adapter.oda_2.6.0.v20100528.ja r
> 17/06/2010 13:05 2,740,417
> org.eclipse.birt.report.model_2.6.0.v20100603.jar
> 29/07/2010 21:46 <DIR>
> org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100 520
> 29/07/2010 21:47 <DIR> org.mozilla.rhino_1.7.1.v20090608
> 29/07/2010 21:47 <DIR> org.w3c.sac_1.3.0.v20070710
>
> The war built ok but when I deploy I get
>
> 30-Jul-2010 16:57:48 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Exception sending context initialized event to listener instance
> of class org.springframework.web.context.ContextLoaderListener
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'birtProvider' defined in ServletContext resource
> [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested
> exception is org.springframework.beans.BeanInstantiationException: Could
> not instantiate bean class [org.efs.openreports.providers.BirtProvider]:
> Constructor threw exception; nested exception is
> java.lang.NullPointerException
> Caused by: org.springframework.beans.BeanInstantiationException: Could
> not instantiate bean class [org.efs.openreports.providers.BirtProvider]:
> Constructor threw exception; nested exception is
> java.lang.NullPointerException
> Caused by: java.lang.NullPointerException
> at
> org.efs.openreports.providers.BirtProvider.startBirtEngine(B irtProvider.java:121)
>
> at org.efs.openreports.providers.BirtProvider.<init>(BirtProvider.java:75)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
>
> etc etc
>
> I had hoped to get it going without refactoring src code .....
Previous Topic:Sequence with OnRender
Next Topic:Customize/Limit available locales in Designer?
Goto Forum:
  


Current Time: Thu Sep 18 05:52:00 GMT 2014

Powered by FUDForum. Page generated in 0.34394 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software