Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » [HELP]Problems when rendering in HTML through JavaBridge (URGENT )
[HELP]Problems when rendering in HTML through JavaBridge [message #662150] Tue, 29 March 2011 10:23 Go to next message
Gustavo Missing name is currently offline Gustavo Missing name
Messages: 20
Registered: March 2011
Junior Member
Hello all,
Im getting an exception when rendering the report throught PHP using JavaBridge. I got Birt version 2.5.2 both Runtime and RCP, JavaBridge 6.1, PHP 5.3, Tomcat 6.0.18. I tried following the thread http://www.eclipse.org/forums/index.php?t=tree&goto=6300 15&S=04e3e2c8cfb972f74f613b959d5986a7
but all this thread discuss is about how getting the log errors, it didnt solved any of my problems. Please i need this urgent someone help.

Obs.: Im testing a report with only 1 data set it works fine in BIRt preview, web viewer and all other formats but in PHP the only format i cant export is the HTML until PDF is working fine in it.

Error:

Error generating HTML [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:RunAndRenderTask]]->run. Cause: org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report VM: 1.6.0_23@http://java.sun.com/" at: #-11 org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doR un(RunAndRenderTask.java:188) #-10 org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:75) #-9 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) #-8 sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) #-7 sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) #-6 java.lang.reflect.Method.invoke(Unknown Source) #-5 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1044) #-4 php.java.bridge.Request.handleRequest(Request.java:417) #-3 php.java.bridge.Request.handleRequests(Request.java:500) #-2 php.java.bridge.http.ContextRunner.run(ContextRunner.java:14 5) #-1 php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) #0 http://localhost:9191/JavaBridge/java/Java.inc(232): java_ThrowExceptionProxyFactory->getProxy(54, '@V', 'T', true) #1 http://localhost:9191/JavaBridge/java/Java.inc(360): java_Arg->getResult(true) #2 http://localhost:9191/JavaBridge/java/Java.inc(366): java_Client->getWrappedResult(true) #3 http://localhost:9191/JavaBridge/java/Java.inc(560): java_Client->getResult() #4 http://localhost:9191/JavaBridge/java/Java.inc(1752): java_Client->invokeMethod(7, 'run', Array) #5 http://localhost:9191/JavaBridge/java/Java.inc(1851): java_JavaProxy->__call('run', Array) #6 http://localhost:9191/JavaBridge/java/Java.inc(1999): java_AbstractJava->__call('run', Array) #7 C:\workfolder\gustavoviana\setforms\v_100\p4a\objects\birt.p hp(196): Java->__call('run', Array) #8 C:\workfolder\gustavoviana\setforms\v_100\p4a\objects\birt.p hp(196): java_InternalJava->run() #9 C:\workfolder\gustavoviana\products\v_100\classes\geral\faca de\TkBirtReport.php(46): Birt->getHTML() #10 C:\workfolder\gustavoviana\products\v_100\reports\birt\birt_ report.php(37): TkBirtReport->getHTML() #11 C:\workfolder\gustavoviana\products\v_100\source\ron\Debugge r.php(19): require_once('C:\workfolder\g...') #12 {main}]
Re: [HELP]Problems when rendering in HTML through JavaBridge [message #662191 is a reply to message #662150] Tue, 29 March 2011 12:22 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

I replied to your post on Birt Exchange. Take a look at :
http://www.birt-exchange.org/org/devshare/deploying-birt-rep orts/1309-javabridge-configuration-tutorial/

Jason

On 3/29/2011 10:23 AM, Gustavo wrote:
> Hello all,
> Im getting an exception when rendering the report throught PHP using
> JavaBridge. I got Birt version 2.5.2 both Runtime and RCP, JavaBridge
> 6.1, PHP 5.3, Tomcat 6.0.18. I tried following the thread
> http://www.eclipse.org/forums/index.php?t=tree&goto=6300 15&S=04e3e2c8cfb972f74f613b959d5986a7
>
> but all this thread discuss is about how getting the log errors, it
> didnt solved any of my problems. Please i need this urgent someone help.
>
> Obs.: Im testing a report with only 1 data set it works fine in BIRt
> preview, web viewer and all other formats but in PHP the only format i
> cant export is the HTML until PDF is working fine in it.
>
> Error:
>
> Error generating HTML [[o:Exception]:"java.lang.Exception: Invoke
> failed: [[o:RunAndRenderTask]]->run. Cause:
> org.eclipse.birt.report.engine.api.EngineException: Error happened while
> running the report VM: 1.6.0_23@http://java.sun.com/" at: #-11
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doR
> un(RunAndRenderTask.java:188) #-10
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run
> (RunAndRenderTask.java:75) #-9
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) #-8
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) #-7
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) #-6
> java.lang.reflect.Method.invoke(Unknown Source) #-5
> php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1044) #-4
> php.java.bridge.Request.handleRequest(Request.java:417) #-3
> php.java.bridge.Request.handleRequests(Request.java:500) #-2
> php.java.bridge.http.ContextRunner.run(ContextRunner.java:14 5) #-1
> php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) #0
> http://localhost:9191/JavaBridge/java/Java.inc(232):
> java_ThrowExceptionProxyFactory->getProxy(54, mailto:'@V', 'T', true) #1
> http://localhost:9191/JavaBridge/java/Java.inc(360):
> java_Arg->getResult(true) #2
> http://localhost:9191/JavaBridge/java/Java.inc(366):
> java_Client->getWrappedResult(true) #3
> http://localhost:9191/JavaBridge/java/Java.inc(560):
> java_Client->getResult() #4
> http://localhost:9191/JavaBridge/java/Java.inc(1752):
> java_Client->invokeMethod(7, 'run', Array) #5
> http://localhost:9191/JavaBridge/java/Java.inc(1851):
> java_JavaProxy->__call('run', Array) #6
> http://localhost:9191/JavaBridge/java/Java.inc(1999):
> java_AbstractJava->__call('run', Array) #7
> C:\workfolder\gustavoviana\setforms\v_100\p4a\objects\birt.p hp(196):
> Java->__call('run', Array) #8
> C:\workfolder\gustavoviana\setforms\v_100\p4a\objects\birt.p hp(196):
> java_InternalJava->run() #9
> C:\workfolder\gustavoviana\products\v_100\classes\geral\faca
> de\TkBirtReport.php(46): Birt->getHTML() #10
> C:\workfolder\gustavoviana\products\v_100\reports\birt\birt_
> report.php(37): TkBirtReport->getHTML() #11
> C:\workfolder\gustavoviana\products\v_100\source\ron\Debugge r.php(19):
> require_once('C:\workfolder\g...') #12 {main}]
Re: [HELP]Problems when rendering in HTML through JavaBridge [message #662236 is a reply to message #662150] Tue, 29 March 2011 15:54 Go to previous message
Gustavo Missing name is currently offline Gustavo Missing name
Messages: 20
Registered: March 2011
Junior Member
jason im posting my reply here since birt exchange forum seems to be offline.

Ok i teste all .php examples files from the JavaBridge folder separetly.

One of them is generating this error.:

the file: PhpRunAndRenderHTMLDrillDetail.php

[[o:Exception]:"java.lang.Exception: Invoke failed: [[o:ReportEngine]]->openReportDesign((o:String)[o:String]). Cause: org.eclipse.birt.report.engine.api.EngineException: The design file false can not be found. VM: 1.6.0_23@http://java.sun.com/" at: #-10

[Updated on: Tue, 29 March 2011 15:56]

Report message to a moderator

Previous Topic:Image won't be stored in directory specified
Next Topic:Database access in Servlet
Goto Forum:
  


Current Time: Sun Aug 31 06:43:10 EDT 2014

Powered by FUDForum. Page generated in 0.06143 seconds