| 
| BuildEngine has out of date batik dependency in 2.2.0? [message #250269] | Sun, 29 July 2007 15:16  |  | 
| Eclipse User  |  |  |  |  | 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   |  | 
| Eclipse User  |  |  |  |  | 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)
 |  |  |  | 
|  | 
|  | 
Powered by 
FUDForum. Page generated in 0.05170 seconds