Skip to main content



      Home
Home » Archived » BIRT » BuildEngine has out of date batik dependency in 2.2.0?
BuildEngine has out of date batik dependency in 2.2.0? [message #250269] Sun, 29 July 2007 15:16 Go to next message
Eclipse UserFriend
Hi,

I was trying to follow the instructions here
http://www.eclipse.org/birt/phoenix/build/buildInstructions. php
on how to build the WebViewer, which admittedly are intended for 2.1.1.

Nevertheless I have the source from BIRT_2_2_0_Release_20070625 and am using
the 'all in one' Eclipse download of that version. The mentioned Ant script
is failing at line 295 because i have no batik plugin. My problem is that is
seems the batik pluign is no longer one plugin containing several jars but
several different plugins of the 'new' style where the classes are in the
root dir. Specifically the all in one contains these plugins:
org.apache.batik.bridge_1.6.0.v200706111724.jar
org.apache.batik.css_1.6.0.v200706111724.jar
org.apache.batik.dom.svg_1.6.0.v200706111724.jar
org.apache.batik.dom_1.6.0.v200706111724.jar
org.apache.batik.ext.awt_1.6.0.v200706111724.jar
org.apache.batik.extension_1.6.0.v200706111724.jar
org.apache.batik.parser_1.6.0.v200706111724.jar
org.apache.batik.pdf_1.6.0.v200706111329.jar
org.apache.batik.svggen_1.6.0.v200706111724.jar
org.apache.batik.swing_1.6.0.v200706111724.jar
org.apache.batik.transcoder_1.6.0.v200706111724.jar
org.apache.batik.util.gui_1.6.0.v200706111724.jar
org.apache.batik.util_1.6.0.v200706111724.jar
org.apache.batik.xml_1.6.0.v200706111724.jar
which are required by the viewer? all? Presumably for the ant script to work
the 2.2.0 viewer was compiled against an older plugin?

thanks in advance
tim
Re: BuildEngine has out of date batik dependency in 2.2.0? [message #250273 is a reply to message #250269] Sun, 29 July 2007 16:42 Go to previous messageGo to next message
Eclipse UserFriend
ok i figured it out so thought i would reply to save anyone else having to.

i realised that the batik plugins from the birt 'all in one' installation
should simply be copied into a directory named org.eclipse.batik within the
workspace. This directory is just a directory, not a plugin project or
anything special and the batik plugin jars just have to be present in it for
the ant script to work. I guess the separation of the batik.pdf from the
others is historical.

I also had to create empty plugins directories in the following project
dirs:
org.eclipse.birt.report.engine
org.eclipse.birt.report.model
org.eclipse.birt.report.viewer
and in the Ant Run... dialog's properties tab, it is necessary to set
eclipse.home to ${eclipse_home} to avoid falure to find servlet classes in
the viewservlets target

but after that i got a war file that executes the index.jsp page in JBoss
fine. But when i try the test report, I get the stack trace below, anyone
give me a pointer to what might be wrong?

thanks, tim

21:39:37,296 ERROR [STDERR]
org.eclipse.birt.report.exception.ViewerException: F
atal error occurred when try to startup report engine.
21:39:37,296 ERROR [STDERR] at
org.eclipse.birt.report.service.ReportEngineS
ervice.setEngineContext(ReportEngineService.java:287)
21:39:37,296 ERROR [STDERR] at
org.eclipse.birt.report.service.BirtViewerRep
ortService.setContext(BirtViewerReportService.java:883)
21:39:37,296 ERROR [STDERR] at
org.eclipse.birt.report.servlet.ViewerServlet
..__getContext(ViewerServlet.java:149)
21:39:37,296 ERROR [STDERR] at
org.eclipse.birt.report.servlet.BirtSoapMessa
geDispatcherServlet.doGet(BirtSoapMessageDispatcherServlet.j ava:116)
21:39:37,296 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpSe
rvlet.java:697)
21:39:37,296 ERROR [STDERR] at
org.apache.axis.transport.http.AxisServletBas
e.service(AxisServletBase.java:327)
21:39:37,296 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpSe
rvlet.java:810)
21:39:37,296 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterCha
in.internalDoFilter(ApplicationFilterChain.java:252)
21:39:37,296 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterCha
in.doFilter(ApplicationFilterChain.java:173)
21:39:37,296 ERROR [STDERR] at
org.jboss.web.tomcat.filters.ReplyHeaderFilte
r.doFilter(ReplyHeaderFilter.java:96)
21:39:37,296 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterCha
in.internalDoFilter(ApplicationFilterChain.java:202)
21:39:37,296 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterCha
in.doFilter(ApplicationFilterChain.java:173)
21:39:37,296 ERROR [STDERR] at
org.apache.catalina.core.StandardWrapperValve
..invoke(StandardWrapperValve.java:213)
21:39:37,296 ERROR [STDERR] at
org.apache.catalina.core.StandardContextValve
..invoke(StandardContextValve.java:178)
21:39:37,296 ERROR [STDERR] at
org.jboss.web.tomcat.security.SecurityAssocia
tionValve.invoke(SecurityAssociationValve.java:175)
21:39:37,296 ERROR [STDERR] at
org.jboss.web.tomcat.security.JaccContextValv
e.invoke(JaccContextValve.java:74)
21:39:37,296 ERROR [STDERR] at
org.apache.catalina.core.StandardHostValve.in
voke(StandardHostValve.java:126)
21:39:37,296 ERROR [STDERR] at
org.apache.catalina.valves.ErrorReportValve.i
nvoke(ErrorReportValve.java:105)
21:39:37,296 ERROR [STDERR] at
org.apache.catalina.core.StandardEngineValve.
invoke(StandardEngineValve.java:107)
21:39:37,296 ERROR [STDERR] at
org.apache.catalina.connector.CoyoteAdapter.s
ervice(CoyoteAdapter.java:148)
21:39:37,296 ERROR [STDERR] at
org.apache.coyote.http11.Http11Processor.proc
ess(Http11Processor.java:869)
21:39:37,296 ERROR [STDERR] at
org.apache.coyote.http11.Http11BaseProtocol$H
ttp11ConnectionHandler.processConnection(Http11BaseProtocol. java:664)
21:39:37,296 ERROR [STDERR] at
org.apache.tomcat.util.net.PoolTcpEndpoint.pr
ocessSocket(PoolTcpEndpoint.java:527)
21:39:37,296 ERROR [STDERR] at
org.apache.tomcat.util.net.MasterSlaveWorkerT
hread.run(MasterSlaveWorkerThread.java:112)
21:39:37,296 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
Re: BuildEngine has out of date batik dependency in 2.2.0? [message #250506 is a reply to message #250269] Tue, 31 July 2007 04:41 Go to previous messageGo to next message
Eclipse UserFriend
Batik bundles and Xerces bundles are moved to Orbit
downloads(http://download.eclipse.org/tools/orbit/downloads/).
So since 2.2.0, BIRT will included batik(including batik.pdf) bundles and
xerces from Orbit directly.

For 2.2.0, you can download the following bundles from Orbit release build
and copying them to <eclipse.home>/plugins/ like other platform plugins.
You don't need batik and xerces plugins in workspace to compile viewer
plugin. BuildWebViewer.xml is obsolete in 2.2.0 stream, so you might need to
modify the ant script to remove the part of batik/xerces part.
org.apache.batik.bridge_1.6.0.v200706111724.jar
org.apache.batik.css_1.6.0.v200706111724.jar
org.apache.batik.dom_1.6.0.v200706111724.jar
org.apache.batik.dom.svg_1.6.0.v200706111724.jar
org.apache.batik.ext.awt_1.6.0.v200706111724.jar
org.apache.batik.extension_1.6.0.v200706111724.jar
org.apache.batik.parser_1.6.0.v200706111724.jar
org.apache.batik.pdf_1.6.0.v200706111329.jar
org.apache.batik.svggen_1.6.0.v200706111724.jar
org.apache.batik.swing_1.6.0.v200706111724.jar
org.apache.batik.transcoder_1.6.0.v200706111724.jar
org.apache.batik.util_1.6.0.v200706111724.jar
org.apache.batik.util.gui_1.6.0.v200706111724.jar
org.apache.batik.xml_1.6.0.v200706111724.jar
org.apache.commons.codec_1.3.0.v200706111738.jar
org.apache.xerces_2.8.0.v200705301630.jar
org.apache.xml.resolver_1.1.0.v200705310020.jar
org.w3c.css.sac_1.3.0.v200706111724.jar
org.w3c.dom.smil_1.0.0.v200706111724.jar
org.w3c.dom.svg_1.1.0.v200706111724.jar


Thanks,
Xiaoying

"Tim Stephenson" <tstephen@tibco.com> wrote in message
news:f8ip1l$5jk$1@build.eclipse.org...
> Hi,
>
> I was trying to follow the instructions here
> http://www.eclipse.org/birt/phoenix/build/buildInstructions. php
> on how to build the WebViewer, which admittedly are intended for 2.1.1.
>
> Nevertheless I have the source from BIRT_2_2_0_Release_20070625 and am
> using the 'all in one' Eclipse download of that version. The mentioned Ant
> script is failing at line 295 because i have no batik plugin. My problem
> is that is seems the batik pluign is no longer one plugin containing
> several jars but several different plugins of the 'new' style where the
> classes are in the root dir. Specifically the all in one contains these
> plugins:
> org.apache.batik.bridge_1.6.0.v200706111724.jar
> org.apache.batik.css_1.6.0.v200706111724.jar
> org.apache.batik.dom.svg_1.6.0.v200706111724.jar
> org.apache.batik.dom_1.6.0.v200706111724.jar
> org.apache.batik.ext.awt_1.6.0.v200706111724.jar
> org.apache.batik.extension_1.6.0.v200706111724.jar
> org.apache.batik.parser_1.6.0.v200706111724.jar
> org.apache.batik.pdf_1.6.0.v200706111329.jar
> org.apache.batik.svggen_1.6.0.v200706111724.jar
> org.apache.batik.swing_1.6.0.v200706111724.jar
> org.apache.batik.transcoder_1.6.0.v200706111724.jar
> org.apache.batik.util.gui_1.6.0.v200706111724.jar
> org.apache.batik.util_1.6.0.v200706111724.jar
> org.apache.batik.xml_1.6.0.v200706111724.jar
> which are required by the viewer? all? Presumably for the ant script to
> work the 2.2.0 viewer was compiled against an older plugin?
>
> thanks in advance
> tim
>
Re: BuildEngine has out of date batik dependency in 2.2.0? [message #251159 is a reply to message #250506] Fri, 03 August 2007 15:32 Go to previous message
Eclipse UserFriend
> BuildWebViewer.xml is obsolete in 2.2.0 stream

So, how should I create the war file? I noticed that there is a wizard to do
it as a user with ability to add own reports etc, but i wanted to compile
the viewer source ...
Previous Topic:Number format problem
Next Topic:BIRT Chart Design API problem
Goto Forum:
  


Current Time: Wed Apr 30 22:55:03 EDT 2025

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

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

Back to the top